Welcome, Guest
Username: Password: Remember me

TOPIC: Can I format the queXML PDF?

Can I format the queXML PDF? 2 years 8 months ago #76493

  • ziola111
  • ziola111's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Thank you received: 2
  • Karma: 0
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 administrator has disabled public write access.
The following user(s) said Thank You: THO

Re: Can I format the queXML PDF? 2 years 8 months ago #76531

  • ziola111
  • ziola111's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Thank you received: 2
  • Karma: 0
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 administrator has disabled public write access.
The following user(s) said Thank You: THO
Moderators: ITEd
Time to create page: 0.102 seconds
Donation Image