その時々

その時々で違うんです。特に決まっていないんです。

2011-05-05から1日間の記事一覧

UbuntuでApacheFOP その2

ページの領域を設定してみます。sample.xml <column> <title> 攻略! XSL-FO </title> <abstract> 今度はXMLファイルからXSLTを利用してXSL-FOからPDFを作成します。 </abstract> </column> sample2.xsl

UbuntuでApacheFOP その3

今回はXSL-FOを直接書いています。 フォーマットを練習するにはこちらのほうが都合がよさそうです。before領域にロゴを表示するサンプルです。sample1.fo <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="PageMaster" page-height="297mm" page-width="210mm"> </fo:simple-page-master></fo:layout-master-set></fo:root>