Tim Dylla | 1 Nov 2005 11:48
Picon
Favicon

Re: Full page Backgroundimage plus independent header/footer

Hmmm, I've got no problems to put the header/footer into the right
place, and as you already stated, FOP doesn't support zorder attributes.
If I place the background image in any other region than body, it will
cover the body-regions content.
I think I have to decide, before it's too late, if I should use FOP at
all. I just have to produce some PDF-content from within a
Java-Application. Just some minutes ago, I found the iText -
Java-Library from Bruno Lowagie and co. I think this is the way to go
for me.

Nevertheless: many thanks for the answer!

Best,

	Tim

Mike Trotman schrieb:
> I use absolutely positioned block-containers containing
> external-graphics for some images and for drawing surrounding borders etc.
> You can position this anywhere on the page.
> 
> You could place this in one of the other regions - but you would need to
> check the z-order works OK and doesn't overlap your content.
> e.g.
>        <fo:static-content flow-name="xsl-region-before">
>                     <fo:block-container position='absolute' top='1cm'
> left='0.0cm' height='19.2cm' width='{$PAGEWID_CM}cm' border='1px solid
> silver'>
>                     </fo:block-container>
>                     <fo:block-container position='absolute' top='1.5cm'
(Continue reading)

Fabrizio Caldas | 1 Nov 2005 13:40
Picon

Overflowing of Japanese/Chinese Chars

Hello,

I create a PDF using FOP, when I create a PDF in English the text works fine.
But when I create the PDF in Japanese and Chinese the text overflows.

Has anyone had experience with this problem?

Regards,

Fabrizio.
Jimmy Dixon | 1 Nov 2005 13:58

Scaling Text

Hello

Does anyone know of a way to scale the size of text to a predefined area 
of the page depending on the length/size of the string?

Im not sure if it is possible with FOP yet but if anyone has found a 
solution  Id love to hear about it.

Cheers.
Jimmy.

--

-- 
Jimmy Dixon, Perfiliate Technologies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
email   :  jimmy.dixon <at> perfiliate.com
phone   :  +44 (0)191 241 6500
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Registered Office:
Perfiliate Technologies Limited
7-15 Pink Lane,
Newcastle upon Tyne. NE1 5DW
Registered No. 3783384 in the UK

Telephone +44 (0)191 241 6500
Facsimile +44 (0)191 241 9302

www.perfiliate.com

Please note that electronic mail may be monitored.

(Continue reading)

Leon Pu | 1 Nov 2005 15:27
Picon
Favicon

Convert HTML to PostScript or PDF

Hi all,

is it possible to use FOP to convert a HTML file to PostScript or PDF?

Best regards,
Leon

	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
Jimmy Dixon | 1 Nov 2005 15:48

Re: Convert HTML to PostScript or PDF

no - you would need to have your HTML in XHTML format so you can convert 
it to XSL-FO using XSLT, FOP can then be used to convert XSL-FO to PDF 
or (I think) Postscript.

Leon Pu wrote:

>Hi all,
>
>is it possible to use FOP to convert a HTML file to PostScript or PDF?
>
>
>Best regards,
>Leon
>
>
>	
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-users-unsubscribe <at> xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help <at> xmlgraphics.apache.org
>
>
>
>  
>

(Continue reading)

Glen Mazza | 1 Nov 2005 16:04
Picon
Favicon

Re: Convert HTML to PostScript or PDF

This article may be of help:
http://www-128.ibm.com/developerworks/library/x-xslfo2app/

Glen

Jimmy Dixon wrote:
> no - you would need to have your HTML in XHTML format so you can convert 
> it to XSL-FO using XSLT, FOP can then be used to convert XSL-FO to PDF 
> or (I think) Postscript.
> 
> Leon Pu wrote:
> 
>> Hi all,
>>
>> is it possible to use FOP to convert a HTML file to PostScript or PDF?
>>
>>
>> Best regards,
>> Leon
>>
>>
>>     
>>        
>> __________________________________ Yahoo! Mail - PC Magazine Editors' 
>> Choice 2005 http://mail.yahoo.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe <at> xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help <at> xmlgraphics.apache.org
>>
(Continue reading)

