[jira] [Updated] (FOP-2727) fo:float needs to be inside a block

2018-06-05 Thread simon steiner (JIRA)


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

simon steiner updated FOP-2727:
---
Summary: fo:float needs to be inside a block  (was: Please implement 
sidebars floating at the side of the body of the text)

> fo:float needs to be inside a block
> ---
>
> Key: FOP-2727
> URL: https://issues.apache.org/jira/browse/FOP-2727
> Project: FOP
>  Issue Type: Improvement
>  Components: fo/unqualified
>Affects Versions: 1.1, 2.0, 2.1
> Environment: Debian Jessie and Stretch.
>Reporter: Petter Reinholdtsen
>Priority: Minor
>
> Hi.  When trying to figure out how to make sure my docbook sidebars end up on 
> the side of the text, I tried following the instructions on  http://www.sagehill.net/docbookxsl/SideFloats.html > and wrote a simple 
> example docbook file to test floating sidebars.  This do not work and I get a 
> message about a missing feature.  Please add support for sidebars placed at 
> the side of the text body.
> When processing my example, I get this message and the sidebar has 
> disappeared from the resulting PDF:
> {noformat}
>  % xmlto --with-fop pdf db-sidebar-test.xml
>   Making portrait pages on letter paper (215.9mmx279.4mm)
>   Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
>   Font "ZapfDingbats,normal,700" not found. Substituting with
> "ZapfDingbats,normal,400".
>   Rendered page #1.
>   Couldn't find hyphenation pattern for lang="en".
>   Rendered page #2.
>   The following feature isn't implemented by Apache FOP, yet: fo:float (on
> fo:float) (No context info available)
>   No LayoutManager maker for class class org.apache.fop.fo.flow.Float
>   Rendered page #3.
>   Rendered page #4.
>   /tmp/user/1000/xmlto.xvMMIW
>   %
> {noformat}
> I tried using both fop 1.1 and 2.1, and both fail to create a PDF with a 
> sidebar.
> This is the example docbook file I use:
> {noformat}
> 
>  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd;>
> 
>   
> Test docbook sidebar
>   
>   
> Sidebar example
> 
>   Some text in front of the sidebar.
> 
>  
>   Sidebar example
>   
>   A sidebar
>   can be used to emphasize certain
>   content. It can intrude into
>   the body area, or it can
>   appear in side indents as 
>   a margin note.
> 
> Some text following the sidebar.
>   
> 
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Reopened] (FOP-2727) Please implement sidebars floating at the side of the body of the text

2018-06-05 Thread simon steiner (JIRA)


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

simon steiner reopened FOP-2727:


> Please implement sidebars floating at the side of the body of the text
> --
>
> Key: FOP-2727
> URL: https://issues.apache.org/jira/browse/FOP-2727
> Project: FOP
>  Issue Type: Improvement
>  Components: fo/unqualified
>Affects Versions: 1.1, 2.0, 2.1
> Environment: Debian Jessie and Stretch.
>Reporter: Petter Reinholdtsen
>Priority: Minor
>
> Hi.  When trying to figure out how to make sure my docbook sidebars end up on 
> the side of the text, I tried following the instructions on  http://www.sagehill.net/docbookxsl/SideFloats.html > and wrote a simple 
> example docbook file to test floating sidebars.  This do not work and I get a 
> message about a missing feature.  Please add support for sidebars placed at 
> the side of the text body.
> When processing my example, I get this message and the sidebar has 
> disappeared from the resulting PDF:
> {noformat}
>  % xmlto --with-fop pdf db-sidebar-test.xml
>   Making portrait pages on letter paper (215.9mmx279.4mm)
>   Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
>   Font "ZapfDingbats,normal,700" not found. Substituting with
> "ZapfDingbats,normal,400".
>   Rendered page #1.
>   Couldn't find hyphenation pattern for lang="en".
>   Rendered page #2.
>   The following feature isn't implemented by Apache FOP, yet: fo:float (on
> fo:float) (No context info available)
>   No LayoutManager maker for class class org.apache.fop.fo.flow.Float
>   Rendered page #3.
>   Rendered page #4.
>   /tmp/user/1000/xmlto.xvMMIW
>   %
> {noformat}
> I tried using both fop 1.1 and 2.1, and both fail to create a PDF with a 
> sidebar.
> This is the example docbook file I use:
> {noformat}
> 
>  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd;>
> 
>   
> Test docbook sidebar
>   
>   
> Sidebar example
> 
>   Some text in front of the sidebar.
> 
>  
>   Sidebar example
>   
>   A sidebar
>   can be used to emphasize certain
>   content. It can intrude into
>   the body area, or it can
>   appear in side indents as 
>   a margin note.
> 
> Some text following the sidebar.
>   
> 
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (FOP-1760) [PATCH] FOP doesn't support change bar generation

