diff --git a/_config.yml b/_config.yml index 217dd976..2f9e2248 100644 --- a/_config.yml +++ b/_config.yml @@ -11,6 +11,8 @@ github_username: mpdf # Build settings markdown: kramdown +highlighter: rouge + redcarpet: extensions: ['no_intra_emphasis', 'tables', 'autolink'] @@ -20,3 +22,5 @@ kramdown: header_offset: 1 entity_output: as_char smart_quotes: lsquo,rsquo,ldquo,rdquo + input: GFM + hard_wrap: false diff --git a/_data/nav.yml b/_data/nav.yml index 0ec116c1..b9bd47da 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -27,10 +27,10 @@ slug: credits parent_title: 'About mPDF' - - title: Licence + title: License url: index1652.html - permalink: /about-mpdf/licence.html - slug: licence + permalink: /about-mpdf/license.html + slug: license parent_title: 'About mPDF' - title: 'Installation & Setup' diff --git a/about-mpdf/credits.md b/about-mpdf/credits.md index b749177f..30d3ffa5 100644 --- a/about-mpdf/credits.md +++ b/about-mpdf/credits.md @@ -8,34 +8,26 @@ modification_time: 2015-08-05T11:59:21+00:00 All credit is due to the following: - +- **Olivier Plathey** for the original FPDF class [http://www.fpdf.org] +- **Renato Coelho** for html2fpdf class [http://html2fpdf.sourceforge.net] +- **Steven Wittens** for the unicode fonts in UFPDF [http://acko.net/node/56] +- **Nicola Asuni** for TCPDF [http://www.tcpdf.org] +- **Khaled Al-Sham'aa** for ideas on joining Arabic letters [http://www.ar-php.org] Including from FPDF extensions: - +- **Martin Hall-May** for WMF support Including from HTML2FPDF: - +- **Damon Kohler** for the *Flowing Block* script +- **Clément Lavoillotte** for HTML-oriented FPDF idea +- **Yamasoft** for the `gif.php` class +- **Jérôme Fenal** for the `_parsegif()` function +- **"VIETCOM"** for the `PDFTable` code +- **Yukihiro O.** for the `SetDash()` function +- **Ron Korving** for the `WordWrap()` function +- **Michel Poulain** for the `DisplayPreferences()` function +- **Seb** for the `_SetTextRendering()` and `SetTextOutline()` functions +- **Klemen VODOPIVEC** for `FPDF_Protection` diff --git a/about-mpdf/features-v5.md b/about-mpdf/features-v5.md index 65f41826..b759ff94 100644 --- a/about-mpdf/features-v5.md +++ b/about-mpdf/features-v5.md @@ -8,33 +8,31 @@ modification_time: 2015-08-05T11:59:20+00:00 # Main features - +- Accepts UTF-8 encoded HTML +- Supports almost all languages including RTL (arabic and hebrew), and CJK - (chinese-japanese-korean) +- Bookmarks +- CSS stylesheets +- Word spacing and character spacing for justification +- Nested block-level elements (e.g. P, DIV) including margins, borders, padding, line-height, background colours etc. +- Support (partial) for floating and fixed-position block-elements +- Page layout and orientation +- Text-justification and hyphenation +- Page numbering +- Odd and even paging with mirrored margins +- Page headers & footers +- Columns +- Tables - nested tables, rotated, or autosized to fit on a page +- Table of contents +- Index +- Watermarks +- Images in JPG, GIF, PNG, SVG, BMP or WMF format +- Password protection +- Annotations +- Barcodes (EAN13, UPC-A/E, Code 11, 39, 93, 128, Codabar, MSI, IMB, Planet, Postnet, RM4SCC etc.) +- Import another PDF file and use as a template +- Embedded font subsets +- PDF/A-1b support (ISO 19005-1:2005) +- PDF/X-1a support # More Information @@ -43,19 +41,16 @@ mPDF has a number of enhancements over the original FPDF, HTML2FPDF and UPDF scr **UTF-8 encoded** HTML is accepted as the standard input. Right-to-left languages are supported, with automatic detection of RTL characters within a document. Transposes: tables, lists, text justification and table cell alignment, as well as full text reversal for RTL characters. Automatically detects non-RTL characters and displays these in original order. - Bookmarks and Meta tag information are supported in all character sets. A single CSS stylesheet can be used for all pages, with font substitution automatically for CJK characters. Character substitution can optionally be used to automatically replace any characters that do not exist in the current font. - Word spacing and character spacing are both used to justify text; works in unicode mode and CJK characters as well. **Nested block-level elements** (e.g. P, DIV) are supported, with comprehensive CSS support e.g. margins, borders, padding, line-height, background colours etc. CSS style attributes now fully support font, font-size, color, and background color (for highlighting) plus many more. - Table cell padding and borders are supported. **Text-indent for 1st line of paragraph**, and hanging indents are supported. @@ -63,23 +58,18 @@ A single CSS stylesheet can be used for all pages, with Custom tags added - PAGEBREAK, COLUMNBREAK, INDEXENTRY - Multiple columns can be started and stopped anywhere on the page with column height adjusted (and optionally aligned to justify). - Tables can be **rotated**, or **autosized** - font-size is reduced if required to fit the page. Background colour for TR rows is supported. - Odd and even paging can be used with inner and outer margins alternated. A more complex definition of headers and footers allows left/center/right parts to be defined, each with their own font-styles, and including code to allow the date/time to be inserted as well as page numbers. A table of contents can be generated automatically, which can be inserted at the front of the document, based on custom tags used throughout the HTML code. (Based on Richard Bondi's extension to FPDF.) - An Index can be generated at the end of the document based on custom tags used throughout the HTML code. **Non-breaking space**   is supported when using fonts that have a character representing chr(160) (not all of them).  Watermarks as text or images can be used e.g. for 'DRAFT', and will appear as a transparency over other elements. - Intelligent word-wrapping will avoid 'orphan' punctuation or superscript moving to the next line. Automatic hyphenation is optional. diff --git a/about-mpdf/licence.md b/about-mpdf/license.md similarity index 93% rename from about-mpdf/licence.md rename to about-mpdf/license.md index 12c63eb1..632ee550 100644 --- a/about-mpdf/licence.md +++ b/about-mpdf/license.md @@ -1,8 +1,8 @@ --- layout: page -title: Licence +title: License parent_title: About mPDF -permalink: /about-mpdf/licence.html +permalink: /about-mpdf/license.html modification_time: 2015-08-05T11:59:22+00:00 --- diff --git a/about-mpdf/limitations.md b/about-mpdf/limitations.md index c88fcdac..ba94cd0a 100644 --- a/about-mpdf/limitations.md +++ b/about-mpdf/limitations.md @@ -28,6 +28,4 @@ Blocks which are defined as position:absolute, fixed or float have only limited # See Also - +- Known issues diff --git a/css-stylesheets/supported-css.md b/css-stylesheets/supported-css.md index caee4906..cb57c6a0 100644 --- a/css-stylesheets/supported-css.md +++ b/css-stylesheets/supported-css.md @@ -2088,5 +2088,5 @@ medium|thin|thick are accepted for size - converted to 1px, 3px, 5px diff --git a/css/main.scss b/css/main.scss index aa2902ef..6f0cbb69 100644 --- a/css/main.scss +++ b/css/main.scss @@ -32,8 +32,11 @@ nav { font-family: $font-family-monospace; } -pre { - background-color: $code-bg; +code { + pre { + background-color: $code-bg; + padding: 0.3rem; + } } #content { diff --git a/fonts-languages/about-pdf-files.md b/fonts-languages/about-pdf-files.md index d5bb041d..73681c12 100644 --- a/fonts-languages/about-pdf-files.md +++ b/fonts-languages/about-pdf-files.md @@ -9,9 +9,7 @@ modification_time: 2015-08-05T11:59:26+00:00 In order for users to be able to read a PDF file, they need to be able to access the necessary fonts/characters. They can do this in three ways: diff --git a/fonts-languages/bidirectional-rtl-text-v6-x.md b/fonts-languages/bidirectional-rtl-text-v6-x.md index 205bc492..d570bc40 100644 --- a/fonts-languages/bidirectional-rtl-text-v6-x.md +++ b/fonts-languages/bidirectional-rtl-text-v6-x.md @@ -264,7 +264,5 @@ Using BDI will result in the following: diff --git a/headers-footers/method-1.md b/headers-footers/method-1.md index c36347b7..1a127d04 100644 --- a/headers-footers/method-1.md +++ b/headers-footers/method-1.md @@ -226,9 +226,7 @@ Therefore to use any RUNTIME method you need to: {% highlight php %} diff --git a/headers-footers/method-2.md b/headers-footers/method-2.md index 863e8f26..90ff595a 100644 --- a/headers-footers/method-2.md +++ b/headers-footers/method-2.md @@ -23,7 +23,7 @@ $mpdf = new mPDF(); // Define the Header/Footer before writing anything so they appear on the first page -$mpdf->SetHTMLHeader('
My document
'); +$mpdf->SetHTMLHeader('
My document
'); $mpdf->SetHTMLFooter(' @@ -57,7 +57,7 @@ $mpdf->useOddEven = 1; // Use different Odd/Even headers and footers and mirr // Define the Headers before writing anything so they appear on the first page -$mpdf->SetHTMLHeader('
My document
','O'); +$mpdf->SetHTMLHeader('
My document
','O'); $mpdf->SetHTMLHeader('
My document
','E'); @@ -108,9 +108,7 @@ Therefore to use any RUNTIME method you need to: {% highlight php %} @@ -130,7 +128,7 @@ $mpdf->SetHTMLHeader('
Chapter 2
','E'); - + $mpdf->AddPage(); @@ -178,13 +176,13 @@ $mpdf->useOddEven = true; // Set the headers/footers for the Introduction -$mpdf->SetHTMLHeader('
Introduction
','O'); +$mpdf->SetHTMLHeader('
Introduction
','O'); $mpdf->SetHTMLHeader('
Introduction
','E'); -$mpdf->SetHTMLFooter('
{PAGENO}
','O'); +$mpdf->SetHTMLFooter('
{PAGENO}
','O'); -$mpdf->SetHTMLFooter('
{PAGENO}
','E'); +$mpdf->SetHTMLFooter('
{PAGENO}
','E'); $mpdf->AddPage('', '', 1, '', 'on'); // suppress page numbering for the introduction @@ -192,17 +190,17 @@ $mpdf->WriteHTML('Introduction of document...'); $mpdf->AddPage('','E'); -$mpdf->SetHTMLHeader('
Main
','O'); +$mpdf->SetHTMLHeader('
Main
','O'); $mpdf->SetHTMLHeader('
Main
','E'); -$mpdf->TOCpagebreak('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', +$mpdf->TOCpagebreak('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', $toc-preHTML, $toc-postHTML, $toc-bookmarkText, 1, 'A', 'off'); // sets numbering to start at A -$mpdf->SetHTMLFooter('
Main - {PAGENO}
','O'); +$mpdf->SetHTMLFooter('
Main - {PAGENO}
','O'); -$mpdf->SetHTMLFooter('
Main - {PAGENO}
','E'); +$mpdf->SetHTMLFooter('
Main - {PAGENO}
','E'); $mpdf->WriteHTML('Main part of document...'); @@ -220,13 +218,13 @@ $mpdf->useOddEven = true; // Set the headers/footers for the Introduction -$mpdf->SetHTMLHeader('
Introduction
','O'); +$mpdf->SetHTMLHeader('
Introduction
','O'); $mpdf->SetHTMLHeader('
Introduction
','E'); -$mpdf->SetHTMLFooter('
{PAGENO}
','O'); +$mpdf->SetHTMLFooter('
{PAGENO}
','O'); -$mpdf->SetHTMLFooter('
{PAGENO}
','E'); +$mpdf->SetHTMLFooter('
{PAGENO}
','E'); $mpdf->AddPage('', '', 1, '', 'on'); // suppress page numbering for the introduction @@ -234,15 +232,15 @@ $mpdf->WriteHTML('Introduction of document...'); $mpdf->AddPage('','E'); -$mpdf->SetHTMLHeader('
Main
','O'); +$mpdf->SetHTMLHeader('
Main
','O'); $mpdf->SetHTMLHeader('
Main
','E'); $mpdf->AddPage('', '', 1, 'i', 'off'); // sets page numbering to start here at 1 -$mpdf->SetHTMLFooter('
Main - {PAGENO}
','O'); +$mpdf->SetHTMLFooter('
Main - {PAGENO}
','O'); -$mpdf->SetHTMLFooter('
Main - {PAGENO}
','E'); +$mpdf->SetHTMLFooter('
Main - {PAGENO}
','E'); // Set some variables for the ToC - these are all now depracated diff --git a/headers-footers/method-3.md b/headers-footers/method-3.md index 26cb4eec..0d517335 100644 --- a/headers-footers/method-3.md +++ b/headers-footers/method-3.md @@ -104,33 +104,19 @@ $mpdf->WriteHTML($html);
  • Methods for NON-HTML headers/footers only - **Recommended** when setting the first page header/footer at the start of a document (although they can also be used to change headers/footers during the document).
  • diff --git a/reference/mpdf-functions/aliasnbpagegroups.md b/reference/mpdf-functions/aliasnbpagegroups.md index ee3a6b85..19dd6e52 100644 --- a/reference/mpdf-functions/aliasnbpagegroups.md +++ b/reference/mpdf-functions/aliasnbpagegroups.md @@ -64,7 +64,5 @@ $mpdf->aliasNbPgGp = '[pagetotal]'; diff --git a/reference/mpdf-functions/aliasnbpages.md b/reference/mpdf-functions/aliasnbpages.md index 48b25786..40ccf1bd 100644 --- a/reference/mpdf-functions/aliasnbpages.md +++ b/reference/mpdf-functions/aliasnbpages.md @@ -63,8 +63,6 @@ $mpdf->aliasNbPg = '[pagetotal]'; # See Also diff --git a/reference/mpdf-functions/bookmark.md b/reference/mpdf-functions/bookmark.md index 2e5aec28..2dd9fdc5 100644 --- a/reference/mpdf-functions/bookmark.md +++ b/reference/mpdf-functions/bookmark.md @@ -113,7 +113,5 @@ This will produce a Bookmark tree in Adobe Reader: # See Also diff --git a/reference/mpdf-functions/importpage.md b/reference/mpdf-functions/importpage.md index 7ccebff2..16963a4b 100644 --- a/reference/mpdf-functions/importpage.md +++ b/reference/mpdf-functions/importpage.md @@ -127,20 +127,10 @@ $mpdf->Output(); diff --git a/reference/mpdf-functions/restartdoctemplate.md b/reference/mpdf-functions/restartdoctemplate.md index 637e8b92..7464bbed 100644 --- a/reference/mpdf-functions/restartdoctemplate.md +++ b/reference/mpdf-functions/restartdoctemplate.md @@ -77,15 +77,9 @@ $mpdf->Output(); diff --git a/reference/mpdf-functions/setcolumns.md b/reference/mpdf-functions/setcolumns.md index f1714046..40479fcf 100644 --- a/reference/mpdf-functions/setcolumns.md +++ b/reference/mpdf-functions/setcolumns.md @@ -83,7 +83,5 @@ $mpdf=Output(); diff --git a/reference/mpdf-functions/setdoctemplate.md b/reference/mpdf-functions/setdoctemplate.md index cbfa6eac..2061ea65 100644 --- a/reference/mpdf-functions/setdoctemplate.md +++ b/reference/mpdf-functions/setdoctemplate.md @@ -79,15 +79,9 @@ $mpdf->Output(); diff --git a/reference/mpdf-functions/setpagetemplate.md b/reference/mpdf-functions/setpagetemplate.md index 00102480..09059dc5 100644 --- a/reference/mpdf-functions/setpagetemplate.md +++ b/reference/mpdf-functions/setpagetemplate.md @@ -76,17 +76,9 @@ $mpdf->Output(); diff --git a/reference/mpdf-functions/setprotection.md b/reference/mpdf-functions/setprotection.md index 43ac7c77..caef178a 100644 --- a/reference/mpdf-functions/setprotection.md +++ b/reference/mpdf-functions/setprotection.md @@ -152,5 +152,5 @@ $mpdf->SetProtection(array('copy','print'), '', 'MyPassword'); # See Also diff --git a/reference/mpdf-functions/setwatermarkimage.md b/reference/mpdf-functions/setwatermarkimage.md index 06e2c734..c858f717 100644 --- a/reference/mpdf-functions/setwatermarkimage.md +++ b/reference/mpdf-functions/setwatermarkimage.md @@ -127,9 +127,7 @@ Hallo World
  • watermarkImageAlpha - Specifies the transparency (alpha value) for the watermark image
  • watermarkTextAlpha - Specifies the transparency (alpha value) for the watermark text
  • -
  • showWatermarkText - Specifies whether or not to show/print the watermark text - -
  • +
  • showWatermarkText - Specifies whether or not to show/print the watermark text
  • showWatermarkImage - Specifies whether or not to show/print the watermark image
  • watermark_font - Specifies the font to use for Watermark text
  • diff --git a/reference/mpdf-functions/setwatermarktext.md b/reference/mpdf-functions/setwatermarktext.md index b233af2c..31fdb50b 100644 --- a/reference/mpdf-functions/setwatermarktext.md +++ b/reference/mpdf-functions/setwatermarktext.md @@ -112,9 +112,7 @@ Hallo World
  • SetWatermarkImage() - Set an image to use as a Watermark
  • watermarkImageAlpha - Specifies the transparency (alpha value) for the watermark image
  • watermarkTextAlpha - Specifies the transparency (alpha value) for the watermark text
  • -
  • showWatermarkText - Specifies whether or not to show/print the watermark text - -
  • +
  • showWatermarkText - Specifies whether or not to show/print the watermark text
  • showWatermarkImage - Specifies whether or not to show/print the watermark image
  • watermark_font - Specifies the font to use for Watermark text
  • diff --git a/reference/mpdf-functions/thumbnail.md b/reference/mpdf-functions/thumbnail.md index 3ba1a8e7..72402475 100644 --- a/reference/mpdf-functions/thumbnail.md +++ b/reference/mpdf-functions/thumbnail.md @@ -72,18 +72,10 @@ $mpdf->Output(); diff --git a/reference/mpdf-functions/usetemplate.md b/reference/mpdf-functions/usetemplate.md index fa53cd0a..6239770b 100644 --- a/reference/mpdf-functions/usetemplate.md +++ b/reference/mpdf-functions/usetemplate.md @@ -154,18 +154,10 @@ $mpdf->Output(); diff --git a/reference/mpdf-functions/writefixedposhtml.md b/reference/mpdf-functions/writefixedposhtml.md index 4760f762..1eec0609 100644 --- a/reference/mpdf-functions/writefixedposhtml.md +++ b/reference/mpdf-functions/writefixedposhtml.md @@ -105,7 +105,5 @@ $mpdf=Output(); diff --git a/reference/mpdf-functions/writehtml.md b/reference/mpdf-functions/writehtml.md index 5e76b5d6..6326121b 100644 --- a/reference/mpdf-functions/writehtml.md +++ b/reference/mpdf-functions/writehtml.md @@ -168,17 +168,9 @@ $mpdf->WriteHTML('...and this is the end diff --git a/reference/mpdf-variables/allow-output-buffering.md b/reference/mpdf-variables/allow-output-buffering.md index 474cb9b8..76c5478a 100644 --- a/reference/mpdf-variables/allow-output-buffering.md +++ b/reference/mpdf-variables/allow-output-buffering.md @@ -29,8 +29,6 @@ When TRUE, mPDF will ignore any content in the o # See Also diff --git a/reference/mpdf-variables/autoarabic.md b/reference/mpdf-variables/autoarabic.md index 293d089e..35d4dafd 100644 --- a/reference/mpdf-variables/autoarabic.md +++ b/reference/mpdf-variables/autoarabic.md @@ -32,5 +32,5 @@ Analysis of the text will attempt to distinguish Arabic, Farsi, Pashto, Urdu and diff --git a/reference/mpdf-variables/autolangtofont.md b/reference/mpdf-variables/autolangtofont.md index 604f2b25..5d95333d 100644 --- a/reference/mpdf-variables/autolangtofont.md +++ b/reference/mpdf-variables/autolangtofont.md @@ -31,7 +31,7 @@ When TRUE, selects the font to use, based on the diff --git a/reference/mpdf-variables/automarginpadding.md b/reference/mpdf-variables/automarginpadding.md index cc6c9b9f..eadb6b82 100644 --- a/reference/mpdf-variables/automarginpadding.md +++ b/reference/mpdf-variables/automarginpadding.md @@ -28,9 +28,7 @@ Specify padding between top-margin and header in 'stretch' mode. When
  • Headers & Top margins
  • -
  • setAutoTopMargin -Specify mode of determining top-margin position - -
  • +
  • setAutoTopMargin -Specify mode of determining top-margin position
  • setAutoBottomMargin -Specify mode of determining bottom-margin position
  • diff --git a/reference/mpdf-variables/autoscripttolang.md b/reference/mpdf-variables/autoscripttolang.md index c6541385..e1a9cdf3 100644 --- a/reference/mpdf-variables/autoscripttolang.md +++ b/reference/mpdf-variables/autoscripttolang.md @@ -32,7 +32,7 @@ When TRUE, `marks up HTML text using the lang at diff --git a/reference/mpdf-variables/autovietnamese.md b/reference/mpdf-variables/autovietnamese.md index 9a035f88..08c02c7a 100644 --- a/reference/mpdf-variables/autovietnamese.md +++ b/reference/mpdf-variables/autovietnamese.md @@ -36,5 +36,5 @@ Note: If `autoVietnamese` is TRUE mPDF will mark diff --git a/reference/mpdf-variables/basescript.md b/reference/mpdf-variables/basescript.md index 7b0fbfc7..6dce5936 100644 --- a/reference/mpdf-variables/basescript.md +++ b/reference/mpdf-variables/basescript.md @@ -26,5 +26,5 @@ Tells mPDF which Script to ignore when using `autoScriptToLang`. diff --git a/reference/mpdf-variables/bidirectional.md b/reference/mpdf-variables/bidirectional.md index 3cf8e200..3bb69962 100644 --- a/reference/mpdf-variables/bidirectional.md +++ b/reference/mpdf-variables/bidirectional.md @@ -13,5 +13,5 @@ This variable is set by mPDF when it detects characters from a script written in # See Also diff --git a/reference/mpdf-variables/charset-in.md b/reference/mpdf-variables/charset-in.md index eafd29ba..a0d2bcd1 100644 --- a/reference/mpdf-variables/charset-in.md +++ b/reference/mpdf-variables/charset-in.md @@ -53,8 +53,6 @@ $mpdf->Output(); diff --git a/reference/mpdf-variables/enableimports.md b/reference/mpdf-variables/enableimports.md index 793f54f1..9b255bf7 100644 --- a/reference/mpdf-variables/enableimports.md +++ b/reference/mpdf-variables/enableimports.md @@ -47,21 +47,11 @@ Enable the use of imported PDF files or templates. This causes additional files diff --git a/reference/mpdf-variables/img-dpi.md b/reference/mpdf-variables/img-dpi.md index 11b8557f..f93d5790 100644 --- a/reference/mpdf-variables/img-dpi.md +++ b/reference/mpdf-variables/img-dpi.md @@ -44,8 +44,6 @@ Specify how to convert image sizes specified in "px" units (pixels). As a print # See Also diff --git a/reference/mpdf-variables/mirrormargins.md b/reference/mpdf-variables/mirrormargins.md index 2d905842..a68ec81d 100644 --- a/reference/mpdf-variables/mirrormargins.md +++ b/reference/mpdf-variables/mirrormargins.md @@ -19,6 +19,6 @@ Default = 0 # See Also diff --git a/reference/mpdf-variables/nbpgprefix.md b/reference/mpdf-variables/nbpgprefix.md index 8f78060d..aa0999a7 100644 --- a/reference/mpdf-variables/nbpgprefix.md +++ b/reference/mpdf-variables/nbpgprefix.md @@ -53,14 +53,10 @@ Will output a header: # See Also diff --git a/reference/mpdf-variables/watermarkimagealpha.md b/reference/mpdf-variables/watermarkimagealpha.md index 86656d2c..17828490 100644 --- a/reference/mpdf-variables/watermarkimagealpha.md +++ b/reference/mpdf-variables/watermarkimagealpha.md @@ -53,9 +53,7 @@ Hallo World
  • SetWatermarkImage() - Set an image to use as a Watermark
  • watermarkTextAlpha - Specifies the transparency (alpha value) for the watermark text
  • -
  • showWatermarkText - Specifies whether or not to show/print the watermark text - -
  • +
  • showWatermarkText - Specifies whether or not to show/print the watermark text
  • showWatermarkImage - Specifies whether or not to show/print the watermark image
  • watermark_font - Specifies the font to use for Watermark text
  • diff --git a/reference/mpdf-variables/watermarktextalpha.md b/reference/mpdf-variables/watermarktextalpha.md index 796f07ac..7f819df0 100644 --- a/reference/mpdf-variables/watermarktextalpha.md +++ b/reference/mpdf-variables/watermarktextalpha.md @@ -51,12 +51,8 @@ Hallo World diff --git a/setting-pdf-file-properties/password-protection.md b/setting-pdf-file-properties/password-protection.md index 49e0bd07..f072487c 100644 --- a/setting-pdf-file-properties/password-protection.md +++ b/setting-pdf-file-properties/password-protection.md @@ -12,9 +12,7 @@ The security settings for the PDF file can be set in mPDF:
  • determine whether the document is encrypted
  • if encrypted, what permissions are granted to the user e.g.print and/or copy
  • determine whether a user requires a password to open the document
  • -
  • determine whether a password is required to modify the document (owner's password) - -
  • +
  • determine whether a password is required to modify the document (owner's password)
  • # See Also diff --git a/tables/auto-layout-algorithm.md b/tables/auto-layout-algorithm.md index 457d6aab..e7d6657a 100644 --- a/tables/auto-layout-algorithm.md +++ b/tables/auto-layout-algorithm.md @@ -15,19 +15,13 @@ modification_time: 2015-08-05T11:59:44+00:00 (Minimum width is calculated when each cell accommodates longest word (allowing for nowrap /  )) -This disregards the value of autosize. - - +This disregards the value of autosize.
  • If the height of the highest row is greater than a full page height, the table is resized to fit the highest row < page height. (This is an approximation, as it scales the table size by a factor of less than sqrt(maxrow / pageheight) ). -This disregards the value of autosize. - -
  • -
  • The table is now printed - allowing it to break across pages - unless page-break-inside: avoid is set. - -
  • +This disregards the value of autosize. +
  • The table is now printed - allowing it to break across pages - unless page-break-inside: avoid is set.
  • If page-break-inside: avoid is set:

    Including from FPDF extensions:

    Including from HTML2FPDF: