FO-RTF conversion with latest fop build and stxx

2005-08-11 Thread Stanislav
Hi!

I manage to download and build latest fop. After that i create RTF from fo file 
from command line.
That was all very good and i was very happy :-) Because i use fop inside stxx 
and struts i tried to
integrate latest fop into struts and generate rtf and i failed :-(

Does anyone use stxx and fop together? I can describe what i do in code and put 
parts od code...

Tnx,

Stanislav

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



Re: FO-RTF conversion with latest fop build and stxx

2005-08-11 Thread Jeremias Maerki
If you tell us what exactly the problems are I'm more than glad to help.
There's no reason that FOP shouldn't work with struts. I don't know stxx,
but if that piece is properly designed, FOP should be easily integrated.

You need to make sure you've got all the necessary dependencies in your
classpath:
- avalon-framework.jar
- batik.jar (maybe RTF works without it, but I haven't checked)
- commons-io.jar
- commons-logging.jar

Have a look at the embedding examples in the examples/embedding
directory. That should help you go, as long as the documentation is not
updated on our website to reflect the changes on FOP's API.

Good luck and just keep asking! :-)

On 11.08.2005 09:31:19 Stanislav wrote:
 Hi!
 
 I manage to download and build latest fop. After that i create RTF from fo 
 file from command line.
 That was all very good and i was very happy :-) Because i use fop inside stxx 
 and struts i tried to
 integrate latest fop into struts and generate rtf and i failed :-(
 
 Does anyone use stxx and fop together? I can describe what i do in code and 
 put parts od code...


Jeremias Maerki


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



FO to RTF with Revision 231325

2005-08-11 Thread Tony Morris

I am attempting to generate a RTF document from a simple FO document.
I am generating the FO from a XHTML source using the Antenna House XSL.

The FO document is at http://pastebin.com/334402

The error produced from the Ant task is:
[fop] 11/08/2005 18:46:24 org.apache.fop.fo.properties.EnumLength getValue
[fop] SEVERE: getValue() called on AUTO length

Any tips are most appreciated.

Tony Morris
Software Engineer, IBM Australia.
BInfTech, SCJP 1.4, SCJP 5.0, SCJD

http://www.tmorris.net/
http://www.jtiger.org/ JTiger Unit Test Framework for Java
http://qa.jtiger.org/ Java QA (FAQ, Trivia)


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



re: FO to RTF with Revision 231325

2005-08-11 Thread Stanislav
Hi!

When you download fop (latest official build) in examples/fo/basic you have 
numerous .fo document
that you can transform into RTF (or other document type), just to check if your 
fop is working.

Stanislav

 I am attempting to generate a RTF document from a simple FO document.
 I am generating the FO from a XHTML source using the Antenna House XSL.
 
 The FO document is at http://pastebin.com/334402
 
 The error produced from the Ant task is:
 [fop] 11/08/2005 18:46:24 org.apache.fop.fo.properties.EnumLength getValue
 [fop] SEVERE: getValue() called on AUTO length
 
 Any tips are most appreciated.
 
 Tony Morris
 Software Engineer, IBM Australia.
 BInfTech, SCJP 1.4, SCJP 5.0, SCJD

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



Inline figure

2005-08-11 Thread Jukka Ignatius
Hello!

Is there a way to define vertical align for a inline figure in FOP? 

As I checked from the compliance page, all the Area Alignment
Properties seem to be partially or not at all supported. As you
probably all know, by default fo:external-graphic aligns as follows
(sorry the terrible ascii demonstration, hope you get the picture ;)

---
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam 
  
pulvinar. |  | Nunc neque. Donec tortor metus, mollis id, 
  |__|
interdum eu, scelerisque nec, orci. Cras dolor nibh, facilisis.
---

And i would like to have those inline figure more like:

---
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam 
  
  |  |
pulvinar. |__| Nunc neque. Donec tortor metus, mollis id, 

interdum eu, scelerisque nec, orci. Cras dolor nibh, facilisis.
---

Any suggestions?

best rgds,

-- 
Jukka Ignatius
Napa Ltd

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



Re: FO-RTF conversion with latest fop build and stxx

2005-08-11 Thread Jeremias Maerki
I've just looked up this message. The problem is that this person
doesn't seem to know that FOP 0.20.5 doesn't support RTF output (and the
CachedFOPTransformer doesn't, either) and the API has changed quite
radically between 0.20.5 and the current trunk code. So I am right, and
he is wrong. :-)

On 11.08.2005 10:56:43 Stanislav wrote:
 Hi!
 
 I was also thinking about that, but people from struts-xsl (stxx) mailing 
 list told me something
 else :-) I will try to download stxx source, make changes, compile, run and 
 let you know :-)
 
 Tnx,
 
 Stanislav
 
  I may just have seen one of these problems. Looks like stxx is a user of
  FOP. If you used a stxx Transformer until now, you will probably have to
  make a copy of the CachedFOPTransformer, adjust it to the new FOP API
  and add support for RTF output. Looking at the source code of stxx, this
  should be very easy.
  
  On 11.08.2005 09:31:19 Stanislav wrote:
   Hi!
   
   I manage to download and build latest fop. After that i create RTF from 
   fo file from command
   line. That was all very good and i was very happy :-) Because i use fop 
   inside stxx and struts i
   tried to integrate latest fop into struts and generate rtf and i failed 
   :-(
   
   Does anyone use stxx and fop together? I can describe what i do in code 
   and put parts od code...


Jeremias Maerki


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



Re: FO-RTF conversion with latest fop build and stxx

2005-08-11 Thread Stanislav
:-

I realised that after i visit some web pages and, of course, fop mailing list 
archive :-)