2018-06-05 Thread JIRA


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

Jan Tošovský updated FOP-1760:
--
Attachment: (was: patch_against_rev_1686494_2015-06-19.patch)

> [PATCH] FOP doesn't support change bar generation
> -
>
> Key: FOP-1760
> URL: https://issues.apache.org/jira/browse/FOP-1760
> Project: FOP
>  Issue Type: New Feature
>  Components: unqualified
>Affects Versions: trunk
> Environment: Operating System: All
> Platform: All
>Reporter: Stephan Thesing
>Priority: Blocker
> Attachments: change-bars.fo, change_bars_diff.txt, changebar.diff, 
> changebar_20110308.diff, changebars.fo, changebars.pdf, 
> changebars_20110512.diff, diff_1691612.diff, diff_2010_03_06.txt, 
> fop_20120507.diff, fop_changebars_20120506.diff, test.fo, test.pdf
>
>
> In order to produce change bars along the columns for changed contents,
> FO supports the fo:change-bar-begin and fo:change-bar-end elements.
> These are not supported by FOP.
> Support for change bars should be added.
> Effort needed
>  - add parsing and validation of fo: elements
>  - determine fo elements under influence of one or more change bars
>  - when creating areas from such affected fo elements, create additional areas
> representing the change bars as defined in the FO standard.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (FOP-1760) [PATCH] FOP doesn't support change bar generation

2018-06-05 Thread JIRA


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

Jan Tošovský updated FOP-1760:
--
Attachment: (was: patch_against_rev_1755460_2016-08-07.patch)

> [PATCH] FOP doesn't support change bar generation
> -
>
> Key: FOP-1760
> URL: https://issues.apache.org/jira/browse/FOP-1760
> Project: FOP
>  Issue Type: New Feature
>  Components: unqualified
>Affects Versions: trunk
> Environment: Operating System: All
> Platform: All
>Reporter: Stephan Thesing
>Priority: Blocker
> Attachments: change-bars.fo, change_bars_diff.txt, changebar.diff, 
> changebar_20110308.diff, changebars.fo, changebars.pdf, 
> changebars_20110512.diff, diff_1691612.diff, diff_2010_03_06.txt, 
> fop_20120507.diff, fop_changebars_20120506.diff, test.fo, test.pdf
>
>
> In order to produce change bars along the columns for changed contents,
> FO supports the fo:change-bar-begin and fo:change-bar-end elements.
> These are not supported by FOP.
> Support for change bars should be added.
> Effort needed
>  - add parsing and validation of fo: elements
>  - determine fo elements under influence of one or more change bars
>  - when creating areas from such affected fo elements, create additional areas
> representing the change bars as defined in the FO standard.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (FOP-1760) [PATCH] FOP doesn't support change bar generation

2018-06-05 Thread JIRA


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

Jan Tošovský updated FOP-1760:
--
Attachment: (was: patch_against_rev_1776640_2016-12-30.patch)

