Documentation

Mpdf
in package
implements LoggerAwareInterface uses Strict, FpdiTrait, MpdfPsrLogAwareTrait

mPDF, PHP library generating PDF files from UTF-8 encoded HTML

based on FPDF by Olivier Plathey and HTML2FPDF by Renato Coelho

Tags
license

GPL-2.0

Table of Contents

Interfaces

LoggerAwareInterface
Describes a logger-aware instance.

Constants

OBJECT_IDENTIFIER  = "\xbb\xa4\xac"
SCALE  = 72 / 25.4
VERSION  = '8.3.1'

Properties

$additionalXmpRdf  : mixed
$adjustFontDescLineheight  : mixed
$aliasNbPg  : mixed
$aliasNbPgGp  : mixed
$allow_charset_conversion  : mixed
$allow_html_optional_endtags  : mixed
$allow_output_buffering  : mixed
$allowAnnotationFiles  : mixed
$allowCJKorphans  : mixed
$allowCJKoverflow  : mixed
$allowedCSStags  : mixed
$anchor2Bookmark  : mixed
$angle  : mixed
$annotMargin  : mixed
$annotOpacity  : mixed
$annotSize  : mixed
$arabGlyphs  : mixed
$arabHex  : mixed
$arabNextLink  : mixed
$arabPrevLink  : mixed
$arabVowels  : mixed
$associatedFiles  : mixed
$associatedFilesRoot  : mixed
$author  : mixed
$autoArabic  : mixed
$autoLangToFont  : mixed
$autoMarginPadding  : mixed
$autoPadding  : mixed
$autoPageBreak  : mixed
$autoScriptToLang  : mixed
$autoVietnamese  : mixed
$available_CJK_fonts  : mixed
$available_unifonts  : mixed
$B  : mixed
$backupSIPFont  : mixed
$backupSubsFont  : mixed
$barcode  : Barcode
$base_table_properties  : mixed
$baselineC  : mixed
$baselineO  : mixed
$baselineS  : mixed
$baselineSub  : mixed
$baselineSup  : mixed
$basepath  : mixed
$basepathIsLocal  : mixed
$baseScript  : mixed
$bgcolorarray  : mixed
$biDirectional  : mixed
$BIG  : mixed
$Big5_widths  : mixed
$bleedMargin  : mixed
$blk  : mixed
$blklvl  : mixed
$blockContext  : mixed
$blockjustfinished  : mixed
$bMargin  : mixed
$BMoutlines  : mixed
$BMPonly  : mixed
$bodyBackgroundColor  : mixed
$bodyBackgroundGradient  : mixed
$bodyBackgroundImage  : mixed
$bookmarkStyles  : mixed
$borderstyles  : mixed
$breakpoints  : mixed
$buffer  : mixed
$bufferoutput  : mixed
$bullet  : mixed
$bulletarray  : mixed
$cacheCleanupInterval  : mixed
$cell  : mixed
$cellBorderBuffer  : mixed
$cellLineHeight  : mixed
$cellLineStackingShift  : mixed
$cellLineStackingStrategy  : mixed
$cellPaddingB  : mixed
$cellPaddingL  : mixed
$cellPaddingR  : mixed
$cellPaddingT  : mixed
$cellTextAlign  : mixed
$ChangeColumn  : mixed
$charset_in  : mixed
$charspacing  : mixed
$checkCJK  : mixed
$checkSIP  : mixed
$checkSMP  : mixed
$CJKfollowing  : mixed
$CJKforceend  : mixed
$CJKleading  : mixed
$CJKoverflow  : mixed
$cMarginB  : mixed
$cMarginL  : mixed
$cMarginR  : mixed
$cMarginT  : mixed
$col  : mixed
$col_BMoutlines  : mixed
$col_toc  : mixed
$ColActive  : mixed
$ColDetails  : mixed
$ColGap  : mixed
$ColL  : mixed
$collapseBlockMargins  : mixed
$colorarray  : mixed
$ColorFlag  : mixed
$ColR  : mixed
$colsums  : mixed
$ColumnAdjust  : mixed
$columnAnnots  : mixed
$columnbuffer  : mixed
$columnForms  : mixed
$columnLinks  : mixed
$colvAlign  : mixed
$ColWidth  : mixed
$compress  : mixed
$CoreFonts  : mixed
$creator  : mixed
$cropMarkLength  : mixed
$cropMarkMargin  : mixed
$crossMarkMargin  : mixed
$CSSselectMedia  : mixed
$curlAllowUnsafeSslRequests  : bool
Set to true to allow unsafe SSL HTTPS requests.
$curlCaCertificate  : string
Set your own CA certificate store for SSL Certificate verification when using cURL
$curlExecutionTimeout  : int
Set execution timeout for cURL
$curlFollowLocation  : bool
Set to true to follow redirects with cURL.
$curlProxy  : string
Set the proxy for cURL.
$curlProxyAuth  : string
Set the proxy auth for cURL.
$curlTimeout  : int
Set timeout for cURL
$curlUserAgent  : string
Set the User-Agent header in the HTTP requests sent by cURL.
$CurOrientation  : mixed
$CurrCol  : mixed
$current_layer  : mixed
$CurrentFont  : mixed
$currentfontfamily  : mixed
$currentfontsize  : mixed
$currentfontstyle  : mixed
$currentLang  : mixed
$currentObjectNumber  : int
The currently used object number.
$customProperties  : mixed
$dash_on  : mixed
$debug  : mixed
$debugfonts  : mixed
$decimal_align  : mixed
$decimal_offset  : mixed
$default_available_fonts  : mixed
$default_font  : mixed
$default_font_size  : mixed
$default_lang  : mixed
$default_lineheight_correction  : mixed
$defaultAlign  : mixed
$defaultCSS  : mixed
$defaultCssFile  : mixed
$defaultfooterfontsize  : mixed
$defaultfooterfontstyle  : mixed
$defaultfooterline  : mixed
$defaultheaderfontsize  : mixed
$defaultheaderfontstyle  : mixed
$defaultheaderline  : mixed
$defaultPagebreakType  : mixed
$defaultPageNumStyle  : mixed
$defaultSubsFont  : mixed
$defaultTableAlign  : mixed
$defDrawColor  : mixed
$defFillColor  : mixed
$DeflMargin  : mixed
$DefOrientation  : mixed
$DefrMargin  : mixed
$defTextColor  : mixed
$directionality  : mixed
$displayDefaultOrientation  : mixed
$DisplayPreferences  : mixed
$divbegin  : mixed
$divheight  : mixed
$divwidth  : mixed
$docTemplate  : mixed
$docTemplateContinue  : mixed
$docTemplateContinue2pages  : mixed
$docTemplateStart  : mixed
$dotted_on  : mixed
$dpi  : mixed
$DrawColor  : mixed
$enabledtags  : mixed
$enableImports  : mixed
$enc_obj_id  : mixed
$encrypted  : mixed
$entsearch  : mixed
$entsubstitute  : mixed
$exposeVersion  : mixed
$extgstates  : mixed
$extraFontSubsets  : mixed
$extrapagebreak  : mixed
$falseBoldWeight  : mixed
$fh  : mixed
$fhPt  : mixed
$FillColor  : mixed
$firstPageBoxFooter  : mixed
$firstPageBoxFooterEven  : mixed
$firstPageBoxHeader  : mixed
$firstPageBoxHeaderEven  : mixed
$fixedlSpacing  : mixed
$fixedPosBlock  : mixed
$fixedPosBlockBBox  : mixed
$fixedPosBlockDepth  : mixed
$fixedPosBlockSave  : mixed
$floatbuffer  : mixed
$floatDivs  : mixed
$floatmargins  : mixed
$flowingBlockAttr  : mixed
$fontdata  : mixed
$FontFamily  : mixed
$FontFiles  : mixed
$fontLanguageOverride  : mixed
$fontlist  : mixed
$fonts  : mixed
$FontSize  : mixed
$FontSizePt  : mixed
$fontsizes  : mixed
$FontStyle  : mixed
$fonttrans  : mixed
$footer_line_spacing  : mixed
$forcePortraitHeaders  : mixed
$forcePortraitMargins  : mixed
$formobjects  : mixed
$fullImageHeight  : mixed
$fw  : mixed
$fwPt  : mixed
$GB_widths  : mixed
$gradients  : mixed
$h  : mixed
$h2bookmarks  : mixed
$h2toc  : mixed
$hasOC  : mixed
$header_line_spacing  : mixed
$headerbuffer  : mixed
$hPt  : mixed
$HREF  : mixed
$HTMLFooter  : mixed
$HTMLFooterE  : mixed
$HTMLHeader  : mixed
$HTMLHeaderE  : mixed
$HTMLheaderPageAnnots  : mixed
$HTMLheaderPageForms  : mixed
$HTMLheaderPageLinks  : mixed
$hyphenationDictionaryFile  : mixed
$I  : mixed
$ICCProfile  : mixed
$ignore_invalid_utf8  : mixed
$ignore_table_percents  : mixed
$ignore_table_widths  : mixed
$ignorefollowingspaces  : mixed
$images  : mixed
$imageVars  : mixed
$img_dpi  : mixed
$incrementFPR1  : mixed
$incrementFPR2  : mixed
$incrementFPR3  : mixed
$incrementFPR4  : mixed
$indexUseSubentries  : mixed
$inFixedPosBlock  : mixed
$InFooter  : mixed
$InfoRoot  : mixed
$InHTMLFooter  : mixed
$InlineAnnots  : mixed
$InlineBDF  : mixed
$InlineBDFctr  : mixed
$inlineDisplayOff  : mixed
$InlineProperties  : mixed
$inMeter  : mixed
$innerblocktags  : mixed
$innermostTableLevel  : mixed
$internallink  : mixed
$interpolateImages  : mixed
$ispre  : mixed
$iterationCounter  : mixed
$js  : mixed
$jSmaxChar  : mixed
$jSmaxCharLast  : mixed
$jSmaxWordLast  : mixed
$jSWord  : mixed
$justifyB4br  : mixed
$keep_block_together  : mixed
$keep_table_proportions  : mixed
$keepColumns  : mixed
$kerning  : mixed
$keywords  : mixed
$kt_p00  : mixed
$kt_y00  : mixed
$ktAnnots  : mixed
$kwt  : mixed
$kwt_Annots  : mixed
$kwt_BMoutlines  : mixed
$kwt_buffer  : mixed
$kwt_height  : mixed
$kwt_Links  : mixed
$kwt_moved  : mixed
$kwt_Reference  : mixed
$kwt_saved  : mixed
$kwt_toc  : mixed
$kwt_x0  : mixed
$kwt_y0  : mixed
$lastblockbottommargin  : mixed
$lastblocklevelchange  : mixed
$lasth  : mixed
$lastoptionaltag  : mixed
$layerDetails  : mixed
$layers  : mixed
$LayoutMode  : mixed
$linebreakjustfinished  : mixed
$lineheight  : mixed
$LineWidth  : mixed
$links  : mixed
$list_auto_mode  : mixed
$list_indent_default  : mixed
$list_indent_default_mpdf  : mixed
$list_indent_first_level  : mixed
$list_marker_offset  : mixed
$list_number_suffix  : mixed
$list_symbol_size  : mixed
$listcounter  : mixed
$listitem  : mixed
$listlvl  : mixed
$listtype  : mixed
$lMargin  : mixed
$loaded  : mixed
$lSpacingCSS  : mixed
$margBuffer  : mixed
$margin_bottom_collapse  : mixed
$margin_footer  : mixed
$margin_header  : mixed
$MarginCorrection  : mixed
$max_colH_correction  : mixed
$maxPosL  : mixed
$maxPosR  : mixed
$maxTTFFilesize  : mixed
$mb_enc  : mixed
$MetadataRoot  : mixed
$mgb  : mixed
$mgl  : mixed
$mgr  : mixed
$mgt  : mixed
$minwSpacing  : mixed
$mirrorMargins  : mixed
$mono_fonts  : mixed
$n  : mixed
$n_js  : mixed
$n_ocg_hidden  : mixed
$n_ocg_print  : mixed
$n_ocg_view  : mixed
$NbCol  : mixed
$nbpgPrefix  : mixed
$nbpgSuffix  : mixed
$nestedtablejustfinished  : mixed
$noImageFile  : mixed
$nonPrintMargin  : mixed
$normalLineheight  : mixed
$objectbuffer  : mixed
$offsets  : mixed
$oldx  : mixed
$oldy  : mixed
$onlyCoreFonts  : mixed
$open_layer_pane  : mixed
$OrientationChanges  : mixed
$orig_bMargin  : mixed
$orig_fMargin  : mixed
$orig_hMargin  : mixed
$orig_lMargin  : mixed
$orig_rMargin  : mixed
$orig_tMargin  : mixed
$original_default_font  : mixed
$original_default_font_size  : mixed
$originalMbEnc  : mixed
$originalMbRegexEnc  : mixed
$OTLdata  : mixed
$OTLtags  : mixed
$outerblocktags  : mixed
$outerfilled  : mixed
$OutlineRoot  : mixed
$OutputIntentRoot  : mixed
$packTableData  : mixed
$page  : mixed
$page_box  : mixed
$page_break_after_avoid  : mixed
$PageAnnots  : mixed
$pageBackgrounds  : mixed
$PageBreakTrigger  : mixed
$pageDim  : mixed
$pageHTMLfooters  : mixed
$pageHTMLheaders  : mixed
$PageLinks  : mixed
$pagenumPrefix  : mixed
$PageNumSubstitutions  : mixed
$pagenumSuffix  : mixed
$pageoutput  : mixed
$pages  : mixed
$pageTemplate  : mixed
$patterns  : mixed
$pdf_version  : mixed
$PDFA  : mixed
$PDFAauto  : mixed
$PDFAversion  : mixed
$PDFAXwarnings  : mixed
$PDFX  : mixed
$PDFXauto  : mixed
$percentSubset  : mixed
$persianGlyphs  : mixed
$persianHex  : mixed
$pgsIns  : mixed
$pgwidth  : mixed
$pjustfinished  : mixed
$plainCell_properties  : mixed
$pregCJKchars  : mixed
$pregCURSchars  : mixed
$pregRTLchars  : mixed
$printers_info  : mixed
$processingFooter  : mixed
$processingHeader  : mixed
$Reference  : mixed
$repackageTTF  : mixed
$ReqFontStyle  : mixed
$restrictColorSpace  : mixed
$rMargin  : mixed
$row  : mixed
$sans_fonts  : mixed
$saveHTMLFooter  : mixed
$saveHTMLFooter_height  : mixed
$saveHTMLFooterE_height  : mixed
$saveHTMLHeader  : mixed
$saveTableCounter  : mixed
$selectoption  : mixed
$serif_fonts  : mixed
$setAutoBottomMargin  : mixed
$setAutoTopMargin  : mixed
$show_marks  : mixed
$showImageErrors  : mixed
$showWatermarkImage  : mixed
$showWatermarkText  : mixed
$shrin_k  : mixed
$shrin_k1  : mixed
$shrink_tables_to_fit  : mixed
$shrink_this_table_to_fit  : mixed
$SHYcharmax  : mixed
$SHYcharmin  : mixed
$SHYlang  : mixed
$SHYlanguages  : mixed
$SHYleftmin  : mixed
$SHYrightmin  : mixed
$simpleTables  : mixed
$SJIS_widths  : mixed
$SMALL  : mixed
$smCapsScale  : mixed
$smCapsStretch  : mixed
$spanbgcolor  : mixed
$spanbgcolorarray  : mixed
$spanborddet  : mixed
$spanborder  : mixed
$specialcontent  : mixed
$splitTableBorderWidth  : mixed
$spotColorIDs  : mixed
$spotColors  : mixed
$state  : mixed
$subArrMB  : mixed
$subject  : mixed
$subPos  : mixed
$substitute  : mixed
$svgAutoFont  : mixed
$svgClasses  : mixed
$SVGcolors  : mixed
$table  : mixed
$table_border_attr_set  : mixed
$table_border_css_set  : mixed
$table_borders_separate  : mixed
$table_error_report  : mixed
$table_error_report_param  : mixed
$table_keep_together  : mixed
$table_rotate  : mixed
$tableBackgrounds  : mixed
$tablebuffer  : mixed
$tableClipPath  : mixed
$tableLevel  : mixed
$tableMinSizePriority  : mixed
$tabletfoot  : mixed
$tablethead  : mixed
$tabletheadjustfinished  : mixed
$tabSpaces  : mixed
$tbctr  : mixed
$tbrot_align  : mixed
$tbrot_Annots  : mixed
$tbrot_BMoutlines  : mixed
$tbrot_h  : mixed
$tbrot_Links  : mixed
$tbrot_maxh  : mixed
$tbrot_maxw  : mixed
$tbrot_toc  : mixed
$tbrot_w  : mixed
$tbrot_x0  : mixed
$tbrot_y0  : mixed
$tbrotForms  : mixed
$tdbegin  : mixed
$tempDir  : mixed
$text_input_as_HTML  : mixed
$textbuffer  : mixed
$TextColor  : mixed
$textparam  : mixed
$textshadow  : mixed
$textvar  : mixed
$tfoot_font_smCaps  : mixed
$tfoot_font_style  : mixed
$tfoot_font_weight  : mixed
$tfoot_textalign_default  : mixed
$tfoot_valign_default  : mixed
$thead_font_smCaps  : mixed
$thead_font_style  : mixed
$thead_font_weight  : mixed
$thead_textalign_default  : mixed
$thead_valign_default  : mixed
$time0  : mixed
$title  : mixed
$title2annots  : mixed
$tMargin  : mixed
$trow_text_rotate  : mixed
$tta  : mixed
$tts  : mixed
$ttz  : mixed
$UHC_widths  : mixed
$uniqstr  : mixed
$upperCase  : mixed
$use_kwt  : mixed
$useActiveForms  : mixed
$useAdobeCJK  : mixed
$useDictionaryLBR  : mixed
$useFixedNormalLineHeight  : mixed
$useFixedTextBaseline  : mixed
$useKerning  : mixed
$useSubstitutions  : mixed
$useTibetanLBR  : mixed
$usingCoreFont  : mixed
$visibility  : mixed
$w  : mixed
$watermark_font  : mixed
$watermark_pos  : mixed
$watermark_size  : mixed
$watermarkAngle  : mixed
$watermarkImage  : mixed
$watermarkImageAlpha  : mixed
$watermarkImgAlpha  : mixed
$watermarkImgAlphaBlend  : mixed
$watermarkImgBehind  : mixed
$watermarkText  : mixed
$watermarkTextAlpha  : mixed
$whitelistStreamWrappers  : mixed
$wPt  : mixed
$writingHTMLfooter  : mixed
$writingHTMLheader  : mixed
$writingToC  : mixed
$ws  : mixed
$wSpacingCSS  : mixed
$x  : mixed
$y  : mixed
$y0  : mixed
$ZoomMode  : mixed
$k  : mixed
$logger  : LoggerInterface
$templateId  : int
A counter for template ids.
$assetFetcher  : AssetFetcher
$backgroundWriter  : BackgroundWriter
$bmp  : Bmp
$bookmarkWriter  : BookmarkWriter
$cache  : Cache
$colorConverter  : ColorConverter
$colorModeConverter  : ColorModeConverter
$colorSpaceRestrictor  : ColorSpaceRestrictor
$colorWriter  : ColorWriter
$container  : ContainerInterface
$cssManager  : CssManager
$directWrite  : DirectWrite
$fontCache  : FontCache
$fontDescriptor  : string
$fontDir  : mixed
$fontFileFinder  : FontFileFinder
$fontWriter  : FontWriter
$form  : Form
$formWriter  : FormWriter
$gradient  : ShadowParser
$httpClient  : ClientInterface
$hyphenator  : Hyphenator
$imageProcessor  : ImageProcessor
$imageWriter  : ImageWriter
$javaScriptWriter  : JavaScriptWriter
$languageToFont  : LanguageToFontInterface
$localContentLoader  : LocalContentLoaderInterface
$metadataWriter  : MetadataWriter
$optionalContentWriter  : OptionalContentWriter
$otl  : Otl
$pageWriter  : PageWriter
$preambleWritten  : mixed
$protection  : Protection
$qrcode  : QrCode
$resourceWriter  : ResourceWriter
$scriptToLanguage  : ScriptToLanguageInterface
$services  : array<string|int, string>
$sizeConverter  : SizeConverter
$tableOfContents  : TableOfContents
$tag  : Tag
$watermarkImageObject  : mixed
$watermarkTextObject  : mixed
$wmf  : Wmf
$writer  : BaseWriter