Stanislav

 I've just looked up this message. The problem is that this person
 doesn't seem to know that FOP 0.20.5 doesn't support RTF output (and the
 CachedFOPTransformer doesn't, either) and the API has changed quite
 radically between 0.20.5 and the current trunk code. So I am right, and
 he is wrong. :-)

 Jeremias Maerki
 On 11.08.2005 10:56:43 Stanislav wrote:
  Hi!
  
  I was also thinking about that, but people from struts-xsl (stxx) mailing 
  list told me
  something else :-) I will try to download stxx source, make changes, 
  compile, run and let you
  know :-) 
  Tnx,
  
  Stanislav
  
   I may just have seen one of these problems. Looks like stxx is a user of
   FOP. If you used a stxx Transformer until now, you will probably have to
   make a copy of the CachedFOPTransformer, adjust it to the new FOP API
   and add support for RTF output. Looking at the source code of stxx, this
   should be very easy.
   
   On 11.08.2005 09:31:19 Stanislav wrote:
Hi!

I manage to download and build latest fop. After that i create RTF from 
fo file from command
line. That was all very good and i was very happy :-) Because i use fop 
inside stxx and
struts i tried to integrate latest fop into struts and generate rtf and 
i failed :-(

Does anyone use stxx and fop together? I can describe what i do in code 
and put parts od
 code...

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



Re: FO-RTF conversion with latest fop build and stxx

2005-08-11 Thread Manuel Mall
Stanislav,

in ASF BugZilla 
(http://issues.apache.org/bugzilla/show_bug.cgi?id=35939) you'll find a 
backwards compatible Driver.java class for the trunk code. That should 
(theoretically) allow you to replace the 0.20.5 fop.jar with the trunk 
fop.jar without changes to the calling application. That may help you 
to put the new code into the stxx environment without having to modify  
it.

Manuel

On Thu, 11 Aug 2005 05:17 pm, Stanislav wrote:
 :-

 I realised that after i visit some web pages and, of course, fop
 mailing list archive :-)

 Stanislav

  I've just looked up this message. The problem is that this person
  doesn't seem to know that FOP 0.20.5 doesn't support RTF output
  (and the CachedFOPTransformer doesn't, either) and the API has
  changed quite radically between 0.20.5 and the current trunk code.
  So I am right, and he is wrong. :-)
 
  Jeremias Maerki
 
  On 11.08.2005 10:56:43 Stanislav wrote:
   Hi!
  
   I was also thinking about that, but people from struts-xsl
   (stxx) mailing list told me something else :-) I will try to
   download stxx source, make changes, compile, run and let you know
   :-)
   Tnx,
  
   Stanislav
  
