[jira] [Commented] (FOP-2156) PNG and GIF image generation fails in RTF documents

2015-07-30 Thread Carsten Pfeiffer (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647583#comment-14647583
 ] 

Carsten Pfeiffer commented on FOP-2156:
---

Two fixes are ncessary to make PNG work with RTF:
XGC-97 and XGC-99, meaning.

 PNG and GIF image generation fails in RTF documents
 ---

 Key: FOP-2156
 URL: https://issues.apache.org/jira/browse/FOP-2156
 Project: FOP
  Issue Type: Bug
  Components: renderer/rtf
Affects Versions: 1.1
 Environment: Operating System: All
 Platform: PC
Reporter: Carl Zetterberg

 Tomcat 6
 java 1.7
 Fop 1.1
 xmlgraphics-commons-1.5.jar
 fo:external-graphic src=file:logotypes/{head/logotype} 
 width=auto 
 height=auto content-width=80% content-height=auto /
 will produce:
 org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic$ExternalGraphicException:
  The tag fo:external-graph ic does not support gif - image type
 both for PNG and GIF files when producing RTF documents
 The same environment and XSL produce PDF that are ok.
 Switching back to fop 1.0 and xmlgraphics-commons-1.4.jar resolves the 
 problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (FOP-2156) PNG and GIF image generation fails in RTF documents

2015-07-30 Thread Carsten Pfeiffer (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647583#comment-14647583
 ] 

Carsten Pfeiffer edited comment on FOP-2156 at 7/30/15 12:51 PM:
-

Two fixes are ncessary to make PNG work with RTF:
XGC-97 and XGC-99


was (Author: carsten.pfeiffer):
Two fixes are ncessary to make PNG work with RTF:
XGC-97 and XGC-99, meaning.

 PNG and GIF image generation fails in RTF documents
 ---

 Key: FOP-2156
 URL: https://issues.apache.org/jira/browse/FOP-2156
 Project: FOP
  Issue Type: Bug
  Components: renderer/rtf
Affects Versions: 1.1
 Environment: Operating System: All
 Platform: PC
Reporter: Carl Zetterberg

 Tomcat 6
 java 1.7
 Fop 1.1
 xmlgraphics-commons-1.5.jar
 fo:external-graphic src=file:logotypes/{head/logotype} 
 width=auto 
 height=auto content-width=80% content-height=auto /
 will produce:
 org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExternalGraphic$ExternalGraphicException:
  The tag fo:external-graph ic does not support gif - image type
 both for PNG and GIF files when producing RTF documents
 The same environment and XSL produce PDF that are ok.
 Switching back to fop 1.0 and xmlgraphics-commons-1.4.jar resolves the 
 problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


buildbot failure in ASF Buildbot on fop-trunk

2015-07-30 Thread buildbot
The Buildbot has detected a new failure on builder fop-trunk while building ASF 
Buildbot. Full details are available at:
http://ci.apache.org/builders/fop-trunk/builds/22

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: orcus_ubuntu

Build Reason: The Nightly scheduler named 'fopNightly' triggered this build
Build Source Stamp: [branch xmlgraphics/fop/trunk] HEAD
Blamelist: 

BUILD FAILED: failed

Sincerely,
 -The Buildbot





[jira] [Commented] (FOP-2506) Support reusing FopFactory with different baseURLs

2015-07-30 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647390#comment-14647390
 ] 

simon steiner commented on FOP-2506:


What about using custom resource resolver to do it.

 Support reusing FopFactory with different baseURLs
 --

 Key: FOP-2506
 URL: https://issues.apache.org/jira/browse/FOP-2506
 Project: FOP
  Issue Type: Wish
  Components: unqualified
