Hello,
I'm looking for a way to convert a org.w3c.dom.Document with the FO-Format directly to
a PDF-File.
The following code is running if I use the x.fo-File written to the harddisk.
Using the document from memory I get an error:
[INFO]: building formatting object tree
[ERROR]: Unknown
Juergen Lippold wrote:
Hello,
I'm looking for a way to convert a org.w3c.dom.Document with the FO-Format directly
to a PDF-File.
The following code is running if I use the x.fo-File written to the harddisk.
Using the document from memory I get an error:
[INFO]: building formatting
Hello,
thats a good question, I hope that the document is ok. Can I check if the document in
memory is a fop-formatted document?
Writing the fo-document to harddisk and then using fop everything is ok.
Juergen
This is the document from harddisk:
?xml version=1.0 encoding=UTF-8?
fo:root
keiron 2002/06/04 01:13:21
Modified:src/org/apache/fop/svg Tag: fop-0_20_2-maintain
PDFANode.java PDFGraphics2D.java
.Tag: fop-0_20_2-maintain CHANGES
Log:
fixed external links in svg
Revision ChangesPath
No
I agree that mime types would be appropriate to select the output
format.
How would you use a mime type to select a special type or an alternative
renderer or do you think it is unlikely that there would be two
renderers for the same mime type.
Some people do have a sub-class of the awt renderer
But then, probably it's a namespace problem. You've probably got the
namespace declaration as a normal attribute in the DOM which (as far as
I know) doesn't automatically get translated into namespace SAX events.
And that's what FOP works on. So I'd verify that you've got a
namespace-enabled DOM
At 07:50 PM 6/3/02, you wrote:
Any other patches missing ?
Yes, alas, the change I introduced recently which improved the appearance
(ie spacing within words) in the awt renderr (command line -awt) introduces
a problem with word-to-word spacing in printing -- both when printing from
the
NB: I see the problem on NT4.0/sp6 -- I do not know what the results are
on different platforms.
I can confirm that the same problems exist on Windows 2000.
Cheers,
Jeremias Märki
mailto:[EMAIL PROTECTED]
OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 -
Hi Jeremias,
That sounds reasonable.
The actual interface may not be the render interface since we also need
to include the rtf, mif handlers.
On Tue, 2002-06-04 at 11:32, Jeremias Maerki wrote:
I'd compose the role name using the Renderer interfaces role name
(org.apache.fop.render.Renderer)
Hi Keiron
Oh, that's right. And there's AWT that might some kind of a speciality.
I mean, some will simply want to start the preview dialog, that's simple.
Others will want to paint on a custom panel.
Ok, that means we probably get another interface (TargetFormat?). That's
what is looked up
Ah. That clears it up. This definitely sounds like a step in the right direction.
-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 2:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Exploring the FOP API design space
The MIME types for renderer
Hello,
I have a fo document for printing mailing labels and positioning on the printesd
document needs to be exact. FOP generates a lovely pdf-document. But it doesn't seem
to be possible to print exactly this document.
Printing-Settings from Acrobat Reader are:
- shrink papersize is off
-
Hello Oleg,
namespaceAware doesn't make a differnce. No matter if true or false.
Regards,
Juergen Lippold
[EMAIL PROTECTED] 04.06.2002 13.46 Uhr
Juergen Lippold wrote:
thats a good question, I hope that the document is ok. Can I check if the document
in memory is a fop-formatted
pbwest 2002/06/04 06:30:23
Added: docs/design/alt.design user-agent-refs.xml
Log:
User agent references in XSL
Revision ChangesPath
1.1 xml-fop/docs/design/alt.design/user-agent-refs.xml
Index: user-agent-refs.xml
pbwest 2002/06/04 06:39:29
Modified:docs/design/alt.design book.xml
Log:
Added user-agent-refs
Revision ChangesPath
1.4 +1 -0 xml-fop/docs/design/alt.design/book.xml
Index: book.xml
===
Juergen Lippold wrote:
namespaceAware doesn't make a differnce. No matter if true or false.
Well, I'm out of ideas, lets go inside - show us how do you build Document.
--
Oleg Tkachenko
Multiconn International, Israel
-
To
I'm just curious, as I see messages talking about re-architecting, what the
plans are for supporting the float element? I've searched the archives
and couldn't find any substantive discussions on the matter.
Thanks!
Jason Foster
I would like to suggest the following enhancement:
We use the AWT viewer while creating XSL:FO style sheets to view the output.
This is faster then generating a PDF and loading it into Acrobat Reader over
and over again. It would be great if the AWT viewer had a Reload button
which would
Jason Foster wrote:
I'm just curious, as I see messages talking about re-architecting,
what the plans are for supporting the float element? I've searched
the archives and couldn't find any substantive discussions on the matter.
Jason,
In spite of the lack of substantive discussion,
chrisg 2002/06/04 10:53:59
Modified:.Tag: fop-0_20_2-maintain fop.bat
Log:
fixed problem with Win98/ME commandline (just wrong linefeed?)
Revision ChangesPath
No revision
No revision
1.4.2.4 +1 -2
In spite of the lack of substantive discussion, fo:float will definitely
be supported in the redesign.
Hooray! Marginalia in DocBook here I come!
Jason
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hmm, I've got a little tip. I'm using GhostView. Whenever the PDF that
is currently open in GhostView is changed and you switch the focus from
something else back to GhostView it automatically reloads the PDF.
On 04.06.2002 19:30:34 Jim Urban wrote:
I would like to suggest the following
Juergen Lippold wrote:
I'm looking for a way to convert a org.w3c.dom.Document with the FO-Format directly
to a PDF-File.
The following code is running if I use the x.fo-File written to the harddisk.
Using the document from memory I get an error:
[INFO]: building formatting object tree
Juergen Lippold wrote:
The result is a document with a left margin of 0.8cm (maybe from the printer?)
This would be unusual.
Is there a feature to set a margin for the printer in a FO-document?
Not that I'm aware of.
There may be persistent settings for the printer driver on the machine.
Whenever the PDF that is currently open
This implies having to generate a PDF first. I don't want to produce any
files. I want to view the results of FOP and be able to print them off. I
need to do this over and over again and thought it would be nice to simply
tell the AWT viewer to reload
I have been working with the XSmiles browser and have been quite enjoying
the experience of mixing XML content. In their documentation, the XSmiles
team mentions a few things that the current version of FOP doesn't support:
The limitations of FOP itself include:
* FOP's AWTRenderer is
*CROSSPOST * PROPOSAL OF PARTICIPATION *
Welcome to the first public discussion about project Morphos.
This message is being posted to many lists because it has the aim of solving
a common need.
The discussion will continue, for those interested, on the jakarta commons
mailing list.
To
27 matches
Mail list logo