[jira] [Commented] (FOP-2517) keep-together.within-page=auto is not work,but the always is work.

2015-08-21 Thread zhangcui (JIRA)

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

zhangcui commented on FOP-2517:
---

Hi,thank for reply.
i mean when the value is auto,the result pdf is looks like has no this 
attribute.
the expect result is:
table have head,breaked by page break, the table on the second page have head 
too.
but the auto have no head.
i'm sorry, we don't creat the .fo file,just have pdf file.
further info:
same xslt, same xml,if i'm use fop.bat to make pdf file but not 
java.xml.transform,the result is
the second page have head too.

 keep-together.within-page=auto is not work,but the always is work.
 --

 Key: FOP-2517
 URL: https://issues.apache.org/jira/browse/FOP-2517
 Project: FOP
  Issue Type: Wish
Reporter: zhangcui

 i am use Transformer to convert xml to pdf,the src is
 FopFactory fF = FopFactory.newInstance();
   fF.setUserConfig(..);
   fF.getFontManager().setFontBaseURL(..);
   FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
   Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, 
 foUserAgent,out);
   Result result = new SAXResult(fop.getDefaultHandler());
   TransformerFactory tFactory = 
 TransformerFactory.newInstance();
   Transformer transformer = tFactory.newTransformer(new 
 StreamSource(xslReader));
   transformer.setParameter(tt, paramPath);
   transformer.transform(xmlSource, result);
 the xsl is
 xsl:element name=fo:table-row
xsl:attribute name=keep-together.within-page
   xsl:value-of select=auto/xsl:value-of
   /xsl:attribute
 /xsl:element
 but it's not work.but if i change it to always,it work.
 why?



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


[jira] [Issue Comment Deleted] (FOP-2517) keep-together.within-page=auto is not work,but the always is work.

2015-08-21 Thread zhangcui (JIRA)

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

zhangcui updated FOP-2517:
--
Comment: was deleted

(was: Hi,thank for reply.
i mean when the value is auto,the result pdf is looks like  has no this 
attribute.
the expect result is:
table have head,breaked by page break, the table on the second page have head 
too.
but the auto have no head.

i'm sorry, we don't creat the .fo file,just have pdf file.

further info:
same xslt, same xml,if i'm use fop.bat to make pdf file but not 
java.xml.transform,the result is
the second page have head too.)

 keep-together.within-page=auto is not work,but the always is work.
 --

 Key: FOP-2517
 URL: https://issues.apache.org/jira/browse/FOP-2517
 Project: FOP
  Issue Type: Wish
Reporter: zhangcui

 i am use Transformer to convert xml to pdf,the src is
 FopFactory fF = FopFactory.newInstance();
   fF.setUserConfig(..);
   fF.getFontManager().setFontBaseURL(..);
   FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
   Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, 
 foUserAgent,out);
   Result result = new SAXResult(fop.getDefaultHandler());
   TransformerFactory tFactory = 
 TransformerFactory.newInstance();
   Transformer transformer = tFactory.newTransformer(new 
 StreamSource(xslReader));
   transformer.setParameter(tt, paramPath);
   transformer.transform(xmlSource, result);
 the xsl is
 xsl:element name=fo:table-row
xsl:attribute name=keep-together.within-page
   xsl:value-of select=auto/xsl:value-of
   /xsl:attribute
 /xsl:element
 but it's not work.but if i change it to always,it work.
 why?



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


[jira] [Comment Edited] (FOP-2517) keep-together.within-page=auto is not work,but the always is work.

2015-08-21 Thread zhangcui (JIRA)

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

zhangcui edited comment on FOP-2517 at 8/21/15 7:55 AM:


Hi,thank for reply.
i mean when the value is auto,the result pdf is looks like  has no this 
attribute.
the expect result is:
table have head,breaked by page break, the table on the second page have head 
too.
but the auto have no head.

i'm sorry, we don't creat the .fo file,just have pdf file.

further info:
same xslt, same xml,if i'm use fop.bat to make pdf file but not 
java.xml.transform,the result is
the second page have head too.


was (Author: zhangcui):
Hi,thank for reply.
i mean when the value is auto,the result pdf is looks like  has no this 
attribute.
the expect reault is:
table have head,breaked by page break, the table on the second page have head 
too.
but the auto have no head.

i'm sorry, we don't creat the .fo file,just have pdf file.

