Re: Re: RTF-Output with FOP 0.93 looks terrible

2007-07-11 Thread leeloo5e79-devel
Hi Vincent,

great :-) But the Stylesheet for generating an OpenOffice- or better 
OpenDocument has not finished at all. That's a pitty :-(
Have you tried to open an OpenDocument-file in Microsoft Word? Most users are 
using word (a terrible application) and want to have a modifiable document 
which can be opened in Microsoft Word. So the only way is RTF at the moment :-(
I have to find another way to make it looks better in word.

Thanks for the link to the docbook2odf-project.
Best Regards,
Kerstin

Vincent Hennebert schrieb:
Hi, 
 
leeloo5e79-devel yahoo de a écrit : 
 Hi Jeremias, 
  
 you are correct: RTF is a terrible format. But seems to be the only way to 
 get a modifiable document.  There are also tools like which convert PDF to 
 Word-Documents. But these tools also had the problem in correct converting 
 PDF. 
 In this case I'm using DocBook to create complex documentations. With the 
 DocBook-Stylesheets I want to generate e.g. HTML, PDF and also an for 
 Microsoft Word applicable Document. 
 
If you want to generate a modifiable format from DocBook you will 
probably have much more success with the docbook2odf [1] or the 
roundtrip part of the DocBook stylesheets. 
 
I haven't looked at either of those. The link below might be 
interesting. The DocBook stylesheets allow to convert DocBook to WordML 
(and also ODF now, I believe) and vice-versa. Have a look at the 
docbook-apps@ archives and the DocBook website. 
 
Anyway, if I had to produce modifiable documents from DocBook sources I 
would certainly invest my time on such solutions rather than dealing 
with RTF. 
 
[1] http://open.comsultia.com/docbook2odf/ 
 
HTH, 
Vincent 

   
-
 Wissenswertes zum Thema PC, Zubehör oder Programme.BE A BETTER INTERNET-GURU!

Re: RTF-Output with FOP 0.93 looks terrible

2007-07-10 Thread leeloo5e79-devel
Hi Jeremias,

you are correct: RTF is a terrible format. But seems to be the only way to get 
a modifiable document.  There are also tools like which convert PDF to 
Word-Documents. But these tools also had the problem in correct converting PDF.
In this case I'm using DocBook to create complex documentations. With the 
DocBook-Stylesheets I want to generate e.g. HTML, PDF and also an for Microsoft 
Word applicable Document. 

Because of Adrian's question of what RTF viewing application I'm using (I used 
Microsoft Word), I used OpenOffice and hey it looks good - relativley. Only 
some XSL-FO-Features are missing (I described them in my answer of Adrians 
answer).

I will create a small DocBook-Document with some XSL-FO-Features which shows 
the occured problems. So maybe we find a solution ;-)

Thanks a lot.
Best Regards,
Kerstin

###
Let me start by stating that RTF is a terrible format to begin with 
(well, that's a personal opinion). Generally, it's not possible to map 
every feature in XSL-FO into RTF. But then, RTF is probably also the 
weakest output format in Apache FOP. I would only recommend RTF output 
for relatively simple business letters where people have to do some 
modifications before they are sent to the client. 
 
I'd be interested in the use case you have to convert DocBook to RTF. 
 
Please note that the RTF output is optimized for Microsoft Word. It will 
definitely look terrible in OpenOffice. 
 
On 28.06.2007 14:04:32 leeloo5e79-devel wrote: 
 I'm using FOP 0.93 to generate e.g. PDF from DocBook-XML with 
 DocBook-XSL. Everything looks fine in PDF. 71 sites are generated in 
 PDF :-)))  
 But the RTF-Output just looks terrible and has about 1900 !!! sites. 
 Seems on every page is one line or one table row printed out. The 
 content (e.g. lines) should be keep together or something else. Is 
 still working on this feature or has i just configure something to make it 
 work better? 
  
 Thanks, 
 Kerstin 
 
 
Jeremias Maerki 

-
Yahoo! Messenger -  kostenlos* mit Familie und Freunden von PC zu PC 
telefonieren. 

FOP 0.93: Java Heap Space OutOfMemory

2007-07-02 Thread leeloo5e79-devel
While generating a PDF from XML+XSL using FOP 0.93, FOP stops with Exception 
in thread main java.lang.OutOfMemoryError: Java heap space. Are their any 
limitations set in FOP or this is just a problem of to few system memory?
The generated PDF have more than 71 pages.



-
Besseren Schutz gegen Spam - jetzt bei dem neuen Yahoo! Mail .

RTF-Output with FOP 0.93 looks terrible

2007-06-28 Thread leeloo5e79-devel
I'm using FOP 0.93 to generate e.g. PDF from DocBook-XML with DocBook-XSL. 
Everything looks fine in PDF. 71 sites are generated in PDF :-))) 
But the RTF-Output just looks terrible and has about 1900 !!! sites. Seems on 
every page is one line or one table row printed out. The content (e.g. lines) 
should be keep together or something else. Is still working on this feature or 
has i just configure something to make it work better?

Thanks,
Kerstin



   
-
 BE A BETTER WELTENBUMMLER: Jetzt Frage stellen und einen von 44 iPods 
gewinnen! 

Printing PDF generated from FOP 0.93

2007-06-28 Thread leeloo5e79-devel
Just using FOP 0.93 to generated PDF-Output. Everything looks fine. But 
printing of some pages from Adobe Reader 8.0 and 8.1 are not possible. It just 
says: Printing failes. Using KPDF on Linux-Machine or something like Foxit 
Reader 2.0, the pages aren't printed out with Adobe Reader just printing now.
The pages aren't printed out makes a pagebreak inside a paragraph. Let's have a 
look at this:
fo:block space-before.optimum=1em 
  space-before.minimum=0.8em 
  space-before.maximum=1.2em
   fo:inline  font-weight=bold
   Windows-Verwaltungsanfälligkeiten:
  /fo:inline/fo:block
  fo:block space-before.optimum=1em 
space-before.minimum=0.8em 
space-before.maximum=1.2em
 Die Kennwortüberprüfung zeigte, dass zwei von fünf Benutzerkonten ein 
schwaches Kennwort besitzen. Darunter das Benutzerkonto Gast, welches jedoch 
deaktiviert ist. Weiterhin besitzen 3 dieser 
__
FOP inserts at this point a pagebreak. It is possible to print the page above, 
but not to print the page below.
__
Benutzerkonten nicht ablaufende Kennwörter, darunter das deaktivierte Gastkonto 
sowie der Administrator.
/fo:block

Know anybody the reason? Is this just a bug of Adobe Reader 8 or Adobe in 
General or maybe a feature? 

Thanks.

   
-
 Wissenswertes zum Thema PC, Zubehör oder Programme.BE A BETTER INTERNET-GURU!