Re: TOC page number problem

2003-02-24 Thread Doray, Arnold
Date: Fri, 21 Feb 2003 19:36:54 +0100
To:  [EMAIL PROTECTED]
From: J.Pietschmann [EMAIL PROTECTED]
Subject: Re: TOC page number problem
Message-ID: [EMAIL PROTECTED]

Could you post the FO here? There have been lots of complaints
about this and related issues, however, they are hard to track
down without a possiblity to reporduce them.

To get this problem, the FO has to be pretty big, so I'll send it
to you off-list. If anyone else would like a copy please mail
me.

Regards,

Arnold Doray
Fugro GEOS



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



FOP : Some doubts..

2003-02-24 Thread shankar




Hai,

I am new user to FOP.

Where can I find Examples files 
like ExampleFO2PDF.java, ExampleXML2FO.java, ExampleXML2PDF.java..,etc..?

Is it possible to embed graphical files such
as jpeg or png in the PDF output..?. 
-- 
With Best Regards / Mit Freundlichen Gren
Shankar ThulasiRaman
___
Maas High Tech Software GmbH, Germany
Calysto Softwares, India -- Ideas 2 Reality

Tel: +91  44 / 52139048
Mobile: +91 98403 78757

http://maas.dehttp://afp2web.de http://xml4cobol.de






Problem with Servlet and IEExplorer

2003-02-24 Thread Eveline . Meyer
Hello everybody!

I made a PDF with FOP and wanted to send the output via the servlet to the
IEExplorer to view it with Acrobat Reader within the Explorer. My problem
is, that the Explorer after he has loaded the page reloads it immediately  a
second time and only then it displays the output. I've already tried to set
up IEExplorer to not reload any page in the Settings, but it didn't help.

Did anybody have the same problem?

Thanks for help

Eveline

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



Re: FOP : Some doubts..

2003-02-24 Thread Jeremias Maerki

On 24.02.2003 12:31:08 shankar wrote:
 I am new user to FOP.
 
 Where can I find Examples files
 like ExampleFO2PDF.java, ExampleXML2FO.java, ExampleXML2PDF.java..,etc..?

They are only available since FOP 0.20.5rc2. Please upgrade. You'll find
them in the directory examples/embedding.

 Is it possible to embed graphical files such as jpeg or png in the PDF 
 output..?.

Sure. Consult the specification for fo:external-graphic. You might have
to download JIMI or JAI image libraries from Sun. Please read the
release notes for further information. Under examples/fo/basic in the
current distribution you'll find an example file (images.fo) which will
show you how to do it.


Jeremias Maerki


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



Re: paragraph styles and character styles

2003-02-24 Thread Jeremias Maerki
Do I get you right that you seek something like the styles available in
Microsoft Word or OpenOffice Writer? There is no direct equivalent to
this in XSL-FO. What you can do, though, if you're working with XSLT is
working with xsl:attribute-set (a feature of XSLT), for example.

Other than that you only have the clever cascading of style attributes.
Most style attributes are inherited from parent elements if they aren't
specified. Here's a simple example:

[..]
fo:block font-family=MyFont font-size=10pt
  fo:block font-weight=bold font-size=12ptMyTitle/fo:block
  fo:blockSome paragraph/fo:block
  fo:blockSome paragraph/fo:block
  fo:blockSome paragraph/fo:block
  fo:block font-weight=bold font-size=12ptMyTitle/fo:block
  fo:blockSome fo:inline font-style=italicparagraphfo:inline/fo:block
/fo:block
[..]

A third posibility may be to have a two stage XSLT process where you
define an intermediate XML format that makes use of style names. You
then have to create an XSL stylesheet that can translate those styles to
their XSL-FO commands.

In the end there are lots of possibilities to do what you want, just
maybe not the easy one you seek.

I hope that helps.

On 23.02.2003 20:19:36 Moataz Omar wrote:
 What should I do to give the text a paragraph style name or a character
 style name, I mean that I give the text a style name.



Jeremias Maerki


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



Re: symbol font SVG not display

2003-02-24 Thread H. krishna
Dear J.Pietschmann,

Thank for your replay mail.
 
 Trz Symbol, with an upper case S.

Now, My symbol font problem is solved.

 1. Check whether the SVG can be displayed with
 Batik.

Yes, My SVG file is displayed on batik.

 2. Run the FOP CLI with the -d switch, if you get a
 stack
 trace, post it.

I don't understood, what the meaning of CLI. Please
replay me.

Regards,
H. Balakrishnan


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Re: symbol font SVG not display

2003-02-24 Thread Myriam Delperier
i think you should put -d  (like debug) option in fop.bat
it would be something like this
java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop -d %1 %2 %3 %4 %5 %6 %7 %8
- Original Message -
From: H. krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 9:18 AM
Subject: Re: symbol font  SVG not display


 Dear J.Pietschmann,

 Thank for your replay mail.
 
  Trz Symbol, with an upper case S.

 Now, My symbol font problem is solved.

  1. Check whether the SVG can be displayed with
  Batik.

 Yes, My SVG file is displayed on batik.

  2. Run the FOP CLI with the -d switch, if you get a
  stack
  trace, post it.

 I don't understood, what the meaning of CLI. Please
 replay me.

 Regards,
 H. Balakrishnan


 __
 Do you Yahoo!?
 Yahoo! Tax Center - forms, calculators, tips, more
 http://taxes.yahoo.com/

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