I may just have seen one of these problems. Looks like stxx is
a user of FOP. If you used a stxx Transformer until now, you
will probably have to make a copy of the CachedFOPTransformer,
adjust it to the new FOP API and add support for RTF output.
Looking at the source code of stxx, this should be very easy.
   
On 11.08.2005 09:31:19 Stanislav wrote:
 Hi!

 I manage to download and build latest fop. After that i
 create RTF from fo file from command line. That was all very
 good and i was very happy :-) Because i use fop inside stxx
 and struts i tried to integrate latest fop into struts and
 generate rtf and i failed :-(

 Does anyone use stxx and fop together? I can describe what i
 do in code and put parts od
 
  code...

 -
 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]



Re: FO to RTF with Revision 231325

2005-08-11 Thread Jeremias Maerki

On 11.08.2005 10:51:23 Tony Morris wrote:
 I am attempting to generate a RTF document from a simple FO document.
 I am generating the FO from a XHTML source using the Antenna House XSL.
 
 The FO document is at http://pastebin.com/334402
 
 The error produced from the Ant task is:
 [fop] 11/08/2005 18:46:24 org.apache.fop.fo.properties.EnumLength getValue
 [fop] SEVERE: getValue() called on AUTO length

It's not good that you don't get line information where the problem
happens. Looks like we have a few things to improve in this area.

Anyway, the problem is the auto value on page-width and page-height in
the simple-page-master. FOP doesn't seem to support that, yet. The RTF
is generated all the same and looks pretty much ok here.

Doing this helps:
fo:simple-page-master page-height=29.7cm page-width=21cm 
master-name=all-pages




Jeremias Maerki


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



Re: FO to RTF with Revision 231325

2005-08-11 Thread Jeremias Maerki

On 11.08.2005 11:20:31 Tony Morris wrote:
 Having looked at some of those examples, it certainly begs the question, 'do 
 you guys use a simple text editor for all that?'.

Oh, yes, we do! :-) At least, the hard-core XSL-FO users do.

 I guess I'll get started with the W3C document so that I know what I'm 
 talking about.

Not a bad idea, since XSL-FO is a complex beast and FOP trunk is
work-in-progress. This technology is still far from being a no-brainer,
unfortunately. Be prepared to stumble over a few problems with RTF
output. It will probably not be perfect if that's at all possible with a
format like RTF and the common use case: M$ Word.

Jeremias Maerki


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



Re: FO-RTF conversion with latest fop build and stxx

2005-08-11 Thread Stanislav
Hi,

I need fop trunk code only because it's support rtf conversion and i think that 
this Driver.java
does not suppport RTF conversion (i didn't find RTF render). Is this correct?

Stanislav 

 Stanislav,
 
 in ASF BugZilla 
 (http://issues.apache.org/bugzilla/show_bug.cgi?id=35939) you'll find a 
 backwards compatible Driver.java class for the trunk code. That should 
 (theoretically) allow you to replace the 0.20.5 fop.jar with the trunk 
 fop.jar without changes to the calling application. That may help you 
 to put the new code into the stxx environment without having to modify  
 it.
 
 Manuel
 
 On Thu, 11 Aug 2005 05:17 pm, Stanislav wrote:
  :-
 
  I realised that after i visit some web pages and, of course, fop
  mailing list archive :-)
 
  Stanislav
 
   I've just looked up this message. The problem is that this person
   doesn't seem to know that FOP 0.20.5 doesn't support RTF output
   (and the CachedFOPTransformer doesn't, either) and the API has
   changed quite radically between 0.20.5 and the current trunk code.
   So I am right, and he is wrong. :-)
  
   Jeremias Maerki
  
   On 11.08.2005 10:56:43 Stanislav wrote:
Hi!
   
I was also thinking about that, but people from struts-xsl
(stxx) mailing list told me something else :-) I will try to
download stxx source, make changes, compile, run and let you know
:-)
Tnx,
   