Daniel Kraft | 1 Nov 2005 12:05

Using MathML extension with FOP

Dear FOP-Users,

currently I'm experimenting with Apache FOP (current SVN-Trunk build), because I
need a XSL-FO processor capable of MathML; I'm using the MathML-extension for
FOP from the examples directory (and therefore JEuclid 2.0 to convert MathML to
SVG). It works, but the result looks very ugly (it is completely missized and
far too height). For example, try this minimal FO-tree:

<?xml version="1.0" ?>
<root xmlns="http://www.w3.org/1999/XSL/Format">
 <layout-master-set>
  <simple-page-master master-name="seite">
   <region-body />
  </simple-page-master>
 </layout-master-set>
 <page-sequence master-reference="seite">
  <flow flow-name="xsl-region-body">
   <block>
Here comes some text with inline
<instream-foreign-object>
 <math xmlns="http://www.w3.org/1998/Math/MathML">
  <mfrac>
   <mi>Math</mi>
   <mi>ML</mi>
  </mfrac>
 </math>
</instream-foreign-object>.
   </block>
  </flow>
 </page-sequence>
(Continue reading)

Leon Pu | 1 Nov 2005 18:08
Picon
Favicon

Re: Convert HTML to PostScript or PDF

My HTML's source is XML, I use Xalan to transform XML to HTML. Is the
result HTML ok for FOP? Or there is other shortcut to generate
PostScript or PDF from XML directly?

Thanks for your reply.

Best regards,
Leon

--- Glen Mazza <gmazza <at> apache.org> wrote:

> This article may be of help:
> http://www-128.ibm.com/developerworks/library/x-xslfo2app/
> 
> Glen
> 
> Jimmy Dixon wrote:
> > no - you would need to have your HTML in XHTML format so you can
> convert 
> > it to XSL-FO using XSLT, FOP can then be used to convert XSL-FO to
> PDF 
> > or (I think) Postscript.
> > 
> > Leon Pu wrote:
> > 
> >> Hi all,
> >>
> >> is it possible to use FOP to convert a HTML file to PostScript or
> PDF?
> >>
(Continue reading)

JBryant | 1 Nov 2005 18:20

Re: Convert HTML to PostScript or PDF

Your best bet is to use XSLT to go from your source XML to XSL:FO and skip 
trying to convert HTML into XSL:FO.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

Leon Pu <leon_xf_pu <at> yahoo.com.cn> 
11/01/2005 11:08 AM
Please respond to
fop-users <at> xmlgraphics.apache.org

To
fop-users <at> xmlgraphics.apache.org
cc

Subject
Re: Convert HTML to PostScript or PDF

My HTML's source is XML, I use Xalan to transform XML to HTML. Is the
result HTML ok for FOP? Or there is other shortcut to generate
PostScript or PDF from XML directly?

Thanks for your reply.

Best regards,
Leon

--- Glen Mazza <gmazza <at> apache.org> wrote:

(Continue reading)

Glen Mazza | 1 Nov 2005 18:33
Picon
Favicon

Re: Convert HTML to PostScript or PDF

Yes, that is standard--Docbook does that (maintains two separate 
stylesheets for HTML and FO.)

Glen

JBryant <at> s-s-t.com escribió:
> Your best bet is to use XSLT to go from your source XML to XSL:FO and skip 
> trying to convert HTML into XSL:FO.
> 
> Jay Bryant
> Bryant Communication Services
> (presently consulting at Synergistic Solution Technologies)
> 
> 
> 
> 
> Leon Pu <leon_xf_pu <at> yahoo.com.cn> 
> 11/01/2005 11:08 AM
> Please respond to
> fop-users <at> xmlgraphics.apache.org
> 
> 
> To
> fop-users <at> xmlgraphics.apache.org
> cc
> 
> Subject
> Re: Convert HTML to PostScript or PDF
> 
> 
(Continue reading)


Gmane