-
$AliasNbPages
-
-
$author
-
-
$AutoPageBreak
-
-
AcceptPageBreak
-
Whenever a page break condition is met, the method is called, and the break is issued or not depending on the returned value. The default implementation returns a value according to the mode selected by SetAutoPageBreak().
-
AddFont
-
Imports a TrueType or Type1 font and makes it available. It is necessary to generate a font definition file first with the makefont.php utility. The definition file (and the font file itself when embedding) must be present either in the current directory or in the one indicated by FPDF_FONTPATH if the constant is defined. If it could not be found, the error "Could not include font definition file" is generated.
-
addHtmlLink
-
Output anchor link.
-
AddLink
-
Creates a new internal link and returns its identifier. An internal link is a clickable area which directs to another place within the document.
The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is defined with SetLink().
-
AddPage
-
Adds a new page to the document. If a page is already present, the Footer() method is called first to output the footer. Then the page is added, the current position set to the top-left corner according to the left and top margins, and Header() is called to display the header.
-
AliasNbPages
-
Defines an alias for the total number of pages. It will be substituted as the document is closed.
-
$cMargin
-
-
$ColorFlag
-
-
$compress
-
-
$CoreFonts
-
-
$creator
-
-
$CurOrientation
-
-
$CurrentFont
-
-
C39Object
-
Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.
-
C128AObject
-
Code 128-A Barcode Render Class for PHP using the GD graphics library.
Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters.
-
C128BObject
-
Code 128-B Barcode Render Class for PHP using the GD graphics library.
Code 128-B is a continuous, multilevel and full ASCII code.
-
C128CObject
-
Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency.
-
Cell
-
Prints a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.
If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.
-
Close
-
Terminates the PDF document. It is not necessary to call this method explicitly because Output() does it automatically. If the document contains no page, AddPage() is called to prevent from getting an invalid document.
-
closedHTMLTagHandler
-
Process closing tags.
-
convertColorHexToDec
-
Returns an associative array (keys: R,G,B) from a hex html code (e.g. #3FE5AA).
-
GetBarSize
-
Returns the bar size.
-
GetBarSize
-
Returns the bar size.
-
GetBarSize
-
Returns the bar size.
-
getBreakMargin
-
Returns the page break margin.
-
GetCharIndex
-
Returns the character index.
-
GetCharIndex
-
Returns the character index.
-
GetCharIndex
-
Returns the character index.
-
GetCharIndex
-
Returns the character index.
-
GetCheckCharValue
-
Returns the check-char value.
-
GetCheckCharValue
-
Returns the check-char value.
-
GetCheckCharValue
-
Returns the check-char value.
-
GetError
-
Returns the current error message.
-
GetFontHeight
-
Returns the font height.
-
GetFontWidth
-
Returns the font width.
-
getImage
-
Returns the image object.
-
getImageScale
-
Returns the image scale.
-
getPageHeight
-
Returns the page height in units.
-
getPageWidth
-
Returns the page width in units.
-
getPDFData
-
Returns the PDF data.
-
getScaleFactor
-
Returns the scale factor (number of points in user unit).
-
GetSize
-
Returns barcode size.
-
GetSize
-
Returns barcode size.
-
GetSize
-
Returns barcode size.
-
GetSize
-
Returns barcode size.
-
GetSize
-
Returns barcode size.
-
GetStringWidth
-
Returns the length of a string in user unit. A font must be selected.
-
GetStyle
-
Returns barcode style.
-
GetX
-
Returns the abscissa of the current position.
-
GetY
-
Returns the ordinate of the current position.
-
$state
-
-
$subject
-
-
SetAuthor
-
Defines the author of the document.
-
SetAutoPageBreak
-
Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.
-
setBarcode
-
Set document barcode.
-
SetCompression
-
Activates or deactivates page compression. When activated, the internal representation of each page is compressed, which leads to a compression ratio of about 2 for the resulting document. Compression is on by default.
-
SetCreator
-
Defines the creator of the document. This is typically the name of the application that generates the PDF.
-
SetDisplayMode
-
Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat). The page layout can be specified too: single at once, continuous display, two columns or viewer default. By default, documents use the full width mode with continuous display.
-
SetDrawColor
-
Defines the color used for all drawing operations (lines, rectangles and cell borders). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
-
SetFillColor
-
Defines the color used for all filling operations (filled rectangles and cell backgrounds). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
-
SetFont
-
Set font type.
-
SetFont
-
Sets the font used to print character strings. It is mandatory to call this method at least once before printing text or the resulting document would not be valid.
-
SetFontSize
-
Defines the size of the current font.
-
setFooterFont
-
Set footer font.
-
setFooterMargin
-
Set footer margin.
-
setHeaderData
-
Set header data.
-
setHeaderFont
-
Set header font.
-
setHeaderMargin
-
Set header margin.
-
setImageScale
-
Set the image scale.
-
SetKeywords
-
Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.
-
setLanguageArray
-
Set language array.
-
SetLeftMargin
-
Defines the left margin. The method can be called before creating the first page. If the current abscissa gets out of page, it is brought back to the margin.
-
SetLineWidth
-
Defines the line width. By default, the value equals 0.2 mm. The method can be called before the first page is created and the value is retained from page to page.
-
SetLink
-
Defines the page and position a link points to
-
SetMargins
-
Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change them.
-
setPrintFooter
-
Set a flag to print page footer.
-
setPrintHeader
-
Set a flag to print page header.
-
SetRightMargin
-
Defines the right margin. The method can be called before creating the first page.
-
SetStyle
-
Set barcode style.
-
setStyle
-
Sets font style.
-
SetSubject
-
Defines the subject of the document.
-
SetTextColor
-
Defines the color used for text. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
-
SetTitle
-
Defines the title of the document.
-
SetTopMargin
-
Defines the top margin. The method can be called before creating the first page.
-
SetX
-
Defines the abscissa of the current position. If the passed value is negative, it is relative to the right of the page.
-
SetXY
-
Defines the abscissa and ordinate of the current position. If the passed values are negative, they are relative respectively to the right and bottom of the page.
-
SetY
-
Moves the current abscissa back to the left margin and sets the ordinate. If the passed value is negative, it is relative to the bottom of the page.