> [PATCH] FOP doesn't support change bar generation
> -
>
> Key: FOP-1760
> URL: https://issues.apache.org/jira/browse/FOP-1760
> Project: FOP
>  Issue Type: New Feature
>  Components: unqualified
>Affects Versions: trunk
> Environment: Operating System: All
> Platform: All
>Reporter: Stephan Thesing
>Priority: Blocker
> Attachments: change-bars.fo, change_bars_diff.txt, changebar.diff, 
> changebar_20110308.diff, changebars.fo, changebars.pdf, 
> changebars_20110512.diff, diff_1691612.diff, diff_2010_03_06.txt, 
> fop_20120507.diff, fop_changebars_20120506.diff, test.fo, test.pdf
>
>
> In order to produce change bars along the columns for changed contents,
> FO supports the fo:change-bar-begin and fo:change-bar-end elements.
> These are not supported by FOP.
> Support for change bars should be added.
> Effort needed
>  - add parsing and validation of fo: elements
>  - determine fo elements under influence of one or more change bars
>  - when creating areas from such affected fo elements, create additional areas
> representing the change bars as defined in the FO standard.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (FOP-1760) [PATCH] FOP doesn't support change bar generation

2018-06-05 Thread JIRA


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

Jan Tošovský updated FOP-1760:
--
Attachment: (was: patch_against_rev_1690781_2015-07-19.patch)

> [PATCH] FOP doesn't support change bar generation
> -
>
> Key: FOP-1760
> URL: https://issues.apache.org/jira/browse/FOP-1760
> Project: FOP
>  Issue Type: New Feature
>  Components: unqualified
>Affects Versions: trunk
> Environment: Operating System: All
> Platform: All
>Reporter: Stephan Thesing
>Priority: Blocker
> Attachments: change-bars.fo, change_bars_diff.txt, changebar.diff, 
> changebar_20110308.diff, changebars.fo, changebars.pdf, 
> changebars_20110512.diff, diff_1691612.diff, diff_2010_03_06.txt, 
> fop_20120507.diff, fop_changebars_20120506.diff, test.fo, test.pdf
>
>
> In order to produce change bars along the columns for changed contents,
> FO supports the fo:change-bar-begin and fo:change-bar-end elements.
> These are not supported by FOP.
> Support for change bars should be added.
> Effort needed
>  - add parsing and validation of fo: elements
>  - determine fo elements under influence of one or more change bars
>  - when creating areas from such affected fo elements, create additional areas
> representing the change bars as defined in the FO standard.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (FOP-1760) [PATCH] FOP doesn't support change bar generation

2018-06-05 Thread JIRA


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

Jan Tošovský updated FOP-1760:
--
Attachment: patch_against_rev_1832958_2018-06-05.patch

> [PATCH] FOP doesn't support change bar generation
> -
>
> Key: FOP-1760
> URL: https://issues.apache.org/jira/browse/FOP-1760
> Project: FOP
>  Issue Type: New Feature
>  Components: unqualified
>Affects Versions: trunk
> Environment: Operating System: All
> Platform: All
>Reporter: Stephan Thesing
>Priority: Blocker
> Attachments: change-bars.fo, change_bars_diff.txt, changebar.diff, 
> changebar_20110308.diff, changebars.fo, changebars.pdf, 
> changebars_20110512.diff, diff_1691612.diff, diff_2010_03_06.txt, 
> fop_20120507.diff, fop_changebars_20120506.diff, 
> patch_against_rev_1832958_2018-06-05.patch, test.fo, test.pdf
>
>
> In order to produce change bars along the columns for changed contents,
> FO supports the fo:change-bar-begin and fo:change-bar-end elements.
> These are not supported by FOP.
> Support for change bars should be added.
> Effort needed
>  - add parsing and validation of fo: elements
>  - determine fo elements under influence of one or more change bars
>  - when creating areas from such affected fo elements, create additional areas
> representing the change bars as defined in the FO standard.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FOP-2536) [PATCH] Varying table border thickness in PDF output

2018-06-05 Thread JIRA


