Salut,
J'utilise REVPDFLIB installé avec Composer et lorsque je lance la premiere demo, il y a un bug d'affichage qui donne ceci :
Est ce que vous avez deja eu ce probleme en utilisant cette librairie ?
Le code XML pour generer le document (qui doit etre bon) :
Code :
- <?xml version="1.0" encoding="UTF-8"?>
- <RevPDFLib
- shortname="short"
- fullname="full"
- author="moi"
- keywords="test, pdf, RevPDFLib"
- subject="un test"
- title="RevPDF test 1"
- comments="any comment"
- topMargin="10"
- bottomMargin="10"
- rightMargin="10"
- leftMargin="10"
- displayModeZoom="fullpage"
- displayModeLayout="continuous"
- pageOrientation="L"
- paperFormat="A4"
- >
- <font name="courier" size="16" textColor="#3366FF" style="B" />
- <source provider="CsvProvider">
- <value>books.csv</value>
- </source>
- <pageheader height="20" isVisible="1" backgroundColor="#F00">
- <textfield format="text" x="80" y="5" height="5" width="42" border="1">
- MOVIES
- </textfield>
- </pageheader>
- <reportheader height="10" isVisible="1" backgroundColor="#FFF" isPageJump="0">
- <textfield format="text" x="0" y="0" height="10" width="20" border="1" forecolor="#3366FF" backcolor="#FFFF00" zindex="0">
- <font isUnderline="false" isBold="true" isItalic="true" fontName="courier" size="14" />
- <![CDATA[Rating]]>
- </textfield>
- <textfield format="text" x="20" y="0" height="10" width="50" border="1" zindex="0">
- <![CDATA[Title]]>
- </textfield>
- <textfield format="text" x="70" y="0" height="10" width="50" border="1" zindex="0">
- <![CDATA[Author]]>
- </textfield>
- <textfield textAlignment="R" format="text" x="120" y="0" height="10" width="20" border="1" borderWidth="0.8" zindex="0">
- <![CDATA[Type]]>
- </textfield>
- <textfield format="text" x="140" y="0" height="10" width="120" border="1" zindex="0">Review</textfield>
- </reportheader>
- <details height="20" isVisible="1" backgroundColor="#FFF">
- <textzone format="number" x="0" y="0" height="20" width="20" border="1" zindex="0">rating</textzone>
- <textzone format="text" x="20" y="0" height="20" width="50" border="1" zindex="0">title</textzone>
- <textzone format="text" x="70" y="0" height="20" width="50" border="1" zindex="0">author</textzone>
- <textzone format="text" x="120" y="0" height="20" width="20" border="1" zindex="0">type</textzone>
- <textzone format="text" x="140" y="0" height="20" width="120" border="1" zindex="0">review</textzone>
- </details>
- </RevPDFLib>
|
A+