レポートを作成し表示する
対応バージョン

3.0a 4.0 4.05 5.0 6.0
Windows
×
×
×


Macintosh
×
×
×


ポイント
rep = new Report();
rep.writeText("■レポート");
rep.open("report.pdf");
説  明
Reportオブジェクトを生成することで新規にPDFを作成することができます。レポートオブジェクトへの出力はwriteText()を使います。このメソッドを実行し終わると自動的に改行されます。生成したレポートを表示するにはopen()を使い名前を指定します。
サンプル

rep = new Report();
rep.writeText("■レポート");
for (i=0; i<10; i++) rep.writeText(i);
rep.open("report.pdf");

 
■サンプルスクリプトを実行する >> Acrobat で動作確認
補足説明
なし