Actions

QueXML PDF Export/zh-cn: Difference between revisions

From LimeSurvey Manual

(Created page with ";语言选择 :如果调查被翻译成多种语言 - 你可以在这里选择导出的语言。")
(Created page with ";quexmlkeepsurveydateformat {{NewIn|v=4.3}} 如果设置为是,日期/时间 答案会以调查的日期格式呈现,而不使用数据库的默认格式。")
 
(30 intermediate revisions by the same user not shown)
Line 26: Line 26:
:如果调查被翻译成多种语言 - 你可以在这里选择导出的语言。
:如果调查被翻译成多种语言 - 你可以在这里选择导出的语言。


;Style
;样式
:Apply styling to elements on the paper form using CSS.
:使用 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.
:"radio"风格的单选问题可以被分割到多个页面里。当你的问题含有一份长长的反馈列表的时候会用得上。页面的底端会有个箭头提示问题会延续到下一页。


;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.
:滑块问题会以视觉模拟量表(VAS)的形式在 queXML PDF 页面中呈现。将允许滑块的列表分割到多个页面。页面的底端会有个箭头提示问题会延续到下一页。


;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)
;questionnaireInfo 元素前的页边空白 (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.
: questionnaireInfo 元素在调查里用于 "欢迎" 文本或 "结束" 文本。本设置以毫秒为单位设置显示文本前的边距。


;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)
;最小章节高度 (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.
:每一个LimeSurvey 调查的组在 queXML PDF 文档中会以新的章节出现。此设置以毫米为单位设置新章节标题的最小高度。


;Background colour for sections (0 black - 255 white)
;章节的背景色 (0 - 255 )
:The amount of greyness behind a section heading.
:章节标题后面灰度。


;Background colour for questions (0 black - 255 white)
;问题的背景色 (0 - 255 )
: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
;页面方向Page orientation
:Portrait or landscape orientation for the paper questionnaire.
:纸质调查问卷纵向或横向的页面。


;Page format
;纸张格式
:The size of the paper to use (A4, A3, US Letter).
:使用纸张的大小 (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.
点击 "导出 queXML PDF " 按钮将生成包含 PDF 调查问卷和相关文件的 ZIP 文档。




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:
如果你更改了上面的设置,并希望把他们重置为 queXML PDF 的默认设置,点击 "重置到默认设置" 按钮:




<center>[[File:Reset quexml pdf options .png]]</center>
<center>[[File:Reset quexml pdf options .png]]</center>


= General Configuration Settings =
= 常规配置设置 =
You may find some extra configurations settings under the file application/config/config-defaults.php.
你可以在 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.
本文档包含 LimeSurvey 的默认设置。不要修改此文件,因为该文件可能在软件的修订版本中被修改。
Correct procedure to setup LimeSurvey is the following:
下面是配置 LimeSurvey 的正确过程:
* copy the lines corresponding to the parameter you want to change from this file to the config.php file
* 从本文件复制你要修改的对应参数到文件 config.php
* edit these lines in config.php
* config.php 中编辑这些参数
This way the default values will be overridden.
这样,默认值会被覆盖。


TODO: Example
待办: 示例


;quexmlshowprintablehelp
;quexmlshowprintablehelp
If set to true, the printable_help attribute will be visible on the exported PDF survey.
如果设置为是,在导出的PDF调查中可以看到 printable_help 属性。
If used, the appearance (font size, justification, etc.) may be adjusted by editing td.questionHelpBefore and $helpBeforeBorderBottom of quexml.
使用后,可以通过修改 quexml 的 td.questionHelpBefore $helpBeforeBorderBottom 调整外观 (字体大小,对齐方式等)。


;quexmlusequestiontitleasid {{NewIn|v=4.3}}
;quexmlusequestiontitleasid {{NewIn|v=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.
如果设置为是,PDF中的每个问题会用标题来识别和标注,替代原来报告中生成的数字和自动章节。


;quexmlkeepsurveydateformat {{NewIn|v=4.3}}
;quexmlkeepsurveydateformat {{NewIn|v=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.
如果设置为是,日期/时间 答案会以调查的日期格式呈现,而不使用数据库的默认格式。

Latest revision as of 09:53, 5 November 2020

说明

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

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



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


LimeSurvey 选项


页面上呈现的是 queXML PDF 导出的默认设置。改变这些设置可以产生不同外观的纸质调查问卷。

语言选择
如果调查被翻译成多种语言 - 你可以在这里选择导出的语言。
样式
使用 CSS 应用元素在纸上的样式。
允许将阵列类型问题分割成多页
如果你的调查中包含有多个子问题的阵列问题,将允许将阵列问题分隔到多个页面。这样可以避免问题很长或页面上的空白过多。页面的底端会有个箭头提示问题会延续到下一页。
允许单选问题分割到多页
像"radio"风格的单选问题可以被分割到多个页面里。当你的问题含有一份长长的反馈列表的时候会用得上。页面的底端会有个箭头提示问题会延续到下一页。
允许多个短文本/数字 问题分割到多页
当使用了多个短文本 或 多个数字问题类型 - 允许其子问题在多个页面出现 (页面的底端会有个箭头提示问题会延续到下一页。).
允许滑块问题分割到多个页面
滑块问题会以视觉模拟量表(VAS)的形式在 queXML PDF 页面中呈现。将允许滑块的列表分割到多个页面。页面的底端会有个箭头提示问题会延续到下一页。
单选框的最小高度
此项用来以毫秒为单位设置每个反馈里面的单选问题。把这个值设置的小一些以适配页面中的其他问题。
子问题项的最小高度
用毫米表示的阵列问题的子问题的最小高度。把这个值设置的低一些以适配阵列问题里更多的其他子问题。请小心不要把这个值设置的过低,否则会截断长文本子问题的结尾部分。
questionnaireInfo 元素前的页边空白 (mm)
questionnaireInfo 元素在调查里用于 "欢迎" 文本或 "结束" 文本。本设置以毫秒为单位设置显示文本前的边距。
答案选项 / 子问题 字体大小
关于答案选项或子问题文本的字体大小。
答案标签 字体大小 (正常)
显示子问题中的答案标签的字体大小。
答案标签字体大小 (小)
显示那些没有被分割,又没有适配给定区域的有长文本子问题中的答案标签的字体大小。
最小章节高度 (mm)
每一个LimeSurvey 调查的组在 queXML PDF 文档中会以新的章节出现。此设置以毫米为单位设置新章节标题的最小高度。
章节的背景色 (0 黑 - 255 白)
章节标题后面灰度。
问题的背景色 (0 黑 - 255 白)
问题后面的灰度。良好的设计建议使用灰色背景以避免眼疲劳,并且清晰的定义反馈的区域(反馈区域通常是白色的)。
页面方向Page orientation
纸质调查问卷纵向或横向的页面。
纸张格式
使用纸张的大小 (A4, A3, US Letter).
边缘检测格式
扫描时纸张使用什么边缘风格对齐。


点击 "导出 queXML PDF " 按钮将生成包含 PDF 调查问卷和相关文件的 ZIP 文档。


如果你更改了上面的设置,并希望把他们重置为 queXML PDF 的默认设置,点击 "重置到默认设置" 按钮:


常规配置设置

你可以在 application/config/config-defaults.php 文件中找到一些额外的配置设置。


本文档包含 LimeSurvey 的默认设置。不要修改此文件,因为该文件可能在软件的修订版本中被修改。 下面是配置 LimeSurvey 的正确过程:

  • 从本文件复制你要修改的对应参数到文件 config.php
  • 在 config.php 中编辑这些参数

这样,默认值会被覆盖。

待办: 示例

quexmlshowprintablehelp

如果设置为是,在导出的PDF调查中可以看到 printable_help 属性。 使用后,可以通过修改 quexml 的 td.questionHelpBefore 和 $helpBeforeBorderBottom 调整外观 (字体大小,对齐方式等)。

quexmlusequestiontitleasid (New in 4.3 )

如果设置为是,PDF中的每个问题会用标题来识别和标注,替代原来报告中生成的数字和自动章节。

quexmlkeepsurveydateformat (New in 4.3 )

如果设置为是,日期/时间 答案会以调查的日期格式呈现,而不使用数据库的默认格式。