|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Static methods used by the TCPDF class. More...
Collaboration diagram for TCPDF_STATIC:Static Public Member Functions | |
| static | getTCPDFVersion () |
| Return the current TCPDF version. More... | |
| static | getTCPDFProducer () |
| Return the current TCPDF producer. More... | |
| static | set_mqr ($mqr) |
| Sets the current active configuration setting of magic_quotes_runtime (if the set_magic_quotes_runtime function exist) More... | |
| static | get_mqr () |
| Gets the current active configuration setting of magic_quotes_runtime (if the get_magic_quotes_runtime function exist) More... | |
| static | isValidURL ($url) |
| Check if the URL exist. More... | |
| static | removeSHY ($txt='', $unicode=true) |
| Removes SHY characters from text. More... | |
| static | getBorderMode ($brd, $position='start', $opencell=true) |
| Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages) More... | |
| static | empty_string ($str) |
| Determine whether a string is empty. More... | |
| static | getObjFilename ($type='tmp', $file_id='') |
| Returns a temporary filename for caching object on filesystem. More... | |
| static | _escape ($s) |
| Add "\" before "", "(" and ")". More... | |
| static | _escapeXML ($str) |
| Escape some special characters (< > &) for XML output. More... | |
| static | objclone ($object) |
| Creates a copy of a class object. More... | |
| static | sendOutputData ($data, $length) |
| Output input data and compress it if possible. More... | |
| static | replacePageNumAliases ($page, $replace, $diff=0) |
| Replace page number aliases with number. More... | |
| static | getTimestamp ($date) |
| Returns timestamp in seconds from formatted date-time. More... | |
| static | getFormattedDate ($time) |
| Returns a formatted date-time. More... | |
| static | getRandomSeed ($seed='') |
| Returns a string containing random data to be used as a seed for encryption methods. More... | |
| static | _md5_16 ($str) |
| Encrypts a string using MD5 and returns it's value as a binary string. More... | |
| static | _AES ($key, $text) |
| Returns the input text exrypted using AES algorithm and the specified key. More... | |
| static | _AESnopad ($key, $text) |
| Returns the input text exrypted using AES algorithm and the specified key. More... | |
| static | _RC4 ($key, $text, &$last_enc_key, &$last_enc_key_c) |
| Returns the input text encrypted using RC4 algorithm and the specified key. More... | |
| static | getUserPermissionCode ($permissions, $mode=0) |
| Return the permission code used on encryption (P value). More... | |
| static | convertHexStringToString ($bs) |
| Convert hexadecimal string to string. More... | |
| static | convertStringToHexString ($s) |
| Convert string to hexadecimal string (byte string) More... | |
| static | getEncPermissionsString ($protection) |
| Convert encryption P value to a string of bytes, low-order byte first. More... | |
| static | encodeNameObject ($name) |
| Encode a name object. More... | |
| static | getAnnotOptFromJSProp ($prop, &$spot_colors, $rtl=false) |
| Convert JavaScript form fields properties array to Annotation Properties array. More... | |
| static | formatPageNumber ($num) |
| Format the page numbers. More... | |
| static | formatTOCPageNumber ($num) |
| Format the page numbers on the Table Of Content. More... | |
| static | extractCSSproperties ($cssdata) |
| Extracts the CSS properties from a CSS string. More... | |
| static | fixHTMLCode ($html, $default_css='', $tagvs='', $tidy_options='', &$tagvspaces) |
| Cleanup HTML code (requires HTML Tidy library). More... | |
| static | isValidCSSSelectorForTag ($dom, $key, $selector) |
| Returns true if the CSS selector is valid for the selected HTML tag. More... | |
| static | getCSSdataArray ($dom, $key, $css) |
| Returns the styles array that apply for the selected HTML tag. More... | |
| static | getTagStyleFromCSSarray ($css) |
| Compact CSS data array into single string. More... | |
| static | intToRoman ($number) |
| Returns the Roman representation of an integer number. More... | |
| static | revstrpos ($haystack, $needle, $offset=0) |
| Find position of last occurrence of a substring in a string. More... | |
| static | getHyphenPatternsFromTEX ($file) |
| Returns an array of hyphenation patterns. More... | |
| static | getPathPaintOperator ($style, $default='S') |
| Get the Path-Painting Operators. More... | |
| static | getTransformationMatrixProduct ($ta, $tb) |
| Get the product of two SVG tranformation matrices. More... | |
| static | getSVGTransformMatrix ($attribute) |
| Get the tranformation matrix from SVG transform attribute. More... | |
| static | getVectorsAngle ($x1, $y1, $x2, $y2) |
| Returns the angle in radiants between two vectors. More... | |
| static | pregSplit ($pattern, $modifiers, $subject, $limit=NULL, $flags=NULL) |
| Split string by a regular expression. More... | |
| static | fopenLocal ($filename, $mode) |
| Wrapper to use fopen only with local files. More... | |
| static | fileGetContents ($file) |
| Reads entire file into a string. More... | |
| static | _getULONG ($str, $offset) |
| Get ULONG from string (Big Endian 32-bit unsigned integer). More... | |
| static | _getUSHORT ($str, $offset) |
| Get USHORT from string (Big Endian 16-bit unsigned integer). More... | |
| static | _getSHORT ($str, $offset) |
| Get SHORT from string (Big Endian 16-bit signed integer). More... | |
| static | _getFWORD ($str, $offset) |
| Get FWORD from string (Big Endian 16-bit signed integer). More... | |
| static | _getUFWORD ($str, $offset) |
| Get UFWORD from string (Big Endian 16-bit unsigned integer). More... | |
| static | _getFIXED ($str, $offset) |
| Get FIXED from string (32-bit signed fixed-point number (16.16). More... | |
| static | _getBYTE ($str, $offset) |
| Get BYTE from string (8-bit unsigned integer). More... | |
| static | rfread ($handle, $length) |
| Binary-safe and URL-safe file read. More... | |
| static | _freadint ($f) |
| Read a 4-byte (32 bit) integer from file. More... | |
| static | getPageSizeFromFormat ($format) |
| Get page dimensions from format name. More... | |
| static | setPageBoxes ($page, $type, $llx, $lly, $urx, $ury, $points=false, $k, $pagedim=array()) |
| Set page boundaries. More... | |
| static | swapPageBoxCoordinates ($page, $pagedim) |
| Swap X and Y coordinates of page boxes (change page boxes orientation). More... | |
| static | getPageLayoutMode ($layout='SinglePage') |
| Get the canonical page layout mode. More... | |
| static | getPageMode ($mode='UseNone') |
| Get the canonical page layout mode. More... | |
Static Public Attributes | |
| static | $alias_tot_pages = '{:ptp:}' |
| String alias for total number of pages. More... | |
| static | $alias_num_page = '{:pnp:}' |
| String alias for page number. More... | |
| static | $alias_group_tot_pages = '{:ptg:}' |
| String alias for total number of pages in a single group. More... | |
| static | $alias_group_num_page = '{:png:}' |
| String alias for group page number. More... | |
| static | $alias_right_shift = '{rsc:' |
| String alias for right shift compensation used to correctly align page numbers on the right. More... | |
| static | $enc_padding = "\x28\xBF\x4E\x5E\x4E\x75\x8A\x41\x64\x00\x4E\x56\xFF\xFA\x01\x08\x2E\x2E\x00\xB6\xD0\x68\x3E\x80\x2F\x0C\xA9\xFE\x64\x53\x69\x7A" |
| Encryption padding string. More... | |
| static | $byterange_string = '/ByteRange[0 ********** ********** **********]' |
| ByteRange placemark used during digital signature process. More... | |
| static | $pageboxes = array('MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox') |
| Array page boxes names static. More... | |
| static | $page_formats |
| Array of page formats measures are calculated in this way: (inches * 72) or (millimeters * 72 / 25.4) static. More... | |
Static Private Attributes | |
| static | $tcpdf_version = '6.2.12' |
| Current TCPDF version. More... | |
Static methods used by the TCPDF class.
Definition at line 52 of file tcpdf_static.php.
|
static |
Returns the input text exrypted using AES algorithm and the specified key.
This method requires openssl or mcrypt. Text is padded to 16bytes blocks
| $key | (string) encryption key |
| $text | (String) input text to be encrypted |
Definition at line 444 of file tcpdf_static.php.
Referenced by TCPDF\_encrypt_data().
Here is the caller graph for this function:
|
static |
Returns the input text exrypted using AES algorithm and the specified key.
This method requires openssl or mcrypt. Text is not padded
| $key | (string) encryption key |
| $text | (String) input text to be encrypted |
Definition at line 469 of file tcpdf_static.php.
Referenced by TCPDF\_generateencryptionkey(), TCPDF\_OEvalue(), and TCPDF\_UEvalue().
Here is the caller graph for this function:
|
static |
Add "\" before "", "(" and ")".
| $s | (string) string to escape. |
Definition at line 305 of file tcpdf_static.php.
References $s.
Referenced by TCPDF\_datastring(), TCPDF\getCellCode(), and TCPDF\getInternalPageNumberAliases().
Here is the caller graph for this function:
|
static |
Escape some special characters (< > &) for XML output.
| $str | (string) Input string to convert. |
Definition at line 317 of file tcpdf_static.php.
Referenced by TCPDF\_putXMP().
Here is the caller graph for this function:
|
static |
Read a 4-byte (32 bit) integer from file.
| $f | (string) file name. |
Definition at line 2086 of file tcpdf_static.php.
Referenced by TCPDF_IMAGES\_parsepng().
Here is the caller graph for this function:
|
static |
Get BYTE from string (8-bit unsigned integer).
| $str | (string) String from where to extract value. |
| $offset | (int) Point from where to read the data. |
Definition at line 2054 of file tcpdf_static.php.
Referenced by TCPDF_FONTS\_getTrueTypeFontSubset(), and TCPDF_FONTS\addTTFfont().
Here is the caller graph for this function:
|
static |
Get FIXED from string (32-bit signed fixed-point number (16.16).
| $str | (string) string from where to extract value |
| $offset | (int) point from where to read the data |
Definition at line 2036 of file tcpdf_static.php.
References $m, _getFWORD(), and _getUSHORT().
Referenced by TCPDF_FONTS\addTTFfont().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get FWORD from string (Big Endian 16-bit signed integer).
| $str | (string) String from where to extract value. |
| $offset | (int) Point from where to read the data. |
Definition at line 2005 of file tcpdf_static.php.
References _getUSHORT().
Referenced by _getFIXED(), and TCPDF_FONTS\addTTFfont().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get SHORT from string (Big Endian 16-bit signed integer).
| $str | (string) String from where to extract value. |
| $offset | (int) Point from where to read the data. |
Definition at line 1991 of file tcpdf_static.php.
Referenced by TCPDF_FONTS\_getTrueTypeFontSubset(), and TCPDF_FONTS\addTTFfont().
Here is the caller graph for this function:
|
static |
Get UFWORD from string (Big Endian 16-bit unsigned integer).
| $str | (string) string from where to extract value |
| $offset | (int) point from where to read the data |
Definition at line 2022 of file tcpdf_static.php.
References _getUSHORT().
Referenced by TCPDF_FONTS\addTTFfont().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get ULONG from string (Big Endian 32-bit unsigned integer).
| $str | (string) string from where to extract value |
| $offset | (int) point from where to read the data |
Definition at line 1963 of file tcpdf_static.php.
Referenced by TCPDF_FONTS\_getTrueTypeFontSubset(), and TCPDF_FONTS\addTTFfont().
Here is the caller graph for this function:
|
static |
Get USHORT from string (Big Endian 16-bit unsigned integer).
| $str | (string) string from where to extract value |
| $offset | (int) point from where to read the data |
Definition at line 1977 of file tcpdf_static.php.
Referenced by _getFIXED(), _getFWORD(), TCPDF_FONTS\_getTrueTypeFontSubset(), _getUFWORD(), TCPDF_IMAGES\_parsejpeg(), and TCPDF_FONTS\addTTFfont().
Here is the caller graph for this function:
|
static |
Encrypts a string using MD5 and returns it's value as a binary string.
| $str | (string) input string |
Definition at line 430 of file tcpdf_static.php.
Referenced by TCPDF\_generateencryptionkey(), TCPDF\_objectkey(), TCPDF\_Ovalue(), and TCPDF\_Uvalue().
Here is the caller graph for this function:
|
static |
Returns the input text encrypted using RC4 algorithm and the specified key.
RC4 is the standard encryption algorithm used in PDF format
| $key | (string) Encryption key. |
| $text | (String) Input text to be encrypted. |
| $last_enc_key | (String) Reference to last RC4 key encrypted. |
| $last_enc_key_c | (String) Reference to last RC4 computed key. |
Definition at line 492 of file tcpdf_static.php.
References $i, $key, $out, $t, and $text.
Referenced by TCPDF\_encrypt_data(), TCPDF\_Ovalue(), and TCPDF\_Uvalue().
Here is the caller graph for this function:
|
static |
Convert hexadecimal string to string.
| $bs | (string) byte-string to convert |
Definition at line 573 of file tcpdf_static.php.
References $i.
Referenced by TCPDF\SetProtection().
Here is the caller graph for this function:
|
static |
Convert string to hexadecimal string (byte string)
| $s | (string) string to convert |
Definition at line 595 of file tcpdf_static.php.
|
static |
Determine whether a string is empty.
| $str | (string) string to be checked |
Definition at line 283 of file tcpdf_static.php.
Referenced by TCPDF\_beginpage(), TCPDF\_putcatalog(), TCPDF\_putfonts(), TCPDF\_putinfo(), TCPDF\_putsignature(), TCPDF\_puttruetypeunicode(), TCPDF\_putviewerpreferences(), TCPDF\AddFont(), TCPDF\addHTMLTOC(), TCPDF\addTOC(), TCPDF\Annotation(), TCPDF\checkPageBreak(), TCPDF\drawHTMLTagBorder(), TCPDF\Ellipse(), TCPDF\GetArrStringWidth(), TCPDF\getCellCode(), TCPDF\getHtmlDomArray(), getHyphenPatternsFromTEX(), TCPDF_IMAGES\getImageFileType(), TCPDF\getNumLines(), TCPDF\hyphenateText(), TCPDF\isCharDefined(), TCPDF\MultiCell(), TCPDF\openHTMLTagHandler(), TCPDF\putHtmlListBullet(), TCPDF\RadioButton(), TCPDF\replaceMissingChars(), TCPDF\selectColumn(), TCPDF\setAlpha(), TCPDF\setDestination(), TCPDF\setEqualColumns(), TCPDF\setGraphicVars(), TCPDF\setOverprint(), TCPDF\setPageOrientation(), TCPDF\setTableHeader(), TCPDF\startSVGElementHandler(), TCPDF_FONTS\utf8Bidi(), TCPDF\write1DBarcode(), TCPDF\write2DBarcode(), and TCPDF\writeHTML().
Here is the caller graph for this function:
|
static |
Encode a name object.
| $name | (string) Name object to encode. |
Definition at line 629 of file tcpdf_static.php.
References $i, $name, and sprintf.
Referenced by TCPDF\setDestination().
Here is the caller graph for this function:
|
static |
Extracts the CSS properties from a CSS string.
| $cssdata | (string) string containing CSS definitions. |
Definition at line 1043 of file tcpdf_static.php.
References $d, $key, and $type.
Referenced by TCPDF\getHtmlDomArray().
Here is the caller graph for this function:
|
static |
Reads entire file into a string.
The file can be also an URL.
| $file | (string) Name of the file or URL to read. |
Definition at line 1866 of file tcpdf_static.php.
References $_SERVER, $file, $path, GuzzleHttp\Psr7\$protocol, $ret, and $url.
Referenced by TCPDF\_putEmbeddedFiles(), TCPDF\getHtmlDomArray(), TCPDF\Image(), TCPDF\ImageEps(), and TCPDF\ImageSVG().
Here is the caller graph for this function:
|
static |
Cleanup HTML code (requires HTML Tidy library).
| $html | (string) htmlcode to fix |
| $default_css | (string) CSS commands to add |
| $tagvs | (array) parameters for setHtmlVSpace method |
| $tidy_options | (array) options for tidy_parse_string function |
| $tagvspaces | (array) Array of vertical spaces for tags. |
Definition at line 1139 of file tcpdf_static.php.
References $html.
Referenced by TCPDF\fixHTMLCode().
Here is the caller graph for this function:
|
static |
Wrapper to use fopen only with local files.
| filename | (string) Name of the file to open |
| $mode | (string) |
Definition at line 1848 of file tcpdf_static.php.
References $filename.
Referenced by TCPDF\_generateencryptionkey(), TCPDF_FONTS\addTTFfont(), TCPDF\Image(), and TCPDF\Output().
Here is the caller graph for this function:
|
static |
Format the page numbers.
This method can be overriden for custom formats.
| $num | (int) page number |
Definition at line 1019 of file tcpdf_static.php.
Referenced by TCPDF\_putpages(), TCPDF\getGroupPageNoFormatted(), and TCPDF\PageNoFormatted().
Here is the caller graph for this function:
|
static |
Format the page numbers on the Table Of Content.
This method can be overriden for custom formats.
| $num | (int) page number |
Definition at line 1031 of file tcpdf_static.php.
Referenced by TCPDF\addHTMLTOC(), and TCPDF\addTOC().
Here is the caller graph for this function:
|
static |
Gets the current active configuration setting of magic_quotes_runtime (if the get_magic_quotes_runtime function exist)
Definition at line 153 of file tcpdf_static.php.
References $version, and defined.
Referenced by TCPDF\_putfonts(), and TCPDF\Image().
Here is the caller graph for this function:
|
static |
Convert JavaScript form fields properties array to Annotation Properties array.
| $prop | (array) javascript field properties. Possible values are described on official Javascript for Acrobat API reference. |
| $spot_colors | (array) Reference to spot colors array. |
| $rtl | (boolean) True if in Right-To-Left text direction mode, false otherwise. |
Definition at line 653 of file tcpdf_static.php.
References $key, and TCPDF_COLORS\convertHTMLColorToDec().
Referenced by TCPDF\Button(), TCPDF\RadioButton(), and TCPDF\TextField().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages)
| $brd | (mixed) Indicates if borders must be drawn around the cell block. The value can be a number:
|
| $position | (string) multicell position: 'start', 'middle', 'end' |
| $opencell | (boolean) True when the cell is left open at the page bottom, false otherwise. |
Definition at line 211 of file tcpdf_static.php.
References $border, $i, and $style.
Referenced by TCPDF\drawHTMLTagBorder(), and TCPDF\MultiCell().
Here is the caller graph for this function:
|
static |
Returns the styles array that apply for the selected HTML tag.
| $dom | (array) array of HTML tags and properties |
| $key | (int) key of the current HTML tag |
| $css | (array) array of CSS properties |
Definition at line 1365 of file tcpdf_static.php.
References $key, $style, and sprintf.
Referenced by TCPDF\getHtmlDomArray().
Here is the caller graph for this function:
|
static |
Convert encryption P value to a string of bytes, low-order byte first.
| $protection | (string) 32bit encryption permission value (P value) |
Definition at line 612 of file tcpdf_static.php.
References sprintf.
Referenced by TCPDF\_generateencryptionkey().
Here is the caller graph for this function:
|
static |
Returns a formatted date-time.
| $time | (int) Time in seconds. |
Definition at line 395 of file tcpdf_static.php.
Referenced by TCPDF\_datestring(), and TCPDF\_putXMP().
Here is the caller graph for this function:
|
static |
Returns an array of hyphenation patterns.
| $file | (string) TEX file containing hypenation patterns. TEX pattrns can be downloaded from http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/ |
Definition at line 1522 of file tcpdf_static.php.
References $data, $file, $key, and empty_string().
Referenced by TCPDF\hyphenateText().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Returns a temporary filename for caching object on filesystem.
| $type | (string) Type of file (name of the subdir on the tcpdf cache folder). |
| $file_id | (string) TCPDF file_id. |
Definition at line 295 of file tcpdf_static.php.
References $type, getRandomSeed(), and K_PATH_CACHE.
Referenced by TCPDF\_generateencryptionkey(), TCPDF\Image(), and TCPDF\Output().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get the canonical page layout mode.
| $layout | (string) The page layout. Possible values are:
|
Definition at line 2525 of file tcpdf_static.php.
References $layout.
Referenced by TCPDF\SetDisplayMode().
Here is the caller graph for this function:
|
static |
Get the canonical page layout mode.
| $mode | (string) A name object specifying how the document should be displayed when opened:
|
Definition at line 2568 of file tcpdf_static.php.
Referenced by TCPDF\SetDisplayMode().
Here is the caller graph for this function:
|
static |
Get page dimensions from format name.
| $format | (mixed) The format name |
Definition at line 2456 of file tcpdf_static.php.
References $format.
Referenced by TCPDF\setPageFormat().
Here is the caller graph for this function:
|
static |
Get the Path-Painting Operators.
| $style | (string) Style of rendering. Possible values are:
|
| $default | (string) default style |
Definition at line 1568 of file tcpdf_static.php.
References $style, and getPathPaintOperator().
Referenced by TCPDF\Curve(), TCPDF\Ellipse(), getPathPaintOperator(), TCPDF\PieSectorXY(), TCPDF\Polycurve(), TCPDF\Polygon(), TCPDF\Rect(), TCPDF\RoundedRectXY(), and TCPDF\SVGPath().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Returns a string containing random data to be used as a seed for encryption methods.
| $seed | (string) starting seed value |
Definition at line 407 of file tcpdf_static.php.
Referenced by TCPDF\__construct(), TCPDF\_generateencryptionkey(), TCPDF\_Ovalue(), TCPDF\_Uvalue(), getObjFilename(), and TCPDF\SetProtection().
Here is the caller graph for this function:
|
static |
Get the tranformation matrix from SVG transform attribute.
| $attribute | (string) transformation |
Definition at line 1666 of file tcpdf_static.php.
References $d, $data, $key, $x, $y, and getTransformationMatrixProduct().
Referenced by TCPDF\startSVGElementHandler().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Compact CSS data array into single string.
| $css | (array) array of CSS properties |
Definition at line 1410 of file tcpdf_static.php.
References $style.
Referenced by TCPDF\getHtmlDomArray().
Here is the caller graph for this function:
|
static |
Return the current TCPDF producer.
Definition at line 127 of file tcpdf_static.php.
Referenced by TCPDF\_putinfo(), and TCPDF\_putXMP().
Here is the caller graph for this function:
|
static |
Return the current TCPDF version.
Definition at line 117 of file tcpdf_static.php.
References $tcpdf_version.
|
static |
Returns timestamp in seconds from formatted date-time.
| $date | (string) Formatted date-time. |
Definition at line 380 of file tcpdf_static.php.
Referenced by TCPDF\setDocCreationTimestamp(), and TCPDF\setDocModificationTimestamp().
Here is the caller graph for this function:
|
static |
Get the product of two SVG tranformation matrices.
| $ta | (array) first SVG tranformation matrix |
| $tb | (array) second SVG tranformation matrix |
Definition at line 1647 of file tcpdf_static.php.
Referenced by getSVGTransformMatrix(), TCPDF\printTemplate(), and TCPDF\startSVGElementHandler().
Here is the caller graph for this function:
|
static |
Return the permission code used on encryption (P value).
| $permissions | (Array) the set of permissions (specify the ones you want to block). |
| $mode | (int) encryption strength: 0 = RC4 40 bit; 1 = RC4 128 bit; 2 = AES 128 bit; 3 = AES 256 bit. |
Definition at line 536 of file tcpdf_static.php.
References $options.
Referenced by TCPDF\_generateencryptionkey(), and TCPDF\SetProtection().
Here is the caller graph for this function:
|
static |
Returns the angle in radiants between two vectors.
| $x1 | (int) X coordinate of first vector point |
| $y1 | (int) Y coordinate of first vector point |
| $x2 | (int) X coordinate of second vector point |
| $y2 | (int) Y coordinate of second vector point |
Definition at line 1763 of file tcpdf_static.php.
References $angle.
Referenced by TCPDF\SVGPath().
Here is the caller graph for this function:
|
static |
Returns the Roman representation of an integer number.
| $number | (int) number to convert |
Definition at line 1441 of file tcpdf_static.php.
Referenced by TCPDF\putHtmlListBullet().
Here is the caller graph for this function:
|
static |
Returns true if the CSS selector is valid for the selected HTML tag.
| $dom | (array) array of HTML tags and properties |
| $key | (int) key of the current HTML tag |
| $selector | (string) CSS selector string |
Definition at line 1205 of file tcpdf_static.php.
References $attrib, $i, $id, $key, $tag, $valid, and isValidCSSSelectorForTag().
Referenced by isValidCSSSelectorForTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if the URL exist.
| $url | (string) URL to check. |
Definition at line 171 of file tcpdf_static.php.
References $url.
Referenced by TCPDF\Annotation().
Here is the caller graph for this function:
|
static |
Creates a copy of a class object.
| $object | (object) class object to be cloned |
Definition at line 330 of file tcpdf_static.php.
Referenced by TCPDF\ImagePngAlpha(), and TCPDF\startTransaction().
Here is the caller graph for this function:
|
static |
Split string by a regular expression.
This is a wrapper for the preg_split function to avoid the bug: https://bugs.php.net/bug.php?id=45850
| $pattern | (string) The regular expression pattern to search for without the modifiers, as a string. |
| $modifiers | (string) The modifiers part of the pattern, |
| $subject | (string) The input string. |
| $limit | (int) If specified, then only substrings up to limit are returned with the rest of the string being placed in the last substring. A limit of -1, 0 or NULL means "no limit" and, as is standard across PHP, you can use NULL to skip to the flags parameter. |
| $flags | (int) The flags as specified on the preg_split PHP function. |
Definition at line 1823 of file tcpdf_static.php.
References $ret.
Referenced by TCPDF_FONTS\UTF8StringToArray(), TCPDF\Write(), and TCPDF\writeHTML().
Here is the caller graph for this function:
|
static |
Removes SHY characters from text.
Unicode Data:
| $txt | (string) input string |
| $unicode | (boolean) True if we are in unicode mode, false otherwise. |
Definition at line 193 of file tcpdf_static.php.
References $txt.
Referenced by TCPDF\getCellCode().
Here is the caller graph for this function:
|
static |
Replace page number aliases with number.
| $page | (string) Page content. |
| $replace | (array) Array of replacements (array keys are replacement strings, values are alias arrays). |
| $diff | (int) If passed, this will be set to the total char number difference between alias and replacements. |
Definition at line 361 of file tcpdf_static.php.
Referenced by TCPDF\_putpages().
Here is the caller graph for this function:
|
static |
Find position of last occurrence of a substring in a string.
| $haystack | (string) The string to search in. |
| $needle | (string) substring to search. |
| $offset | (int) May be specified to begin searching an arbitrary number of characters into the string. |
Definition at line 1507 of file tcpdf_static.php.
Referenced by TCPDF\writeHTML().
Here is the caller graph for this function:
|
static |
Binary-safe and URL-safe file read.
Reads up to length bytes from the file pointer referenced by handle. Reading stops as soon as one of the following conditions is met: length bytes have been read; EOF (end of file) is reached.
| $handle | (resource) |
| $length | (int) |
Definition at line 2068 of file tcpdf_static.php.
References $data, $rest, and rfread().
Referenced by TCPDF_IMAGES\_parsepng(), and rfread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Output input data and compress it if possible.
| $data | (string) Data to output. |
| $length | (int) Data length in bytes. |
Definition at line 345 of file tcpdf_static.php.
References $_SERVER, and $data.
Referenced by TCPDF\Output().
Here is the caller graph for this function:
|
static |
Sets the current active configuration setting of magic_quotes_runtime (if the set_magic_quotes_runtime function exist)
| $mqr | (boolean) FALSE for off, TRUE for on. |
Definition at line 137 of file tcpdf_static.php.
References $version, and defined.
Referenced by TCPDF\_putfonts(), and TCPDF\Image().
Here is the caller graph for this function:
|
static |
Set page boundaries.
| $page | (int) page number |
| $type | (string) valid values are:
|
| $llx | (float) lower-left x coordinate in user units. |
| $lly | (float) lower-left y coordinate in user units. |
| $urx | (float) upper-right x coordinate in user units. |
| $ury | (float) upper-right y coordinate in user units. |
| $points | (boolean) If true uses user units as unit of measure, otherwise uses PDF points. |
| $k | (float) Scale factor (number of points in user unit). |
| $pagedim | (array) Array of page dimensions. |
Definition at line 2478 of file tcpdf_static.php.
References $type.
Referenced by TCPDF\setPageFormat(), and TCPDF\setPageOrientation().
Here is the caller graph for this function:
|
static |
Swap X and Y coordinates of page boxes (change page boxes orientation).
| $page | (int) page number |
| $pagedim | (array) Array of page dimensions. |
Definition at line 2504 of file tcpdf_static.php.
References $type.
Referenced by TCPDF\setPageOrientation().
Here is the caller graph for this function:
|
static |
String alias for group page number.
static
Definition at line 82 of file tcpdf_static.php.
Referenced by TCPDF\getAllInternalPageNumberAliases(), and TCPDF\getPageNumGroupAlias().
|
static |
String alias for total number of pages in a single group.
static
Definition at line 76 of file tcpdf_static.php.
Referenced by TCPDF\getAllInternalPageNumberAliases(), and TCPDF\getPageGroupAlias().
|
static |
String alias for page number.
static
Definition at line 70 of file tcpdf_static.php.
Referenced by TCPDF\getAliasNumPage(), TCPDF\getAliasRightShift(), and TCPDF\getAllInternalPageNumberAliases().
|
static |
String alias for right shift compensation used to correctly align page numbers on the right.
static
Definition at line 88 of file tcpdf_static.php.
Referenced by TCPDF\getAliasRightShift(), and TCPDF\getAllInternalPageNumberAliases().
|
static |
String alias for total number of pages.
static
Definition at line 64 of file tcpdf_static.php.
Referenced by TCPDF\getAliasNbPages(), TCPDF\getAliasRightShift(), and TCPDF\getAllInternalPageNumberAliases().
|
static |
ByteRange placemark used during digital signature process.
Definition at line 101 of file tcpdf_static.php.
Referenced by TCPDF\Output().
|
static |
Encryption padding string.
static
Definition at line 94 of file tcpdf_static.php.
Referenced by TCPDF\_generateencryptionkey(), and TCPDF\_Uvalue().
|
static |
Array of page formats measures are calculated in this way: (inches * 72) or (millimeters * 72 / 25.4) static.
Definition at line 2097 of file tcpdf_static.php.
|
static |
Array page boxes names static.
Definition at line 107 of file tcpdf_static.php.
Referenced by TCPDF\setPageBoxTypes().
|
staticprivate |
Current TCPDF version.
static
Definition at line 58 of file tcpdf_static.php.
Referenced by getTCPDFVersion().