Re: Alternating background-color for table rows, but always restart on page break

2014-03-28 Thread Pascal Sancho
Hi,

That can only be done after XSL-FO processing.
Fortunately, FOP provides XML intermediate formats (see [1]) that feed
renderers.

You can modify such intermediate format as you want.

[1] http://xmlgraphics.apache.org/fop/1.1/intermediate.html

2014-03-27 15:15 GMT+01:00 Frank Hirsch frank.hir...@mac.com:
 Hi Rob,

 Of course there will be a parent xsl:for-each select=... selector to
 iterate over a list of nodes.
 Still I am 99% sure it will be rather a programmatic issue to be solved in
 the Renderer instead of XSLT...

 On 27 Mar 2014, at 15:10, Rob Sargent rsarg...@xmission.com wrote:

 Over what are you iterating? ie. to what is position() referring?

 Sent from my iPhone

 On Mar 27, 2014, at 7:55 AM, Frank Hirsch frank.hir...@mac.com wrote:

 It's easy to toggle to background color of table rows in XSLT using mod:

 fo:table-row
 xsl:attribute name=background-color
 xsl:choose
 xsl:when test=(position() mod 2) = 0
 #ff
 /xsl:when
 xsl:otherwise
 #cc
 /xsl:otherwise
 /xsl:choose
 /xsl:attribute
 fo:table-cell.../fo:table-cell
 /fo:table-row

 Unfortunately this does not match my current requirement and can not be
 solved in XSLT which does not now of page breaks:
 I need to start each page with #cc - espacially if there is a page
 break and the table will be continued on the next page.

 Any ideas?





-- 
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How to create 3D pdf with FOP 1.1

2014-03-28 Thread Pascal Sancho
Hi,

are you speaking about 3D artwork?
AFAIK, there is no such extension against latest FOP release.

Also, note that this feature is part of PDF 1.6 spec (see [1] §9.5, p 746).
FOP v1.1 produces PDF 1.4 by default, but implements some PDF 1.5 features.
(target PDF version can be changed up to 1.7 in config since FOP v1.1, see [2]).

[1] 
http://stuff.mit.edu/afs/sipb/contrib/doc/specs/software/adobe/pdf/PDFReference16-v4.pdf
[2] http://xmlgraphics.apache.org/fop/1.1/configuration.html#pdf-renderer


2014-03-27 9:06 GMT+01:00 Sebastien HO s...@traceparts.com:
 Hi,



 I would like to know if there is an extension to create a 3D pdf with FOP
 1.1.  I found out on the web that an phd student has done an extension for
 FOP 0.85 but since FOP Version  1.0 changed its design the extension
 doesn’t work anymore.

 Does anyone plan to migrate/create a extension?



 Regards,



 Sébastien



-- 
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Alternating background-color for table rows, but always restart on page break

2014-03-28 Thread Frank Hirsch
Thx, that's a pretty good solution!
I will make a little test how complicated it will be to find the right table 
and how it's structured :)

http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml

On 28 Mar 2014, at 09:37, Pascal Sancho psancho@gmail.com wrote:

 Hi,
 
 That can only be done after XSL-FO processing.
 Fortunately, FOP provides XML intermediate formats (see [1]) that feed
 renderers.
 
 You can modify such intermediate format as you want.
 
 [1] http://xmlgraphics.apache.org/fop/1.1/intermediate.html
 
 2014-03-27 15:15 GMT+01:00 Frank Hirsch frank.hir...@mac.com:
 Hi Rob,
 
 Of course there will be a parent xsl:for-each select=... selector to
 iterate over a list of nodes.
 Still I am 99% sure it will be rather a programmatic issue to be solved in
 the Renderer instead of XSLT...
 
 On 27 Mar 2014, at 15:10, Rob Sargent rsarg...@xmission.com wrote:
 
 Over what are you iterating? ie. to what is position() referring?
 
 Sent from my iPhone
 
 On Mar 27, 2014, at 7:55 AM, Frank Hirsch frank.hir...@mac.com wrote:
 
 It's easy to toggle to background color of table rows in XSLT using mod:
 
 fo:table-row
 xsl:attribute name=background-color
 xsl:choose
 xsl:when test=(position() mod 2) = 0
 #ff
 /xsl:when
 xsl:otherwise
 #cc
 /xsl:otherwise
 /xsl:choose
 /xsl:attribute
 fo:table-cell.../fo:table-cell
 /fo:table-row
 
 Unfortunately this does not match my current requirement and can not be
 solved in XSLT which does not now of page breaks:
 I need to start each page with #cc - espacially if there is a page
 break and the table will be continued on the next page.
 
 Any ideas?
 
 
 
 
 
 -- 
 pascal
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: How to create 3D pdf with FOP 1.1