Can't get it work (was: Insert SVG image)

2003-02-24 Thread Timo Haberkern
Hello again,
i can't sort out my problem with inserting external SVG images. Is there 
somebody who can help me? It is very urgent!
I still have the same problem. If i embedd a SVG image with fo:external-graphic 
it is included correctly, but wrong scaled.
If i use:
fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; 
xml:space=preserve
image xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg width=113 
height=23/
/svg
/fo:instream-foreign-object
i dont see my image at all.
I am using the current RC2.
Somebody has an idea whats going wrong? I have attached my SVG image.
Best regards
Timo
Timo Haberkern wrote:

Hello all,
i have a problem inserting a SVG image. First i tried it with:
fo:external-graphic src=file.svg width=10cm but it seems there is 
a bug. The SVG image is shown correctly but isn't scaled as i wished (to 
be exactly- The image allways has the full width of the region-body!).

After a look in the examples i saw, that there is used the following:
fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; http://www.w3.org/2000/svg width=20mm 
height=20mm xml:space=preserve
image preserveAspectRatio=xMidYMid xlink:href=file:file.svg x=0 
y=0 width=10mm height=10mm/
/svg
/fo:instream-foreign-object

I tried to adapt this. But now there is the standard-Error-Image of 
batik shown. If i insert the boxes.svg from the samples instead of 
file.svg everything was fine.

Is there a problem with my file (but it was shown correctly with 
external-graphic and batiks squiggle)??

Thanks for any help...

inline: Kanaele.svg-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can't get it work (was: Insert SVG image)

2003-02-24 Thread Myriam Delperier
I don't know if it's the only problem but I think
you have to put the attributes width  height in your svg element
here is an exemple which works for me

fo:block

fo:instream-foreign-object

svg id=svg-root width=32 height=50
xmlns:xlink=http://www.w3.org/1999/xlink;
xmlns=http://www.w3.org/2000/svg; 

title id=test-titleImage svg test/title

desc id=test-descTest/desc

g id=test-body-content

image id=image1JPEG x=0 y=0 width=32 height=50
xlink:href=../../production/lyon2/2000/dieng_sa/xml/ressources/gif.gif/

/g

/svg

/fo:instream-foreign-object

/fo:block


- Original Message -

From: Timo Haberkern [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:00 AM
Subject: Can't get it work (was: Insert SVG image)


 Hello again,

 i can't sort out my problem with inserting external SVG images. Is there
somebody who can help me? It is very urgent!

 I still have the same problem. If i embedd a SVG image with
fo:external-graphic it is included correctly, but wrong scaled.

 If i use:

 fo:instream-foreign-object
 svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
xml:space=preserve
 image xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg
width=113 height=23/
 /svg
 /fo:instream-foreign-object

 i dont see my image at all.

 I am using the current RC2.
 Somebody has an idea whats going wrong? I have attached my SVG image.

 Best regards

 Timo

 Timo Haberkern wrote:
 
 Hello all,

 i have a problem inserting a SVG image. First i tried it with:

 fo:external-graphic src=file.svg width=10cm but it seems there is
 a bug. The SVG image is shown correctly but isn't scaled as i wished (to
 be exactly- The image allways has the full width of the region-body!).

 After a look in the examples i saw, that there is used the following:

 fo:instream-foreign-object
 svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
http://www.w3.org/2000/svg width=20mm
 height=20mm xml:space=preserve
 image preserveAspectRatio=xMidYMid xlink:href=file:file.svg x=0
 y=0 width=10mm height=10mm/
 /svg
 /fo:instream-foreign-object

 I tried to adapt this. But now there is the standard-Error-Image of
 batik shown. If i insert the boxes.svg from the samples instead of
 file.svg everything was fine.

 Is there a problem with my file (but it was shown correctly with
 external-graphic and batiks squiggle)??

 Thanks for any help...









 -
 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: symbol font SVG not display

2003-02-24 Thread H. krishna
Dear Myriam Delperier,

 i think you should put -d  (like debug) option in
 fop.bat
 it would be something like this
 java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop -d
 %1 %2 %3 %4 %5 %6 %7 %8
 java -Xmx250m -cp
%LOCALCLASSPATH%org.apache.fop.apps.Fop  -d -c
conf\userconfig.xml %1 %2 %3 %4 %5 %6 %7 %8

Yes, see My fop.bat file:
java -Xmx250m -cp %LOCALCLASSPATH%
org.apache.fop.apps.Fop  -d -c conf\userconfig.xml %1
%2 %3 %4 %5 %6 %7 %8

