Re: FOP can not create a special table?

2014-04-14 Thread Pascal Sancho
Hi,

1st, for FOP usage questions, please ask on fop-users list, fop-dev is
for fop internal questions.

That said, IIUC, you need writing-mode tb-rl for asian characters, right?
Unfortunately, FOP implements only horizontal left-to-right and
right-to-left modes.

As a workaround, you may use the newly implemented
fo:inline-container. While some required properties are not yet
implemented (see FOP-1524 at [1] for further details), you can use a
fo:block-container within the fo:inline-container:

fo:block
  line 1
  fo:inline-container width=20mm height=20mm
fo:block-container reference-orientation=270 width=20mm height=20mm
  fo:blockline 2/fo:block
  fo:blockline 3/fo:block
/fo:block-container
  /fo:inline-container
  line 4
/fo:block

NOTE: since fo:inline-container is quite new in FOP, feedback is welcome.

[1] https://issues.apache.org/jira/browse/FOP-1524

2014-04-14 4:34 GMT+02:00 inferyes ldming...@gmail.com:
 Now, I put the table in a block-container /fo:block-container
 reference-orientation=270/, the result is like that:
 http://apache-fop.1065347.n5.nabble.com/file/n40480/table-rotate.png

 Now, I want the text in table to arrange vertically as follow:
 T
 E
 S
 T
 NOT rotate the characters.

 Anybody have a method? Thanks very much.



 --
 View this message in context: 
 http://apache-fop.1065347.n5.nabble.com/FOP-can-not-create-a-special-table-tp40479p40480.html
 Sent from the FOP - Dev mailing list archive at Nabble.com.



-- 
pascal


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