further info:
same xslt, same xml,if i'm use fop.bat to make pdf file but not 
java.xml.transform,the result is
the second page have head too.

 keep-together.within-page=auto is not work,but the always is work.
 --

 Key: FOP-2517
 URL: https://issues.apache.org/jira/browse/FOP-2517
 Project: FOP
  Issue Type: Wish
Reporter: zhangcui

 i am use Transformer to convert xml to pdf,the src is
 FopFactory fF = FopFactory.newInstance();
   fF.setUserConfig(..);
   fF.getFontManager().setFontBaseURL(..);
   FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
   Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, 
 foUserAgent,out);
   Result result = new SAXResult(fop.getDefaultHandler());
   TransformerFactory tFactory = 
 TransformerFactory.newInstance();
   Transformer transformer = tFactory.newTransformer(new 
 StreamSource(xslReader));
   transformer.setParameter(tt, paramPath);
   transformer.transform(xmlSource, result);
 the xsl is
 xsl:element name=fo:table-row
xsl:attribute name=keep-together.within-page
   xsl:value-of select=auto/xsl:value-of
   /xsl:attribute
 /xsl:element
 but it's not work.but if i change it to always,it work.
 why?



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


[jira] [Commented] (FOP-2517) keep-together.within-page=auto is not work,but the always is work.

2015-08-21 Thread zhangcui (JIRA)

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

zhangcui commented on FOP-2517:
---

Hi,thank for reply.
i mean when the value is auto,the result pdf is looks like  has no this 
attribute.
the expect reault is:
table have head,breaked by page break, the table on the second page have head 
too.
but the auto have no head.

i'm sorry, we don't creat the .fo file,just have pdf file.

further info:
same xslt, same xml,if i'm use fop.bat to make pdf file but not 
java.xml.transform,the result is
the second page have head too.

 keep-together.within-page=auto is not work,but the always is work.
 --

 Key: FOP-2517
 URL: https://issues.apache.org/jira/browse/FOP-2517
 Project: FOP
  Issue Type: Wish
Reporter: zhangcui

 i am use Transformer to convert xml to pdf,the src is
 FopFactory fF = FopFactory.newInstance();
   fF.setUserConfig(..);
   fF.getFontManager().setFontBaseURL(..);
   FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
   Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, 
 foUserAgent,out);
   Result result = new SAXResult(fop.getDefaultHandler());
   TransformerFactory tFactory = 
 TransformerFactory.newInstance();
   Transformer transformer = tFactory.newTransformer(new 
 StreamSource(xslReader));
   transformer.setParameter(tt, paramPath);
   transformer.transform(xmlSource, result);
 the xsl is
 xsl:element name=fo:table-row
xsl:attribute name=keep-together.within-page
   xsl:value-of select=auto/xsl:value-of
   /xsl:attribute
 /xsl:element
 but it's not work.but if i change it to always,it work.
 why?



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


[jira] [Created] (FOP-2517) keep-together.within-page=auto is not work,but the always is work.

2015-08-20 Thread zhangcui (JIRA)
zhangcui created FOP-2517:
-

 Summary: keep-together.within-page=auto is not work,but the 
always is work.
 Key: FOP-2517
 URL: https://issues.apache.org/jira/browse/FOP-2517
 Project: FOP
  Issue Type: Wish
Reporter: zhangcui


i am use Transformer to convert xml to pdf,the src is

FopFactory fF = FopFactory.newInstance();
fF.setUserConfig(..);
fF.getFontManager().setFontBaseURL(..);
FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, 
foUserAgent,out);
Result result = new SAXResult(fop.getDefaultHandler());
TransformerFactory tFactory = 
TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer(new 
StreamSource(xslReader));
transformer.setParameter(tt, paramPath);
transformer.transform(xmlSource, result);

the xsl is
xsl:element name=fo:table-row
   xsl:attribute name=keep-together.within-page
xsl:value-of select=auto/xsl:value-of
/xsl:attribute
/xsl:element

but it's not work.but if i change it to always,it work.
why?



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


[jira] [Updated] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread zhangcui (JIRA)

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

zhangcui updated FOP-2452:
--
Description: 
xsl:variable name=aa
xsl:value-of select=string-length('1ff{H1}ガメン') + 10 /
xsl:value-of select='mm' /
/xsl:variable