But, i am not get a stack trace. what is meant by
stack trace?

  Regards,
  H. Balakrishnan


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Re: Can't get it work (was: Insert SVG image)

2003-02-24 Thread Timo Haberkern
That doesn't work too. Now i get the batik image for broken-image (see 
attached pdf page 2). I use now:

fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; 
width=113mm height=23mm
   image preserveAspectRatio=xMidYMid 
xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg 
width=113 height=23/
/svg
/fo:instream-foreign-object

Timo
Myriam Delperier wrote:
I don't know if it's the only problem but I think
you have to put the attributes width  height in your svg element
here is an exemple which works for me
fo:block
fo:instream-foreign-object
svg id=svg-root width=32 height=50
xmlns:xlink=http://www.w3.org/1999/xlink;
xmlns=http://www.w3.org/2000/svg; 
title id=test-titleImage svg test/title
desc id=test-descTest/desc
g id=test-body-content
image id=image1JPEG x=0 y=0 width=32 height=50
xlink:href=../../production/lyon2/2000/dieng_sa/xml/ressources/gif.gif/
/g
/svg
/fo:instream-foreign-object
/fo:block
- Original Message -
From: Timo Haberkern [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:00 AM
Subject: Can't get it work (was: Insert SVG image)
 

Hello again,
i can't sort out my problem with inserting external SVG images. Is there
   

somebody who can help me? It is very urgent!
 

I still have the same problem. If i embedd a SVG image with
   

fo:external-graphic it is included correctly, but wrong scaled.
 

If i use:
fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
   

xml:space=preserve
 

image xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg
   

width=113 height=23/
 

/svg
/fo:instream-foreign-object
i dont see my image at all.
I am using the current RC2.
Somebody has an idea whats going wrong? I have attached my SVG image.
Best regards
Timo
Timo Haberkern wrote:

Hello all,
i have a problem inserting a SVG image. First i tried it with:
fo:external-graphic src=file.svg width=10cm but it seems there is
a bug. The SVG image is shown correctly but isn't scaled as i wished (to
be exactly- The image allways has the full width of the region-body!).
After a look in the examples i saw, that there is used the following:
fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
   

http://www.w3.org/2000/svg width=20mm
 

height=20mm xml:space=preserve
image preserveAspectRatio=xMidYMid xlink:href=file:file.svg x=0
y=0 width=10mm height=10mm/
/svg
/fo:instream-foreign-object
I tried to adapt this. But now there is the standard-Error-Image of
batik shown. If i insert the boxes.svg from the samples instead of
file.svg everything was fine.
Is there a problem with my file (but it was shown correctly with
external-graphic and batiks squiggle)??
Thanks for any help...

   




 

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

--
Grüsse
Timo Haberkern
EMEDIA OFFICE GmbH
Wingertstr. 4
74850 Schefflenz-Kl.
http://www.emedia-office.com
[EMAIL PROTECTED]
Tel.: 06293/921121
Fax:  06293/921129


out.pdf
Description: Adobe PDF document
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can't get it work (was: Insert SVG image)

2003-02-24 Thread Myriam Delperier
maybe there is a porblem between the size of your image and
viewBox=0 0 20 20

- Original Message -
From: Timo Haberkern [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:20 AM
Subject: Re: Can't get it work (was: Insert SVG image)


 That doesn't work too. Now i get the batik image for broken-image (see
 attached pdf page 2). I use now:

 fo:instream-foreign-object
 svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
 width=113mm height=23mm
 image preserveAspectRatio=xMidYMid
 xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg
 width=113 height=23/
 /svg
 /fo:instream-foreign-object

 Timo

 Myriam Delperier wrote:

 I don't know if it's the only problem but I think
 you have to put the attributes width  height in your svg element
 here is an exemple which works for me
 
 fo:block
 
 fo:instream-foreign-object
 
 svg id=svg-root width=32 height=50
 xmlns:xlink=http://www.w3.org/1999/xlink;
 xmlns=http://www.w3.org/2000/svg; 
 
 title id=test-titleImage svg test/title
 
 desc id=test-descTest/desc
 
 g id=test-body-content
 
 image id=image1JPEG x=0 y=0 width=32 height=50

