Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Layout lost with html language
akao
Heloo everybody,
I use birt to generate an PDF report.
I use the html language to create my text.
But I lose my layout. For example, I put an center picture, and my picture is at left.
I use this code :
TextItemHandle txt = efactory.newTextItem("txt");
txt.setContentType(DesignChoiceConstants.TEXT_CONTENT_TYPE_HTML);
txt.setContent(texte);
txt.setProperty(FONT_SIZE, "12");
txt.setProperty(TEXT_ALIGN, LEFT);
cell.getContent().add(txt);
Do you have an idea ?
Thanks
Find more posts tagged with
Comments
akao
I everybody,
I began my post
thanks