Methods

__call()  : mixed
__callStatic()  : mixed
__construct()  : mixed
__get()  : mixed
__isset()  : mixed
__set()  : mixed
__unset()  : mixed
_advanceFloatMargins()  : mixed
_Arc()  : mixed
_beginpage()  : mixed
_borderPadding()  : mixed
_charDefined()  : mixed
_computeLineheight()  : mixed
_createHTMLheaderFooter()  : mixed
_dochecks()  : mixed
_dounderline()  : mixed
_EllipseArc()  : mixed
_enddoc()  : mixed
_endpage()  : mixed
_fixTableBorders()  : mixed
_getBorderWidths()  : mixed
_getCharWidth()  : mixed
_getHtmlHeight()  : mixed
_getListMarkerWidth()  : mixed
_getNormalLineheight()  : mixed
_getObjAttr()  : mixed
_getPrevChar()  : mixed
_getStyledNumber()  : mixed
_kern()  : mixed
_moveToPrevChar()  : mixed
_out()  : mixed
Temporarily return the method to preserve example 44 yearbook
_packCellBorder()  : mixed
_postForcedPagebreak()  : mixed
_preForcedPagebreak()  : mixed
_printListBullet()  : mixed
_putextgstates()  : mixed
_puthtmlheaders()  : mixed
_resizeBackgroundImage()  : mixed
_reverseTableDir()  : mixed
_saveCellTextBuffer()  : mixed
_saveTextBuffer()  : mixed
_set_object_javascript()  : mixed
_setAutoFooterHeight()  : mixed
_setAutoHeaderHeight()  : mixed
_setBidiCodes()  : mixed
_setBorderLine()  : mixed
_setClippingPath()  : mixed
_setDashBorder()  : mixed
_setInlineBlockHeights()  : mixed
_setLineYpos()  : mixed
_setListMarker()  : mixed
_setPageSize()  : mixed
_SetTextRendering()  : mixed
_shareHeaderFooterWidth()  : mixed
_splitTableGetWidth()  : mixed
_table2cellBorder()  : mixed
_tableColumnWidth()  : mixed
_tableGetHeight()  : mixed
_tableGetMaxRowHeight()  : mixed
_tableGetWidth()  : mixed
_tableHeight()  : mixed
_tableRect()  : mixed
_tableWidth()  : mixed
_tableWrite()  : mixed
_transform()  : mixed
_unpackCellBorder()  : mixed
AcceptPageBreak()  : mixed
AddBig5Font()  : mixed
AddCIDFont()  : mixed
AddCJKFont()  : mixed
AddColumn()  : mixed
AddCustomProperty()  : mixed
AddExtGState()  : int
AddFont()  : mixed
AddFontDirectory()  : mixed
AddGBFont()  : mixed
AddLink()  : mixed
AddPage()  : mixed
AddPageByArray()  : mixed
AddSJISFont()  : mixed
AddSpotColor()  : mixed
AddSpotColorsFromFile()  : mixed
AddUHCFont()  : mixed
AdjustHTML()  : mixed
AliasNbPageGroups()  : mixed
AliasNbPages()  : mixed
all_entities_to_utf8()  : mixed
Annotation()  : mixed
applyGPOSpdf()  : mixed
Arrow()  : mixed
AutosizeText()  : mixed
BeginLayer()  : mixed
Bookmark()  : mixed
border_details()  : mixed
Cell()  : mixed
Output a cell
Circle()  : mixed
CircularText()  : mixed
cleanup()  : mixed
ClearFloats()  : mixed
Close()  : mixed
columnAdjustAdd()  : mixed
Callback function from function printcolumnbuffer in mpdf
columnAdjustPregReplace()  : mixed
ConvertAngle()  : mixed
date_callback()  : mixed
DefFooterByName()  : mixed
DefHeaderByName()  : mixed
DefHTMLFooterByName()  : mixed
DefHTMLHeaderByName()  : mixed
DeletePages()  : mixed
DisableTags()  : mixed
DivLn()  : mixed
docPageNum()  : mixed
docPageNumTotal()  : mixed
docPageSettings()  : mixed
Ellipse()  : mixed
EndLayer()  : mixed
finishFlowingBlock()  : mixed
fixLineheight()  : mixed
Footer()  : mixed
getBasicOTLdata()  : mixed
GetCharWidth()  : mixed
GetCharWidthCore()  : mixed
GetCharWidthNonCore()  : mixed
GetFirstBlockFill()  : mixed
GetFloatDivInfo()  : mixed
getFontDescriptor()  : mixed
GetFullPath()  : mixed
getImportedExternalPageLinks()  : array<string|int, mixed>
Imports the external page links
getImportedPages()  : mixed
GetJspacing()  : mixed
GetStringWidth()  : mixed
getTemplateSize()  : array<string|int, mixed>|bool
Get the size of an imported page or template.
Header()  : mixed
Image()  : mixed
importPage()  : string
Imports a page.
IndexEntry()  : mixed
IndexEntrySee()  : mixed
initialiseBlock()  : mixed
inlineObject()  : mixed
InsertIndex()  : mixed
is_utf8()  : mixed
Edited v1.2 Pass by reference; option to continue if invalid UTF-8 chars
issetBorder()  : mixed
lesser_entity_decode()  : mixed
Line()  : mixed
Link()  : mixed
Ln()  : mixed
magic_reverse_dir()  : mixed
markScriptToLang()  : mixed
MovePages()  : mixed
MultiCell()  : mixed
NewColumn()  : mixed
newFlowingBlock()  : mixed
Open()  : mixed
Output()  : mixed
OutputBinaryData()  : mixed
OutputFile()  : mixed
OutputHttpDownload()  : mixed
OutputHttpInline()  : mixed
OverWrite()  : mixed
PageNo()  : int
Get current page number
PaintDivBB()  : mixed
PaintDivLnBorder()  : mixed
PaintImgBorder()  : mixed
PrintBodyBackgrounds()  : mixed
printbuffer()  : mixed
printcellbuffer()  : mixed
printcolumnbuffer()  : mixed
printfloatbuffer()  : mixed
printkwtbuffer()  : mixed
Keep-with-table This buffers contents of h1-6 to keep on page with table
printobjectbuffer()  : mixed
PrintPageBackgrounds()  : mixed
PrintTableBackgrounds()  : mixed
printtablebuffer()  : mixed
purify_utf8()  : mixed
For HTML
purify_utf8_text()  : mixed
For TEXT
read_short()  : mixed
ReadCharset()  : mixed
ReadMetaTags()  : mixed
Rect()  : mixed
Reset()  : mixed
ResetMargins()  : mixed
ResetSpacing()  : mixed
ResetStyles()  : mixed
RestartDocTemplate()  : mixed
restoreFont()  : mixed
restoreInlineProperties()  : mixed
RestrictUnicodeFonts()  : mixed
Rotate()  : mixed
RoundedRect()  : mixed
saveFont()  : mixed
saveInlineProperties()  : mixed
SetAdditionalXmpRdf()  : mixed
SetAlpha()  : mixed
SetAnchor2Bookmark()  : mixed
SetAssociatedFiles()  : mixed
Set one or multiple associated file ("/AF" as required by PDF/A-3)
SetAuthor()  : mixed
SetAutoPageBreak()  : mixed
SetBackground()  : mixed
SetBasePath()  : mixed
setBorder()  : mixed
SetCol()  : mixed
SetColor()  : mixed
SetColumns()  : mixed
SetCompression()  : mixed
SetCreator()  : mixed
setCSS()  : mixed
SetDash()  : mixed
SetDColor()  : mixed
SetDefaultBodyCSS()  : mixed
SetDefaultFont()  : mixed
SetDefaultFontSize()  : mixed
SetDirectionality()  : mixed
SetDisplayMode()  : mixed
SetDisplayPreferences()  : mixed
SetDocTemplate()  : mixed
SetDrawColor()  : mixed
SetFColor()  : mixed
SetFillColor()  : mixed
SetFont()  : mixed
SetFontSize()  : mixed
SetFooter()  : mixed
SetFooterByName()  : mixed
SetHeader()  : mixed
SetHeaderByName()  : mixed
setHiEntitySubstitutions()  : mixed
SetHTMLFooter()  : mixed
SetHTMLFooterByName()  : mixed
SetHTMLHeader()  : mixed
SetHTMLHeaderByName()  : mixed
setImportedPageLinks()  : mixed
SetJS()  : mixed
SetKeywords()  : mixed
SetLeftMargin()  : mixed
SetLineCap()  : mixed
SetLineHeight()  : mixed
SetLineJoin()  : mixed
SetLineWidth()  : mixed
SetLink()  : mixed
setLogger()  : void
SetMargins()  : mixed
setMBencoding()  : mixed
SetPagedMediaCSS()  : mixed
SetPageTemplate()  : mixed
SetProtection()  : mixed
SetRightMargin()  : mixed
SetSpacing()  : mixed
SetStyle()  : mixed
SetStyles()  : mixed
SetStylesArray()  : mixed
SetSubject()  : mixed
SetSubstitutions()  : mixed
SetTColor()  : mixed
SetTextColor()  : mixed
SetTextOutline()  : mixed
SetTitle()  : mixed
SetTopMargin()  : mixed
SetVisibility()  : mixed
SetWatermarkImage()  : mixed
SetWatermarkText()  : mixed
SetX()  : mixed
SetXY()  : mixed
SetY()  : mixed
Shaded_box()  : mixed
shrinkTable()  : mixed
StartTransform()  : mixed
StopTransform()  : mixed
SubstituteChars()  : mixed
SubstituteCharsMB()  : mixed
SubstituteCharsNonCore()  : mixed
If core font is selected in document which is not onlyCoreFonts - substitute with non-core font
SubstituteCharsSIP()  : mixed
SubstituteHiEntities()  : mixed
TableCheckMinWidth()  : mixed
TableHeaderFooter()  : mixed
tabs2spaces_callback()  : mixed
Text()  : mixed
Thumbnail()  : mixed
TOC()  : mixed
Initiate, and Mark a place for the Table of Contents to be inserted
TOC_Entry()  : mixed
TOCpagebreak()  : mixed
TOCpagebreakByArray()  : mixed
toFloat()  : float
This function takes the last comma or dot (if any) to make a clean float, ignoring thousand separator, currency or any other letter
transformRotate()  : mixed
transformScale()  : mixed
transformSkew()  : mixed
mPDF 5.7.3 TRANSFORMS
transformTranslate()  : mixed
useImportedPage()  : array<string|int, mixed>
Draws an imported page onto the page.
useTemplate()  : array<string|int, mixed>
Draws an imported page or a template onto the page or another template.
UTF8StringToArray()  : mixed
UTF8toSubset()  : mixed
watermark()  : mixed
watermarkImg()  : mixed
Write()  : mixed
WriteBarcode()  : mixed
UPC/EAN barcode
WriteBarcode2()  : mixed
POSTAL and OTHER barcodes
WriteCell()  : mixed
WriteFixedPosHTML()  : mixed
WriteFlowingBlock()  : mixed
WriteHTML()  : mixed
Write HTML code to the document
writeHTMLFooters()  : mixed
writeHTMLHeaders()  : mixed
writeImportedPagesAndResolvedObjects()  : mixed
writePdfType()  : mixed
Writes a PdfType object to the resulting buffer.
WriteText()  : mixed
_put()  : mixed
aliasReplace()  : string
getNextTemplateId()  : int
Get the next template id.
setMinPdfVersion()  : mixed
Set the minimal PDF version.
setPageFormat()  : mixed
filesInDir()  : mixed
initConfig()  : mixed
initConstructorParams()  : mixed
initFontConfig()  : mixed

