Laurent Destailleur
663998bab1
Fix scrutinizer errors
2019-06-18 20:15:04 +02:00
Laurent Destailleur
3c90461502
Better error message in convert odt to pdf
2019-04-27 17:31:14 +02:00
Gerhard Stephan
520f581481
Don't check for windows/linux, just call soffice (without the extension) will work on windows too.
2018-02-15 14:38:21 +01:00
Laurent Destailleur
9965a25eaa
Code comment
2018-02-15 13:23:13 +01:00
Laurent Destailleur
0172ecb425
Code comment
2018-02-15 13:21:58 +01:00
Laurent Destailleur
d547d1a9cf
Suggest better change for #8196 . To be tested.
2018-02-15 13:16:54 +01:00
Gerhard Stephan
51028c845d
Export to PDF using LibreOffice 5 command line
2018-02-15 10:15:27 +01:00
Laurent Destailleur
247c380d18
Several fixes
2017-12-12 16:11:40 +01:00
Laurent Destailleur
d404d8be9f
Debug to make MAIN_ODT_AS_PDF workign with unoconv
2017-10-10 18:54:30 +02:00
Laurent Destailleur
5980651103
Merge branch 'develop' into develop
2017-09-21 11:41:30 +02:00
Laurent Destailleur
aba907d1a8
FIX #7420
2017-09-18 15:49:21 +02:00
mikee2
6a35047020
Updated to use dolibarr timme functions
...
Redefined macro strings to adapt to dolibarr date functions return values. Keep same macro names when possible to avoid breaking existing code. Some macro holders (not commonly used) have been dropped because non existing values in dolibarr date functions.
Per eldy request changed php date functions with dolibarr's internal date functions to match users time zone. Now dates are those of the user's timezone so check that is is correctly defined in user's profile.
2017-06-14 12:53:29 +02:00
mikee2
637e1a8d21
Update Segment.php
...
Add additional needed fields so that you can invoice yearly items. Have number and text descriptions to avoid future changes that may break existing invoices.
2017-05-06 10:49:37 +02:00
Laurent Destailleur
11b1a2adac
Merge branch '5.0' of git@github.com:Dolibarr/dolibarr.git into develop
...
Conflicts:
htdocs/accountancy/journal/bankjournal.php
htdocs/accountancy/journal/expensereportsjournal.php
htdocs/accountancy/journal/purchasesjournal.php
htdocs/accountancy/journal/sellsjournal.php
htdocs/comm/propal/class/api_proposals.class.php
htdocs/comm/propal/class/propal.class.php
htdocs/compta/bank/index.php
htdocs/compta/facture.php
htdocs/core/class/html.form.class.php
htdocs/includes/odtphp/Segment.php
htdocs/langs/en_US/admin.lang
htdocs/societe/soc.php
2017-05-05 14:49:25 +02:00
Laurent Destailleur
05fe0d7fcd
Fix doxygen
2017-04-29 01:01:12 +02:00
mikee2
e6b20840a3
Update Segment.php
2017-04-14 11:49:30 +02:00
mikee2
f460d2e705
Update Segment.php
2017-04-09 21:39:15 +02:00
Laurent Destailleur
9fabfe029b
Remove debug logs
2016-07-29 16:31:29 +02:00
Laurent Destailleur
b85bb8c0f8
Merge remote-tracking branch 'origin/3.9' into 4.0
...
Conflicts:
htdocs/core/modules/facture/doc/pdf_crabe.modules.php
2016-07-29 16:24:02 +02:00
Laurent Destailleur
00749b2a65
Merge remote-tracking branch 'origin/3.9' into develop
...
Conflicts:
htdocs/imports/import.php
htdocs/includes/odtphp/odf.php
htdocs/product/stock/product.php
htdocs/projet/list.php
2016-06-22 20:22:22 +02:00
Laurent Destailleur
f514400d87
FIX a case of corrupted ODT by Word that insert <text:s> when it should
...
not.
2016-06-22 20:08:29 +02:00
Laurent Destailleur
a68b704daf
FIX Must not return error when vars does not exists
2016-03-25 15:57:36 +01:00
Laurent Destailleur
80e10158a5
Add code comment
2016-03-25 15:57:29 +01:00
Laurent Destailleur
91caea5707
Code was corrupted with very bad commits. I restore files manually.
2016-03-25 15:53:44 +01:00
Laurent Destailleur
a2b3b24ca9
FIX Must not return error when vars does not exists
2016-03-22 22:01:07 +01:00
Laurent Destailleur
dd26ede0ef
Add code comment
2016-03-22 19:24:48 +01:00
Jean-Pierre Morfin
0cb9cc2213
Correct pattern to match all odt var tags
...
some vars like {object_total_vat_local_x.y} or {object_total_vat_local_x,y} could not be tested to know if they were existing with [!-- IF {xxx} --] syntax
2015-11-12 09:24:04 +01:00
Laurent Destailleur
d0d4c5e7f8
NEW The conditional IF into ODT templates works also on not defined var
...
so we can show data only if defined. Close #3819
2015-11-02 15:44:47 +01:00
Laurent Destailleur
7926fd8083
NEW ODT generators can set meta properties of ODT file
2015-09-05 00:47:06 +02:00
alainabbas
efd3c4d863
Correct bug #3050
...
when a piece is in draft and odt2pdf.sh is used, the filename is not corrected escaped for the shell
2015-06-25 20:57:01 +02:00
Laurent Destailleur
4781707fa4
Fix jodconverter can't work without the wrapper jodconverter.
2015-02-22 16:01:01 +01:00
BENKE Charles
5586893ca2
Update odf.php
...
add new fonction getvalue (valuename)
return value inside [valuename][/valuename] tag
2014-11-01 21:00:28 +01:00
Laurent Destailleur
7bfbc4cbf3
Merge remote-tracking branch 'origin/3.5' into develop
...
Conflicts:
htdocs/core/modules/modExpedition.class.php
htdocs/projet/class/project.class.php
2014-05-07 19:30:19 +02:00
Laurent Destailleur
ac27884b88
Fix: [ bug #1366 ] Special characters are HTML encoded with WYSIWYG
...
module.
2014-05-07 19:13:02 +02:00
cam.lafit
1229842dc6
Provide a new constant about odt2pdf mangement : Don't remove odt source
...
* MAIN_ODT_AS_PDF_DEL_SOURCE by default disable
* If set then initial behaviour is conserved, odt file is removed
2014-01-06 20:07:15 +01:00
Laurent Destailleur
358175b357
Merge remote-tracking branch 'origin/3.4' into develop
2013-11-20 23:48:06 +01:00
Florian Henry
306a51f6bd
remove useless code (the tag replacement into footer and header is
...
already done by SetVar method)
2013-11-20 13:54:53 +01:00
Raphaël Doursenaud
b9ff5188b3
Normalized EOL
2013-07-01 12:00:42 +02:00
Florian Henry
dc5db0c137
fix ODT to PDF script path
2013-06-18 09:07:53 +02:00
Florian Henry
7cc7e8392d
Fix ODT to PDF exec scripts path
2013-06-17 11:58:59 +02:00
Laurent Destailleur
8f214a77c5
Fix: Fix error with linux rules
2013-04-30 21:31:35 +02:00
fhenry
ee4839c92e
Better management for ODT to PDF
2013-04-22 15:50:26 +02:00
fhenry
e6f9c567d9
Fix odt as PDF generation
2013-04-22 12:08:35 +02:00
fhenry
ffb97010c9
Better file name management
2013-04-20 11:03:23 +02:00
fhenry
96126d9c99
Save PDF file
2013-04-20 10:54:11 +02:00
fhenry
413ee7ec78
Add hidden option MAIN_ODT_AS_PDF to save ODT as PDF (only if
...
libreoffice/jodconverter/exec shell right)
2013-04-20 10:44:01 +02:00
fhenry
629ef78dc8
Add subtitution inside header and fotter document
2013-04-11 18:38:50 +02:00
fhenry
af40d27eb5
Remove require_once from odf.php because it cause regression.
2013-04-11 17:26:49 +02:00
Stephen L
6e1e41e8b5
update: Sync odtphp lib (fix a lot of bugs and add a few functionalities)
...
Ref: b4e02a1306
Signed-off-by: Stephen L. <lrq3000@gmail.com >
2013-04-07 17:27:35 +02:00
Laurent Destailleur
6ff9444903
Fix: temporary folder when creating ODT segments on Windows or system…
2012-12-29 01:25:56 +01:00