[ 
https://issues.apache.org/jira/browse/FOP-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16502539#comment-16502539
 ] 

Jan Tošovský commented on FOP-2536:
---

Can anybody clarify what kind of unit tests is expected here? I'd like to move 
this forward.

> [PATCH] Varying table border thickness in PDF output
> 
>
> Key: FOP-2536
> URL: https://issues.apache.org/jira/browse/FOP-2536
> Project: FOP
>  Issue Type: Improvement
>  Components: renderer/pdf
>Reporter: Martin Leitner
>Priority: Major
> Attachments: Polygon.java, fop-2434-alternative.patch, 
> patch-FOP-2434.diff, tableBorders.fo, tableBorders_fop_2.0.pdf, 
> tableBorders_fop_2.1.pdf, tableBorders_fop_2.1_AdobeReader_11.png, 
> tableBorders_patched.pdf
>
>
> As already pointed out in a comment to the original issue, this is a problem 
> with the PDF viewers. FOP generates the borders correctly. The viewers render 
> border segments correctly when they are rectangles, but they make mistakes 
> when the segments are more general polygons. In my patch, I am splitting the 
> polygons into rectangles, covering as much of the polygon as possible, write 
> the rectangles to the PDF, then write the remaining triangles.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FOP-2727) fo:float needs to be inside a block

2018-06-05 Thread Petter Reinholdtsen (JIRA)


[ 
https://issues.apache.org/jira/browse/FOP-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16502448#comment-16502448
 ] 

Petter Reinholdtsen commented on FOP-2727:
--

[Simon Steiner]

Does this mean the bug is in fop and not xmlto?

-- 
Happy hacking
Petter Reinholdtsen


> fo:float needs to be inside a block
> ---
>
> Key: FOP-2727
> URL: https://issues.apache.org/jira/browse/FOP-2727
> Project: FOP
>  Issue Type: Improvement
>  Components: fo/unqualified
>Affects Versions: 1.1, 2.0, 2.1
> Environment: Debian Jessie and Stretch.
>Reporter: Petter Reinholdtsen
>Priority: Minor
>
> Hi.  When trying to figure out how to make sure my docbook sidebars end up on 
> the side of the text, I tried following the instructions on  http://www.sagehill.net/docbookxsl/SideFloats.html > and wrote a simple 
> example docbook file to test floating sidebars.  This do not work and I get a 
> message about a missing feature.  Please add support for sidebars placed at 
> the side of the text body.
> When processing my example, I get this message and the sidebar has 
> disappeared from the resulting PDF:
> {noformat}
>  % xmlto --with-fop pdf db-sidebar-test.xml
>   Making portrait pages on letter paper (215.9mmx279.4mm)
>   Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
>   Font "ZapfDingbats,normal,700" not found. Substituting with
> "ZapfDingbats,normal,400".
>   Rendered page #1.
>   Couldn't find hyphenation pattern for lang="en".
>   Rendered page #2.
>   The following feature isn't implemented by Apache FOP, yet: fo:float (on
> fo:float) (No context info available)
>   No LayoutManager maker for class class org.apache.fop.fo.flow.Float
>   Rendered page #3.
>   Rendered page #4.
>   /tmp/user/1000/xmlto.xvMMIW
>   %
> {noformat}
> I tried using both fop 1.1 and 2.1, and both fail to create a PDF with a 
> sidebar.
> This is the example docbook file I use:
> {noformat}
> 
>  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd;>
> 
>   
> Test docbook sidebar
>   
>   
> Sidebar example
> 
>   Some text in front of the sidebar.
> 
>  
>   Sidebar example
>   
>   A sidebar
>   can be used to emphasize certain
>   content. It can intrude into
>   the body area, or it can
>   appear in side indents as 
>   a margin note.
> 
> Some text following the sidebar.
>   
> 
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FOP-2727) fo:float needs to be inside a block

2018-06-05 Thread simon steiner (JIRA)