Constants

OBJECT_IDENTIFIER

public mixed OBJECT_IDENTIFIER = "\xbb\xa4\xac"

SCALE

public mixed SCALE = 72 / 25.4

VERSION

public mixed VERSION = '8.3.1'

Properties

$additionalXmpRdf

public mixed $additionalXmpRdf

$adjustFontDescLineheight

public mixed $adjustFontDescLineheight

$aliasNbPg

public mixed $aliasNbPg

$aliasNbPgGp

public mixed $aliasNbPgGp

$allow_charset_conversion

public mixed $allow_charset_conversion

$allow_html_optional_endtags

public mixed $allow_html_optional_endtags

$allow_output_buffering

public mixed $allow_output_buffering

$allowAnnotationFiles

public mixed $allowAnnotationFiles

$allowCJKorphans

public mixed $allowCJKorphans

$allowCJKoverflow

public mixed $allowCJKoverflow

$allowedCSStags

public mixed $allowedCSStags

$anchor2Bookmark

public mixed $anchor2Bookmark

$angle

public mixed $angle

$annotMargin

public mixed $annotMargin

$annotOpacity

public mixed $annotOpacity

$annotSize

public mixed $annotSize

$arabGlyphs

public mixed $arabGlyphs

$arabHex

public mixed $arabHex
public mixed $arabNextLink
public mixed $arabPrevLink

$arabVowels

public mixed $arabVowels

$associatedFiles

public mixed $associatedFiles

$associatedFilesRoot

public mixed $associatedFilesRoot

$author

public mixed $author

$autoArabic

public mixed $autoArabic

$autoLangToFont

public mixed $autoLangToFont

$autoMarginPadding

public mixed $autoMarginPadding

$autoPadding

public mixed $autoPadding

$autoPageBreak

public mixed $autoPageBreak

$autoScriptToLang

public mixed $autoScriptToLang

$autoVietnamese

public mixed $autoVietnamese

$available_CJK_fonts

public mixed $available_CJK_fonts

$available_unifonts

public mixed $available_unifonts

$backupSIPFont

public mixed $backupSIPFont

$backupSubsFont

public mixed $backupSubsFont

$barcode

public Barcode $barcode
Tags
todo

solve Tag dependency and make private

$base_table_properties

public mixed $base_table_properties

$baselineC

public mixed $baselineC

$baselineO

public mixed $baselineO

$baselineS

public mixed $baselineS

$baselineSub

public mixed $baselineSub

$baselineSup

public mixed $baselineSup

$basepath

public mixed $basepath

$basepathIsLocal

public mixed $basepathIsLocal

$baseScript

public mixed $baseScript

$bgcolorarray

public mixed $bgcolorarray

$biDirectional

public mixed $biDirectional

$Big5_widths

public mixed $Big5_widths

$bleedMargin

public mixed $bleedMargin

$blklvl

public mixed $blklvl

$blockContext

public mixed $blockContext

$blockjustfinished

public mixed $blockjustfinished

$bMargin

public mixed $bMargin

$BMoutlines

public mixed $BMoutlines

$BMPonly

public mixed $BMPonly

$bodyBackgroundColor

public mixed $bodyBackgroundColor

$bodyBackgroundGradient

public mixed $bodyBackgroundGradient

$bodyBackgroundImage

public mixed $bodyBackgroundImage

$bookmarkStyles

public mixed $bookmarkStyles

$borderstyles

public mixed $borderstyles

$breakpoints

public mixed $breakpoints

$buffer

public mixed $buffer

$bufferoutput

public mixed $bufferoutput

$bullet

public mixed $bullet

$bulletarray

public mixed $bulletarray

$cacheCleanupInterval

public mixed $cacheCleanupInterval

$cell

public mixed $cell

$cellBorderBuffer

public mixed $cellBorderBuffer

$cellLineHeight

public mixed $cellLineHeight

$cellLineStackingShift

public mixed $cellLineStackingShift

$cellLineStackingStrategy

public mixed $cellLineStackingStrategy

$cellPaddingB

public mixed $cellPaddingB

$cellPaddingL

public mixed $cellPaddingL

$cellPaddingR

public mixed $cellPaddingR

$cellPaddingT

public mixed $cellPaddingT

$cellTextAlign

public mixed $cellTextAlign

$ChangeColumn

public mixed $ChangeColumn

$charset_in

public mixed $charset_in

$charspacing

public mixed $charspacing

$checkCJK

public mixed $checkCJK

$checkSIP

public mixed $checkSIP

$checkSMP

public mixed $checkSMP

$CJKfollowing

public mixed $CJKfollowing

$CJKforceend

public mixed $CJKforceend

$CJKleading

public mixed $CJKleading

$CJKoverflow

public mixed $CJKoverflow

$cMarginB

public mixed $cMarginB

$cMarginL

public mixed $cMarginL

$cMarginR

public mixed $cMarginR

$cMarginT

public mixed $cMarginT

$col_BMoutlines

public mixed $col_BMoutlines

$col_toc

public mixed $col_toc

$ColActive

public mixed $ColActive

$ColDetails

public mixed $ColDetails

$ColGap

public mixed $ColGap

$ColL

public mixed $ColL

$collapseBlockMargins

public mixed $collapseBlockMargins

$colorarray

public mixed $colorarray

$ColorFlag

public mixed $ColorFlag

$ColR

public mixed $ColR

$colsums

public mixed $colsums

$ColumnAdjust

public mixed $ColumnAdjust

$columnAnnots

public mixed $columnAnnots

$columnbuffer

public mixed $columnbuffer

$columnForms

public mixed $columnForms
public mixed $columnLinks

$colvAlign

public mixed $colvAlign

$ColWidth

public mixed $ColWidth

$compress

public mixed $compress

$CoreFonts

public mixed $CoreFonts

$creator

public mixed $creator

$cropMarkLength

public mixed $cropMarkLength

$cropMarkMargin

public mixed $cropMarkMargin

$crossMarkMargin

public mixed $crossMarkMargin

$CSSselectMedia

public mixed $CSSselectMedia

$curlAllowUnsafeSslRequests

Set to true to allow unsafe SSL HTTPS requests.

public bool $curlAllowUnsafeSslRequests

Can be useful when using CDN with HTTPS and if you don't want to configure settings with SSL certificates.

$curlCaCertificate

Set your own CA certificate store for SSL Certificate verification when using cURL

public string $curlCaCertificate

Useful setting to use on hosts with outdated CA certificates.

Download the latest CA certificate from https://curl.haxx.se/docs/caextract.html

The absolute path to the pem file

$curlExecutionTimeout

Set execution timeout for cURL

public int $curlExecutionTimeout

$curlFollowLocation

Set to true to follow redirects with cURL.

public bool $curlFollowLocation

$curlTimeout

Set timeout for cURL

public int $curlTimeout

$CurOrientation

public mixed $CurOrientation

$CurrCol

public mixed $CurrCol

$current_layer

public mixed $current_layer

$CurrentFont

public mixed $CurrentFont

$currentfontfamily

public mixed $currentfontfamily

$currentfontsize

public mixed $currentfontsize

$currentfontstyle

public mixed $currentfontstyle

$currentLang

public mixed $currentLang

$currentObjectNumber

The currently used object number.

public int $currentObjectNumber

$customProperties

public mixed $customProperties

$dash_on

public mixed $dash_on

$debug

public mixed $debug

$debugfonts

public mixed $debugfonts

$decimal_align

public mixed $decimal_align

$decimal_offset

public mixed $decimal_offset

$default_available_fonts

public mixed $default_available_fonts

$default_font

public mixed $default_font

$default_font_size

public mixed $default_font_size

$default_lang

public mixed $default_lang

$default_lineheight_correction

public mixed $default_lineheight_correction

$defaultAlign

public mixed $defaultAlign

$defaultCSS

public mixed $defaultCSS

$defaultCssFile

public mixed $defaultCssFile

$defaultfooterfontsize

public mixed $defaultfooterfontsize

$defaultfooterfontstyle

public mixed $defaultfooterfontstyle

$defaultfooterline

public mixed $defaultfooterline

$defaultheaderfontsize

public mixed $defaultheaderfontsize

$defaultheaderfontstyle

public mixed $defaultheaderfontstyle

$defaultheaderline

public mixed $defaultheaderline

$defaultPagebreakType

public mixed $defaultPagebreakType

$defaultPageNumStyle

public mixed $defaultPageNumStyle

$defaultSubsFont

public mixed $defaultSubsFont

$defaultTableAlign

public mixed $defaultTableAlign

$defDrawColor

public mixed $defDrawColor

$defFillColor

public mixed $defFillColor

$DeflMargin

public mixed $DeflMargin

$DefOrientation

public mixed $DefOrientation

$DefrMargin

public mixed $DefrMargin

$defTextColor

public mixed $defTextColor

$directionality

public mixed $directionality

$displayDefaultOrientation

public mixed $displayDefaultOrientation

$DisplayPreferences

public mixed $DisplayPreferences

$divbegin

public mixed $divbegin

$divheight

public mixed $divheight

$divwidth

public mixed $divwidth

$docTemplate

public mixed $docTemplate

$docTemplateContinue

public mixed $docTemplateContinue

$docTemplateContinue2pages

public mixed $docTemplateContinue2pages

$docTemplateStart

public mixed $docTemplateStart

$dotted_on

public mixed $dotted_on

$DrawColor

public mixed $DrawColor

$enabledtags

public mixed $enabledtags

$enableImports

public mixed $enableImports

$enc_obj_id

public mixed $enc_obj_id

$encrypted

public mixed $encrypted

$entsearch

public mixed $entsearch

$entsubstitute

public mixed $entsubstitute

$exposeVersion

public mixed $exposeVersion

$extgstates

public mixed $extgstates

$extraFontSubsets

public mixed $extraFontSubsets

$extrapagebreak

public mixed $extrapagebreak

$falseBoldWeight

public mixed $falseBoldWeight

$fhPt

public mixed $fhPt

$FillColor

public mixed $FillColor

$firstPageBoxFooter

public mixed $firstPageBoxFooter

$firstPageBoxFooterEven

public mixed $firstPageBoxFooterEven

$firstPageBoxHeader

public mixed $firstPageBoxHeader

$firstPageBoxHeaderEven

public mixed $firstPageBoxHeaderEven

$fixedlSpacing

public mixed $fixedlSpacing

$fixedPosBlock

public mixed $fixedPosBlock

$fixedPosBlockBBox

public mixed $fixedPosBlockBBox

$fixedPosBlockDepth

public mixed $fixedPosBlockDepth

$fixedPosBlockSave

public mixed $fixedPosBlockSave

$floatbuffer

public mixed $floatbuffer

$floatDivs

public mixed $floatDivs

$floatmargins

public mixed $floatmargins

$flowingBlockAttr

public mixed $flowingBlockAttr

$fontdata

public mixed $fontdata

$FontFamily

public mixed $FontFamily

$FontFiles

public mixed $FontFiles

$fontLanguageOverride

public mixed $fontLanguageOverride

$fontlist

public mixed $fontlist

$fonts

public mixed $fonts

$FontSize

public mixed $FontSize

$FontSizePt

public mixed $FontSizePt

$fontsizes

public mixed $fontsizes

$FontStyle

public mixed $FontStyle

$fonttrans

public mixed $fonttrans
public mixed $footer_line_spacing

$forcePortraitHeaders

public mixed $forcePortraitHeaders

$forcePortraitMargins

public mixed $forcePortraitMargins

$formobjects

public mixed $formobjects

$fullImageHeight

public mixed $fullImageHeight

$fwPt

public mixed $fwPt

$GB_widths

public mixed $GB_widths

$gradients

public mixed $gradients

$h2bookmarks

public mixed $h2bookmarks

$h2toc

public mixed $h2toc

$hasOC

public mixed $hasOC

$header_line_spacing

public mixed $header_line_spacing

$headerbuffer

public mixed $headerbuffer

$HREF

public mixed $HREF

$HTMLFooter

public mixed $HTMLFooter

$HTMLFooterE

public mixed $HTMLFooterE

$HTMLHeader

public mixed $HTMLHeader

$HTMLHeaderE

public mixed $HTMLHeaderE

$HTMLheaderPageAnnots

public mixed $HTMLheaderPageAnnots

$HTMLheaderPageForms

public mixed $HTMLheaderPageForms
public mixed $HTMLheaderPageLinks

$hyphenationDictionaryFile

public mixed $hyphenationDictionaryFile

$ICCProfile

public mixed $ICCProfile

$ignore_invalid_utf8

public mixed $ignore_invalid_utf8

$ignore_table_percents

public mixed $ignore_table_percents

$ignore_table_widths

public mixed $ignore_table_widths

$ignorefollowingspaces

public mixed $ignorefollowingspaces

$images

public mixed $images

$imageVars

public mixed $imageVars = []

$img_dpi

public mixed $img_dpi

$incrementFPR1

public mixed $incrementFPR1

$incrementFPR2

public mixed $incrementFPR2

$incrementFPR3

public mixed $incrementFPR3

$incrementFPR4

public mixed $incrementFPR4

$indexUseSubentries

public mixed $indexUseSubentries

$inFixedPosBlock

public mixed $inFixedPosBlock

$InFooter

public mixed $InFooter

$InfoRoot

public mixed $InfoRoot

$InHTMLFooter

public mixed $InHTMLFooter

$InlineAnnots

public mixed $InlineAnnots

$InlineBDF

public mixed $InlineBDF

$InlineBDFctr

public mixed $InlineBDFctr

$inlineDisplayOff

public mixed $inlineDisplayOff

$InlineProperties

public mixed $InlineProperties

$inMeter

public mixed $inMeter

$innerblocktags

public mixed $innerblocktags

$innermostTableLevel

public mixed $innermostTableLevel
public mixed $internallink

$interpolateImages

public mixed $interpolateImages

$ispre

public mixed $ispre

$iterationCounter

public mixed $iterationCounter

$jSmaxChar

public mixed $jSmaxChar

$jSmaxCharLast

public mixed $jSmaxCharLast

$jSmaxWordLast

public mixed $jSmaxWordLast

$jSWord

public mixed $jSWord

$justifyB4br

public mixed $justifyB4br

$keep_block_together

public mixed $keep_block_together

$keep_table_proportions

public mixed $keep_table_proportions

$keepColumns

public mixed $keepColumns

$kerning

public mixed $kerning

$keywords

public mixed $keywords

$kt_p00

public mixed $kt_p00

$kt_y00

public mixed $kt_y00

$ktAnnots

public mixed $ktAnnots

$kwt_Annots

public mixed $kwt_Annots

$kwt_BMoutlines

public mixed $kwt_BMoutlines

$kwt_buffer

public mixed $kwt_buffer

$kwt_height

public mixed $kwt_height
public mixed $kwt_Links

$kwt_moved

public mixed $kwt_moved

$kwt_Reference

public mixed $kwt_Reference

$kwt_saved

public mixed $kwt_saved

$kwt_toc

public mixed $kwt_toc

$kwt_x0

public mixed $kwt_x0

$kwt_y0

public mixed $kwt_y0

$lastblockbottommargin

public mixed $lastblockbottommargin

$lastblocklevelchange

public mixed $lastblocklevelchange

