forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paterline, David L." <pater...@westinghouse.com>
Subject RE: Pdf output poorly formated (was RE: Bookmarklets: ...)
Date Tue, 19 Dec 2006 21:24:00 GMT
Thanks again for the response that pointed me in the right direction. Part
of my formatting problems were corrected. Now, I have some more questions
that might be more about how Forrest generates PDF from XML. For instance:

- The text in my table header cells (<th>) is either printed with white
foreground color, or is absent in the PDF. If I change these entries to be
<td>, the text appears in the PDF. What control do I have over how this
appears? What controls this? How do I correct this?
- My HTML page contains four tables. I would like to have each table start
on a new page in the PDF. Is this possible? What controls this, and how do I
implement page breaks?
- In my HTML page, I use an "email" image (graphic of an envelope) in a
"mailto:" link. These images appear in the PDF and take up a lot of room and
cause the cell contents to wrap, etc. Can I suppress the appearance of these
images in the PDF? How?

I know I'll have more questions as I dig deeper, so I hope you'll bear with
me as I try to understand which technology I need to work with, and how I
modify these behaviors within Forrest.

Thank you.

-
David L. Paterline
Principal Engineer       
Westinghouse Electric Company
Nuclear Fuel Engineering
Engineering Computing
paterldl@westinghouse.com   
PH: 412-374-2286
FX: 412-374-2284



-----Original Message-----
From: Thorsten Scherler [mailto:thorsten@apache.org] 
Sent: Thursday, December 14, 2006 2:54 PM
To: user@forrest.apache.org
Subject: Pdf output poorly formated (was RE: Bookmarklets: ...)


On Thu, 2006-12-14 at 13:10 -0500, Paterline, David L. wrote:
> Hello -

Hi David, 

I changed the subject to be more topic focused.

> 
> I'm having trouble with the PDF files generated by Forrest 0.7.
> 
> The PDF files generated for my site are very poorly formatted, without 
> margins on either side of the pages. Therefore, all the content 
> stretches from the left physical edge of the page to the right 
> physical edge.

Can you open an issue on our issue tracker and add an example of the pdf
outcome.

> 
> Also, within a table where table entries have links, the link text is 
> printed within parentheses along with the displayed text.
> 
> As far as I know, I have not made any conscious modifications to the 
> way PDFs are generated, other than to turn the generation on.

We need to debug it, attach apart from above pdf as well the *.fo file. You
get it like requesting instead of 
http://localhost:8888/index.pdf
http://localhost:8888/index.fo

> Has anyone else seen problems like this?

not really.

>  Can someone point me to
> documentation which may help me correct this? Where is the formatting 
> and appearance of PDFs controlled?


http://forrest.apache.org/docs_0_70/your-project.html#skinconf.xml

scroll till you see 
<!-- Settings specific to PDF output.  -->


> 
> Thank you.

you are welcome.

salu2

> 
> -
> David L. Paterline
> Principal Engineer       
> Westinghouse Electric Company
> Nuclear Fuel Engineering
> Engineering Computing
> paterldl@westinghouse.com   
> PH: 412-374-2286
> FX: 412-374-2284
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)



Mime
View raw message