2014-03-28 Thread Simon Steiner
Hi,

You can create a PDF with 3d content then embed that pdf in your output pdf 
using external-graphic and pdfplugin.

http://xmlgraphics.apache.org/fop/fop-pdf-images.html

Thanks

-Original Message-
From: Sebastien HO [mailto:s...@traceparts.com] 
Sent: 28 March 2014 14:56
To: fop-users@xmlgraphics.apache.org
Subject: RE: How to create 3D pdf with FOP 1.1

Hi, 

I am referring to the ability to directly embed 3D content within PDF documents 
(u3d file for instance).  I saw that there is an extension available for FOP 
0.85  (http://www.cgv.tugraz.at/CGV/People/people/berndt/FO3D) .  I have tested 
it and it works fine on FOP 0.85. 

As I would like to benefit of new feature of FOP 1.1, I wanted to know if it 
exists in FOP 1.1 :
- A project to migrate FO3D on FOP 1.1. 
- Any other way to embed 3D element in pdf as to create a 3DPdf (may be a 
special elements in XSLT?). 

Thanks for your help,

Regards, 

Sébastien.
 

-Message d'origine-
De : Pascal Sancho [mailto:psancho@gmail.com] Envoyé : vendredi 28 mars 
2014 10:02 À : fop-users@xmlgraphics.apache.org Objet : Re: How to create 3D 
pdf with FOP 1.1

Hi,

are you speaking about 3D artwork?
AFAIK, there is no such extension against latest FOP release.

Also, note that this feature is part of PDF 1.6 spec (see [1] §9.5, p 746).
FOP v1.1 produces PDF 1.4 by default, but implements some PDF 1.5 features.
(target PDF version can be changed up to 1.7 in config since FOP v1.1, see [2]).

[1] 
http://stuff.mit.edu/afs/sipb/contrib/doc/specs/software/adobe/pdf/PDFReference16-v4.pdf
[2] http://xmlgraphics.apache.org/fop/1.1/configuration.html#pdf-renderer


2014-03-27 9:06 GMT+01:00 Sebastien HO s...@traceparts.com:
 Hi,



 I would like to know if there is an extension to create a 3D pdf with 
 FOP 1.1.  I found out on the web that an phd student has done an 
 extension for FOP 0.85 but since FOP Version  1.0 changed its design 
 the extension doesn’t work anymore.

 Does anyone plan to migrate/create a extension?



 Regards,



 Sébastien



--
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: How to create 3D pdf with FOP 1.1

2014-03-28 Thread Sebastien HO
Hi, 

I am referring to the ability to directly embed 3D content within PDF documents 
(u3d file for instance).  I saw that there is an extension available for FOP 
0.85  (http://www.cgv.tugraz.at/CGV/People/people/berndt/FO3D) .  I have tested 
it and it works fine on FOP 0.85. 

As I would like to benefit of new feature of FOP 1.1, I wanted to know if it 
exists in FOP 1.1 :
- A project to migrate FO3D on FOP 1.1. 
- Any other way to embed 3D element in pdf as to create a 3DPdf (may be a 
special elements in XSLT?). 

Thanks for your help,

Regards, 

Sébastien.
 

-Message d'origine-
De : Pascal Sancho [mailto:psancho@gmail.com] 
Envoyé : vendredi 28 mars 2014 10:02
À : fop-users@xmlgraphics.apache.org
Objet : Re: How to create 3D pdf with FOP 1.1

Hi,

are you speaking about 3D artwork?
AFAIK, there is no such extension against latest FOP release.

Also, note that this feature is part of PDF 1.6 spec (see [1] §9.5, p 746).
FOP v1.1 produces PDF 1.4 by default, but implements some PDF 1.5 features.
(target PDF version can be changed up to 1.7 in config since FOP v1.1, see [2]).

[1] 
http://stuff.mit.edu/afs/sipb/contrib/doc/specs/software/adobe/pdf/PDFReference16-v4.pdf
[2] http://xmlgraphics.apache.org/fop/1.1/configuration.html#pdf-renderer


2014-03-27 9:06 GMT+01:00 Sebastien HO s...@traceparts.com:
 Hi,



 I would like to know if there is an extension to create a 3D pdf with 
 FOP 1.1.  I found out on the web that an phd student has done an 
 extension for FOP 0.85 but since FOP Version  1.0 changed its design 
 the extension doesn’t work anymore.

 Does anyone plan to migrate/create a extension?



 Regards,



 Sébastien



--
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: How to create 3D pdf with FOP 1.1

2014-03-28 Thread Simon Steiner
Hi,

Seems this doesn’t work, maybe plugin could be updated for this functionality.

Thanks

-Original Message-
From: Simon Steiner [mailto:simonsteiner1...@gmail.com] 
Sent: 28 March 2014 15:27
To: fop-users@xmlgraphics.apache.org
Subject: RE: How to create 3D pdf with FOP 1.1

Hi,

You can create a PDF with 3d content then embed that pdf in your output pdf 
using external-graphic and pdfplugin.

http://xmlgraphics.apache.org/fop/fop-pdf-images.html

Thanks

-Original Message-
From: Sebastien HO [mailto:s...@traceparts.com]
Sent: 28 March 2014 14:56
To: fop-users@xmlgraphics.apache.org
Subject: RE: How to create 3D pdf with FOP 1.1

Hi, 

I am referring to the ability to directly embed 3D content within PDF documents 
(u3d file for instance).  I saw that there is an extension available for FOP 
0.85  (http://www.cgv.tugraz.at/CGV/People/people/berndt/FO3D) .  I have tested 
it and it works fine on FOP 0.85. 

As I would like to benefit of new feature of FOP 1.1, I wanted to know if it 
exists in FOP 1.1 :
- A project to migrate FO3D on FOP 1.1. 
- Any other way to embed 3D element in pdf as to create a 3DPdf (may be a 
special elements in XSLT?). 

Thanks for your help,

Regards, 

Sébastien.
 

-Message d'origine-
De : Pascal Sancho [mailto:psancho@gmail.com] Envoyé : vendredi 28 mars 
2014 10:02 À : fop-users@xmlgraphics.apache.org Objet : Re: How to create 3D 
pdf with FOP 1.1

Hi,

are you speaking about 3D artwork?
AFAIK, there is no such extension against latest FOP release.

Also, note that this feature is part of PDF 1.6 spec (see [1] §9.5, p 746).
FOP v1.1 produces PDF 1.4 by default, but implements some PDF 1.5 features.
(target PDF version can be changed up to 1.7 in config since FOP v1.1, see [2]).

[1] 
http://stuff.mit.edu/afs/sipb/contrib/doc/specs/software/adobe/pdf/PDFReference16-v4.pdf
[2] http://xmlgraphics.apache.org/fop/1.1/configuration.html#pdf-renderer


2014-03-27 9:06 GMT+01:00 Sebastien HO s...@traceparts.com:
 Hi,



 I would like to know if there is an extension to create a 3D pdf with 
 FOP 1.1.  I found out on the web that an phd student has done an 
 extension for FOP 0.85 but since FOP Version  1.0 changed its design 
 the extension doesn’t work anymore.

 Does anyone plan to migrate/create a extension?



 Regards,



 Sébastien



--
pascal

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org