Composer REVPDFLIB Soucis d'affichage

Petit nouveau ! | 1 Messages

02 août 2013, 01:09

Bonjour,

J'utilise la librairie pdf RDVPDFLib installé avec Composer et mon soucis et que rien ne s'affiche correctement (voir avec la demo).

J'ai installé la librairie etape par etape avec Composer et l'autoload a été généré.


Voici le resultat :

Image

Et le code XML pour generer le document est :

Code : Tout sélectionner

<?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>
Merci de votre aide.

A+

Avatar du membre
Modérateur PHPfrance
Modérateur PHPfrance | 8758 Messages

02 août 2013, 13:58

Salut,


As tu essayé de fait un (gros, très gros) zoom sur les lignes qui s'affiche t dans le pdf ?

La au or je dirais que tu a un problème de taille de font.
Est ce que le tag font ne serait utile dans toutes les balises text ?

@+
Il en faut peu pour être heureux ......