75
edits
Jawaid imran (talk | contribs) |
Jawaid imran (talk | contribs) (Reformatted PDF section for easier reading, other sections to follow) |
||
| Line 349: | Line 349: | ||
* MAILING_LIMIT_SENDBYCLI => Restrict number of emails you can send in same sending session with emailing module from CLI script. The value "dolibarr_mailing_limit_sendbycli" if defined into config file is used in priority for this limit. | * MAILING_LIMIT_SENDBYCLI => Restrict number of emails you can send in same sending session with emailing module from CLI script. The value "dolibarr_mailing_limit_sendbycli" if defined into config file is used in priority for this limit. | ||
== PDF | == PDF Options == | ||
* MAIN_DISABLE_FORCE_SAVEAS | * '''MAIN_DISABLE_FORCE_SAVEAS''' ► If your browser ask always to save downloaded files on disk (like PDF), try to add this option. File might appears directly into your browser. | ||
* MAIN_DISABLE_PDF_COMPRESSION | * '''MAIN_DISABLE_PDF_COMPRESSION''' ► Disable PDF compression. | ||
* MAIN_INVERT_SENDER_RECIPIENT | * '''MAIN_INVERT_SENDER_RECIPIENT''' ► Invert sender and recipient in some PDF. | ||
* MAIN_DISABLE_PDF_AUTOUPDATE | * '''MAIN_DISABLE_PDF_AUTOUPDATE''' ► Disable automatic generation of PDF each time we add/update/delete a product line (we can still build document by clicking on "Generate"). This option may increase interface speed on servers with low CPU. | ||
* MAIN_USE_BACKGROUND_ON_PDF | * '''MAIN_USE_BACKGROUND_ON_PDF''' ► Define this constant with short name of an image (example "myimage.jpg") that must be saved into directory "documents/mycompany/logos". This will add this background image into your generated PDF files. Warning: This option make TCPDF library being crazy sometime and content on image disappeared ! | ||
* MAIN_ADD_PDF_BACKGROUND | * '''MAIN_ADD_PDF_BACKGROUND''' ► Define this constant with short name of a PDF file (example "mypdf.pdf") that must be saved into directory "documents/mycompany". This will add PDF as a background of some of your generated PDF files (proposals,invoices,orders). If you need to concat PDF, see instead [[Module Concat PDF]]. | ||
* MAIN_PDF_FORCE_FONT | * '''MAIN_PDF_FORCE_FONT''' ► To ignore font defined into language file and force usage of a particular font. For example "DejaVuSans". | ||
* MAIN_PDF_FREETEXT_HEIGHT | * '''MAIN_PDF_FREETEXT_HEIGHT''' ► Change height of space reserved to output the free text. | ||
* MAIN_PDF_TITLE_BACKGROUND_COLOR | * '''MAIN_PDF_TITLE_BACKGROUND_COLOR''' ► Can define a background color onto title line. Example: '220,220,200' | ||
* MAIN_USE_COMPANY_NAME_OF_CONTACT | * '''MAIN_USE_COMPANY_NAME_OF_CONTACT''' ► Use contact name and information rather than company | ||
* MAIN_ODT_AS_PDF | * '''MAIN_ODT_AS_PDF''' ► Activate PDF conversion from ODT document. If value is 'jodconverter', java and jodconverter command line tool must be available. If value is '/pathto/jodconverter.jar', then java and the jodconvertar jar must exists. soffice must also be available. MAIN_DOL_SCRIPTS_ROOT Must also be defined to path where the "scripts" directory is stored (for example /var/www/mydolibarr). | ||
* MAIN_ODT_AS_PDF_DEL_SOURCE | * '''MAIN_ODT_AS_PDF_DEL_SOURCE''' ► For ODT generation. If set, then initial behaviour is conserved but ODT file is removed when option to convert it as PDF (see previous) is on. Disabled by default | ||
* MAIN_GENERATE_PROPOSALS_WITH_PICTURE | * '''MAIN_GENERATE_PROPOSALS_WITH_PICTURE''' ► Include the first image of the product into the line of the generated PDF for customer proposals. | ||
* MAIN_GENERATE_INVOICES_WITH_PICTURE | * '''MAIN_GENERATE_INVOICES_WITH_PICTURE''' ► Include the first image of the product into the line of the generated PDF for customer invoices. | ||
* MAIN_GENERATE_SUPPLIER_PROPOSAL_WITH_PICTURE | * '''MAIN_GENERATE_SUPPLIER_PROPOSAL_WITH_PICTURE''' ► Include the first image of the product into the line of the generated PDF for supplier proposals ► (v5.0.3+) | ||
* MAIN_DOCUMENTS_LOGO_HEIGHT | * '''MAIN_DOCUMENTS_LOGO_HEIGHT''' ► Can force height of Logo on PDF. | ||
* MAIN_DOCUMENTS_WITH_PICTURE_WIDTH | * '''MAIN_DOCUMENTS_WITH_PICTURE_WIDTH''' ► Can change size of picture when hidden option MAIN_GENERATE_PROPOSALS_WITH_PICTURE is used. By default value is 20. | ||
* MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT_COLUMN | * '''MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT_COLUMN''' ► Hide column with VAT information but only column not total. | ||
* PDF_SHOW_PROJECT | * '''PDF_SHOW_PROJECT''' ► Show project onto PDF (supported on supplier order only for the moment) | ||
* PDF_BANK_HIDE_NUMBER_SHOW_ONLY_BICIBAN | * '''PDF_BANK_HIDE_NUMBER_SHOW_ONLY_BICIBAN''' ► Hide bank number ("code banque/guichet/compte" for france, "sort number/account" for GB, ...) and keep only BIC/IBAN on PDF. | ||
* PDF_HIDE_PRODUCT_REF_IN_SUPPLIER_LINES | * '''PDF_HIDE_PRODUCT_REF_IN_SUPPLIER_LINES''' ► Value 1 or 2 change the way product ref is show (1 = show supplier ref only and not internal ref, 2 = show supplier then internal). Without, internal ref then supplier is shown. | ||
* MAIN_PDF_ADDALSOTARGETDETAILS | * '''MAIN_PDF_ADDALSOTARGETDETAILS''' ► Add particular details like the telephone number on generated PDFs. Can be useful in cases where a printed order/invoice etc is given to a delivery driver/courier etc. | ||
* PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME | * '''PDF_INCLUDE_ALIAS_IN_THIRDPARTY_NAME''' ► Include alternative/alias name into name on PDF. | ||
* MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING | * '''MAIN_PDF_PROPAL_USE_ELECTRONIC_SIGNING''' ► Add optional esign field in pdf propal ► (v8.0+) | ||
* '''MAIN_TVAINTRA_IN_SOURCE_ADDRESS''' ► Show VAT N° in source address of PDF to comply with legalities in certain countries ► (v8.0.1+) | |||
* '''MAIN_PROFID1_IN_SOURCE_ADDRESS''' ► Show Professional ID 1 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+) | |||
* '''MAIN_PROFID2_IN_SOURCE_ADDRESS''' ► Show Professional ID 2 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+) | |||
* '''MAIN_PROFID3_IN_SOURCE_ADDRESS''' ► Show Professional ID 3 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+) | |||
* '''MAIN_PROFID4_IN_SOURCE_ADDRESS''' ► Show Professional ID 4 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+) | |||
* '''MAIN_PROFID5_IN_SOURCE_ADDRESS''' ► Show Professional ID 5 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+) | |||
* '''MAIN_PROFID6_IN_SOURCE_ADDRESS''' ► Show Professional ID 6 in source address of PDF to comply with legalities in certain countries ► (v8.0.1+) | |||
== WYSIWYG Editor == | == WYSIWYG Editor == | ||
edits