xlink:href=../../production/lyon2/2000/dieng_sa/xml/ressources/gif.gif/
 
 /g
 
 /svg
 
 /fo:instream-foreign-object
 
 /fo:block
 
 
 - Original Message -
 
 From: Timo Haberkern [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, February 24, 2003 10:00 AM
 Subject: Can't get it work (was: Insert SVG image)
 
 
 
 
 Hello again,
 
 i can't sort out my problem with inserting external SVG images. Is there
 
 
 somebody who can help me? It is very urgent!
 
 
 I still have the same problem. If i embedd a SVG image with
 
 
 fo:external-graphic it is included correctly, but wrong scaled.
 
 
 If i use:
 
 fo:instream-foreign-object
 svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
 
 
 xml:space=preserve
 
 
 image xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg
 
 
 width=113 height=23/
 
 
 /svg
 /fo:instream-foreign-object
 
 i dont see my image at all.
 
 I am using the current RC2.
 Somebody has an idea whats going wrong? I have attached my SVG image.
 
 Best regards
 
 Timo
 
 Timo Haberkern wrote:
 
 Hello all,
 
 i have a problem inserting a SVG image. First i tried it with:
 
 fo:external-graphic src=file.svg width=10cm but it seems there is
 a bug. The SVG image is shown correctly but isn't scaled as i wished (to
 be exactly- The image allways has the full width of the region-body!).
 
 After a look in the examples i saw, that there is used the following:
 
 fo:instream-foreign-object
 svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
 
 
 http://www.w3.org/2000/svg width=20mm
 
 
 height=20mm xml:space=preserve
 image preserveAspectRatio=xMidYMid xlink:href=file:file.svg x=0
 y=0 width=10mm height=10mm/
 /svg
 /fo:instream-foreign-object
 
 I tried to adapt this. But now there is the standard-Error-Image of
 batik shown. If i insert the boxes.svg from the samples instead of
 file.svg everything was fine.
 
 Is there a problem with my file (but it was shown correctly with
 external-graphic and batiks squiggle)??
 
 Thanks for any help...
 
 
 
 
 
 
 

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

 --
 Grüsse

 Timo Haberkern

 EMEDIA OFFICE GmbH
 Wingertstr. 4
 74850 Schefflenz-Kl.

 http://www.emedia-office.com
 [EMAIL PROTECTED]

 Tel.: 06293/921121
 Fax:  06293/921129








 -
 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: Can't get it work (was: Insert SVG image)

2003-02-24 Thread Timo Haberkern
Hmm, that doen't work too :-( I removed it completely. But The 
broken-image is still visible instead of the correct SVG image.

Timo
Myriam Delperier wrote:
maybe there is a porblem between the size of your image and
viewBox=0 0 20 20
- Original Message -
From: Timo Haberkern [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:20 AM
Subject: Re: Can't get it work (was: Insert SVG image)
 

That doesn't work too. Now i get the batik image for broken-image (see
attached pdf page 2). I use now:
fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
width=113mm height=23mm
   image preserveAspectRatio=xMidYMid
xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg
width=113 height=23/
/svg
/fo:instream-foreign-object
Timo
Myriam Delperier wrote:
   

I don't know if it's the only problem but I think
you have to put the attributes width  height in your svg element
here is an exemple which works for me
fo:block
fo:instream-foreign-object
svg id=svg-root width=32 height=50
xmlns:xlink=http://www.w3.org/1999/xlink;
xmlns=http://www.w3.org/2000/svg; 
title id=test-titleImage svg test/title
desc id=test-descTest/desc
g id=test-body-content
image id=image1JPEG x=0 y=0 width=32 height=50
 

xlink:href=../../production/lyon2/2000/dieng_sa/xml/ressources/gif.gif/
   

/g
/svg
/fo:instream-foreign-object
/fo:block
- Original Message -
From: Timo Haberkern [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 10:00 AM
Subject: Can't get it work (was: Insert SVG image)

 

Hello again,
i can't sort out my problem with inserting external SVG images. Is there
   

somebody who can help me? It is very urgent!
 

I still have the same problem. If i embedd a SVG image with
   

fo:external-graphic it is included correctly, but wrong scaled.
 

If i use:
fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
   

xml:space=preserve
 

image xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg
   

width=113 height=23/
 

/svg
/fo:instream-foreign-object
i dont see my image at all.
I am using the current RC2.
Somebody has an idea whats going wrong? I have attached my SVG image.
Best regards
Timo
Timo Haberkern wrote:

Hello all,
i have a problem inserting a SVG image. First i tried it with:
fo:external-graphic src=file.svg width=10cm but it seems there is
a bug. The SVG image is shown correctly but isn't scaled as i wished (to
be exactly- The image allways has the full width of the region-body!).
After a look in the examples i saw, that there is used the following:
fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg;
   

http://www.w3.org/2000/svg width=20mm
 

height=20mm xml:space=preserve
image preserveAspectRatio=xMidYMid xlink:href=file:file.svg x=0
y=0 width=10mm height=10mm/
/svg
/fo:instream-foreign-object
I tried to adapt this. But now there is the standard-Error-Image of
batik shown. If i insert the boxes.svg from the samples instead of
file.svg everything was fine.
Is there a problem with my file (but it was shown correctly with
external-graphic and batiks squiggle)??
Thanks for any help...


   

 

---
   

-
 



 

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

 

--
Grüsse
Timo Haberkern
EMEDIA OFFICE GmbH
Wingertstr. 4
74850 Schefflenz-Kl.
http://www.emedia-office.com
[EMAIL PROTECTED]
Tel.: 06293/921121
Fax:  06293/921129
   




 

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

--
Grüsse
Timo Haberkern
EMEDIA OFFICE GmbH
Wingertstr. 4
74850 Schefflenz-Kl.
http://www.emedia-office.com
[EMAIL PROTECTED]
Tel.: 06293/921121
Fax:  06293/921129

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


