Srinivas Bolisetti (JIRA | 24 Apr 17:04 2014
Picon

[jira] [Commented] (FOP-2366) Incorrect Bullets for mulitple para within a single list-item inside a table


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

Srinivas Bolisetti commented on FOP-2366:
-----------------------------------------

Is there a patch available for this issue as well?

> Incorrect Bullets for mulitple para within a single list-item  inside a table
> -----------------------------------------------------------------------------
>
>                 Key: FOP-2366
>                 URL: https://issues.apache.org/jira/browse/FOP-2366
>             Project: Fop
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.0
>         Environment: Windows 7, Java 6.7
>            Reporter: Srinivas Bolisetti
>              Labels: patch
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> The fix for the bug 50163 doesn't work if the list-block is inside a table.
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50163.
> Below is the  FO.
> <fo:flow flow-name="xsl-region-body">
>  
(Continue reading)

Srinivas Bolisetti (JIRA | 24 Apr 17:04 2014
Picon

[jira] [Updated] (FOP-2366) Incorrect Bullets for mulitple para within a single list-item inside a table


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

Srinivas Bolisetti updated FOP-2366:
------------------------------------

    Description: 
The fix for the bug 50163 doesn't work if the list-block is inside a table.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50163.

Below is the  FO.

<fo:flow flow-name="xsl-region-body">

 <fo:table>
<fo:table-column column-width="4.50in"/>
<fo:table-column column-width="2.00in"/>
<fo:table-body>
<fo:table-row padding-top=".00in" padding-bottom=".00in">
  <fo:table-cell padding=".00in">
    <fo:block>
<fo:list-block>
<fo:list-item>
<fo:list-item-label>
<fo:block>•</fo:block>
</fo:list-item-label>

<fo:list-item-body start-indent="body-start()">
<fo:block>Test Block 0</fo:block>
(Continue reading)

Srinivas Bolisetti (JIRA | 24 Apr 17:02 2014
Picon

[jira] [Created] (FOP-2366) Incorrect Bullets for mulitple para within a single list-item inside a table

Srinivas Bolisetti created FOP-2366:
---------------------------------------

             Summary: Incorrect Bullets for mulitple para within a single list-item  inside a table
                 Key: FOP-2366
                 URL: https://issues.apache.org/jira/browse/FOP-2366
             Project: Fop
          Issue Type: Bug
          Components: general
    Affects Versions: 1.0
         Environment: Windows 7, Java 6.7
            Reporter: Srinivas Bolisetti

The fix for the bug doesn't work if the list-block is inside a table.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50163.

Below is the  FO.

<fo:flow flow-name="xsl-region-body">

 <fo:table>
<fo:table-column column-width="4.50in"/>
<fo:table-column column-width="2.00in"/>
<fo:table-body>
<fo:table-row padding-top=".00in" padding-bottom=".00in">
  <fo:table-cell padding=".00in">
    <fo:block>
<fo:list-block>
<fo:list-item>
<fo:list-item-label>
(Continue reading)

Vincent Hennebert | 22 Apr 18:11 2014
Picon

[VOTE] Merge Temp_WhitespaceManagement to trunk

Hi,

as you may be aware, Seifeddine Dridi has been working for the past few
months on an extension to manage the white space available in
a document. It is based on the fo:multi-switch element and selects the
first fo:multi-case child that fits on the page. That allows to define
smaller variants in case there is not enough space left on the page.

The approach is similar to what is described here:
http://wiki.apache.org/xmlgraphics-fop/WhitespaceManagement

All patches, comments and discussions are available in the following
JIRA issue:
https://issues.apache.org/jira/browse/FOP-2293

The code is here:
http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_WhitespaceManagement

It has reached a state where we believe it is ready to be merged to
trunk.

This vote will run until Friday, 25th April 16:00 UTC.

+1 from me.

Thanks,
Vincent

Seifeddine Dridi (JIRA | 21 Apr 17:40 2014
Picon

[jira] [Commented] (FOP-2293) Whitespace management extension


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

Seifeddine Dridi commented on FOP-2293:
---------------------------------------

Hello Vincent,
{quote}
Ideally the documentation would be made a bit more detailed, with a slightly more complex example and
illustrations of the cases where no variant is selected, or another than the first one, etc.
{quote}

I agree with you that the documentation still needs a bit more work, but at this point I prefer to start the
integration process. I can go back later and improve the documentation with real world examples and illustrations...

If you don't mind, I leave it to you to launch the vote.

Thank you!

Seifeddine

> Whitespace management extension
> -------------------------------
>
>                 Key: FOP-2293
>                 URL: https://issues.apache.org/jira/browse/FOP-2293
>             Project: Fop
>          Issue Type: New Feature
(Continue reading)

Vincent Hennebert (JIRA | 18 Apr 21:49 2014
Picon

[jira] [Commented] (FOP-2293) Whitespace management extension


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

Vincent Hennebert commented on FOP-2293:
----------------------------------------

Hi Seifeddine,

Thanks for your patch. I've applied it in rev. [1588548|http://svn.apache.org/r1588548]. The test
cases look really good, simple and to the point.

I think that apart from small details (the value of the auto-toggle property, among others), this work is
ready to be merged to trunk. Is there anything you would like to add or shall I launch the vote?

Ideally the documentation would be made a bit more detailed, with a slightly more complex example and
illustrations of the cases where no variant is selected, or another than the first one, etc. But I don't see
this as a blocker for the vote.

Thanks,
Vincent

> Whitespace management extension
> -------------------------------
>
>                 Key: FOP-2293
>                 URL: https://issues.apache.org/jira/browse/FOP-2293
>             Project: Fop
>          Issue Type: New Feature
(Continue reading)

Pascal Sancho (JIRA | 15 Apr 12:02 2014
Picon

[jira] [Commented] (FOP-2365) pdf's name contains chinese character


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

Pascal Sancho commented on FOP-2365:
------------------------------------

After changing codepage, you should restart Windows and check in a shell environment that your change is effective.

Guessing you are invoking fop.bat through a java process:
JVM config can differ between your 2 machines, including java version.
Perhaps the ProcessBuilder() contructor set some default values

Or maybe a Windows bugfix...

Or... googleing:
http://www.coderanch.com/t/279253/java-io/java/Unicode-cmd-parameters-main-args

This seems to be definitively related to your machine configuration, in such case FOP has nothing to do with
this issue.

> pdf's name contains chinese character
> -------------------------------------
>
>                 Key: FOP-2365
>                 URL: https://issues.apache.org/jira/browse/FOP-2365
>             Project: Fop
>          Issue Type: Bug
>          Components: pdf
(Continue reading)

zhangcui (JIRA | 15 Apr 11:29 2014
Picon

[jira] [Commented] (FOP-2365) pdf's name contains chinese character


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

zhangcui commented on FOP-2365:
-------------------------------

Hi,Pascal Sancho
Thanks for your response.
Windows 7 Ultimate 64bit and  windows 2008 JP have the same FS,NTFS.
And i generate a UTF8 file by "new File()" on Windows 7 Ultimate 64bit,so i can say it support UTF8,right?

Another cause could be the codepage used by the Windows shell.
->means change regedit.exe's HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun to
 <at> chcp 65001?
i changed it,not work

Is there any other possible reasons?

> pdf's name contains chinese character
> -------------------------------------
>
>                 Key: FOP-2365
>                 URL: https://issues.apache.org/jira/browse/FOP-2365
>             Project: Fop
>          Issue Type: Bug
>          Components: pdf
>    Affects Versions: 1.0
>         Environment: Windows 7 Ultimate 64bit
(Continue reading)

Pascal Sancho (JIRA | 15 Apr 09:41 2014
Picon

[jira] [Commented] (FOP-2365) pdf's name contains chinese character


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

Pascal Sancho commented on FOP-2365:
------------------------------------

Hi,
I'm pretty sure that the cause is how File system handle filenames.
Not all FS used by Windows support UTF8 filenames (Cf. [1]).
Another cause could be the codepage used by the Windows shell.

Another thing: I guess you are calling fop.bat from Java app; it's not a common way to run FOP from Java... it
would be benefit to directly embed FOP calls in your app (see [2]), so you will not be facing to Shell limitations.

I expect some feedback before I close this issue as Invalid.

[1] http://msdn.microsoft.com/en-us/library/windows/desktop/dd317748%28v=vs.85%29.aspx
[2] http://xmlgraphics.apache.org/fop/1.0/embedding.html

> pdf's name contains chinese character
> -------------------------------------
>
>                 Key: FOP-2365
>                 URL: https://issues.apache.org/jira/browse/FOP-2365
>             Project: Fop
>          Issue Type: Bug
>          Components: pdf
>    Affects Versions: 1.0
(Continue reading)

zhangcui (JIRA | 15 Apr 03:37 2014
Picon

[jira] [Updated] (FOP-2365) pdf's name contains chinese character


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

zhangcui updated FOP-2365:
--------------------------

    Description: 
use fop1.0,i create a pdf,if the pdf's name contains chinese character,it will fail.
but use the same code,if the server OS is windows 2008 JP,it works fine.
my server OS is windows 7 ultimate JP.

List<String> cmdList = new ArrayList<String>();
cmdList.add("fop.bat");
cmdList.add("c:\\logfile.log");
cmdList.add("-xsl");
cmdList.add("c:\\myxsl.xsl");
cmdList.add("-param");
cmdList.add("pp");
cmdList.add("c:\\param.txt");
cmdList.add("-xml");
cmdList.add("c:\\myxml.xml");
cmdList.add("-pdf");
cmdList.add("c:\\mypdf.pdf");
ProcessBuilder pb = new ProcessBuilder(command);
p = pb.start();

sorry for my english.......

  was:
(Continue reading)

zhangcui (JIRA | 14 Apr 12:08 2014
Picon

[jira] [Created] (FOP-2365) pdf's name contains chinese character

zhangcui created FOP-2365:
-----------------------------

             Summary: pdf's name contains chinese character
                 Key: FOP-2365
                 URL: https://issues.apache.org/jira/browse/FOP-2365
             Project: Fop
          Issue Type: Bug
          Components: pdf
    Affects Versions: 1.0
         Environment: Windows 7 Ultimate 64bit
            Reporter: zhangcui

use fop1.0,i create a pdf,if the pdf's name contains chinese character,it will fail.
i use this code
List<String> cmdList = new ArrayList<String>();
cmdList.add("fop.bat");
cmdList.add("c:\\logfile.log");
cmdList.add("-xsl");
cmdList.add("c:\\myxsl.xsl");
cmdList.add("-param");
cmdList.add("pp");
cmdList.add("c:\\param.txt");
cmdList.add("-xml");
cmdList.add("c:\\myxml.xml");
cmdList.add("-pdf");
cmdList.add("c:\\mypdf.pdf");
ProcessBuilder pb = new ProcessBuilder(command);
p = pb.start();

(Continue reading)


Gmane