fo:table
fo:table-column column-number=1 /
fo:table-body
fo:table-row 
fo:table-cell
fo:block 
xsl:value-of 
select='1ff{H1}ガメン' /xsl:value-of select='H1' /
/fo:block
fo:block start-indent={$aa}
xsl:value-of select='HH' /
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table

result:
1ff{H1}ガメンH1
HH

it should be like this
1ff{H1}ガメンH1
  HH

actually,i want layout like this,H1andHH are Vertical alignment
1ff{H1}ガメン   H1
 HH

how can theH1andHH become vertical alignment ?
if anyone can help,thank you!

  was:
xsl:variable name=aa
xsl:value-of select=string-length('1ff{H1}ガメン') + 10 /xsl:value-of 
select='mm' /
/xsl:variable

fo:table
fo:table-column column-number=1 /
fo:table-body
fo:table-row 
fo:table-cell
fo:block 
xsl:value-of 
select='1ff{H1}ガメン' /xsl:value-of select='H1' /
/fo:block
fo:block start-indent={$aa}
xsl:value-of select='HH' /
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table

result:
1ff{H1}ガメンH1
HH

it should be like this
1ff{H1}ガメンH1
  HH

actually,i want layout like this,H1andHH are Vertical alignment
1ff{H1}ガメン   H1
 HH

how can theH1andHH become vertical alignment ?
if anyone can help,thank you!


 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ff{H1}ガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
   fo:table-column column-number=1 /
   fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of 
 select='1ff{H1}ガメン' /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ff{H1}ガメンH1
 HH
 it should be like this
 1ff{H1}ガメンH1
   HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ff{H1}ガメン   H1
  HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



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


[jira] [Updated] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread zhangcui (JIRA)

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

zhangcui updated FOP-2452:
--
Description: 
xsl:variable name=aa
xsl:value-of select=string-length('1ffガメン') + 10 /
xsl:value-of select='mm' /
/xsl:variable

fo:table
fo:table-column column-number=1 /
fo:table-body
fo:table-row 
fo:table-cell
fo:block 
xsl:value-of select='1ffガメン' 
/xsl:value-of select='H1' /
/fo:block
fo:block start-indent={$aa}
xsl:value-of select='HH' /
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table

result:
1ffガメンH1
---HH

it should be like this
1ffガメンH1
--HH

actually,i want layout like this,H1andHH are Vertical alignment
1ffガメン---H1
--HH

how can theH1andHH become vertical alignment ?
if anyone can help,thank you!

  was:
xsl:variable name=aa
xsl:value-of select=string-length('1ff{H1}ガメン') + 10 /
xsl:value-of select='mm' /
/xsl:variable

fo:table
fo:table-column column-number=1 /
fo:table-body
fo:table-row 
fo:table-cell
fo:block 
xsl:value-of 
select='1ff{H1}ガメン' /xsl:value-of select='H1' /
/fo:block
fo:block start-indent={$aa}
xsl:value-of select='HH' /
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table

result:
1ff{H1}ガメンH1
HH

it should be like this
1ff{H1}ガメンH1
  HH

actually,i want layout like this,H1andHH are Vertical alignment
1ff{H1}ガメン   H1
 HH

how can theH1andHH become vertical alignment ?
if anyone can help,thank you!


 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ffガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
 fo:table-column column-number=1 /
 fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of select='1ffガメン' 
 /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ffガメンH1
 ---HH
 it should be like this
 1ffガメンH1
 --HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ffガメン---H1
 --HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



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


[jira] [Created] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread zhangcui (JIRA)
zhangcui created FOP-2452:
-

 Summary: the string-length($str) result is incorrect if $str 
contains japanese character
 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui


xsl:variable name=aa
xsl:value-of select=string-length('1ff{H1}ガメン') + 10 /xsl:value-of 
select='mm' /
/xsl:variable

fo:table
fo:table-column column-number=1 /
fo:table-body
fo:table-row 
fo:table-cell
fo:block 
xsl:value-of 
select='1ff{H1}ガメン' /xsl:value-of select='H1' /
/fo:block
fo:block start-indent={$aa}
xsl:value-of select='HH' /
/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table

result:
1ff{H1}ガメンH1
HH

it should be like this
1ff{H1}ガメンH1
  HH

actually,i want layout like this,H1andHH are Vertical alignment
1ff{H1}ガメン   H1
 HH

how can theH1andHH become vertical alignment ?
if anyone can help,thank you!



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


