Actions

导出 QueXML PDF

From LimeSurvey Manual

Revision as of 05:27, 5 November 2020 by Lacity (talk | contribs)

说明

导出 queXML PDF 功能允许你将当前的调查导出为一个结构化的 PDF 文件,可以被像queXF 的光学标记识别软件(OMR)来处理。

要是有此功能,访问 调查相关设置,选择 显示/导出 菜单条目, 然后选择导出 queXML PDF 选项:



导出的 ZIP 文件里包括 PDF 格式的调查,一份绑定的 XML 文件file (用来描述页面上字段的位置),一份XML 样式文件 (描述生成 PDF 文件时使用的设置),还有一份 queXML 文件 (调查问卷结构的结构化描述)。


LimeSurvey 选项


The settings presented on this page are the defaults of the queXML PDF export software. These can be altered to produce a different looking paper questionnaire.

Language selection
If the survey has been translated into multiple languages - you can choose the language for export here.
Style
Apply styling to elements on the paper form using CSS.
Allow array style questions to be split over multiple pages
If you have arrays with many subquestions in your survey, this will allow for the array to be split over multiple pages. This avoids having pages with very long questions or too much white space on a page. An arrow will appear at the bottom of the page to indicate the question continues on the next page.
Allow single choice questions to be split over multiple pages
Single choice questions such as "radio" style questions can be allowed to split over multiple pages. Useful if you have questions with a long list of possible responses. An arrow will appear at the bottom of the page to indicate the question continues on the next page.
Allow multiple short text / numeric questions to be split over multiple pages
Where multiple short text or multiple numeric question types are used - allow their subquestions to appear split over multiple pages (an arrow will appear at the bottom of the page to indicate the question continues on the next page).
Allow slider questions to be split over multiple pages
Slider questions present as Visual Analog Scale (VAS) items in queXML PDF pages. This will allow for a list of sliders to be split over multiple pages. An arrow will appear at the bottom of the page to indicate the question continues on the next page.
Minimum height of single choice answer boxes
This sets the minimum height in millimetres of each response item to a single choice (e.g., radio) question. Set this value lower to fit more questions on a page.
Minimum height of subquestion items
The minimum height in millimetres of sub questions in an array style question. Set this value lower to fit more sub question items in an array style question. Please be wary that setting this too low may cut the end from long sub question text items.
Margin before questionnaireInfo element (mm)
The questionnaireInfo element is the "Welcome" text or "End text" of the survey. This setting sets the margin in millimetres before the text is displayed.
Answer option / subquestion font size
The font size in points of answer options or sub question text.
Answer label font size (normal)
The font size in points of answer labels when displayed in subquestions.
Answer label font size (small)
The font size in points of answer labels when displayed in subquestions where the used long words that cannot fit in the area are provided without being split.
Minimum section height (mm)
Each group in a LimeSurvey survey appears as a new section in the queXML PDF document. This setting sets the minimum height in millimetres of the heading for the new section.
Background colour for sections (0 black - 255 white)
The amount of greyness behind a section heading.
Background colour for questions (0 black - 255 white)
The amount of greyness behind questions. Good form design suggests having a light grey background to avoid eye strain and to make the areas for responses clearly defined (the areas for responses are always white).
Page orientation
Portrait or landscape orientation for the paper questionnaire.
Page format
The size of the paper to use (A4, A3, US Letter).
Edge detection format
What edge style to be used on the page to allow for alignment when scanned.


Clicking on the "queXML PDF export" button will generate a ZIP archive containing the PDF questionnaire and associated files.


If you have changed the settings above and wish to reset them back to the default queXML PDF settings, click on the "Reset to default settings" button:


General Configuration Settings

You may find some extra configurations settings under the file application/config/config-defaults.php.


This file contains the default settings for LimeSurvey. Do not edit this file as it may change in future revisions of the software. Correct procedure to setup LimeSurvey is the following:

  • copy the lines corresponding to the parameter you want to change from this file to the config.php file
  • edit these lines in config.php

This way the default values will be overridden.

TODO: Example

quexmlshowprintablehelp

If set to true, the printable_help attribute will be visible on the exported PDF survey. If used, the appearance (font size, justification, etc.) may be adjusted by editing td.questionHelpBefore and $helpBeforeBorderBottom of quexml.

quexmlusequestiontitleasid (New in 4.3 )

If set to true, each question in the PDF will be identified by the question title instead of the automatic section and number generated for the report.

quexmlkeepsurveydateformat (New in 4.3 )

If set to true, the Data/Time answers will be formated with the survey's date format, instead of using the default DB format.