Affects Versions: 2.0
Reporter: Carsten Pfeiffer
Priority: Minor

 With FOP prior to 2.0 it was possible to set the baseURL used for resolving 
 resources at the user agent. This allowed reusing a single FopFactory for Fop 
 instances with different baseURLs.
 Since 2.0 FOUserAgent.setBaseURL() is not availabe anymore and it is not 
 possible to dynamically specify the baseURL for a Fop instance.
 Our use case is a single user rich client document management application 
 with a PDF export. Resuing the FopFactory is desirable in order not to parse 
 the configuration all the time, looking up fonts, etc.
 That's why I'd love to get the possibility back to dynamically specify the 
 base URL without having to re-do all the configuration and initialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FOP-2506) Support reusing FopFactory with different baseURLs

2015-07-30 Thread Carsten Pfeiffer (JIRA)
Carsten Pfeiffer created FOP-2506:
-

 Summary: Support reusing FopFactory with different baseURLs
 Key: FOP-2506
 URL: https://issues.apache.org/jira/browse/FOP-2506
 Project: FOP
  Issue Type: Wish
  Components: unqualified
Affects Versions: 2.0
Reporter: Carsten Pfeiffer
Priority: Minor


With FOP prior to 2.0 it was possible to set the baseURL used for resolving 
resources at the user agent. This allowed reusing a single FopFactory for Fop 
instances with different baseURLs.

Since 2.0 FOUserAgent.setBaseURL() is not availabe anymore and it is not 
possible to dynamically specify the baseURL for a Fop instance.

Our use case is a single user rich client document management application with 
a PDF export. Resuing the FopFactory is desirable in order not to parse the 
configuration all the time, looking up fonts, etc.

That's why I'd love to get the possibility back to dynamically specify the base 
URL without having to re-do all the configuration and initialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2503) AFP Implementation | AFP creation issue for Page Layout

2015-07-30 Thread Vinod (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod updated FOP-2503:
---
Fix Version/s: (was: trunk)

 AFP Implementation | AFP creation issue for Page Layout
 ---

 Key: FOP-2503
 URL: https://issues.apache.org/jira/browse/FOP-2503
 Project: FOP
  Issue Type: Test
  Components: renderer/afp
Affects Versions: trunk
Reporter: Vinod
Priority: Critical
  Labels: automation, features
 Attachments: Layout.txt


 Hello,
 I am creating some rendring solution and during creation of the page-layout I 
 am facing problem for how to display the page in proper manner. Basically, 
 When i want to display front page column-count 2 then FOP is displaying  with 
 1 column table in Body page and when i am using column-count 1 for front page 
 then front page data is overlapped with other data but table is displaying as 
 2 column in Body page now. I need solution for column count as 1 for front 
 page except 1st page of front page data and column count 2 for Body page for 
 tabular data just like novel/Process flow kind of data.
 Data display structure is defined as below for source as well desired output:
 1. Front-Page (It can be more then one page)
 2. Summary-Page  (It can be more then page, It is part of Front-Page, It will 
 start from 2nd page..,It can be tabular kind of   data with column count 1)
 3. Body-Page  (It can be more then page, It is only tabular data with column 
 count 2., and after rendering data will display after completion of from 1st 
 cell to 2nd cell in first page and then 2nd cell to 1st cell in another page 
 and vice versa...)
  *My code is working fine for small page of file (26 page), but its not 
 working when page is more then 30 plus.
 Layout structure for above scenario 'Layout.txt' is attached.
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2503) AFP Implementation | AFP creation issue for Page Layout

2015-07-30 Thread Vinod (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647485#comment-14647485
 ] 

Vinod commented on FOP-2503:


Hi,
Is any update for this improvement?

 AFP Implementation | AFP creation issue for Page Layout 
 

 Key: FOP-2503
 URL: https://issues.apache.org/jira/browse/FOP-2503
 Project: FOP
  Issue Type: Test
  Components: renderer/afp
