* CLOSE#33506 add a constant holding the ratio to resize images in ODT templates
A new Dolibarr constant MAIN_DOC_ODT_IMAGE_RATIO
is taken in consideration for ODT templates.
This constant holds a number that is multiplied when computing the size of images in ODT templates.
All doc_generic_*_odt_modules.php files have been updated to call the setImage Method with a new parameter $ratio
The method setImage in the file odt.php has been modified to have a new parameter $ratio and use it to compute the image size
* FIX#33506 wrong branch
some other files needed to be changed in the develop branch
* FIX#33506 PR errors fixed
* FIX#33506 codesniffer errors fixed
* QUAL #33506 completed method comment
# Qual: Ignore phan notice for pagebreak property
The access to the undeclared pagebreak property is protected with isset().
So these notices are now suppressed.
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: Nullable mysoc hint
# Qual: Nullable mysoc hint
$mysoc can be nullable resulting in issues (#31387) so
it is best to detect these cases with static analysis
* Prevent null assignment
* NEW: Add option to enable PDF frame rounded corners
* NEW: function printRoundedRect
* NEW PDF frame rounded corners
* New add rounded corners in frames
* New add rounded corners in frames
* Update admin.lang
* fix incoterm frame height
* Update pdf_sponge.modules.php
* fix pre-commit
* fix pre-commit
* fix php-stan (8.2)
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* fix phan php-stan (8.2) declare property
* New add rounded corners in frames
* New add rounded corners in frames
* add phpdoc for corner radius
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* fix php-stan (8.2)
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* fix whitespace
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* New add rounded corners in frames
* fix pre-commit empty line
* fix phan php-stan (8.2)
* fix phan php-stan (8.2)
* fix Travis
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix title color
* fix phan
* fix phan
* fix phan
* fix phan
* fix phan phpdoc
* fix pre-commit
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix phpdoc for phpstan
* Add abstract write_file to ModelePDFContract
And update phpdoc for derived classes
* Fix typing for php_standard_actions writefile
* Improve phpdoc for write_files (& related)
* Add abstract write_file to ModelePDFBom
* Add abstract write_file to ModelePDFDeliveryOrder
* Add abstract write_file to ModeleExpenseReport
* Add abstract write_file to ModelePDFFicheinter
* Add abstract write_file to ModelePDFEvaluation
* Add abstract write_file to ModelePDFFactures
* Add abstract write_file to ModelePDFSuppliersInvoices
* Update ModelePDFProjects and ModelePDFTask related classes
* Qual: Add abstract write_file to ModelePdfExpedition
And update phpdoc for derived classes
* Qual: Correct reference (doc) to ModelePDFEvaluation
* Qual: Add abstract write_file to ModelePDFKnowledgeRecord
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFMo & ModelePDFMouvement
And update phpdoc for derived classes
* Qual: Set typehint to ModelePDFFicheinter
* Qual: Add abstract write_file to ModelePDFCommandes
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFPropales
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePdfReception
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFSuppliersOrders
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFSuppliersOrders
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFSuppliersPayments
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFSupplierProposal
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFWorkstation
And update phpdoc for derived classes
* Set typing for doc generator (commonobject)
* Improve typing for write_file
* Set typing for doc generator
* Qual: Add abstract write_file to ModelePDFMember
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFProduct
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFProductBatch
And update phpdoc for derived classes
* Qual: Add abstract write_file to ModelePDFRecruitmentJobPosition
And update phpdoc for derived classes
* Add abstract write_file to ModelePDFTicket
* Add abstract write_file to ModelePDFUser
* Add abstract write_file to ModelePDFUserGroup
* Add abstract write_file to ModeleThirdPartyDoc
* Add abstract write_file to ModelePDFAsset
* Find all incompatible classes
* Qual: update phan baseline
* Set typing for doc generator (commonobject)
* Qual: update phan baseline
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>