Server geändert
This commit is contained in:
@ -194,7 +194,7 @@ Header('Pragma: public');
|
||||
|
||||
<P><A NAME='7'></A><B>7.</B> <FONT CLASS='st'>When I execute a script I get the message "FPDF error: Don't alter the locale before including class file".</FONT></P>
|
||||
When the decimal separator is configured as a comma before including a file, there is a
|
||||
<A HREF="http://bugs.php.net/bug.php?id=17105" TARGET="_blank">bug</A> in some PHP versions and decimal
|
||||
<A HREF="https://bugs.php.net/bug.php?id=17105" TARGET="_blank">bug</A> in some PHP versions and decimal
|
||||
numbers get truncated. Therefore you shouldn't make a call to setlocale() before including the class.
|
||||
On Unix, you shouldn't set the LC_ALL environment variable neither, for it is equivalent to a
|
||||
setlocale() call.
|
||||
@ -270,20 +270,20 @@ Remark: even when the browser goes in time-out, the script may continue to run o
|
||||
<P><A NAME='17'></A><B>17.</B> <FONT CLASS='st'>Can I modify a PDF with FPDF?</FONT></P>
|
||||
You can import an existing PDF document thanks to the FPDI extension:<BR>
|
||||
<BR>
|
||||
<A HREF="http://fpdi.setasign.de" TARGET="_blank">http://fpdi.setasign.de</A>
|
||||
<A HREF="https://fpdi.setasign.de" TARGET="_blank">https://fpdi.setasign.de</A>
|
||||
<P><A NAME='18'></A><B>18.</B> <FONT CLASS='st'>I'd like to make a search engine in PHP and index PDF files. Can I do it with FPDF?</FONT></P>
|
||||
No. But a GPL C utility does exist, pdftotext, which is able to extract the textual content from
|
||||
a PDF. It is provided with the Xpdf package:<BR>
|
||||
<BR>
|
||||
<A HREF="http://www.foolabs.com/xpdf/" TARGET="_blank">http://www.foolabs.com/xpdf/</A>
|
||||
<A HREF="https://www.foolabs.com/xpdf/" TARGET="_blank">https://www.foolabs.com/xpdf/</A>
|
||||
<P><A NAME='19'></A><B>19.</B> <FONT CLASS='st'>Can I convert an HTML page to PDF with FPDF?</FONT></P>
|
||||
Not real pages. But a GPL C utility does exist, htmldoc, which allows to do it and gives good results:<BR>
|
||||
<BR>
|
||||
<A HREF="http://www.easysw.com/htmldoc/" TARGET="_blank">http://www.easysw.com/htmldoc/</A>
|
||||
<A HREF="https://www.easysw.com/htmldoc/" TARGET="_blank">https://www.easysw.com/htmldoc/</A>
|
||||
<P><A NAME='20'></A><B>20.</B> <FONT CLASS='st'>Can I concatenate PDF files with FPDF?</FONT></P>
|
||||
No. But some free tools exist to perform this task:<BR>
|
||||
<BR>
|
||||
<A HREF="http://thierry.schmit.free.fr/dev/mbtPdfAsm/enMbtPdfAsm2.html" TARGET="_blank">http://thierry.schmit.free.fr/dev/mbtPdfAsm/enMbtPdfAsm2.html</A><BR STYLE="font-height:2em">
|
||||
<A HREF="http://www.accesspdf.com/pdftk/">http://www.accesspdf.com/pdftk/</A>
|
||||
<A HREF="https://thierry.schmit.free.fr/dev/mbtPdfAsm/enMbtPdfAsm2.html" TARGET="_blank">https://thierry.schmit.free.fr/dev/mbtPdfAsm/enMbtPdfAsm2.html</A><BR STYLE="font-height:2em">
|
||||
<A HREF="https://www.accesspdf.com/pdftk/">https://www.accesspdf.com/pdftk/</A>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
https://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
@ -193,7 +193,7 @@
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
https://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
@ -3,7 +3,7 @@
|
||||
php|architect by Marco Tabini.
|
||||
|
||||
This software contains code derived from Oliver Plathey - The author of
|
||||
FPDF. FPDF is available from: http://www.fpdf.org
|
||||
FPDF. FPDF is available from: https://www.fpdf.org
|
||||
|
||||
The LZW- and the ASCII85-Decoder are adapted from the iText-Library
|
||||
http://www.lowagie.com/iText/
|
||||
https://www.lowagie.com/iText/
|
@ -8,7 +8,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
@ -8,7 +8,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
@ -89,7 +89,7 @@ URL or identifier returned by AddLink().
|
||||
<pre><code>// Insert a logo in the top-left corner at 300 dpi
|
||||
$pdf->Image('logo.png',10,10,-300);
|
||||
// Insert a dynamic image from a URL
|
||||
$pdf->Image('http://chart.googleapis.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World',60,30,90,0,'PNG');</code></pre>
|
||||
$pdf->Image('https://chart.googleapis.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World',60,30,90,0,'PNG');</code></pre>
|
||||
</div>
|
||||
<h2>See also</h2>
|
||||
<a href="addlink.htm">AddLink</a>
|
||||
|
@ -37,7 +37,7 @@ $pdf->Write(5,'Visit ');
|
||||
// Then put a blue underlined link
|
||||
$pdf->SetTextColor(0,0,255);
|
||||
$pdf->SetFont('','U');
|
||||
$pdf->Write(5,'www.fpdf.org','http://www.fpdf.org');</code></pre>
|
||||
$pdf->Write(5,'www.fpdf.org','https://www.fpdf.org');</code></pre>
|
||||
</div>
|
||||
<h2>See also</h2>
|
||||
<a href="setfont.htm">SetFont</a>,
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
@ -293,8 +293,8 @@ class FPDF_TPL extends fpdi_bridge
|
||||
*
|
||||
* See FPDF/TCPDF documentation.
|
||||
*
|
||||
* @see http://fpdf.org/en/doc/setfont.htm
|
||||
* @see http://www.tcpdf.org/doc/code/classTCPDF.html#afd56e360c43553830d543323e81bc045
|
||||
* @see https://fpdf.org/en/doc/setfont.htm
|
||||
* @see https://www.tcpdf.org/doc/code/classTCPDF.html#afd56e360c43553830d543323e81bc045
|
||||
*/
|
||||
public function SetFont($family, $style = '', $size = null, $fontfile = '', $subset = 'default', $out = true)
|
||||
{
|
||||
@ -319,8 +319,8 @@ class FPDF_TPL extends fpdi_bridge
|
||||
*
|
||||
* See FPDF/TCPDF documentation.
|
||||
*
|
||||
* @see http://fpdf.org/en/doc/image.htm
|
||||
* @see http://www.tcpdf.org/doc/code/classTCPDF.html#a714c2bee7d6b39d4d6d304540c761352
|
||||
* @see https://fpdf.org/en/doc/image.htm
|
||||
* @see https://www.tcpdf.org/doc/code/classTCPDF.html#a714c2bee7d6b39d4d6d304540c761352
|
||||
*/
|
||||
public function Image(
|
||||
$file, $x = '', $y = '', $w = 0, $h = 0, $type = '', $link = '', $align = '', $resize = false,
|
||||
@ -350,8 +350,8 @@ class FPDF_TPL extends fpdi_bridge
|
||||
*
|
||||
* This method cannot be used if you'd started a template.
|
||||
*
|
||||
* @see http://fpdf.org/en/doc/addpage.htm
|
||||
* @see http://www.tcpdf.org/doc/code/classTCPDF.html#a5171e20b366b74523709d84c349c1ced
|
||||
* @see https://fpdf.org/en/doc/addpage.htm
|
||||
* @see https://www.tcpdf.org/doc/code/classTCPDF.html#a5171e20b366b74523709d84c349c1ced
|
||||
*/
|
||||
public function AddPage($orientation = '', $format = '', $rotationOrKeepmargins = false, $tocpage = false)
|
||||
{
|
||||
@ -372,8 +372,8 @@ class FPDF_TPL extends fpdi_bridge
|
||||
*
|
||||
* Overwritten because adding links in a template will not work.
|
||||
*
|
||||
* @see http://fpdf.org/en/doc/link.htm
|
||||
* @see http://www.tcpdf.org/doc/code/classTCPDF.html#ab87bf1826384fbfe30eb499d42f1d994
|
||||
* @see https://fpdf.org/en/doc/link.htm
|
||||
* @see https://www.tcpdf.org/doc/code/classTCPDF.html#ab87bf1826384fbfe30eb499d42f1d994
|
||||
*/
|
||||
public function Link($x, $y, $w, $h, $link, $spaces = 0)
|
||||
{
|
||||
@ -394,8 +394,8 @@ class FPDF_TPL extends fpdi_bridge
|
||||
*
|
||||
* Overwritten because adding links in a template will not work.
|
||||
*
|
||||
* @see http://fpdf.org/en/doc/addlink.htm
|
||||
* @see http://www.tcpdf.org/doc/code/classTCPDF.html#a749522038ed7786c3e1701435dcb891e
|
||||
* @see https://fpdf.org/en/doc/addlink.htm
|
||||
* @see https://www.tcpdf.org/doc/code/classTCPDF.html#a749522038ed7786c3e1701435dcb891e
|
||||
*/
|
||||
public function AddLink()
|
||||
{
|
||||
@ -416,8 +416,8 @@ class FPDF_TPL extends fpdi_bridge
|
||||
*
|
||||
* Overwritten because adding links in a template will not work.
|
||||
*
|
||||
* @see http://fpdf.org/en/doc/setlink.htm
|
||||
* @see http://www.tcpdf.org/doc/code/classTCPDF.html#ace5be60e7857953ea5e2b89cb90df0ae
|
||||
* @see https://fpdf.org/en/doc/setlink.htm
|
||||
* @see https://www.tcpdf.org/doc/code/classTCPDF.html#ace5be60e7857953ea5e2b89cb90df0ae
|
||||
*/
|
||||
public function SetLink($link, $y = 0, $page = -1)
|
||||
{
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package FPDI
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (http://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
* @copyright Copyright (c) 2015 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license https://opensource.org/licenses/mit-license The MIT License
|
||||
* @version 1.6.1
|
||||
*/
|
||||
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user