Check out the LimeSurvey source code on GitHub!

Can I format the queXML PDF?

More
4 years 11 months ago #76493 by scanjudge
I was wondering if there is any way to change font styles, size and spacing on the PDF that is exported with the queXML export. I have a rather large form that ends up being about 14 pages long when exported/printed and I would like to try and cut that down for the sake of paper and scanning time (when using queXF to process the paper forms).

Using LimeService
my survey consists of about 90 questions
all question types are single-choice 1-10

Thanks in advance.
The following user(s) said Thank You: THO

Please Log in to join the conversation.

More
4 years 11 months ago #76531 by scanjudge
I just thought I'd stick this in the forum in case any one was wondering. I received this info from Adam Zammit:
///////////
You can make changes on a local installation of Limesurvey.

Edit the file:
/admin/classes/quexml/quexmlpdf.php

Most font sizes/styles will be in the variable $style (around line 194)

And for other adjustments, have a look at all the "protected"
variables and their description
//////////

////////// then I asked him...
Are changes that I make going to interfere with the
relationship of the PDF to the banding xml file? Will changing $style
and vars carry over to the banding xml, or will I have to
band manually after altering the pdf?
//////////

////////// to which he responded...
The class should produce a valid banding XML after modification of those variables. You will have to load the new banding XML / PDF after each modification though.
/////////

I hope this helps someone. :D
The following user(s) said Thank You: THO

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form