$lasth

public mixed $lasth

$lastoptionaltag

public mixed $lastoptionaltag

$layerDetails

public mixed $layerDetails

$layers

public mixed $layers

$LayoutMode

public mixed $LayoutMode

$linebreakjustfinished

public mixed $linebreakjustfinished

$lineheight

public mixed $lineheight

$LineWidth

public mixed $LineWidth
public mixed $links

$list_auto_mode

public mixed $list_auto_mode

$list_indent_default

public mixed $list_indent_default

$list_indent_default_mpdf

public mixed $list_indent_default_mpdf

$list_indent_first_level

public mixed $list_indent_first_level

$list_marker_offset

public mixed $list_marker_offset

$list_number_suffix

public mixed $list_number_suffix

$list_symbol_size

public mixed $list_symbol_size

$listcounter

public mixed $listcounter

$listitem

public mixed $listitem

$listlvl

public mixed $listlvl

$listtype

public mixed $listtype

$lMargin

public mixed $lMargin

$loaded

public mixed $loaded

$lSpacingCSS

public mixed $lSpacingCSS

$margBuffer

public mixed $margBuffer

$margin_bottom_collapse

public mixed $margin_bottom_collapse
public mixed $margin_footer

$margin_header

public mixed $margin_header

$MarginCorrection

public mixed $MarginCorrection

$max_colH_correction

public mixed $max_colH_correction

$maxPosL

public mixed $maxPosL

$maxPosR

public mixed $maxPosR

$maxTTFFilesize

public mixed $maxTTFFilesize

$mb_enc

public mixed $mb_enc

$MetadataRoot

public mixed $MetadataRoot

$minwSpacing

public mixed $minwSpacing

$mirrorMargins

public mixed $mirrorMargins

$mono_fonts

public mixed $mono_fonts

$n_js

public mixed $n_js

$n_ocg_hidden

public mixed $n_ocg_hidden

$n_ocg_print

public mixed $n_ocg_print

$n_ocg_view

public mixed $n_ocg_view

$NbCol

public mixed $NbCol

$nbpgPrefix

public mixed $nbpgPrefix

$nbpgSuffix

public mixed $nbpgSuffix

$nestedtablejustfinished

public mixed $nestedtablejustfinished

$noImageFile

public mixed $noImageFile

$nonPrintMargin

public mixed $nonPrintMargin

$normalLineheight

public mixed $normalLineheight

$objectbuffer

public mixed $objectbuffer

$offsets

public mixed $offsets

$oldx

public mixed $oldx

$oldy

public mixed $oldy

$onlyCoreFonts

public mixed $onlyCoreFonts

$open_layer_pane

public mixed $open_layer_pane

$OrientationChanges

public mixed $OrientationChanges

$orig_bMargin

public mixed $orig_bMargin

$orig_fMargin

public mixed $orig_fMargin

$orig_hMargin

public mixed $orig_hMargin

$orig_lMargin

public mixed $orig_lMargin

$orig_rMargin

public mixed $orig_rMargin

$orig_tMargin

public mixed $orig_tMargin

$original_default_font

public mixed $original_default_font

$original_default_font_size

public mixed $original_default_font_size

$originalMbEnc

public mixed $originalMbEnc

$originalMbRegexEnc

public mixed $originalMbRegexEnc

$OTLdata

public mixed $OTLdata

$OTLtags

public mixed $OTLtags

$outerblocktags

public mixed $outerblocktags

$outerfilled

public mixed $outerfilled

$OutlineRoot

public mixed $OutlineRoot

$OutputIntentRoot

public mixed $OutputIntentRoot

$packTableData

public mixed $packTableData

$page

public mixed $page

$page_box

public mixed $page_box

$page_break_after_avoid

public mixed $page_break_after_avoid

$PageAnnots

public mixed $PageAnnots

$pageBackgrounds

public mixed $pageBackgrounds

$PageBreakTrigger

public mixed $PageBreakTrigger

$pageDim

public mixed $pageDim

$pageHTMLfooters

public mixed $pageHTMLfooters

$pageHTMLheaders

public mixed $pageHTMLheaders
public mixed $PageLinks

$pagenumPrefix

public mixed $pagenumPrefix

$PageNumSubstitutions

public mixed $PageNumSubstitutions

$pagenumSuffix

public mixed $pagenumSuffix

$pageoutput

public mixed $pageoutput

$pages

public mixed $pages

$pageTemplate

public mixed $pageTemplate

$patterns

public mixed $patterns

$pdf_version

public mixed $pdf_version

$PDFA

public mixed $PDFA

$PDFAauto

public mixed $PDFAauto

$PDFAversion

public mixed $PDFAversion

$PDFAXwarnings

public mixed $PDFAXwarnings

$PDFX

public mixed $PDFX

$PDFXauto

public mixed $PDFXauto

$percentSubset

public mixed $percentSubset

$persianGlyphs

public mixed $persianGlyphs

$persianHex

public mixed $persianHex

$pgsIns

public mixed $pgsIns

$pgwidth

public mixed $pgwidth

$pjustfinished

public mixed $pjustfinished

$plainCell_properties

public mixed $plainCell_properties

$pregCJKchars

public mixed $pregCJKchars

$pregCURSchars

public mixed $pregCURSchars

$pregRTLchars

public mixed $pregRTLchars

$printers_info

public mixed $printers_info

$processingFooter

public mixed $processingFooter

$processingHeader

public mixed $processingHeader

$Reference

public mixed $Reference

$repackageTTF

public mixed $repackageTTF

$ReqFontStyle

public mixed $ReqFontStyle

$restrictColorSpace

public mixed $restrictColorSpace

$rMargin

public mixed $rMargin

$sans_fonts

public mixed $sans_fonts

$saveHTMLFooter

public mixed $saveHTMLFooter

$saveHTMLFooter_height

public mixed $saveHTMLFooter_height

$saveHTMLFooterE_height

public mixed $saveHTMLFooterE_height

$saveHTMLHeader

public mixed $saveHTMLHeader

$saveTableCounter

public mixed $saveTableCounter

$selectoption

public mixed $selectoption

$serif_fonts

public mixed $serif_fonts

$setAutoBottomMargin

public mixed $setAutoBottomMargin

$setAutoTopMargin

public mixed $setAutoTopMargin

$show_marks

public mixed $show_marks

$showImageErrors

public mixed $showImageErrors

$showWatermarkImage

public mixed $showWatermarkImage

$showWatermarkText

public mixed $showWatermarkText

$shrin_k

public mixed $shrin_k

$shrin_k1

public mixed $shrin_k1

$shrink_tables_to_fit

public mixed $shrink_tables_to_fit

$shrink_this_table_to_fit

public mixed $shrink_this_table_to_fit

$SHYcharmax

public mixed $SHYcharmax

$SHYcharmin

public mixed $SHYcharmin

$SHYlang

public mixed $SHYlang

$SHYlanguages

public mixed $SHYlanguages

$SHYleftmin

public mixed $SHYleftmin

$SHYrightmin

public mixed $SHYrightmin

$simpleTables

public mixed $simpleTables

$SJIS_widths

public mixed $SJIS_widths

$SMALL

public mixed $SMALL

$smCapsScale

public mixed $smCapsScale

$smCapsStretch

public mixed $smCapsStretch

$spanbgcolor

public mixed $spanbgcolor

$spanbgcolorarray

public mixed $spanbgcolorarray

$spanborddet

public mixed $spanborddet

$spanborder

public mixed $spanborder

$specialcontent

public mixed $specialcontent

$splitTableBorderWidth

public mixed $splitTableBorderWidth

$spotColorIDs

public mixed $spotColorIDs

$spotColors

public mixed $spotColors

$state

public mixed $state

$subArrMB

public mixed $subArrMB

$subject

public mixed $subject

$subPos

public mixed $subPos

$substitute

public mixed $substitute

$svgAutoFont

public mixed $svgAutoFont

$svgClasses

public mixed $svgClasses

$SVGcolors

public mixed $SVGcolors

$table

public mixed $table

$table_border_attr_set

public mixed $table_border_attr_set

$table_border_css_set

public mixed $table_border_css_set

$table_borders_separate

public mixed $table_borders_separate

$table_error_report

public mixed $table_error_report

$table_error_report_param

public mixed $table_error_report_param

$table_keep_together

public mixed $table_keep_together

$table_rotate

public mixed $table_rotate

$tableBackgrounds

public mixed $tableBackgrounds

$tablebuffer

public mixed $tablebuffer

$tableClipPath

public mixed $tableClipPath

$tableLevel

public mixed $tableLevel

$tableMinSizePriority

public mixed $tableMinSizePriority

$tabletfoot

public mixed $tabletfoot

$tablethead

public mixed $tablethead

$tabletheadjustfinished

public mixed $tabletheadjustfinished

$tabSpaces

public mixed $tabSpaces

$tbctr

public mixed $tbctr

$tbrot_align

public mixed $tbrot_align

$tbrot_Annots

public mixed $tbrot_Annots

$tbrot_BMoutlines

public mixed $tbrot_BMoutlines

$tbrot_h

public mixed $tbrot_h
public mixed $tbrot_Links

$tbrot_maxh

public mixed $tbrot_maxh

$tbrot_maxw

public mixed $tbrot_maxw

$tbrot_toc

public mixed $tbrot_toc

$tbrot_w

public mixed $tbrot_w

$tbrot_x0

public mixed $tbrot_x0

$tbrot_y0

public mixed $tbrot_y0

$tbrotForms

public mixed $tbrotForms

$tdbegin

public mixed $tdbegin

$tempDir

public mixed $tempDir

$text_input_as_HTML

public mixed $text_input_as_HTML

$textbuffer

public mixed $textbuffer

$TextColor

public mixed $TextColor

$textparam

public mixed $textparam

$textshadow

public mixed $textshadow

$textvar

public mixed $textvar

$tfoot_font_smCaps

public mixed $tfoot_font_smCaps

$tfoot_font_style

public mixed $tfoot_font_style

$tfoot_font_weight

public mixed $tfoot_font_weight

$tfoot_textalign_default

public mixed $tfoot_textalign_default

$tfoot_valign_default

public mixed $tfoot_valign_default

$thead_font_smCaps

public mixed $thead_font_smCaps

$thead_font_style

public mixed $thead_font_style

$thead_font_weight

public mixed $thead_font_weight

$thead_textalign_default

public mixed $thead_textalign_default

$thead_valign_default

public mixed $thead_valign_default

$time0

public mixed $time0

$title

public mixed $title

$title2annots

public mixed $title2annots

$tMargin

public mixed $tMargin

$trow_text_rotate

public mixed $trow_text_rotate

$UHC_widths

public mixed $UHC_widths

$uniqstr

public mixed $uniqstr

$upperCase

public mixed $upperCase

$use_kwt

public mixed $use_kwt

$useActiveForms

public mixed $useActiveForms

$useAdobeCJK

public mixed $useAdobeCJK

$useDictionaryLBR

public mixed $useDictionaryLBR

$useFixedNormalLineHeight

public mixed $useFixedNormalLineHeight

$useFixedTextBaseline

public mixed $useFixedTextBaseline

$useKerning

public mixed $useKerning

$useSubstitutions

public mixed $useSubstitutions

$useTibetanLBR

public mixed $useTibetanLBR

$usingCoreFont

public mixed $usingCoreFont

$visibility

public mixed $visibility

$watermark_font

public mixed $watermark_font

$watermark_pos

public mixed $watermark_pos

$watermark_size

public mixed $watermark_size

$watermarkAngle

public mixed $watermarkAngle

$watermarkImage

public mixed $watermarkImage

$watermarkImageAlpha

public mixed $watermarkImageAlpha

$watermarkImgAlpha

public mixed $watermarkImgAlpha

$watermarkImgAlphaBlend

public mixed $watermarkImgAlphaBlend

$watermarkImgBehind

public mixed $watermarkImgBehind

$watermarkText

public mixed $watermarkText

$watermarkTextAlpha

public mixed $watermarkTextAlpha

$whitelistStreamWrappers

public mixed $whitelistStreamWrappers

$writingHTMLfooter

public mixed $writingHTMLfooter

$writingHTMLheader

public mixed $writingHTMLheader

$writingToC

public mixed $writingToC

$wSpacingCSS

public mixed $wSpacingCSS

$ZoomMode

public mixed $ZoomMode

$templateId

A counter for template ids.

protected int $templateId = 0

$fontDescriptor

private string $fontDescriptor

$fontDir

private mixed $fontDir

$gradient

private ShadowParser $gradient

private $shadowParser;

$preambleWritten

private mixed $preambleWritten = false

$qrcode

private QrCode $qrcode

$services

private array<string|int, string> $services

$watermarkImageObject

private mixed $watermarkImageObject

$watermarkTextObject

private mixed $watermarkTextObject

Methods

__call()

public __call(string $name, array<string|int, mixed> $args) : mixed
Parameters
$name : string

method name

$args : array<string|int, mixed>

arguments

__callStatic()

public static __callStatic(string $name, array<string|int, mixed> $args) : mixed
Parameters
$name : string

lowercase method name

$args : array<string|int, mixed>

arguments

__construct()

public __construct([array<string|int, mixed> $config = [] ][, ContainerInterface|null $container = null ]) : mixed
Parameters
$config : array<string|int, mixed> = []
$container : ContainerInterface|null = null

Experimental container to override internal services

__get()

public & __get(string $name) : mixed
Parameters
$name : string

property name

__isset()

public __isset(string $name) : mixed
Parameters
$name : string

property name

Tags
throws
StrictObjects

__set()

public __set(string $name, mixed $value) : mixed
Parameters
$name : string

property name

$value : mixed

property value

__unset()

public __unset(string $name) : mixed
Parameters
$name : string

property name

Tags
throws
StrictObjects

_advanceFloatMargins()

public _advanceFloatMargins() : mixed

_Arc()

public _Arc(mixed $x1, mixed $y1, mixed $x2, mixed $y2, mixed $x3, mixed $y3) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$x3 : mixed
$y3 : mixed

_beginpage()

public _beginpage(mixed $orientation[, mixed $mgl = '' ][, mixed $mgr = '' ][, mixed $mgt = '' ][, mixed $mgb = '' ][, mixed $mgh = '' ][, mixed $mgf = '' ][, mixed $ohname = '' ][, mixed $ehname = '' ][, mixed $ofname = '' ][, mixed $efname = '' ][, mixed $ohvalue = 0 ][, mixed $ehvalue = 0 ][, mixed $ofvalue = 0 ][, mixed $efvalue = 0 ][, mixed $pagesel = '' ][, mixed $newformat = '' ]) : mixed
Parameters
$orientation : mixed
$mgl : mixed = ''
$mgr : mixed = ''
$mgt : mixed = ''
$mgb : mixed = ''
$mgh : mixed = ''
$mgf : mixed = ''
$ohname : mixed = ''
$ehname : mixed = ''
$ofname : mixed = ''
$efname : mixed = ''
$ohvalue : mixed = 0
$ehvalue : mixed = 0
$ofvalue : mixed = 0
$efvalue : mixed = 0
$pagesel : mixed = ''
$newformat : mixed = ''

_borderPadding()

public _borderPadding(mixed $a, mixed $b, mixed &$px, mixed &$py) : mixed
Parameters
$a : mixed
$b : mixed
$px : mixed
$py : mixed

_charDefined()

public _charDefined(mixed &$cw, mixed $u) : mixed
Parameters
$cw : mixed
$u : mixed

_computeLineheight()

public _computeLineheight(mixed $lh[, mixed $fs = '' ]) : mixed
Parameters
$lh : mixed
$fs : mixed = ''

_createHTMLheaderFooter()

public _createHTMLheaderFooter(mixed $arr, mixed $hf) : mixed
Parameters
$arr : mixed
$hf : mixed

_dochecks()

