Viewer path & pdftk path
click
Language
By default we use the system settings finding the language code XX ("en" or "fr" or ...) We search then the file XDG_DATA_DIRS/pdftk_q5gui/i18n/pdftk-q5gui_XX.qm where XX is the language code. If a file exist it is used.If the file doesn't exist we take the English language.
Currently only the "en" and "fr" translation files are delivered.
All language files found in this library are proposed as possible choices.
Translation in a new language
A template translation file is also present (XDG_DATA_DIRS/pdftk_q5gui/i18n/pdftk-q5gui_XX.ts). If you want translating it to a new language for example german (de)
- copy this file to XDG_DATA_DIRS/pdftk_q5gui/i18n/pdftk-q5gui_de.ts
- Use Qt5 Linguist to translate the messages. Take in acount that some messages contain HTML tags that must not be translated and that some messages must not be translated: they have a comment "DON'T TRANSLATE!"
- When all messages are translated you can publish the result which generates the file XDG_DATA_DIRS/pdftk_q4gui/i18n/pdftk-q5gui_de.qm which can then be used/selected as translation file.
External stylesheet - check it if you want to use external style sheet in order to customize look&feel of PdfTk-Q5GUI.
Use button to the right (it shows the name of currently selected css file) to specify existing css file.
You can edit selected css file from preferences dialog (Edit CSS tab). Click 'Preview' button to see, how standard elements will look like using your style sheet (this operation won't save changes you've made to your css file)
If you uncheck 'External stylesheet' , you will only be able to specify:
- Font, font size and color of report field's text
- Report field, catenate, burst, attach and encrypt dialogs background images (one common for all or separate for each one)
To specify background image, select 'image' radio and desired image file from drop-down list (in case you have any images in your database - read here how to add images in your database) or select 'Custom' to specify background image for each dialog separately.
If you select 'Color' radio, you will only be able to specify report field's background color
NB
- You can specify color by selecting it with the help of special dialog (click
for this dialog to be shown), or you can input it by hand in the following format: #RRGGBB (R, G and B are hexadecimal digits)
- To add an image to the database, click 'Add' button in the appropriate section
To remove image from database, click 'Remove' button in the appropriate section.
If database exists, it will be automatically loaded at dialog's startup.
PDF Printer:
QPrinter is used to convert TXT and HTML documents to PDF. Use this tab to change page orientation, color mode, page order and resolution of converted document.
Scripts:
| Object | Object Name |
|---|---|
| Dialog | PrefsDlg |
| CSS Edit field | cssEdit |