AW: Detect page break in fo:flow

2003-02-24 Thread Mirko Sertic
Hello!

Yes, i need a partial sum. How would this be done using markers ?
Is there an example available ?

Thanks a lot

Mirko

-Ursprungliche Nachricht-
Von: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 24. Februar 2003 10:55
An: [EMAIL PROTECTED]
Betreff: Re: Detect page break in fo:flow


Mirko Sertic wrote:

 i need to detect a page break when i generate the fo:flow area of my
 document.
 How can this be done?
No way unless you force page break yourself.

 The background is that i need to generate a counting sum on the top of my
 page.
Are you talking about partial sum? It's quite complicated, but feasible
using
markers.
--
Oleg Tkachenko
Multiconn Technologies, Israel


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



[FOP] tab cell

2003-02-24 Thread Martins Stephane


Hello 

Is there any way to make table column width match with text size ?



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



How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread andrew mercer
Hi,
Sorry if this is in the Archive, I have searched it and the FAQ to no avail.
I am trying to create a pdf file from an xml file that is converted 
using fop. The layout is based mainly on tables/rows etc.

I can successfully create the document, however I have many sections 
within the whole document that need to to be numbered separatley. 
Therefore at the start of each new section the page number should revert 
to one and then increment by one for each new page.

At present the page numbers will keep incrementing from the initial 
value of one for each new page so they relate to the number of pages for 
the whole document.

My xsl document is available if that helps.
Thanks Andrew Mercer
--
Andrew Mercer, Sundayta Ltd. http://www.sundayta.com
iDocSys for Document Management. VisibleResults for Fundraising.
Development and Hosting of Web Applications and Sites.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread Zieseniß, Markus
I would put a for-each loop around the main page-sequence like:

xsl:for-each select=ChAPTER

fo:page-sequence master-reference=alleSeiten
initial-page-number=1

fo:static-content flow-name=xsl-region-after
fo:block
font-family=serif
font-size=10pt
font-style=normal
font-weight=normal
text-align=left
start-indent=2.0cm

Seite fo:page-number/,

/fo:block
/fo:static-content


fo:flow flow-name=xsl-region-body

xsl:apply-templates select=YOUR-TEMPLATES/
/fo:flow

/fo:page-sequence

/xsl:for-each