Affects Versions: trunk
Reporter: Vinod
Priority: Critical
  Labels: automation, features
 Attachments: Layout.txt


 Hello,
 I am creating some rendring solution and during creation of the page-layout I 
 am facing problem for how to display the page in proper manner. Basically, 
 When i want to display front page column-count 2 then FOP is displaying  with 
 1 column table in Body page and when i am using column-count 1 for front page 
 then front page data is overlapped with other data but table is displaying as 
 2 column in Body page now. I need solution for column count as 1 for front 
 page except 1st page of front page data and column count 2 for Body page for 
 tabular data just like novel/Process flow kind of data.
 Data display structure is defined as below for source as well desired output:
 1. Front-Page (It can be more then one page)
 2. Summary-Page  (It can be more then page, It is part of Front-Page, It will 
 start from 2nd page..,It can be tabular kind of   data with column count 1)
 3. Body-Page  (It can be more then page, It is only tabular data with column 
 count 2., and after rendering data will display after completion of from 1st 
 cell to 2nd cell in first page and then 2nd cell to 1st cell in another page 
 and vice versa...)
  *My code is working fine for small page of file (26 page), but its not 
 working when page is more then 30 plus.
 Layout structure for above scenario 'Layout.txt' is attached.
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (FOP-2503) AFP Implementation | AFP creation issue for Page Layout

2015-07-30 Thread Vinod (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod updated FOP-2503:
---
Comment: was deleted

(was: Hi,

Is any update for this improvement?)

 AFP Implementation | AFP creation issue for Page Layout 
 

 Key: FOP-2503
 URL: https://issues.apache.org/jira/browse/FOP-2503
 Project: FOP
  Issue Type: Test
  Components: renderer/afp
Affects Versions: trunk
Reporter: Vinod
Priority: Critical
  Labels: automation, features
 Attachments: Layout.txt


 Hello,
 I am creating some rendring solution and during creation of the page-layout I 
 am facing problem for how to display the page in proper manner. Basically, 
 When i want to display front page column-count 2 then FOP is displaying  with 
 1 column table in Body page and when i am using column-count 1 for front page 
 then front page data is overlapped with other data but table is displaying as 
 2 column in Body page now. I need solution for column count as 1 for front 
 page except 1st page of front page data and column count 2 for Body page for 
 tabular data just like novel/Process flow kind of data.
 Data display structure is defined as below for source as well desired output:
 1. Front-Page (It can be more then one page)
 2. Summary-Page  (It can be more then page, It is part of Front-Page, It will 
 start from 2nd page..,It can be tabular kind of   data with column count 1)
 3. Body-Page  (It can be more then page, It is only tabular data with column 
 count 2., and after rendering data will display after completion of from 1st 
 cell to 2nd cell in first page and then 2nd cell to 1st cell in another page 
 and vice versa...)
  *My code is working fine for small page of file (26 page), but its not 
 working when page is more then 30 plus.
 Layout structure for above scenario 'Layout.txt' is attached.
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2503) AFP Implementation | AFP creation issue for Page Layout

2015-07-30 Thread Vinod (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod updated FOP-2503:
---
Summary: AFP Implementation | AFP creation issue for Page Layout   (was: 
AFP Implementation | AFP creation issue for Page Layout)

 AFP Implementation | AFP creation issue for Page Layout 
 

 Key: FOP-2503
 URL: https://issues.apache.org/jira/browse/FOP-2503
 Project: FOP
  Issue Type: Test
  Components: renderer/afp
Affects Versions: trunk
Reporter: Vinod
Priority: Critical
  Labels: automation, features
 Attachments: Layout.txt


 Hello,
 I am creating some rendring solution and during creation of the page-layout I 
 am facing problem for how to display the page in proper manner. Basically, 
 When i want to display front page column-count 2 then FOP is displaying  with 
 1 column table in Body page and when i am using column-count 1 for front page 
 then front page data is overlapped with other data but table is displaying as 
 2 column in Body page now. I need solution for column count as 1 for front 
 page except 1st page of front page data and column count 2 for Body page for 
 tabular data just like novel/Process flow kind of data.
 Data display structure is defined as below for source as well desired output:
 1. Front-Page (It can be more then one page)
 2. Summary-Page  (It can be more then page, It is part of Front-Page, It will 
 start from 2nd page..,It can be tabular kind of   data with column count 1)
 3. Body-Page  (It can be more then page, It is only tabular data with column 
 count 2., and after rendering data will display after completion of from 1st 
 cell to 2nd cell in first page and then 2nd cell to 1st cell in another page 
 and vice versa...)
  *My code is working fine for small page of file (26 page), but its not 
 working when page is more then 30 plus.
 Layout structure for above scenario 'Layout.txt' is attached.
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2503) AFP Implementation | AFP creation issue for Page Layout