Stanislav
   
 I may just have seen one of these problems. Looks like stxx is
 a user of FOP. If you used a stxx Transformer until now, you
 will probably have to make a copy of the CachedFOPTransformer,
 adjust it to the new FOP API and add support for RTF output.
 Looking at the source code of stxx, this should be very easy.

 On 11.08.2005 09:31:19 Stanislav wrote:
  Hi!
 
  I manage to download and build latest fop. After that i
  create RTF from fo file from command line. That was all very
  good and i was very happy :-) Because i use fop inside stxx
  and struts i tried to integrate latest fop into struts and
  generate rtf and i failed :-(
 
  Does anyone use stxx and fop together? I can describe what i
  do in code and put parts od
  
   code...
 
  -
  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]
 
 
/blockquote

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



Re: FO-RTF conversion with latest fop build and stxx

2005-08-11 Thread Manuel Mall
Stanislav,

true but easily fixed - define a RENDER_RTF constant at the top of the 
file and add the appropriate case to the switch statement in 
setRenderer()

case RENDER_RTF:
_fop = new Fop(Fop.RENDER_RTF);
break;

Of course you still have to tell your application to use the new 
RENDER_RTF constant when invoking the Driver.

Manuel

On Thu, 11 Aug 2005 05:40 pm, Stanislav wrote:
 Hi,

 I need fop trunk code only because it's support rtf conversion and i
 think that this Driver.java does not suppport RTF conversion (i
 didn't find RTF render). Is this correct?

 Stanislav

  Stanislav,
 
  in ASF BugZilla
  (http://issues.apache.org/bugzilla/show_bug.cgi?id=35939) you'll
  find a backwards compatible Driver.java class for the trunk code.
  That should (theoretically) allow you to replace the 0.20.5 fop.jar
  with the trunk fop.jar without changes to the calling application.
  That may help you to put the new code into the stxx environment
  without having to modify it.
 
  Manuel
 
  On Thu, 11 Aug 2005 05:17 pm, Stanislav wrote:
   :-
  
   I realised that after i visit some web pages and, of course, fop
   mailing list archive :-)
  
   Stanislav
  
I've just looked up this message. The problem is that this
person doesn't seem to know that FOP 0.20.5 doesn't support RTF
output (and the CachedFOPTransformer doesn't, either) and the
API has changed quite radically between 0.20.5 and the current
trunk code. So I am right, and he is wrong. :-)
   
Jeremias Maerki
   
On 11.08.2005 10:56:43 Stanislav wrote:
 Hi!

 I was also thinking about that, but people from struts-xsl
 (stxx) mailing list told me something else :-) I will try to
 download stxx source, make changes, compile, run and let you
 know

 :-)

 Tnx,

 Stanislav

  I may just have seen one of these problems. Looks like stxx
  is a user of FOP. If you used a stxx Transformer until now,
  you will probably have to make a copy of the
  CachedFOPTransformer, adjust it to the new FOP API and add
  support for RTF output. Looking at the source code of stxx,
  this should be very easy.
 
  On 11.08.2005 09:31:19 Stanislav wrote:
   Hi!
  
   I manage to download and build latest fop. After that i
   create RTF from fo file from command line. That was all
   very good and i was very happy :-) Because i use fop
   inside stxx and struts i tried to integrate latest fop
   into struts and generate rtf and i failed :-(
  
   Does anyone use stxx and fop together? I can describe
   what i do in code and put parts od
   
code...
  
   -
   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]

 /blockquote

 -
 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]



Re: FO to RTF with Revision 231325

2005-08-11 Thread Jeremias Maerki
Ok, I only looked at it through OpenOffice 1.1.4 where it looks more or
less ok. Word indeed has a problem with it. If you set the page-width
and page-height to absolute values, the whole thing gets better.

Still, I just realized that the region-before content is not being
rendered in the page header as it should be. I will have to see why that
is so. But besides that, the userdoc.fo file from your jtiger.org site
doesn't look ultimatively bad once the page size is fixed.

On 11.08.2005 11:35:42 Tony Morris wrote:
  The RTF is generated all the same and looks pretty much ok here.
 
 That's strange - I get a very broken document.