greetings Markus

 -Ursprüngliche Nachricht-
 Von:  andrew mercer [SMTP:[EMAIL PROTECTED]
 Gesendet am:  Montag, 24. Februar 2003 12:15
 An:   [EMAIL PROTECTED]
 Betreff:  How do I rest Page Number to 1 for each new section/chapter
 
 Hi,
 
 Sorry if this is in the Archive, I have searched it and the FAQ to no
 avail.
 
 I am trying to create a pdf file from an xml file that is converted 
 using fop. The layout is based mainly on tables/rows etc.
 
 I can successfully create the document, however I have many sections 
 within the whole document that need to to be numbered separatley. 
 Therefore at the start of each new section the page number should revert 
 to one and then increment by one for each new page.
 
 At present the page numbers will keep incrementing from the initial 
 value of one for each new page so they relate to the number of pages for 
 the whole document.
 
 My xsl document is available if that helps.
 
 Thanks Andrew Mercer
 -- 
 
 
 Andrew Mercer, Sundayta Ltd. http://www.sundayta.com
 iDocSys for Document Management. VisibleResults for Fundraising.
 Development and Hosting of Web Applications and Sites.
 
 
 -
 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: AW: How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread andrew mercer
Thanks,
Tried that but now get the following error when trying to convert the 
.fo file to a .pdf file using org.apache.fop.apps.Fop:

fo:flow must contain block level children.
I have attached my .xsl file (as it is not too long) and left the 
suggested xsl:for-each... in See line 33.

Any other ideas, or is my xsl wrong!!.
Thanks Andrew
XSL FILE:
?xml version=1.0?
xsl:stylesheet version=1.0
  xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
  xmlns:fo=http://www.w3.org/1999/XSL/Format;
  xsl:output method=xml/
  xsl:template match=/
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
  fo:layout-master-set
fo:simple-page-master margin-right=25pt margin-left=25pt
  page-height=8.0in page-width=11in
  margin-bottom=15pt margin-top=15pt master-name=odd
  fo:region-before extent=25pt/
  fo:region-body margin-top=30pt margin-bottom=30pt/
  fo:region-after extent=25pt/
/fo:simple-page-master
fo:simple-page-master margin-right=25pt margin-left=25pt
  page-height=8.0in page-width=11in
  margin-bottom=15pt margin-top=15pt master-name=even
  fo:region-before extent=25pt/
  fo:region-body margin-top=30pt margin-bottom=30pt/
  fo:region-after extent=25pt/
/fo:simple-page-master
fo:page-sequence-master master-reference=odd
  fo:repeatable-page-master-alternatives
fo:conditional-page-master-reference 
master-reference=even odd-or-even=even/
  /fo:repeatable-page-master-alternatives
/fo:page-sequence-master
  /fo:layout-master-set

  xsl:for-each select=/iDocSys/PortfolioList/Portfolio
fo:page-sequence master-reference=even 
initial-page-number=1 !-- need to alter the page number --

!--fo:static-content flow-name=xsl-region-before
fo:block text-align=end
  font-size=8pt
  font-family=serif
  line-height=10ptPage fo:page-number/
/fo:block
  /fo:static-content --
  fo:flow flow-name=xsl-region-body
xsl:apply-templates select=iDocSys/
  /fo:flow
/fo:page-sequence
  /xsl:for-each
/fo:root
  /xsl:template
  xsl:template match=iDocSys
xsl:apply-templates select=PortfolioList/
  /xsl:template
  xsl:template match=PortfolioList
xsl:for-each select=Portfolio
  fo:block line-height=24pt font-size=8pt text-align=left 
break-after=page
fo:table table-layout=fixed width=270mm
  fo:table-column column-width=10mm/
  fo:table-column column-width=35mm/
  fo:table-column column-width=10mm/
  fo:table-column column-width=90mm/
  fo:table-column column-width=35mm/
  fo:table-column column-width=35mm/
  fo:table-column column-width=30mm/
  fo:table-column column-width=25mm/

  fo:table-header
fo:table-row keep-together=always
  fo:table-cell
  /fo:table-cell
  fo:table-cell
fo:block line-height=18pt vertical-align=top
  xsl:textPortfolio No/xsl:text
/fo:block
  /fo:table-cell
  fo:table-cell
fo:block line-height=18pt font-weight=bold 
vertical-align=top
  xsl:value-of select=PortfolioName/
/fo:block
  /fo:table-cell
  fo:table-cell number-columns-spanned=2
fo:block line-height=18pt font-weight=bold 
vertical-align=top
  xsl:value-of select=PortfolioTown/
  xsl:text  /xsl:text
  xsl:value-of select=PortfolioAddress/
/fo:block
  /fo:table-cell
  fo:table-cell
  /fo:table-cell
  fo:table-cell
fo:block line-height=18pt vertical-align=top
  xsl:value-of select=CreationDate/
/fo:block
  /fo:table-cell
  fo:table-cell
fo:block text-align=end vertical-align=top
  font-size=8pt
  font-family=serif
  line-height=10ptPage fo:page-number/
/fo:block
  /fo:table-cell
/fo:table-row

fo:table-row
  fo:table-cell
fo:block line-height=14pt font-weight=bold 
text-align=left vertical-align=middle
  border-width=1pt border-color=black
  File
/fo:block
  /fo:table-cell
  fo:table-cell
fo:block line-height=14pt font-weight=bold 
text-align=left vertical-align=middle
  border-width=1pt border-color=black
  Drg No
/fo:block
  /fo:table-cell
  fo:table-cell
fo:block line-height=14pt font-weight=bold 
text-align=left vertical-align=middle
  border-width=1pt 

Re: AW: How do I rest Page Number to 1 for each new section/chapter

2003-02-24 Thread Narinder Garg
hi,
your xsl is wrong..
if iDocSys is the root element try using xsl:for-each 
select=iDocSys/PortfolioList/Portfolio
and in the fo:flow element use a simple xsl:apply-template /

You can refer the following link on xsl transformation...
http://www.ibiblio.org/xml/books/bible2/chapters/ch17.html
cheers
narinder

--- andrew mercer [EMAIL PROTECTED] wrote:
 Thanks,
 
 Tried that but now get the following error when trying to convert the 
 .fo file to a .pdf file using org.apache.fop.apps.Fop:
 
 fo:flow must contain block level children.
 
 I have attached my .xsl file (as it is not too long) and left the 
 suggested xsl:for-each... in See line 33.
 
 Any other ideas, or is my xsl wrong!!.
 
 Thanks Andrew
 
 XSL FILE:
 
 ?xml version=1.0?
 xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format;
 
xsl:output method=xml/
 
xsl:template match=/
  fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
  fo:simple-page-master margin-right=25pt margin-left=25pt
page-height=8.0in page-width=11in
margin-bottom=15pt margin-top=15pt master-name=odd
fo:region-before extent=25pt/
fo:region-body margin-top=30pt margin-bottom=30pt/
fo:region-after extent=25pt/
  /fo:simple-page-master
  fo:simple-page-master margin-right=25pt margin-left=25pt
page-height=8.0in page-width=11in
margin-bottom=15pt margin-top=15pt master-name=even
fo:region-before extent=25pt/
fo:region-body margin-top=30pt margin-bottom=30pt/
fo:region-after extent=25pt/
  /fo:simple-page-master
 
  fo:page-sequence-master master-reference=odd
fo:repeatable-page-master-alternatives
  fo:conditional-page-master-reference 
 master-reference=even odd-or-even=even/
/fo:repeatable-page-master-alternatives
  /fo:page-sequence-master
/fo:layout-master-set
 
xsl:for-each select=/iDocSys/PortfolioList/Portfolio
  fo:page-sequence master-reference=even 
 initial-page-number=1 !-- need to alter the page number --
 
 !--fo:static-content flow-name=xsl-region-before
  fo:block text-align=end
font-size=8pt
font-family=serif
line-height=10ptPage fo:page-number/
  /fo:block
/fo:static-content --
 
fo:flow flow-name=xsl-region-body
  xsl:apply-templates select=iDocSys/
/fo:flow
 
  /fo:page-sequence
/xsl:for-each
  /fo:root
/xsl:template
 
xsl:template match=iDocSys
  xsl:apply-templates select=PortfolioList/
/xsl:template
 
xsl:template match=PortfolioList
  xsl:for-each select=Portfolio
fo:block line-height=24pt font-size=8pt text-align=left 
 break-after=page
  fo:table table-layout=fixed width=270mm
fo:table-column column-width=10mm/
fo:table-column column-width=35mm/
fo:table-column column-width=10mm/
fo:table-column column-width=90mm/
fo:table-column column-width=35mm/
fo:table-column column-width=35mm/
fo:table-column column-width=30mm/
fo:table-column column-width=25mm/
 
fo:table-header
  fo:table-row keep-together=always
fo:table-cell
/fo:table-cell
fo:table-cell
  fo:block line-height=18pt vertical-align=top
xsl:textPortfolio No/xsl:text
  /fo:block
/fo:table-cell
fo:table-cell
  fo:block line-height=18pt font-weight=bold 
 vertical-align=top
xsl:value-of select=PortfolioName/
  /fo:block
/fo:table-cell
fo:table-cell number-columns-spanned=2
  fo:block line-height=18pt font-weight=bold 
 vertical-align=top
xsl:value-of select=PortfolioTown/
xsl:text  /xsl:text
xsl:value-of select=PortfolioAddress/
  /fo:block
/fo:table-cell
fo:table-cell
/fo:table-cell
fo:table-cell
  fo:block line-height=18pt vertical-align=top
xsl:value-of select=CreationDate/
  /fo:block
/fo:table-cell
fo:table-cell
  fo:block text-align=end vertical-align=top
font-size=8pt
font-family=serif
line-height=10ptPage fo:page-number/
  /fo:block
/fo:table-cell
  /fo:table-row
 
  fo:table-row
fo:table-cell
  fo:block line-height=14pt font-weight=bold 
 

How to retrieve dimensions dynamically

2003-02-24 Thread V.M.Milli
Hi,

I have to display several tables on a page. I would like to be able to
retrieve page (or table cell) widths, in order to achieve dynamically assign
column sizes.
All suggestions are welcome.
Cheers
M.



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



Re: How to retrieve dimensions dynamically

2003-02-24 Thread Myriam Delperier
Hi,
you could have a look at this
it would probably give you some ideas
http://www.oucs.ox.ac.uk/stylesheets/tei-table.xsl
- Original Message -
From: V.M.Milli [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 2:54 PM
Subject: How to retrieve dimensions dynamically


 Hi,

 I have to display several tables on a page. I would like to be able to
 retrieve page (or table cell) widths, in order to achieve dynamically
assign
 column sizes.
 All suggestions are welcome.
 Cheers
 M.



 -
 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: How to retrieve dimensions dynamically

2003-02-24 Thread Myriam Delperier
sorry it's not te good one
http://www.tei-c.org/Stylesheets/teixsl.html#body.1_div.6
here you have many xsl, it's for tei documents but there's somewhere
what you need
- Original Message -
From: V.M.Milli [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 2:54 PM
Subject: How to retrieve dimensions dynamically


 Hi,

 I have to display several tables on a page. I would like to be able to
 retrieve page (or table cell) widths, in order to achieve dynamically
assign
 column sizes.
 All suggestions are welcome.
 Cheers
 M.



 -
 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: How to retrieve dimensions dynamically

2003-02-24 Thread Myriam Delperier
it's in the zip at the end of the document : makecolspec.xsl
- Original Message -
From: V.M.Milli [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 24, 2003 2:54 PM
Subject: How to retrieve dimensions dynamically


 Hi,

 I have to display several tables on a page. I would like to be able to
 retrieve page (or table cell) widths, in order to achieve dynamically
assign
 column sizes.
 All suggestions are welcome.
 Cheers
 M.



 -
 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: Caching

2003-02-24 Thread Jeremias Maerki
Have another look at it. It's a static method!

On 24.02.2003 15:32:34 Matthew Lancashire wrote:
 I don't explicitly create an imagefactory.
 what would be the syntax for doing that?
 
 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
 Sent: 20 Feb 2003 20:24
 To: [EMAIL PROTECTED]
 Subject: Re: Caching
 
 
 Try calling org.apache.fop.image.FopImageFactory.resetCache().
 
 On 20.02.2003 13:05:13 Matthew Lancashire wrote:
  Is there a way to clear images from the cache when using the
  tranformerfactorydriverpdf solution

Jeremias Maerki


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



RE: Caching

2003-02-24 Thread Matthew Lancashire
Sorry for being dumb but I am a complete Java novice and am relying on my
skills as a plagiarist to get by.
Can you explain it to me?

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: 24 Feb 2003 14:44
To: [EMAIL PROTECTED]
Subject: Re: Caching


Have another look at it. It's a static method!

On 24.02.2003 15:32:34 Matthew Lancashire wrote:
 I don't explicitly create an imagefactory.
 what would be the syntax for doing that?

 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
 Sent: 20 Feb 2003 20:24
 To: [EMAIL PROTECTED]
 Subject: Re: Caching


 Try calling org.apache.fop.image.FopImageFactory.resetCache().

 On 20.02.2003 13:05:13 Matthew Lancashire wrote:
  Is there a way to clear images from the cache when using the
  tranformerfactorydriverpdf solution

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: Caching

2003-02-24 Thread Matthew Lancashire
Thanks for the tip.

If I don't get it to clear the cache is there a standard java cache
manipulation class?

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: 24 Feb 2003 15:18
To: [EMAIL PROTECTED]
Subject: Re: Caching


IMO the following should work, though I haven't tested it:

org.apache.fop.image.FopImageFactory.resetCache();
Driver driver = new Driver();
[...more of your code]

There is no need to instantiate FopImageFactory. Static methods can be
called without instantiating an object.

On 24.02.2003 16:01:36 Matthew Lancashire wrote:
 I tried FopImagefactory fopFac = new FopImageFactory();

 Is that right? If so the resetCache method didn't do the trick.



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: Caching

2003-02-24 Thread Jeremias Maerki
If resetCache() doesn't work, there's no way other than to restart the
JVM. There's no such thing as a standard java cache manipulation class.

On 24.02.2003 16:44:41 Matthew Lancashire wrote:
 Thanks for the tip.
 
 If I don't get it to clear the cache is there a standard java cache
 manipulation class?


Jeremias Maerki


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



RE: Caching

2003-02-24 Thread Matthew Lancashire
It didn't seem to work. Everything ran fine but still same background
images.

Thanks for the help tho.

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: 24 Feb 2003 15:47
To: [EMAIL PROTECTED]
Subject: Re: Caching


If resetCache() doesn't work, there's no way other than to restart the
JVM. There's no such thing as a standard java cache manipulation class.

On 24.02.2003 16:44:41 Matthew Lancashire wrote:
 Thanks for the tip.

 If I don't get it to clear the cache is there a standard java cache
 manipulation class?


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: Can't get it work (was: Insert SVG image)

2003-02-24 Thread J.Pietschmann
Timo Haberkern wrote:
That doesn't work too. Now i get the batik image for broken-image (see 
attached pdf page 2). I use now:

fo:instream-foreign-object
svg viewBox=0 0 20 20 xmlns=http://www.w3.org/2000/svg; 
width=113mm height=23mm
   image preserveAspectRatio=xMidYMid 
xlink:href=file:///E:\fop-0.20.5rc2\examples\fo\svg\Kanaele.svg 
width=113 height=23/
/svg
/fo:instream-foreign-object
Remove the width+heigth from the image element and, much more important,
provide a xmlns for the xlink prefix.
Myriam Delperier wrote:
Please get rid of old quotes if they aren't necessary.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [FOP] tab cell

2003-02-24 Thread J.Pietschmann
Martins Stephane wrote:
Is there any way to make table column width match with text size ?
It depend's what you mean with match column width with text size
and how you produce the FO. Could you elaborate?
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Force maximum table-cell height?

2003-02-24 Thread Berg, Philip C
Hi,

This problem seems to have already been answered, but I wanted to make sure. 
I'm using fop-0.20.4. I found this in the archive:
http://marc.theaimsgroup.com/?l=fop-userm=102555220521732w=2
It's slightly different then what I need: I have xml data that populates a 
table-cell but I always want that table cell to be a certain size (fixed). This 
happens to be big enough to capture 2 lines of each ~11 characters of stuff 
each (I say roughly 11 characters since it's variable font). With the height 
attribute I seem to be able to enforce a minimum height, but not a maximum 
height. Is that normal or a FOP issue? Based on the post above I got the 
impression that it also should cap a maximum height, but maybe I misunderstand.

If it is a bug, does that related to this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2964
... the reason I ask is because I can't seem to look at the attachment. When I 
click on the attachment Mozilla tries to download showattachment.cgi (is that a 
bug? :) Seems like the web server is missing CGI extensions, huh?).

Finally if FOP does indeed not support any type of maximum height, somebody 
have an idea/pointer of how I can achieve what I want? In particular 
considering that I deal with variable fonts. I probably should take that 
question to an xsl:fo mailing list, sorry. But I suspect they'll just tell me 
to use height or max-height... so maybe somebody has a hint here. :)

thanks a lot,
Philip


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