[ 
https://issues.apache.org/jira/browse/FOP-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16502471#comment-16502471
 ] 

simon steiner commented on FOP-2727:


Not sure, someone will need to check

> fo:float needs to be inside a block
> ---
>
> Key: FOP-2727
> URL: https://issues.apache.org/jira/browse/FOP-2727
> Project: FOP
>  Issue Type: Improvement
>  Components: fo/unqualified
>Affects Versions: 1.1, 2.0, 2.1
> Environment: Debian Jessie and Stretch.
>Reporter: Petter Reinholdtsen
>Priority: Minor
>
> Hi.  When trying to figure out how to make sure my docbook sidebars end up on 
> the side of the text, I tried following the instructions on  http://www.sagehill.net/docbookxsl/SideFloats.html > and wrote a simple 
> example docbook file to test floating sidebars.  This do not work and I get a 
> message about a missing feature.  Please add support for sidebars placed at 
> the side of the text body.
> When processing my example, I get this message and the sidebar has 
> disappeared from the resulting PDF:
> {noformat}
>  % xmlto --with-fop pdf db-sidebar-test.xml
>   Making portrait pages on letter paper (215.9mmx279.4mm)
>   Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
>   Font "ZapfDingbats,normal,700" not found. Substituting with
> "ZapfDingbats,normal,400".
>   Rendered page #1.
>   Couldn't find hyphenation pattern for lang="en".
>   Rendered page #2.
>   The following feature isn't implemented by Apache FOP, yet: fo:float (on
> fo:float) (No context info available)
>   No LayoutManager maker for class class org.apache.fop.fo.flow.Float
>   Rendered page #3.
>   Rendered page #4.
>   /tmp/user/1000/xmlto.xvMMIW
>   %
> {noformat}
> I tried using both fop 1.1 and 2.1, and both fail to create a PDF with a 
> sidebar.
> This is the example docbook file I use:
> {noformat}
> 
>  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd;>
> 
>   
> Test docbook sidebar
>   
>   
> Sidebar example
> 
>   Some text in front of the sidebar.
> 
>  
>   Sidebar example
>   
>   A sidebar
>   can be used to emphasize certain
>   content. It can intrude into
>   the body area, or it can
>   appear in side indents as 
>   a margin note.
> 
> Some text following the sidebar.
>   
> 
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FOP-1760) [PATCH] FOP doesn't support change bar generation

2018-06-05 Thread JIRA


[ 
https://issues.apache.org/jira/browse/FOP-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16502430#comment-16502430
 ] 

Jan Tošovský commented on FOP-1760:
---

I am attaching the updated patch (including Eliot's change) tested against the 
current trunk version. Let's incorporate this and turn several rows in 
[https://xmlgraphics.apache.org/fop/compliance.html] into green :)

> [PATCH] FOP doesn't support change bar generation
> -
>
> Key: FOP-1760
> URL: https://issues.apache.org/jira/browse/FOP-1760
> Project: FOP
>  Issue Type: New Feature
>  Components: unqualified
>Affects Versions: trunk
> Environment: Operating System: All
> Platform: All
>Reporter: Stephan Thesing
>Priority: Blocker
> Attachments: change-bars.fo, change_bars_diff.txt, changebar.diff, 
> changebar_20110308.diff, changebars.fo, changebars.pdf, 
> changebars_20110512.diff, diff_1691612.diff, diff_2010_03_06.txt, 
> fop_20120507.diff, fop_changebars_20120506.diff, 
> patch_against_rev_1832958_2018-06-05.patch, test.fo, test.pdf
>
>
> In order to produce change bars along the columns for changed contents,
> FO supports the fo:change-bar-begin and fo:change-bar-end elements.
> These are not supported by FOP.
> Support for change bars should be added.
> Effort needed
>  - add parsing and validation of fo: elements
>  - determine fo elements under influence of one or more change bars
>  - when creating areas from such affected fo elements, create additional areas
> representing the change bars as defined in the FO standard.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)