Jeremias Maerki


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



Re: Inline figure

2005-08-11 Thread Jeremias Maerki
I'm afraid you're out of luck with FOP 0.20.5. See here:
http://marc.theaimsgroup.com/?l=fop-userm=105406458432749w=2

If you're adventurous, you can try the current development code directly
from the Subversion repository. It's implemented there. No guarantees
about other problems occuring if you try that. This is still
work-in-progress.

On 11.08.2005 11:06:19 Jukka Ignatius wrote:
 Hello!
 
 Is there a way to define vertical align for a inline figure in FOP? 
 
 As I checked from the compliance page, all the Area Alignment
 Properties seem to be partially or not at all supported. As you
 probably all know, by default fo:external-graphic aligns as follows
 (sorry the terrible ascii demonstration, hope you get the picture ;)
 
 ---
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam 
   
 pulvinar. |  | Nunc neque. Donec tortor metus, mollis id, 
   |__|
 interdum eu, scelerisque nec, orci. Cras dolor nibh, facilisis.
 ---
 
 And i would like to have those inline figure more like:
 
 ---
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam 
   
   |  |
 pulvinar. |__| Nunc neque. Donec tortor metus, mollis id, 
 
 interdum eu, scelerisque nec, orci. Cras dolor nibh, facilisis.
 ---
 
 Any suggestions?


Jeremias Maerki


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



RE: Inline figure

2005-08-11 Thread Jukka Ignatius

Thanks for the quick answer! This is actually what I thought.

Adventorous as I am, I would like to test out the trunk code. But since
we use FOP in quite critical solution, we would not want to update/test
the trunk code. Everybody's busy here as well... :(

So at the moment we're eagerly waiting for the 1.0DR1 to come out. Is
the Current Status of FOP -page up to date at the moment? (However,
we think that at the current rate of progress we can start releasing
again in the second half of 2005.)

rgds,
-Jukka



 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
 Sent: 11. elokuuta 2005 13:05
 To: fop-users@xmlgraphics.apache.org
 Subject: Re: Inline figure
 
 I'm afraid you're out of luck with FOP 0.20.5. See here:
 http://marc.theaimsgroup.com/?l=fop-userm=105406458432749w=2
 
 If you're adventurous, you can try the current development 
 code directly from the Subversion repository. It's 
 implemented there. No guarantees about other problems 
 occuring if you try that. This is still work-in-progress.
 
 On 11.08.2005 11:06:19 Jukka Ignatius wrote:
  Hello!
  
  Is there a way to define vertical align for a inline figure in FOP? 
  
  As I checked from the compliance page, all the Area Alignment 
  Properties seem to be partially or not at all supported. As you 
  probably all know, by default fo:external-graphic aligns as follows 
  (sorry the terrible ascii demonstration, hope you get the picture ;)
  
  ---
  Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam 

  pulvinar. |  | Nunc neque. Donec tortor metus, mollis id, 
|__|
  interdum eu, scelerisque nec, orci. Cras dolor nibh, facilisis.
  ---
  
  And i would like to have those inline figure more like:
  
  ---
  Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam 

|  |
  pulvinar. |__| Nunc neque. Donec tortor metus, mollis id,
  
  interdum eu, scelerisque nec, orci. Cras dolor nibh, facilisis.
  ---
  
  Any suggestions?
 
 
 Jeremias Maerki
 
 
 -
 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]



Re: Inline figure

2005-08-11 Thread Jeremias Maerki

On 11.08.2005 12:15:33 Jukka Ignatius wrote:
 So at the moment we're eagerly waiting for the 1.0DR1 to come out. Is
 the Current Status of FOP -page up to date at the moment? (However,
 we think that at the current rate of progress we can start releasing
 again in the second half of 2005.)

Since we're planning a first preview release (not a stable release) within
the next couple of months, yes, this still applies. See also:
http://wiki.apache.org/xmlgraphics-fop/FOPNews


Jeremias Maerki


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



font problem

2005-08-11 Thread Jan Pernica

hi everybody

