Table of contents
Namespace: Com\Tecnick\Pdf
abstract class Cell extends Base
Extends: Base
Source: src/Cell.php:39
Cell PDF data
Methods
setDefaultCellBorderPos()
Sets the default cell border position.
public setDefaultCellBorderPos(float $borderpos): void
Parameters:
$borderpos(float): The border position to set: BORDERPOS_DEFAULT BORDERPOS_EXTERNAL BORDERPOS_INTERNAL
Source: src/Cell.php:131
setDefaultCellMargin()
Set the default cell margin in user units.
The values are converted and stored in internal points, so the margin of a cell definition array passed to the text methods must be already in points.
public setDefaultCellMargin(float $top, float $right, float $bottom, float $left): void
Parameters:
$top(float): Top.$right(float): Right.$bottom(float): Bottom.$left(float): Left.
Source: src/Cell.php:96
setDefaultCellPadding()
Set the default cell padding in user units.
The values are converted and stored in internal points, so the padding of a cell definition array passed to the text methods must be already in points.
public setDefaultCellPadding(float $top, float $right, float $bottom, float $left): void
Parameters:
$top(float): Top.$right(float): Right.$bottom(float): Bottom.$left(float): Left.
Source: src/Cell.php:115
Inherited members
From Base
- BORDERPOS_DEFAULT: The default relative position of the cell origin when the border is centered on the cell edge.
- BORDERPOS_EXTERNAL: The relative position of the cell origin when the border is external to the cell edge.
- BORDERPOS_INTERNAL: The relative position of the cell origin when the border is internal to the cell edge.
- ZEROCELL: Default values for cell.
- ZEROCELLBOUND: Default values for cell boundaries.
- $barcode: Barcode object.
- $cache: Cache object.
- $color: Color object.
- $encrypt: Encrypt object.
- $file: File object.
- $font: Font object.
- $graph: Graph object.
- $image: Image Import object.
- $markupFile: File object for markup-originated resources.
- $page: Page object.
- $pon: Current PDF object number.
- $uniconv: Unicode Convert object.
- defaultFileAllowedPaths(): Returns the default array of allowed file paths.
- defaultMarkupAllowedPaths(): Returns the default array of allowed file paths for markup-originated resources.
- enableDefaultPageContent(): Enable or disable the default page content.
- getWarnings(): Return the conformance warnings raised while the document was rendered.
- initClassObjects(): Initialize dependencies class objects.
- setPDFVersion(): Set the PDF version (check PDF reference for valid values).
- setRTL(): Set the default document language direction.
- toPoints(): Convert user units to internal points unit.
- toUnit(): Convert internal points to user unit.
- toYPoints(): Convert vertical user value to internal points unit.
- toYUnit(): Convert vertical internal points value to user unit.