public _dochecks() : mixed

_dounderline()

public _dounderline(mixed $x, mixed $y, mixed $txt[, mixed $OTLdata = false ][, mixed $textvar = 0 ]) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed
$OTLdata : mixed = false
$textvar : mixed = 0

_EllipseArc()

public _EllipseArc(mixed $x0, mixed $y0, mixed $rx, mixed $ry[, mixed $seg = 1 ][, mixed $part = false ][, mixed $start = false ]) : mixed
Parameters
$x0 : mixed
$y0 : mixed
$rx : mixed
$ry : mixed
$seg : mixed = 1
$part : mixed = false
$start : mixed = false

_enddoc()

public _enddoc() : mixed

_endpage()

public _endpage() : mixed

_fixTableBorders()

public _fixTableBorders(mixed &$table) : mixed
Parameters
$table : mixed

_getBorderWidths()

public _getBorderWidths(mixed $bindata) : mixed
Parameters
$bindata : mixed

_getCharWidth()

public _getCharWidth(mixed &$cw, mixed $u[, mixed $isdef = true ]) : mixed
Parameters
$cw : mixed
$u : mixed
$isdef : mixed = true

_getHtmlHeight()

public _getHtmlHeight(mixed $html) : mixed
Parameters
$html : mixed

_getListMarkerWidth()

public _getListMarkerWidth(mixed &$currblk, mixed &$a, mixed &$i) : mixed
Parameters
$currblk : mixed
$a : mixed
$i : mixed

_getNormalLineheight()

public _getNormalLineheight([mixed $desc = false ]) : mixed
Parameters
$desc : mixed = false

_getObjAttr()

public _getObjAttr(mixed $t) : mixed
Parameters
$t : mixed

_getPrevChar()

public _getPrevChar(mixed $contentctr, mixed $charctr, mixed $content) : mixed
Parameters
$contentctr : mixed
$charctr : mixed
$content : mixed

_getStyledNumber()

public _getStyledNumber(mixed $ppgno, mixed $type[, mixed $listmarker = false ]) : mixed
Parameters
$ppgno : mixed
$type : mixed
$listmarker : mixed = false

_kern()

public _kern(mixed $txt, mixed $mode, mixed $aix, mixed $x, mixed $y) : mixed
Parameters
$txt : mixed
$mode : mixed
$aix : mixed
$x : mixed
$y : mixed

_moveToPrevChar()

public _moveToPrevChar(mixed &$contentctr, mixed &$charctr, mixed $content) : mixed
Parameters
$contentctr : mixed
$charctr : mixed
$content : mixed

_out()

Temporarily return the method to preserve example 44 yearbook

public _out(mixed $s) : mixed
Parameters
$s : mixed

_packCellBorder()

public _packCellBorder(mixed $cell) : mixed
Parameters
$cell : mixed

_postForcedPagebreak()

public _postForcedPagebreak(mixed $pagebreaktype, mixed $startpage, mixed $save_blk, mixed $save_blklvl) : mixed
Parameters
$pagebreaktype : mixed
$startpage : mixed
$save_blk : mixed
$save_blklvl : mixed

_preForcedPagebreak()

public _preForcedPagebreak(mixed $pagebreaktype) : mixed
Parameters
$pagebreaktype : mixed

_printListBullet()

public _printListBullet(mixed $x, mixed $y, mixed $size, mixed $type, mixed $color) : mixed
Parameters
$x : mixed
$y : mixed
$size : mixed
$type : mixed
$color : mixed

_putextgstates()

public _putextgstates() : mixed

_puthtmlheaders()

public _puthtmlheaders() : mixed

_resizeBackgroundImage()

public _resizeBackgroundImage(mixed $imw, mixed $imh, mixed $cw, mixed $ch, mixed $resize, mixed $repx, mixed $repy[, mixed $pba = [] ][, mixed $size = [] ]) : mixed
Parameters
$imw : mixed
$imh : mixed
$cw : mixed
$ch : mixed
$resize : mixed
$repx : mixed
$repy : mixed
$pba : mixed = []
$size : mixed = []

_reverseTableDir()

public _reverseTableDir(mixed &$table) : mixed
Parameters
$table : mixed

_saveCellTextBuffer()

public _saveCellTextBuffer(mixed $t[, mixed $link = '' ][, mixed $intlink = '' ]) : mixed
Parameters
$t : mixed
$link : mixed = ''
$intlink : mixed = ''

_saveTextBuffer()

public _saveTextBuffer(mixed $t[, mixed $link = '' ][, mixed $intlink = '' ][, mixed $return = false ]) : mixed
Parameters
$t : mixed
$link : mixed = ''
$intlink : mixed = ''
$return : mixed = false

_set_object_javascript()

public _set_object_javascript(mixed $string) : mixed
Parameters
$string : mixed

_setAutoFooterHeight()

public _setAutoFooterHeight(mixed &$htmlf) : mixed
Parameters
$htmlf : mixed

_setAutoHeaderHeight()

public _setAutoHeaderHeight(mixed &$htmlh) : mixed
Parameters
$htmlh : mixed

_setBidiCodes()

public _setBidiCodes([mixed $mode = 'start' ][, mixed $bdf = '' ]) : mixed
Parameters
$mode : mixed = 'start'
$bdf : mixed = ''

_setBorderLine()

public _setBorderLine(mixed $b[, mixed $k = 1 ]) : mixed
Parameters
$b : mixed
$k : mixed = 1

_setClippingPath()

public _setClippingPath(mixed $clx, mixed $cly, mixed $clw, mixed $clh) : mixed
Parameters
$clx : mixed
$cly : mixed
$clw : mixed
$clh : mixed

_setDashBorder()

public _setDashBorder(mixed $style, mixed $div, mixed $cp, mixed $side) : mixed
Parameters
$style : mixed
$div : mixed
$cp : mixed
$side : mixed

_setInlineBlockHeights()

public _setInlineBlockHeights(mixed &$lineBox, mixed &$stackHeight, mixed &$content, mixed &$font, mixed $is_table) : mixed
Parameters
$lineBox : mixed
$stackHeight : mixed
$content : mixed
$font : mixed
$is_table : mixed

_setLineYpos()

public _setLineYpos(mixed &$fontsize, mixed &$fontdesc, mixed &$CSSlineheight[, mixed $blockYpos = false ]) : mixed
Parameters
$fontsize : mixed
$fontdesc : mixed
$CSSlineheight : mixed
$blockYpos : mixed = false

_setListMarker()

public _setListMarker(mixed $listitemtype, mixed $listitemimage, mixed $listitemposition) : mixed
Parameters
$listitemtype : mixed
$listitemimage : mixed
$listitemposition : mixed

_setPageSize()

public _setPageSize(mixed $format, mixed &$orientation) : mixed
Parameters
$format : mixed
$orientation : mixed

_SetTextRendering()

public _SetTextRendering(mixed $mode) : mixed
Parameters
$mode : mixed

_shareHeaderFooterWidth()

public _shareHeaderFooterWidth(mixed $cl, mixed $cc, mixed $cr) : mixed
Parameters
$cl : mixed
$cc : mixed
$cr : mixed

_splitTableGetWidth()

public _splitTableGetWidth(mixed &$table, mixed $i, mixed $j) : mixed
Parameters
$table : mixed
$i : mixed
$j : mixed

_table2cellBorder()

public _table2cellBorder(mixed &$tableb, mixed &$cbdb, mixed &$cellb, mixed $bval) : mixed
Parameters
$tableb : mixed
$cbdb : mixed
$cellb : mixed
$bval : mixed

_tableColumnWidth()

public _tableColumnWidth(mixed &$table[, mixed $firstpass = false ]) : mixed
Parameters
$table : mixed
$firstpass : mixed = false

_tableGetHeight()

public _tableGetHeight(mixed &$table, mixed $i, mixed $j) : mixed
Parameters
$table : mixed
$i : mixed
$j : mixed

_tableGetMaxRowHeight()

public _tableGetMaxRowHeight(mixed $table, mixed $row) : mixed
Parameters
$table : mixed
$row : mixed

_tableGetWidth()

public _tableGetWidth(mixed &$table, mixed $i, mixed $j) : mixed
Parameters
$table : mixed
$i : mixed
$j : mixed

_tableHeight()

public _tableHeight(mixed &$table) : mixed
Parameters
$table : mixed

_tableRect()

public _tableRect(mixed $x, mixed $y, mixed $w, mixed $h[, mixed $bord = -1 ][, mixed $details = [] ][, mixed $buffer = false ][, mixed $bSeparate = false ][, mixed $cort = 'cell' ][, mixed $tablecorner = '' ][, mixed $bsv = 0 ][, mixed $bsh = 0 ]) : mixed
Parameters
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$bord : mixed = -1
$details : mixed = []
$buffer : mixed = false
$bSeparate : mixed = false
$cort : mixed = 'cell'
$tablecorner : mixed = ''
$bsv : mixed = 0
$bsh : mixed = 0

_tableWidth()

public _tableWidth(mixed &$table) : mixed
Parameters
$table : mixed

_tableWrite()

public _tableWrite(mixed &$table[, mixed $split = false ][, mixed $startrow = 0 ][, mixed $startcol = 0 ][, mixed $splitpg = 0 ][, mixed $rety = 0 ]) : mixed
Parameters
$table : mixed
$split : mixed = false
$startrow : mixed = 0
$startcol : mixed = 0
$splitpg : mixed = 0
$rety : mixed = 0

_transform()

public _transform(mixed $tm[, mixed $returnstring = false ]) : mixed
Parameters
$tm : mixed
$returnstring : mixed = false

_unpackCellBorder()

public _unpackCellBorder(mixed $bindata) : mixed
Parameters
$bindata : mixed

AcceptPageBreak()

public AcceptPageBreak() : mixed

AddBig5Font()

public AddBig5Font() : mixed

AddCIDFont()

public AddCIDFont(mixed $family, mixed $style, mixed $name, mixed &$cw, mixed $CMap, mixed $registry, mixed $desc) : mixed
Parameters
$family : mixed
$style : mixed
$name : mixed
$cw : mixed
$CMap : mixed
$registry : mixed
$desc : mixed

AddCJKFont()

public AddCJKFont(mixed $family) : mixed
Parameters
$family : mixed

AddColumn()

public AddColumn() : mixed

AddCustomProperty()

public AddCustomProperty(mixed $key, mixed $value) : mixed
Parameters
$key : mixed
$value : mixed

AddExtGState()

public AddExtGState(array<string|int, mixed> $parms) : int
Parameters
$parms : array<string|int, mixed>
Return values
int

AddFont()

public AddFont(mixed $family[, mixed $style = '' ]) : mixed
Parameters
$family : mixed
$style : mixed = ''

AddFontDirectory()

public AddFontDirectory(mixed $directory) : mixed
Parameters
$directory : mixed

AddGBFont()

public AddGBFont() : mixed
public AddLink() : mixed

AddPage()

public AddPage([mixed $orientation = '' ][, mixed $condition = '' ][, mixed $resetpagenum = '' ][, mixed $pagenumstyle = '' ][, mixed $suppress = '' ][, mixed $mgl = '' ][, mixed $mgr = '' ][, mixed $mgt = '' ][, mixed $mgb = '' ][, mixed $mgh = '' ][, mixed $mgf = '' ][, mixed $ohname = '' ][, mixed $ehname = '' ][, mixed $ofname = '' ][, mixed $efname = '' ][, mixed $ohvalue = 0 ][, mixed $ehvalue = 0 ][, mixed $ofvalue = 0 ][, mixed $efvalue = 0 ][, mixed $pagesel = '' ][, mixed $newformat = '' ]) : mixed
Parameters
$orientation : mixed = ''
$condition : mixed = ''
$resetpagenum : mixed = ''
$pagenumstyle : mixed = ''
$suppress : mixed = ''
$mgl : mixed = ''
$mgr : mixed = ''
$mgt : mixed = ''
$mgb : mixed = ''
$mgh : mixed = ''
$mgf : mixed = ''
$ohname : mixed = ''
$ehname : mixed = ''
$ofname : mixed = ''
$efname : mixed = ''
$ohvalue : mixed = 0
$ehvalue : mixed = 0
$ofvalue : mixed = 0
$efvalue : mixed = 0
$pagesel : mixed = ''
$newformat : mixed = ''

AddPageByArray()

public AddPageByArray(mixed $a) : mixed
Parameters
$a : mixed

AddSJISFont()

public AddSJISFont() : mixed

AddSpotColor()

public AddSpotColor(mixed $name, mixed $c, mixed $m, mixed $y, mixed $k) : mixed
Parameters
$name : mixed
$c : mixed
$m : mixed
$y : mixed
$k : mixed

AddSpotColorsFromFile()

public AddSpotColorsFromFile(mixed $file) : mixed
Parameters
$file : mixed

AddUHCFont()

public AddUHCFont() : mixed

AdjustHTML()

public AdjustHTML(mixed $html[, mixed $tabSpaces = 8 ]) : mixed
Parameters
$html : mixed
$tabSpaces : mixed = 8

AliasNbPageGroups()

public AliasNbPageGroups([mixed $alias = '{nbpg}' ]) : mixed
Parameters
$alias : mixed = '{nbpg}'

AliasNbPages()

public AliasNbPages([mixed $alias = '{nb}' ]) : mixed
Parameters
$alias : mixed = '{nb}'

all_entities_to_utf8()

public all_entities_to_utf8(mixed $txt) : mixed
Parameters
$txt : mixed

Annotation()

public Annotation(mixed $text[, mixed $x = 0 ][, mixed $y = 0 ][, mixed $icon = 'Note' ][, mixed $author = '' ][, mixed $subject = '' ][, mixed $opacity = 0 ][, mixed $colarray = false ][, mixed $popup = '' ][, mixed $file = '' ]) : mixed
Parameters
$text : mixed
$x : mixed = 0
$y : mixed = 0
$icon : mixed = 'Note'
$author : mixed = ''
$subject : mixed = ''
$opacity : mixed = 0
$colarray : mixed = false
$popup : mixed = ''
$file : mixed = ''

applyGPOSpdf()

public applyGPOSpdf(mixed $txt, mixed $aix, mixed $x, mixed $y, mixed $OTLdata[, mixed $textvar = 0 ]) : mixed
Parameters
$txt : mixed
$aix : mixed
$x : mixed
$y : mixed
$OTLdata : mixed
$textvar : mixed = 0

Arrow()

public Arrow(mixed $x1, mixed $y1, mixed $x2, mixed $y2[, mixed $headsize = 3 ][, mixed $fill = 'B' ][, mixed $angle = 25 ]) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$headsize : mixed = 3
$fill : mixed = 'B'
$angle : mixed = 25

AutosizeText()

public AutosizeText(mixed $text, mixed $w, mixed $font, mixed $style[, mixed $szfont = 72 ]) : mixed
Parameters
$text : mixed
$w : mixed
$font : mixed
$style : mixed
$szfont : mixed = 72

BeginLayer()

public BeginLayer(mixed $id) : mixed
Parameters
$id : mixed

Bookmark()

public Bookmark(mixed $txt[, mixed $level = 0 ][, mixed $y = 0 ]) : mixed
Parameters
$txt : mixed
$level : mixed = 0
$y : mixed = 0

border_details()

public border_details(mixed $bd) : mixed
Parameters
$bd : mixed

Cell()

Output a cell

public Cell(mixed $w[, mixed $h = 0 ][, mixed $txt = '' ][, mixed $border = 0 ][, mixed $ln = 0 ][, mixed $align = '' ][, mixed $fill = 0 ][, mixed $link = '' ][, mixed $currentx = 0 ][, mixed $lcpaddingL = 0 ][, mixed $lcpaddingR = 0 ][, mixed $valign = 'M' ][, mixed $spanfill = 0 ][, mixed $exactWidth = false ][, mixed $OTLdata = false ][, mixed $textvar = 0 ][, mixed $lineBox = false ]) : mixed