We want to use jdk 1.5 and tomcat 5.5.x. But FOP 0.20.5 doesn't load 
font information. With JDK 1.4.2 and tomcat 5.0.28 it works fine.


Do you have any recomendation how to use fop on JDK 1.5?

Thank you

Jan

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



fo:table into fo:list-item-body isn't align correctly

2005-08-11 Thread Willy Reinhardt
Hi,

My document has a list. If the content of the list-item-body is a text or an 
image the pdf result is correct but if the content is a table the border of 
table isn't indented after the label so the table is align to the border of 
page.
I add below the fo:list-item content, for me it seems correct. Have you any 
suggestions ? 


fo:list-item
fo:list-item-label end-indent=label-end()
fo:block*/fo:block
/fo:list-item-label
fo:list-item-body start-indent=body-start()
fo:block
fo:table font-family=Times,serif font-size=10pt 
font-weight=normal color=black table-layout=fixed
fo:table-column column-width=1.33in/
fo:table-column column-width=1.33in/
fo:table-column column-width=1.33in/
fo:table-body
!-- Content --
/fo:table-body
/fo:table
/fo:block
/fo:list-item-body
/fo:list-item

Thanks 

Willy

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



Re: fo:page-number-citation fault

2005-08-11 Thread Frank Lorenz



The fix involved deferring space adjustment until after the
actual page number is known. You wont get line breaks adjusted
this way. Your only option seems to be two stage processing,
which may alos allow you to get rid of duplicated page numbers.

Note that for proper space adjustment you'll probably have to include 
a space between the leader and the page number citation.



I tried to change FOP as you advised. But i've not the faintest idea of 
the FOP source. So it is really important for me to get this 
fo:page-number-citation thing to work. I would even pay for it, if 
someone is able to code FOP. By the way, multiple equal pagenumbers make 
sense for my requirements.


Regards Frank

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



Re: Keeping fo:block with the page's end

2005-08-11 Thread Frank Lorenz

Hi there!

Your suggestions all work great for e.g. AntennaHouse. But FOP does not 
do the job. I think it depends on the strange fo:block-container 
behavior and on the not properly working display-align attribute. I 
think i have to vertical align the last block manually .


Regards Frank

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



Re: fo:page-number-citation fault

2005-08-11 Thread J.Pietschmann

Frank Lorenz wrote:

I tried to change FOP as you advised.


Uh? I'm confused.

Two stage processing works roughly as follows:
1. Generate the FO as before. Instead of rendering PDF, create
 the XML area tree (the -at option)
2. Use XSLT to extract the real page numbers from the XML.
 This is the tricky part, you might have to change the FO
 to include marker content (not to be confused with FO
 markers) in order to identify the areas whose page numbers
 you need as well as the page numbers itself.
3. Generate the FO again, but replace the page number citations
 with the real page numbers you got from step 2. Render to PDF
 or whatever.
4. Have a look on the result and check whether the additional
 line breaks in step 3 (compared to step 1) might cause oscillation
 effects. Adding a FO providing buffer space might be a good idea.
5. Automate the process.

J.Pietschmann

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



Re: font problem

2005-08-11 Thread Jan Pernica
Thank you for reply. With JDK 1.4 and Tomcat 5.5.9 it works fine. I will 
check the security. In the archive I have found that there some problems 
with JDK 1.5



Thank you



J.Pietschmann wrote:


Jan Pernica wrote:

We want to use jdk 1.5 and tomcat 5.5.x. But FOP 0.20.5 doesn't load 
font information. With JDK 1.4.2 and tomcat 5.0.28 it works fine.


Do you have any recomendation how to use fop on JDK 1.5?



If you use FOP in a web app, there is no reason to believe JDK 1.5 is
the exclusive source of problems.

How does the doesn't load font information manifest itself?
What is this font information: user font metrics, embedded
font files or a user configuration file?
Do you have logs or other sources of additional information
on what went wrong?
Did you try the combination of Tomcat 5.0.28 and JDK 1.5?
Did you run the Tomcat 5.5.x on the same file set as the 5.0
installation? If not: did you check file permissions or other
security settings?

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]