[jira] [Created] (FOP-2453) fo:list-item-label Automatically wrap when it contains japanese character

2015-02-26 Thread zhangcui (JIRA)
zhangcui created FOP-2453:
-

 Summary: fo:list-item-label Automatically wrap when it contains 
japanese character
 Key: FOP-2453
 URL: https://issues.apache.org/jira/browse/FOP-2453
 Project: Fop
  Issue Type: Bug
Reporter: zhangcui



xsl:variable name=aa
xsl:value-of select=string-length('1ff章2') + 10 /
xsl:value-of select='mm' /
/xsl:variable

fo:table
fo:table-column column-number=1 /
fo:table-body
fo:table-row 
fo:table-cell
fo:list-block
fo:list-item
fo:list-item-label end-indent=label-end()
fo:block
xsl:value-of select='1ff章2' /
/fo:block
/fo:list-item-label
fo:list-item-body start-indent={$aa}
fo:blockxsl:value-of select='HH1' //fo:block
/fo:list-item-body
/fo:list-item 
fo:list-item
fo:list-item-label end-indent=label-end()
fo:block/fo:block
/fo:list-item-label
fo:list-item-body start-indent={$startIndent}
fo:blockxsl:value-of select='HH2' //fo:block
/fo:list-item-body
/fo:list-item
/fo:list-block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table

it should be
1ff章2---HH1
---HH2

but the result is
1ff---HH1
章
2
---HH2

and if change the '1ff章2' to '1fff6662',it goes well.

if do not use the fo:list-block,like this
fo:table-cell
fo:block
xsl:value-of select='1ff章2' /
/fo:block
/fo:table-cell
the '1ff章2'display in a line,do not wrap.

i cannot find the reason.




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


[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread zhangcui (JIRA)

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

zhangcui commented on FOP-2452:
---

thanks for your reply.
i change the code, could you check this 
https://issues.apache.org/jira/browse/FOP-2453

 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ffガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
 fo:table-column column-number=1 /
 fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of select='1ffガメン' 
 /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ffガメンH1
 ---HH
 it should be like this
 1ffガメンH1
 --HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ffガメン---H1
 --HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



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


[jira] [Commented] (FOP-2452) the string-length($str) result is incorrect if $str contains japanese character

2015-02-26 Thread zhangcui (JIRA)

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

zhangcui commented on FOP-2452:
---

thanks for your reply.
i change the code, could you check this 
https://issues.apache.org/jira/browse/FOP-2453

 the string-length($str) result is incorrect if $str contains japanese 
 character
 ---

 Key: FOP-2452
 URL: https://issues.apache.org/jira/browse/FOP-2452
 Project: Fop
  Issue Type: Bug
 Environment: fop1.0
Reporter: zhangcui

 xsl:variable name=aa
   xsl:value-of select=string-length('1ffガメン') + 10 /
 xsl:value-of select='mm' /
 /xsl:variable
 fo:table
 fo:table-column column-number=1 /
 fo:table-body
   fo:table-row 
   fo:table-cell
   fo:block 
   xsl:value-of select='1ffガメン' 
 /xsl:value-of select='H1' /
   /fo:block
   fo:block start-indent={$aa}
   xsl:value-of select='HH' /
   /fo:block
   /fo:table-cell
   /fo:table-row
   /fo:table-body
   /fo:table
 result:
 1ffガメンH1
 ---HH
 it should be like this
 1ffガメンH1
 --HH
 actually,i want layout like this,H1andHH are Vertical alignment
 1ffガメン---H1
 --HH
 how can theH1andHH become vertical alignment ?
 if anyone can help,thank you!



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


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

2014-04-15 Thread zhangcui (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 @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
Reporter: zhangcui

 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.
 ListString cmdList = new ArrayListString();
 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...



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-04-14 Thread zhangcui (JIRA)
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
ListString cmdList = new ArrayListString();
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 english...



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-04-14 Thread zhangcui (JIRA)

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

ListString cmdList = new ArrayListString();
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:
use fop1.0,i create a pdf,if the pdf's name contains chinese character,it will 
fail.
i use this code
ListString cmdList = new ArrayListString();
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 english...


 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.
 but use the same code,if the server OS is windows 2008 JP,it works fine.
 my server OS is windows 7 ultimate JP.
 ListString cmdList = new ArrayListString();
 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...



--
This message was sent by Atlassian JIRA
(v6.2#6252)