Expects input to be mb_encoded if necessary and RTL reversed

Parameters
$w : mixed
$h : mixed = 0
$txt : mixed = ''
$border : mixed = 0
$ln : mixed = 0
$align : mixed = ''
$fill : mixed = 0
$link : mixed = ''
$currentx : mixed = 0
$lcpaddingL : mixed = 0
$lcpaddingR : mixed = 0
$valign : mixed = 'M'
$spanfill : mixed = 0
$exactWidth : mixed = false
$OTLdata : mixed = false
$textvar : mixed = 0
$lineBox : mixed = false
Tags
since

mPDF 5.7.1

Circle()

public Circle(mixed $x, mixed $y, mixed $r[, mixed $style = 'S' ]) : mixed
Parameters
$x : mixed
$y : mixed
$r : mixed
$style : mixed = 'S'

CircularText()

public CircularText(mixed $x, mixed $y, mixed $r, mixed $text[, mixed $align = 'top' ][, mixed $fontfamily = '' ][, mixed $fontsize = 0 ][, mixed $fontstyle = '' ][, mixed $kerning = 120 ][, mixed $fontwidth = 100 ][, mixed $divider = '' ]) : mixed
Parameters
$x : mixed
$y : mixed
$r : mixed
$text : mixed
$align : mixed = 'top'
$fontfamily : mixed = ''
$fontsize : mixed = 0
$fontstyle : mixed = ''
$kerning : mixed = 120
$fontwidth : mixed = 100
$divider : mixed = ''

cleanup()

public cleanup() : mixed

ClearFloats()

public ClearFloats(mixed $clear[, mixed $blklvl = 0 ]) : mixed
Parameters
$clear : mixed
$blklvl : mixed = 0

Close()

public Close() : mixed

columnAdjustAdd()

Callback function from function printcolumnbuffer in mpdf

public columnAdjustAdd(mixed $type, mixed $k, mixed $xadj, mixed $yadj, mixed $a, mixed $b[, mixed $c = 0 ][, mixed $d = 0 ][, mixed $e = 0 ][, mixed $f = 0 ]) : mixed
Parameters
$type : mixed
$k : mixed
$xadj : mixed
$yadj : mixed
$a : mixed
$b : mixed
$c : mixed = 0
$d : mixed = 0
$e : mixed = 0
$f : mixed = 0

columnAdjustPregReplace()

public columnAdjustPregReplace(mixed $type, mixed $xadj, mixed $yadj, mixed $pattern, mixed $subject) : mixed
Parameters
$type : mixed
$xadj : mixed
$yadj : mixed
$pattern : mixed
$subject : mixed

ConvertAngle()

public ConvertAngle(mixed $s[, mixed $makepositive = true ]) : mixed
Parameters
$s : mixed
$makepositive : mixed = true

date_callback()

public date_callback(mixed $matches) : mixed
Parameters
$matches : mixed

DefFooterByName()

public DefFooterByName(mixed $name, mixed $arr) : mixed
Parameters
$name : mixed
$arr : mixed

DefHeaderByName()

public DefHeaderByName(mixed $name, mixed $arr) : mixed
Parameters
$name : mixed
$arr : mixed

DefHTMLFooterByName()

public DefHTMLFooterByName(mixed $name, mixed $html) : mixed
Parameters
$name : mixed
$html : mixed

DefHTMLHeaderByName()

public DefHTMLHeaderByName(mixed $name, mixed $html) : mixed
Parameters
$name : mixed
$html : mixed

DeletePages()

public DeletePages(mixed $start_page[, mixed $end_page = -1 ]) : mixed
Parameters
$start_page : mixed
$end_page : mixed = -1

DisableTags()

public DisableTags([mixed $str = '' ]) : mixed
Parameters
$str : mixed = ''

DivLn()

public DivLn(mixed $h[, mixed $level = -3 ][, mixed $move_y = true ][, mixed $collapsible = false ][, mixed $state = 0 ]) : mixed
Parameters
$h : mixed
$level : mixed = -3
$move_y : mixed = true
$collapsible : mixed = false
$state : mixed = 0

docPageNum()

public docPageNum([mixed $num = 0 ][, mixed $extras = false ]) : mixed
Parameters
$num : mixed = 0
$extras : mixed = false

docPageNumTotal()

public docPageNumTotal([mixed $num = 0 ][, mixed $extras = false ]) : mixed
Parameters
$num : mixed = 0
$extras : mixed = false

docPageSettings()

public docPageSettings([mixed $num = 0 ]) : mixed
Parameters
$num : mixed = 0

Ellipse()

public Ellipse(mixed $x, mixed $y, mixed $rx, mixed $ry[, mixed $style = 'S' ]) : mixed
Parameters
$x : mixed
$y : mixed
$rx : mixed
$ry : mixed
$style : mixed = 'S'

EndLayer()

public EndLayer() : mixed

finishFlowingBlock()

public finishFlowingBlock([mixed $endofblock = false ][, mixed $next = '' ]) : mixed
Parameters
$endofblock : mixed = false
$next : mixed = ''

fixLineheight()

public fixLineheight(mixed $v) : mixed
Parameters
$v : mixed
public Footer() : mixed

getBasicOTLdata()

public getBasicOTLdata(mixed &$chunkOTLdata, mixed $unicode, mixed &$is_strong) : mixed
Parameters
$chunkOTLdata : mixed
$unicode : mixed
$is_strong : mixed

GetCharWidth()

public GetCharWidth(mixed $c[, mixed $addSubset = true ]) : mixed
Parameters
$c : mixed
$addSubset : mixed = true

GetCharWidthCore()

public GetCharWidthCore(mixed $c) : mixed
Parameters
$c : mixed

GetCharWidthNonCore()

public GetCharWidthNonCore(mixed $c[, mixed $addSubset = true ]) : mixed
Parameters
$c : mixed
$addSubset : mixed = true

GetFirstBlockFill()

public GetFirstBlockFill() : mixed

GetFloatDivInfo()

public GetFloatDivInfo([mixed $blklvl = 0 ][, mixed $clear = false ]) : mixed
Parameters
$blklvl : mixed = 0
$clear : mixed = false

getFontDescriptor()

public getFontDescriptor() : mixed

GetFullPath()

public GetFullPath(mixed &$path[, mixed $basepath = '' ]) : mixed
Parameters
$path : mixed
$basepath : mixed = ''

getImportedPages()

public getImportedPages() : mixed

GetJspacing()

public GetJspacing(mixed $nc, mixed $ns, mixed $w, mixed $inclCursive, mixed &$cOTLdata) : mixed
Parameters
$nc : mixed
$ns : mixed
$w : mixed
$inclCursive : mixed
$cOTLdata : mixed

GetStringWidth()

public GetStringWidth(mixed $s[, mixed $addSubset = true ][, mixed $OTLdata = false ][, mixed $textvar = 0 ][, mixed $includeKashida = false ]) : mixed
Parameters
$s : mixed
$addSubset : mixed = true
$OTLdata : mixed = false
$textvar : mixed = 0
$includeKashida : mixed = false

getTemplateSize()

Get the size of an imported page or template.

public getTemplateSize(mixed $tpl[, float|int|null $width = null ][, float|int|null $height = null ]) : array<string|int, mixed>|bool

Omit one of the size parameters (width, height) to calculate the other one automatically in view to the aspect ratio.

Parameters
$tpl : mixed

The template id

$width : float|int|null = null

The width.

$height : float|int|null = null

The height.

Return values
array<string|int, mixed>|bool

An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P)

Header()

public Header([mixed $content = '' ]) : mixed
Parameters
$content : mixed = ''

Image()

public Image(mixed $file, mixed $x, mixed $y[, mixed $w = 0 ][, mixed $h = 0 ][, mixed $type = '' ][, mixed $link = '' ][, mixed $paint = true ][, mixed $constrain = true ][, mixed $watermark = false ][, mixed $shownoimg = true ][, mixed $allowvector = true ]) : mixed
Parameters
$file : mixed
$x : mixed
$y : mixed
$w : mixed = 0
$h : mixed = 0
$type : mixed = ''
$link : mixed = ''
$paint : mixed = true
$constrain : mixed = true
$watermark : mixed = false
$shownoimg : mixed = true
$allowvector : mixed = true

importPage()

Imports a page.

public importPage(int $pageNumber[, string $box = PageBoundaries::CROP_BOX ][, bool $groupXObject = true ]) : string
Parameters
$pageNumber : int

The page number.

$box : string = PageBoundaries::CROP_BOX

The page boundary to import. Default set to PageBoundaries::CROP_BOX.

$groupXObject : bool = true

Define the form XObject as a group XObject to support transparency (if used).

Tags
throws
CrossReferenceException
throws
FilterException
throws
PdfParserException
throws
PdfTypeException
throws
PdfReaderException
see
PageBoundaries
Return values
string

A unique string identifying the imported page.

IndexEntry()

public IndexEntry(mixed $txt[, mixed $xref = '' ]) : mixed
Parameters
$txt : mixed
$xref : mixed = ''

IndexEntrySee()

public IndexEntrySee(mixed $txta, mixed $txtb) : mixed
Parameters
$txta : mixed
$txtb : mixed

initialiseBlock()

public initialiseBlock(mixed &$blk) : mixed
Parameters
$blk : mixed

inlineObject()

public inlineObject(mixed $type, mixed $x, mixed $y, mixed $objattr, mixed $Lmargin, mixed $widthUsed, mixed $maxWidth, mixed $lineHeight[, mixed $paint = false ][, mixed $is_table = false ]) : mixed
Parameters
$type : mixed
$x : mixed
$y : mixed
$objattr : mixed
$Lmargin : mixed
$widthUsed : mixed
$maxWidth : mixed
$lineHeight : mixed
$paint : mixed = false
$is_table : mixed = false

InsertIndex()

public InsertIndex([mixed $usedivletters = 1 ][, mixed $useLinking = false ][, mixed $indexCollationLocale = '' ][, mixed $indexCollationGroup = '' ]) : mixed
Parameters
$usedivletters : mixed = 1
$useLinking : mixed = false
$indexCollationLocale : mixed = ''
$indexCollationGroup : mixed = ''

is_utf8()

Edited v1.2 Pass by reference; option to continue if invalid UTF-8 chars

public is_utf8(mixed &$string) : mixed
Parameters
$string : mixed

issetBorder()

public issetBorder(mixed $var, mixed $flag) : mixed
Parameters
$var : mixed
$flag : mixed

lesser_entity_decode()

public lesser_entity_decode(mixed $html) : mixed
Parameters
$html : mixed

Line()

public Line(mixed $x1, mixed $y1, mixed $x2, mixed $y2) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
public Link(mixed $x, mixed $y, mixed $w, mixed $h, mixed $link) : mixed
Parameters
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$link : mixed

Ln()

public Ln([mixed $h = '' ][, mixed $collapsible = 0 ]) : mixed
Parameters
$h : mixed = ''
$collapsible : mixed = 0

magic_reverse_dir()

public magic_reverse_dir(mixed &$chunk, mixed $dir, mixed &$chunkOTLdata) : mixed
Parameters
$chunk : mixed
$dir : mixed
$chunkOTLdata : mixed

markScriptToLang()

public markScriptToLang(mixed $html) : mixed
Parameters
$html : mixed

MovePages()

public MovePages(mixed $target_page, mixed $start_page[, mixed $end_page = -1 ]) : mixed
Parameters
$target_page : mixed
$start_page : mixed
$end_page : mixed = -1

MultiCell()

public MultiCell(mixed $w, mixed $h, mixed $txt[, mixed $border = 0 ][, mixed $align = '' ][, mixed $fill = 0 ][, mixed $link = '' ][, mixed $directionality = 'ltr' ][, mixed $encoded = false ][, mixed $OTLdata = false ][, mixed $maxrows = false ]) : mixed
Parameters
$w : mixed
$h : mixed
$txt : mixed
$border : mixed = 0
$align : mixed = ''
$fill : mixed = 0
$link : mixed = ''
$directionality : mixed = 'ltr'
$encoded : mixed = false
$OTLdata : mixed = false
$maxrows : mixed = false

NewColumn()

public NewColumn() : mixed

newFlowingBlock()

public newFlowingBlock(mixed $w, mixed $h[, mixed $a = '' ][, mixed $is_table = false ][, mixed $blockstate = 0 ][, mixed $newblock = true ][, mixed $blockdir = 'ltr' ][, mixed $table_draft = false ]) : mixed
Parameters
$w : mixed
$h : mixed
$a : mixed = ''
$is_table : mixed = false
$blockstate : mixed = 0
$newblock : mixed = true
$blockdir : mixed = 'ltr'
$table_draft : mixed = false

Open()

public Open() : mixed

Output()

public Output([mixed $name = '' ][, mixed $dest = '' ]) : mixed
Parameters
$name : mixed = ''
$dest : mixed = ''

OutputBinaryData()

public OutputBinaryData() : mixed

OutputFile()

public OutputFile(string $fileName) : mixed
Parameters
$fileName : string

OutputHttpDownload()

public OutputHttpDownload(string $fileName) : mixed
Parameters
$fileName : string

OutputHttpInline()

public OutputHttpInline() : mixed

OverWrite()

public OverWrite(mixed $file_in, mixed $search, mixed $replacement[, mixed $dest = Destination::DOWNLOAD ][, mixed $file_out = "mpdf" ]) : mixed
Parameters
$file_in : mixed
$search : mixed
$replacement : mixed
$dest : mixed = Destination::DOWNLOAD
$file_out : mixed = "mpdf"

PageNo()

Get current page number

public PageNo() : int
Return values
int

PaintDivBB()

public PaintDivBB([mixed $divider = '' ][, mixed $blockstate = 0 ][, mixed $blvl = 0 ]) : mixed
Parameters
$divider : mixed = ''
$blockstate : mixed = 0
$blvl : mixed = 0

PaintDivLnBorder()

public PaintDivLnBorder([mixed $state = 0 ][, mixed $blvl = 0 ][, mixed $h = 0 ]) : mixed
Parameters
$state : mixed = 0
$blvl : mixed = 0
$h : mixed = 0

PaintImgBorder()

public PaintImgBorder(mixed $objattr, mixed $is_table) : mixed
Parameters
$objattr : mixed
$is_table : mixed

PrintBodyBackgrounds()

public PrintBodyBackgrounds() : mixed

printbuffer()

public printbuffer(mixed $arrayaux[, mixed $blockstate = 0 ][, mixed $is_table = false ][, mixed $table_draft = false ][, mixed $cell_dir = '' ]) : mixed
Parameters
$arrayaux : mixed
$blockstate : mixed = 0
$is_table : mixed = false
$table_draft : mixed = false
$cell_dir : mixed = ''

printcellbuffer()

public printcellbuffer() : mixed

printcolumnbuffer()

public printcolumnbuffer() : mixed

printfloatbuffer()

public printfloatbuffer() : mixed

printkwtbuffer()

Keep-with-table This buffers contents of h1-6 to keep on page with table

public printkwtbuffer() : mixed

printobjectbuffer()

public printobjectbuffer([mixed $is_table = false ][, mixed $blockdir = false ]) : mixed
Parameters
$is_table : mixed = false
$blockdir : mixed = false

PrintPageBackgrounds()

public PrintPageBackgrounds([mixed $adjustmenty = 0 ]) : mixed
Parameters
$adjustmenty : mixed = 0

PrintTableBackgrounds()

public PrintTableBackgrounds([mixed $adjustmenty = 0 ]) : mixed
Parameters
$adjustmenty : mixed = 0

printtablebuffer()

public printtablebuffer() : mixed

purify_utf8()

For HTML

public purify_utf8(mixed $html[, mixed $lo = true ]) : mixed

