Hello!

Just want to say, that IMHO the spec allows border attributes for
fo:region-body. See here:

http://www.w3.org/TR/2001/REC-xsl-20011015/slice6.html#fo_region-body 

"
... The following properties apply to this formatting object
(fo:region-body): 

[7.7 Common Border, Padding, and Background Properties] 
[7.10 Common Margin Properties-Block] 
[7.20.1 "clip"] 
[7.25.2 "column-count"] 
[7.25.3 "column-gap"] 
[7.13.4 "display-align"] 
[7.20.2 "overflow"] 
[7.25.17 "region-name"] 
[7.20.3 "reference-orientation"] 
[7.27.7 "writing-mode"] 
"


Cheers,
Sascha

 
-----Ursprüngliche Nachricht-----
Von: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 25. September 2004 00:19
An: [EMAIL PROTECTED]
Betreff: Re: PDF: no border, file name

Johannes Wolfgang Woger wrote:
> my gernerated pdf file which I download form my printServlet, does not 
> show any
> border:
>     <fo:region-body border="solid 2pt red"/>
> is without effect.

The spec forbids this, and FOP 0.20.5 complies. The usual way to
get a border around the body region is to use a background image
or put appropriate block containers with approproate border settings
into the static content areas.

> How can I set a name for the file to be downloaded.

The usual way is to send a MIME-multipart response, and send the
PDF either as file attachment or using a content-disposition
header. Search the list archive for sample code.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to