forked from Wavyzz/dolibarr
fix PDF cell padding
This commit is contained in:
@@ -1704,7 +1704,7 @@ class pdf_eratosthene extends ModelePDFCommandes
|
|||||||
// Default field style for content
|
// Default field style for content
|
||||||
$this->defaultContentsFieldsStyle = array(
|
$this->defaultContentsFieldsStyle = array(
|
||||||
'align' => 'R', // R,C,L
|
'align' => 'R', // R,C,L
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
);
|
);
|
||||||
|
|
||||||
// Default field style for content
|
// Default field style for content
|
||||||
@@ -1741,7 +1741,7 @@ class pdf_eratosthene extends ModelePDFCommandes
|
|||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
||||||
// 'label' => ' ', // the final label
|
// 'label' => ' ', // the final label
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
),
|
),
|
||||||
'content' => array(
|
'content' => array(
|
||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
|
|||||||
@@ -1146,7 +1146,7 @@ class pdf_espadon extends ModelePdfExpedition
|
|||||||
// Default field style for content
|
// Default field style for content
|
||||||
$this->defaultContentsFieldsStyle = array(
|
$this->defaultContentsFieldsStyle = array(
|
||||||
'align' => 'R', // R,C,L
|
'align' => 'R', // R,C,L
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
);
|
);
|
||||||
|
|
||||||
// Default field style for content
|
// Default field style for content
|
||||||
@@ -1183,7 +1183,7 @@ class pdf_espadon extends ModelePdfExpedition
|
|||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
||||||
// 'label' => ' ', // the final label
|
// 'label' => ' ', // the final label
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
),
|
),
|
||||||
'content' => array(
|
'content' => array(
|
||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
|
|||||||
@@ -2279,7 +2279,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
||||||
// 'label' => ' ', // the final label
|
// 'label' => ' ', // the final label
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
),
|
),
|
||||||
'content' => array(
|
'content' => array(
|
||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
|
|||||||
@@ -1865,7 +1865,7 @@ class pdf_cyan extends ModelePDFPropales
|
|||||||
// Default field style for content
|
// Default field style for content
|
||||||
$this->defaultContentsFieldsStyle = array(
|
$this->defaultContentsFieldsStyle = array(
|
||||||
'align' => 'R', // R,C,L
|
'align' => 'R', // R,C,L
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
);
|
);
|
||||||
|
|
||||||
// Default field style for content
|
// Default field style for content
|
||||||
@@ -1902,7 +1902,7 @@ class pdf_cyan extends ModelePDFPropales
|
|||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
||||||
// 'label' => ' ', // the final label
|
// 'label' => ' ', // the final label
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
),
|
),
|
||||||
'content' => array(
|
'content' => array(
|
||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
|
|||||||
@@ -1509,7 +1509,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
|
|||||||
// Default field style for content
|
// Default field style for content
|
||||||
$this->defaultContentsFieldsStyle = array(
|
$this->defaultContentsFieldsStyle = array(
|
||||||
'align' => 'R', // R,C,L
|
'align' => 'R', // R,C,L
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
);
|
);
|
||||||
|
|
||||||
// Default field style for content
|
// Default field style for content
|
||||||
@@ -1546,7 +1546,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
|
|||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
// 'textkey' => 'yourLangKey', // if there is no label, yourLangKey will be translated to replace label
|
||||||
// 'label' => ' ', // the final label
|
// 'label' => ' ', // the final label
|
||||||
'padding' => array(0.5, 0.5, 0.5, 0.5), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
'padding' => array(0.5, 1, 0.5, 1), // Like css 0 => top , 1 => right, 2 => bottom, 3 => left
|
||||||
),
|
),
|
||||||
'content' => array(
|
'content' => array(
|
||||||
'align' => 'L',
|
'align' => 'L',
|
||||||
|
|||||||
Reference in New Issue
Block a user