Checks string is valid UTF-8 encoded converts html_entities > ASCII 127 to UTF-8 Only exception - leaves low ASCII entities e.g. < & etc. Leaves in particular < to distinguish from tag marker

Parameters
$html : mixed
$lo : mixed = true

purify_utf8_text()

For TEXT

public purify_utf8_text(mixed $txt) : mixed
Parameters
$txt : mixed

read_short()

public read_short(mixed &$fh) : mixed
Parameters
$fh : mixed

ReadCharset()

public ReadCharset(mixed $html) : mixed
Parameters
$html : mixed

ReadMetaTags()

public ReadMetaTags(mixed $html) : mixed
Parameters
$html : mixed

Rect()

public Rect(mixed $x, mixed $y, mixed $w, mixed $h[, mixed $style = '' ]) : mixed
Parameters
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$style : mixed = ''

Reset()

public Reset() : mixed

ResetMargins()

public ResetMargins() : mixed

ResetSpacing()

public ResetSpacing() : mixed

ResetStyles()

public ResetStyles() : mixed

RestartDocTemplate()

public RestartDocTemplate() : mixed

restoreFont()

public restoreFont(mixed &$saved[, mixed $write = true ]) : mixed
Parameters
$saved : mixed
$write : mixed = true

restoreInlineProperties()

public restoreInlineProperties(mixed &$saved) : mixed
Parameters
$saved : mixed

RestrictUnicodeFonts()

public RestrictUnicodeFonts(mixed $res) : mixed
Parameters
$res : mixed

Rotate()

public Rotate(mixed $angle[, mixed $x = -1 ][, mixed $y = -1 ]) : mixed
Parameters
$angle : mixed
$x : mixed = -1
$y : mixed = -1

RoundedRect()

public RoundedRect(mixed $x, mixed $y, mixed $w, mixed $h, mixed $r[, mixed $style = '' ]) : mixed
Parameters
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$r : mixed
$style : mixed = ''

saveFont()

public saveFont() : mixed

saveInlineProperties()

public saveInlineProperties() : mixed

SetAdditionalXmpRdf()

public SetAdditionalXmpRdf(mixed $s) : mixed
Parameters
$s : mixed

SetAlpha()

public SetAlpha(mixed $alpha[, mixed $bm = 'Normal' ][, mixed $return = false ][, mixed $mode = 'B' ]) : mixed
Parameters
$alpha : mixed
$bm : mixed = 'Normal'
$return : mixed = false
$mode : mixed = 'B'

SetAnchor2Bookmark()

public SetAnchor2Bookmark(mixed $x) : mixed
Parameters
$x : mixed

SetAssociatedFiles()

Set one or multiple associated file ("/AF" as required by PDF/A-3)

public SetAssociatedFiles(array<string|int, mixed> $files) : mixed

param $files is an array of hash containing: path: file path on FS content: file content name: file name (not necessarily the same as the file on FS) mime (optional): file mime type (will show up as /Subtype in the PDF) description (optional): file description AFRelationship (optional): PDF/A-3 AFRelationship (e.g. "Alternative")

e.g. to associate 1 file: [[ 'path' => 'tmp/1234.xml', 'content' => 'file content', 'name' => 'public_name.xml', 'mime' => 'text/xml', 'description' => 'foo', 'AFRelationship' => 'Alternative', ]]

Parameters
$files : array<string|int, mixed>

Array of arrays of associated files. See above

SetAuthor()

public SetAuthor(mixed $author) : mixed
Parameters
$author : mixed

SetAutoPageBreak()

public SetAutoPageBreak(mixed $auto[, mixed $margin = 0 ]) : mixed
Parameters
$auto : mixed
$margin : mixed = 0

SetBackground()

public SetBackground(mixed &$properties, mixed &$maxwidth) : mixed
Parameters
$properties : mixed
$maxwidth : mixed

SetBasePath()

public SetBasePath([mixed $str = '' ]) : mixed
Parameters
$str : mixed = ''

setBorder()

public setBorder(mixed &$var, mixed $flag[, mixed $set = true ]) : mixed
Parameters
$var : mixed
$flag : mixed
$set : mixed = true

SetCol()

public SetCol(mixed $CurrCol) : mixed
Parameters
$CurrCol : mixed

SetColor()

public SetColor(mixed $col[, mixed $type = '' ]) : mixed
Parameters
$col : mixed
$type : mixed = ''

SetColumns()

public SetColumns(mixed $NbCol[, mixed $vAlign = '' ][, mixed $gap = 5 ]) : mixed
Parameters
$NbCol : mixed
$vAlign : mixed = ''
$gap : mixed = 5

SetCompression()

public SetCompression(mixed $compress) : mixed
Parameters
$compress : mixed

SetCreator()

public SetCreator(mixed $creator) : mixed
Parameters
$creator : mixed

setCSS()

public setCSS(mixed $arrayaux[, mixed $type = '' ][, mixed $tag = '' ]) : mixed
Parameters
$arrayaux : mixed
$type : mixed = ''
$tag : mixed = ''

SetDash()

public SetDash([mixed $black = false ][, mixed $white = false ]) : mixed
Parameters
$black : mixed = false
$white : mixed = false

SetDColor()

public SetDColor(mixed $col[, mixed $return = false ]) : mixed
Parameters
$col : mixed
$return : mixed = false

SetDefaultBodyCSS()

public SetDefaultBodyCSS(mixed $prop, mixed $val) : mixed
Parameters
$prop : mixed
$val : mixed

SetDefaultFont()

public SetDefaultFont(mixed $font) : mixed
Parameters
$font : mixed

SetDefaultFontSize()

public SetDefaultFontSize(mixed $fontsize) : mixed
Parameters
$fontsize : mixed

SetDirectionality()

public SetDirectionality([mixed $dir = 'ltr' ]) : mixed
Parameters
$dir : mixed = 'ltr'

SetDisplayMode()

public SetDisplayMode(mixed $zoom[, mixed $layout = 'continuous' ]) : mixed
Parameters
$zoom : mixed
$layout : mixed = 'continuous'

SetDisplayPreferences()

public SetDisplayPreferences(mixed $preferences) : mixed
Parameters
$preferences : mixed

SetDocTemplate()

public SetDocTemplate([mixed $file = '' ][, mixed $continue = 0 ][, mixed $continue2pages = 0 ]) : mixed
Parameters
$file : mixed = ''
$continue : mixed = 0
$continue2pages : mixed = 0

SetDrawColor()

public SetDrawColor(mixed $r[, mixed $g = -1 ][, mixed $b = -1 ][, mixed $col4 = -1 ][, mixed $return = false ]) : mixed
Parameters
$r : mixed
$g : mixed = -1
$b : mixed = -1
$col4 : mixed = -1
$return : mixed = false

SetFColor()

public SetFColor(mixed $col[, mixed $return = false ]) : mixed
Parameters
$col : mixed
$return : mixed = false

SetFillColor()

public SetFillColor(mixed $r[, mixed $g = -1 ][, mixed $b = -1 ][, mixed $col4 = -1 ][, mixed $return = false ]) : mixed
Parameters
$r : mixed
$g : mixed = -1
$b : mixed = -1
$col4 : mixed = -1
$return : mixed = false

SetFont()

public SetFont(mixed $family[, mixed $style = '' ][, mixed $size = 0 ][, mixed $write = true ][, mixed $forcewrite = false ]) : mixed
Parameters
$family : mixed
$style : mixed = ''
$size : mixed = 0
$write : mixed = true
$forcewrite : mixed = false

SetFontSize()

public SetFontSize(mixed $size[, mixed $write = true ]) : mixed
Parameters
$size : mixed
$write : mixed = true

SetFooter()

public SetFooter([mixed $Farray = [] ][, mixed $side = '' ]) : mixed
Parameters
$Farray : mixed = []
$side : mixed = ''

SetFooterByName()

public SetFooterByName(mixed $name[, mixed $side = 'O' ]) : mixed
Parameters
$name : mixed
$side : mixed = 'O'

SetHeader()

public SetHeader([mixed $Harray = [] ][, mixed $side = '' ][, mixed $write = false ]) : mixed
Parameters
$Harray : mixed = []
$side : mixed = ''
$write : mixed = false

SetHeaderByName()

public SetHeaderByName(mixed $name[, mixed $side = 'O' ][, mixed $write = false ]) : mixed
Parameters
$name : mixed
$side : mixed = 'O'
$write : mixed = false

setHiEntitySubstitutions()

public setHiEntitySubstitutions() : mixed

SetHTMLFooter()

public SetHTMLFooter([mixed $footer = '' ][, mixed $OE = '' ]) : mixed
Parameters
$footer : mixed = ''
$OE : mixed = ''

SetHTMLFooterByName()

public SetHTMLFooterByName(mixed $name[, mixed $side = 'O' ]) : mixed
Parameters
$name : mixed
$side : mixed = 'O'

SetHTMLHeader()

public SetHTMLHeader([mixed $header = '' ][, mixed $OE = '' ][, mixed $write = false ]) : mixed
Parameters
$header : mixed = ''
$OE : mixed = ''
$write : mixed = false

SetHTMLHeaderByName()

public SetHTMLHeaderByName(mixed $name[, mixed $side = 'O' ][, mixed $write = false ]) : mixed
Parameters
$name : mixed
$side : mixed = 'O'
$write : mixed = false
public setImportedPageLinks(mixed $pageId, int|float $x, int|float $y, array<string|int, mixed> $newSize) : mixed
Parameters
$pageId : mixed

The page id

$x : int|float

The abscissa of upper-left corner.

$y : int|float

The ordinate of upper-right corner.

$newSize : array<string|int, mixed>

The size.

SetJS()

public SetJS(mixed $script) : mixed
Parameters
$script : mixed

SetKeywords()

public SetKeywords(mixed $keywords) : mixed
Parameters
$keywords : mixed

SetLeftMargin()

public SetLeftMargin(mixed $margin) : mixed
Parameters
$margin : mixed

SetLineCap()

public SetLineCap([mixed $mode = 2 ]) : mixed
Parameters
$mode : mixed = 2

SetLineHeight()

public SetLineHeight([mixed $FontPt = '' ][, mixed $lh = '' ]) : mixed
Parameters
$FontPt : mixed = ''
$lh : mixed = ''

SetLineJoin()

public SetLineJoin([mixed $mode = 0 ]) : mixed
Parameters
$mode : mixed = 0

SetLineWidth()

public SetLineWidth(mixed $width) : mixed
Parameters
$width : mixed
public SetLink(mixed $link[, mixed $y = 0 ][, mixed $page = -1 ]) : mixed
Parameters
$link : mixed
$y : mixed = 0
$page : mixed = -1

SetMargins()

public SetMargins(mixed $left, mixed $right, mixed $top) : mixed
Parameters
$left : mixed
$right : mixed
$top : mixed

setMBencoding()

public setMBencoding(mixed $enc) : mixed
Parameters
$enc : mixed

SetPagedMediaCSS()

public SetPagedMediaCSS(mixed $name, mixed $first, mixed $oddEven) : mixed
Parameters
$name : mixed
$first : mixed
$oddEven : mixed

SetPageTemplate()

public SetPageTemplate([mixed $tplidx = '' ]) : mixed
Parameters
$tplidx : mixed = ''

SetProtection()

public SetProtection([mixed $permissions = [] ][, mixed $user_pass = '' ][, mixed $owner_pass = null ][, mixed $length = 40 ]) : mixed
Parameters
$permissions : mixed = []
$user_pass : mixed = ''
$owner_pass : mixed = null
$length : mixed = 40

SetRightMargin()

public SetRightMargin(mixed $margin) : mixed
Parameters
$margin : mixed

SetSpacing()

public SetSpacing(mixed $cs, mixed $ws) : mixed
Parameters
$cs : mixed
$ws : mixed

SetStyle()

public SetStyle(mixed $tag, mixed $enable) : mixed
Parameters
$tag : mixed
$enable : mixed

SetStyles()

public SetStyles(mixed $str) : mixed
Parameters
$str : mixed

SetStylesArray()

public SetStylesArray(mixed $arr) : mixed
Parameters
$arr : mixed

SetSubject()

public SetSubject(mixed $subject) : mixed
Parameters
$subject : mixed

SetSubstitutions()

public SetSubstitutions() : mixed

SetTColor()

public SetTColor(mixed $col[, mixed $return = false ]) : mixed
Parameters
$col : mixed
$return : mixed = false

SetTextColor()

public SetTextColor(mixed $r[, mixed $g = -1 ][, mixed $b = -1 ][, mixed $col4 = -1 ][, mixed $return = false ]) : mixed
Parameters
$r : mixed
$g : mixed = -1
$b : mixed = -1
$col4 : mixed = -1
$return : mixed = false

SetTextOutline()

public SetTextOutline([mixed $params = [] ]) : mixed
Parameters
$params : mixed = []

SetTitle()

public SetTitle(mixed $title) : mixed
Parameters
$title : mixed

SetTopMargin()

public SetTopMargin(mixed $margin) : mixed
Parameters
$margin : mixed

SetVisibility()

public SetVisibility(mixed $v) : mixed
Parameters
$v : mixed

SetWatermarkImage()

public SetWatermarkImage(mixed $src[, mixed $alpha = -1 ][, mixed $size = 'D' ][, mixed $pos = 'F' ]) : mixed
Parameters
$src : mixed
$alpha : mixed = -1
$size : mixed = 'D'
$pos : mixed = 'F'

SetWatermarkText()

public SetWatermarkText([mixed $txt = '' ][, mixed $alpha = -1 ]) : mixed
Parameters
$txt : mixed = ''
$alpha : mixed = -1

SetX()

public SetX(mixed $x) : mixed
Parameters
$x : mixed

SetXY()