2015-07-30 Thread Vinod (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod updated FOP-2503:
---
Priority: Blocker  (was: Critical)

 AFP Implementation | AFP creation issue for Page Layout 
 

 Key: FOP-2503
 URL: https://issues.apache.org/jira/browse/FOP-2503
 Project: FOP
  Issue Type: Test
  Components: fo/page, layout/page, renderer/afp
Affects Versions: trunk
Reporter: Vinod
Priority: Blocker
  Labels: automation, features
 Attachments: Layout.txt


 Hello,
 I am creating some rendring solution and during creation of the page-layout I 
 am facing problem for how to display the page in proper manner. Basically, 
 When i want to display front page column-count 2 then FOP is displaying  with 
 1 column table in Body page and when i am using column-count 1 for front page 
 then front page data is overlapped with other data but table is displaying as 
 2 column in Body page now. I need solution for column count as 1 for front 
 page except 1st page of front page data and column count 2 for Body page for 
 tabular data just like novel/Process flow kind of data.
 Data display structure is defined as below for source as well desired output:
 1. Front-Page (It can be more then one page)
 2. Summary-Page  (It can be more then page, It is part of Front-Page, It will 
 start from 2nd page..,It can be tabular kind of   data with column count 1)
 3. Body-Page  (It can be more then page, It is only tabular data with column 
 count 2., and after rendering data will display after completion of from 1st 
 cell to 2nd cell in first page and then 2nd cell to 1st cell in another page 
 and vice versa...)
  *My code is working fine for small page of file (26 page), but its not 
 working when page is more then 30 plus.
 Layout structure for above scenario 'Layout.txt' is attached.
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2503) AFP Implementation | AFP creation issue for Page Layout

2015-07-30 Thread Vinod (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod updated FOP-2503:
---
Component/s: layout/page
 fo/page

 AFP Implementation | AFP creation issue for Page Layout 
 

 Key: FOP-2503
 URL: https://issues.apache.org/jira/browse/FOP-2503
 Project: FOP
  Issue Type: Test
  Components: fo/page, layout/page, renderer/afp
Affects Versions: trunk
Reporter: Vinod
Priority: Critical
  Labels: automation, features
 Attachments: Layout.txt


 Hello,
 I am creating some rendring solution and during creation of the page-layout I 
 am facing problem for how to display the page in proper manner. Basically, 
 When i want to display front page column-count 2 then FOP is displaying  with 
 1 column table in Body page and when i am using column-count 1 for front page 
 then front page data is overlapped with other data but table is displaying as 
 2 column in Body page now. I need solution for column count as 1 for front 
 page except 1st page of front page data and column count 2 for Body page for 
 tabular data just like novel/Process flow kind of data.
 Data display structure is defined as below for source as well desired output:
 1. Front-Page (It can be more then one page)
 2. Summary-Page  (It can be more then page, It is part of Front-Page, It will 
 start from 2nd page..,It can be tabular kind of   data with column count 1)
 3. Body-Page  (It can be more then page, It is only tabular data with column 
 count 2., and after rendering data will display after completion of from 1st 
 cell to 2nd cell in first page and then 2nd cell to 1st cell in another page 
 and vice versa...)
  *My code is working fine for small page of file (26 page), but its not 
 working when page is more then 30 plus.
 Layout structure for above scenario 'Layout.txt' is attached.
 Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)