public SetXY(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed

SetY()

public SetY(mixed $y) : mixed
Parameters
$y : mixed

Shaded_box()

public Shaded_box(mixed $text[, mixed $font = '' ][, mixed $fontstyle = 'B' ][, mixed $szfont = '' ][, mixed $width = '70%' ][, mixed $style = 'DF' ][, mixed $radius = 2.5 ][, mixed $fill = '#FFFFFF' ][, mixed $color = '#000000' ][, mixed $pad = 2 ]) : mixed
Parameters
$text : mixed
$font : mixed = ''
$fontstyle : mixed = 'B'
$szfont : mixed = ''
$width : mixed = '70%'
$style : mixed = 'DF'
$radius : mixed = 2.5
$fill : mixed = '#FFFFFF'
$color : mixed = '#000000'
$pad : mixed = 2

shrinkTable()

public shrinkTable(mixed &$table, mixed $k) : mixed
Parameters
$table : mixed
$k : mixed

StartTransform()

public StartTransform([mixed $returnstring = false ]) : mixed
Parameters
$returnstring : mixed = false

StopTransform()

public StopTransform([mixed $returnstring = false ]) : mixed
Parameters
$returnstring : mixed = false

SubstituteChars()

public SubstituteChars(mixed $html) : mixed
Parameters
$html : mixed

SubstituteCharsMB()

public SubstituteCharsMB(mixed &$writehtml_a, mixed &$writehtml_i, mixed &$writehtml_e) : mixed
Parameters
$writehtml_a : mixed
$writehtml_i : mixed
$writehtml_e : mixed

SubstituteCharsNonCore()

If core font is selected in document which is not onlyCoreFonts - substitute with non-core font

public SubstituteCharsNonCore(mixed &$writehtml_a, mixed &$writehtml_i, mixed &$writehtml_e) : mixed
Parameters
$writehtml_a : mixed
$writehtml_i : mixed
$writehtml_e : mixed

SubstituteCharsSIP()

public SubstituteCharsSIP(mixed &$writehtml_a, mixed &$writehtml_i, mixed &$writehtml_e) : mixed
Parameters
$writehtml_a : mixed
$writehtml_i : mixed
$writehtml_e : mixed

SubstituteHiEntities()

public SubstituteHiEntities(mixed $html) : mixed
Parameters
$html : mixed

TableCheckMinWidth()

public TableCheckMinWidth(mixed $maxwidth[, mixed $forcewrap = 0 ][, mixed $textbuffer = [] ][, mixed $checkletter = false ]) : mixed
Parameters
$maxwidth : mixed
$forcewrap : mixed = 0
$textbuffer : mixed = []
$checkletter : mixed = false

TableHeaderFooter()

public TableHeaderFooter([mixed $content = '' ][, mixed $tablestartpage = '' ][, mixed $tablestartcolumn = '' ][, mixed $horf = 'H' ][, mixed $level = 0 ][, mixed $firstSpread = true ][, mixed $finalSpread = true ]) : mixed
Parameters
$content : mixed = ''
$tablestartpage : mixed = ''
$tablestartcolumn : mixed = ''
$horf : mixed = 'H'
$level : mixed = 0
$firstSpread : mixed = true
$finalSpread : mixed = true

tabs2spaces_callback()

public tabs2spaces_callback(mixed $matches) : mixed
Parameters
$matches : mixed

Text()

public Text(mixed $x, mixed $y, mixed $txt[, mixed $OTLdata = [] ][, mixed $textvar = 0 ][, mixed $aixextra = '' ][, mixed $coordsys = '' ][, mixed $return = false ]) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed
$OTLdata : mixed = []
$textvar : mixed = 0
$aixextra : mixed = ''
$coordsys : mixed = ''
$return : mixed = false

Thumbnail()

public Thumbnail(mixed $file[, mixed $npr = 3 ][, mixed $spacing = 10 ]) : mixed
Parameters
$file : mixed
$npr : mixed = 3
$spacing : mixed = 10

TOC()

Initiate, and Mark a place for the Table of Contents to be inserted

public TOC([mixed $tocfont = '' ][, mixed $tocfontsize = 0 ][, mixed $tocindent = 0 ][, mixed $resetpagenum = '' ][, mixed $pagenumstyle = '' ][, mixed $suppress = '' ][, mixed $toc_orientation = '' ][, mixed $TOCusePaging = true ][, mixed $TOCuseLinking = false ][, mixed $toc_id = 0 ][, mixed $tocoutdent = '' ]) : mixed
Parameters
$tocfont : mixed = ''
$tocfontsize : mixed = 0
$tocindent : mixed = 0
$resetpagenum : mixed = ''
$pagenumstyle : mixed = ''
$suppress : mixed = ''
$toc_orientation : mixed = ''
$TOCusePaging : mixed = true
$TOCuseLinking : mixed = false
$toc_id : mixed = 0
$tocoutdent : mixed = ''

TOC_Entry()

public TOC_Entry(mixed $txt[, mixed $level = 0 ][, mixed $toc_id = 0 ]) : mixed
Parameters
$txt : mixed
$level : mixed = 0
$toc_id : mixed = 0

TOCpagebreak()

public TOCpagebreak([mixed $tocfont = '' ][, mixed $tocfontsize = '' ][, mixed $tocindent = '' ][, mixed $TOCusePaging = true ][, mixed $TOCuseLinking = '' ][, mixed $toc_orientation = '' ][, mixed $toc_mgl = '' ][, mixed $toc_mgr = '' ][, mixed $toc_mgt = '' ][, mixed $toc_mgb = '' ][, mixed $toc_mgh = '' ][, mixed $toc_mgf = '' ][, mixed $toc_ohname = '' ][, mixed $toc_ehname = '' ][, mixed $toc_ofname = '' ][, mixed $toc_efname = '' ][, mixed $toc_ohvalue = 0 ][, mixed $toc_ehvalue = 0 ][, mixed $toc_ofvalue = 0 ][, mixed $toc_efvalue = 0 ][, mixed $toc_preHTML = '' ][, mixed $toc_postHTML = '' ][, mixed $toc_bookmarkText = '' ][, mixed $resetpagenum = '' ][, mixed $pagenumstyle = '' ][, mixed $suppress = '' ][, mixed $orientation = '' ][, mixed $mgl = '' ][, mixed $mgr = '' ][, mixed $mgt = '' ][, mixed $mgb = '' ][, mixed $mgh = '' ][, mixed $mgf = '' ][, mixed $ohname = '' ][, mixed $ehname = '' ][, mixed $ofname = '' ][, mixed $efname = '' ][, mixed $ohvalue = 0 ][, mixed $ehvalue = 0 ][, mixed $ofvalue = 0 ][, mixed $efvalue = 0 ][, mixed $toc_id = 0 ][, mixed $pagesel = '' ][, mixed $toc_pagesel = '' ][, mixed $sheetsize = '' ][, mixed $toc_sheetsize = '' ][, mixed $tocoutdent = '' ]) : mixed
Parameters
$tocfont : mixed = ''
$tocfontsize : mixed = ''
$tocindent : mixed = ''
$TOCusePaging : mixed = true
$TOCuseLinking : mixed = ''
$toc_orientation : mixed = ''
$toc_mgl : mixed = ''
$toc_mgr : mixed = ''
$toc_mgt : mixed = ''
$toc_mgb : mixed = ''
$toc_mgh : mixed = ''
$toc_mgf : mixed = ''
$toc_ohname : mixed = ''
$toc_ehname : mixed = ''
$toc_ofname : mixed = ''
$toc_efname : mixed = ''
$toc_ohvalue : mixed = 0
$toc_ehvalue : mixed = 0
$toc_ofvalue : mixed = 0
$toc_efvalue : mixed = 0
$toc_preHTML : mixed = ''
$toc_postHTML : mixed = ''
$toc_bookmarkText : mixed = ''
$resetpagenum : mixed = ''
$pagenumstyle : mixed = ''
$suppress : mixed = ''
$orientation : mixed = ''
$mgl : mixed = ''
$mgr : mixed = ''
$mgt : mixed = ''
$mgb : mixed = ''
$mgh : mixed = ''
$mgf : mixed = ''
$ohname : mixed = ''
$ehname : mixed = ''
$ofname : mixed = ''
$efname : mixed = ''
$ohvalue : mixed = 0
$ehvalue : mixed = 0
$ofvalue : mixed = 0
$efvalue : mixed = 0
$toc_id : mixed = 0
$pagesel : mixed = ''
$toc_pagesel : mixed = ''
$sheetsize : mixed = ''
$toc_sheetsize : mixed = ''
$tocoutdent : mixed = ''

TOCpagebreakByArray()

public TOCpagebreakByArray(mixed $a) : mixed
Parameters
$a : mixed

toFloat()

This function takes the last comma or dot (if any) to make a clean float, ignoring thousand separator, currency or any other letter

public toFloat(string $num) : float
Parameters
$num : string
Tags
see
http://php.net/manual/de/function.floatval.php#114486
Return values
float

transformRotate()

public transformRotate(mixed $angle[, mixed $x = '' ][, mixed $y = '' ][, mixed $returnstring = false ]) : mixed
Parameters
$angle : mixed
$x : mixed = ''
$y : mixed = ''
$returnstring : mixed = false

transformScale()

public transformScale(mixed $s_x, mixed $s_y[, mixed $x = '' ][, mixed $y = '' ][, mixed $returnstring = false ]) : mixed
Parameters
$s_x : mixed
$s_y : mixed
$x : mixed = ''
$y : mixed = ''
$returnstring : mixed = false

transformSkew()

mPDF 5.7.3 TRANSFORMS

public transformSkew(mixed $angle_x, mixed $angle_y[, mixed $x = '' ][, mixed $y = '' ][, mixed $returnstring = false ]) : mixed
Parameters
$angle_x : mixed
$angle_y : mixed
$x : mixed = ''
$y : mixed = ''
$returnstring : mixed = false

transformTranslate()

public transformTranslate(mixed $t_x, mixed $t_y[, mixed $returnstring = false ]) : mixed
Parameters
$t_x : mixed
$t_y : mixed
$returnstring : mixed = false

useImportedPage()

Draws an imported page onto the page.

public useImportedPage(mixed $pageId[, float|int|array<string|int, mixed> $x = 0 ][, float|int $y = 0 ][, float|int|null $width = null ][, float|int|null $height = null ][, bool $adjustPageSize = false ]) : array<string|int, mixed>

Omit one of the size parameters (width, height) to calculate the other one automatically in view to the aspect ratio.

Parameters
$pageId : mixed

The page id

$x : float|int|array<string|int, mixed> = 0

The abscissa of upper-left corner. Alternatively you could use an assoc array with the keys "x", "y", "width", "height", "adjustPageSize".

$y : float|int = 0

The ordinate of upper-left corner.

$width : float|int|null = null

The width.

$height : float|int|null = null

The height.

$adjustPageSize : bool = false
Tags
see
Fpdi::getTemplateSize()
Return values
array<string|int, mixed>

The size.

useTemplate()

Draws an imported page or a template onto the page or another template.

public useTemplate(mixed $tpl[, float|int|array<string|int, mixed> $x = 0 ][, float|int $y = 0 ][, float|int|null $width = null ][, float|int|null $height = null ][, bool $adjustPageSize = false ]) : array<string|int, mixed>

Omit one of the size parameters (width, height) to calculate the other one automatically in view to the aspect ratio.

Parameters
$tpl : mixed

The template id

$x : float|int|array<string|int, mixed> = 0

The abscissa of upper-left corner. Alternatively you could use an assoc array with the keys "x", "y", "width", "height", "adjustPageSize".

$y : float|int = 0

The ordinate of upper-left corner.

$width : float|int|null = null

The width.

$height : float|int|null = null

The height.

$adjustPageSize : bool = false
Tags
see
Fpdi::getTemplateSize()
Return values
array<string|int, mixed>

The size

UTF8StringToArray()

public UTF8StringToArray(mixed $str[, mixed $addSubset = true ]) : mixed
Parameters
$str : mixed
$addSubset : mixed = true

UTF8toSubset()

public UTF8toSubset(mixed $str) : mixed
Parameters
$str : mixed

watermark()

public watermark(mixed $texte[, mixed $angle = 45 ][, mixed $fontsize = 96 ][, mixed $alpha = 0.2 ]) : mixed
Parameters
$texte : mixed
$angle : mixed = 45
$fontsize : mixed = 96
$alpha : mixed = 0.2

watermarkImg()

public watermarkImg(mixed $src[, mixed $alpha = 0.2 ]) : mixed
Parameters
$src : mixed
$alpha : mixed = 0.2

Write()

public Write(mixed $h, mixed $txt[, mixed $currentx = 0 ][, mixed $link = '' ][, mixed $directionality = 'ltr' ][, mixed $align = '' ][, mixed $fill = 0 ]) : mixed
Parameters
$h : mixed
$txt : mixed
$currentx : mixed = 0
$link : mixed = ''
$directionality : mixed = 'ltr'
$align : mixed = ''
$fill : mixed = 0

WriteBarcode()

UPC/EAN barcode

public WriteBarcode(mixed $code[, mixed $showtext = 1 ][, mixed $x = '' ][, mixed $y = '' ][, mixed $size = 1 ][, mixed $border = 0 ][, mixed $paddingL = 1 ][, mixed $paddingR = 1 ][, mixed $paddingT = 2 ][, mixed $paddingB = 2 ][, mixed $height = 1 ][, mixed $bgcol = false ][, mixed $col = false ][, mixed $btype = 'ISBN' ][, mixed $supplement = '0' ][, mixed $supplement_code = '' ][, mixed $k = 1 ]) : mixed

EAN13, EAN8, UPCA, UPCE, ISBN, ISSN Accepts 12 or 13 digits with or without - hyphens

Parameters
$code : mixed
$showtext : mixed = 1
$x : mixed = ''
$y : mixed = ''
$size : mixed = 1
$border : mixed = 0
$paddingL : mixed = 1
$paddingR : mixed = 1
$paddingT : mixed = 2
$paddingB : mixed = 2
$height : mixed = 1
$bgcol : mixed = false
$col : mixed = false
$btype : mixed = 'ISBN'
$supplement : mixed = '0'
$supplement_code : mixed = ''
$k : mixed = 1

WriteBarcode2()

POSTAL and OTHER barcodes

public WriteBarcode2(mixed $code[, mixed $x = '' ][, mixed $y = '' ][, mixed $size = 1 ][, mixed $height = 1 ][, mixed $bgcol = false ][, mixed $col = false ][, mixed $btype = 'IMB' ][, mixed $print_ratio = '' ][, mixed $k = 1 ][, mixed $quiet_zone_left = null ][, mixed $quiet_zone_right = null ]) : mixed
Parameters
$code : mixed
$x : mixed = ''
$y : mixed = ''
$size : mixed = 1
$height : mixed = 1
$bgcol : mixed = false
$col : mixed = false
$btype : mixed = 'IMB'
$print_ratio : mixed = ''
$k : mixed = 1
$quiet_zone_left : mixed = null
$quiet_zone_right : mixed = null

WriteCell()

public WriteCell(mixed $w[, mixed $h = 0 ][, mixed $txt = '' ][, mixed $border = 0 ][, mixed $ln = 0 ][, mixed $align = '' ][, mixed $fill = 0 ][, mixed $link = '' ][, mixed $currentx = 0 ]) : mixed
Parameters
$w : mixed
$h : mixed = 0
$txt : mixed = ''
$border : mixed = 0
$ln : mixed = 0
$align : mixed = ''
$fill : mixed = 0
$link : mixed = ''
$currentx : mixed = 0

WriteFixedPosHTML()

public WriteFixedPosHTML(mixed $html, mixed $x, mixed $y, mixed $w, mixed $h[, mixed $overflow = 'visible' ][, mixed $bounding = [] ]) : mixed
Parameters
$html : mixed
$x : mixed
$y : mixed
$w : mixed
$h : mixed
$overflow : mixed = 'visible'
$bounding : mixed = []

WriteFlowingBlock()

public WriteFlowingBlock(mixed $s, mixed $sOTLdata) : mixed
Parameters
$s : mixed
$sOTLdata : mixed

WriteHTML()

Write HTML code to the document

public WriteHTML(string $html[, int $mode = HTMLParserMode::DEFAULT_MODE ][, bool $init = true ][, bool $close = true ]) : mixed

Also used internally to parse HTML into buffers

Parameters
$html : string
$mode : int = HTMLParserMode::DEFAULT_MODE

Use HTMLParserMode constants. Controls what parts of the $html code is parsed.

$init : bool = true

Clears and sets buffers to Top level block etc.

$close : bool = true

If false leaves buffers etc. in current state, so that it can continue a block etc.

writeHTMLFooters()

public writeHTMLFooters() : mixed

writeHTMLHeaders()

public writeHTMLHeaders() : mixed

WriteText()

public WriteText(mixed $x, mixed $y, mixed $txt) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed

_put()

protected _put(mixed $s[, mixed $newLine = true ]) : mixed
Parameters
$s : mixed
$newLine : mixed = true

aliasReplace()

protected aliasReplace(string $html, string $PAGENO, string $NbPgGp, string $NbPg) : string
Parameters
$html : string
$PAGENO : string
$NbPgGp : string
$NbPg : string
Return values
string

getNextTemplateId()

Get the next template id.

protected getNextTemplateId() : int
Return values
int

setMinPdfVersion()

Set the minimal PDF version.

protected setMinPdfVersion(string $pdfVersion) : mixed
Parameters
$pdfVersion : string

setPageFormat()

protected setPageFormat(mixed $format, mixed $orientation) : mixed
Parameters
$format : mixed
$orientation : mixed

filesInDir()

private filesInDir(mixed $directory) : mixed
Parameters
$directory : mixed

initConfig()

private initConfig(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>

initConstructorParams()

private initConstructorParams(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>

initFontConfig()

private initFontConfig(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>

        
On this page

Search results