IM-PDFAutoConverter for Accel Platform IM-LogicDesigner連携 仕様書 初版 2026-04-01

6.1.3.2. PDFファイルへの変換

6.1.3.2.1. 変換対象ファイルを設置する

  1. < %PUBLIC_STORAGE_PATH% /pdfa/tutorial/officetopdf/ld >ディレクトリを作成します。
  2. < data >フォルダを< %PUBLIC_STORAGE_PATH% /pdfa/tutorial/officetopdf/ld >配下に設置します。

6.1.3.2.2. ロジックフロー定義のデバッグ画面を開く

  1. 「サイトマップ」-「LogicDesigner」-「フロー定義一覧」をクリックします。

    ../../../../_images/open_debug_screen_office_1.png
  2. 「 IM-PDFAutoConverter チュートリアル」から「 Office変換 」を選択し、「編集」をクリックします。

    ../../../../_images/open_debug_screen_office_2.png

    「ロジックフロー定義編集」画面が開きます。

    ../../../../_images/open_debug_screen_office_3.png
  3. 「デバッグ」をクリックします。

    ../../../../_images/open_debug_screen_office_4.png

    「ロジックフロー定義のデバッグ」画面が開きます。

    ../../../../_images/open_debug_screen_office_5.png

6.1.3.2.3. 入力値を設定し、デバッグを実行する

  1. 「実行」をクリックします。

    ../../../../_images/execute_debug_office_1.png
  2. 各変数に次の値を設定し、「実行」をクリックします。

    フロー定義の入力値の項目は次の通りです。

    docInfo <object>
      ├─ application <string>
      ├─ author <string>
      ├─ keyword <string>
      ├─ subTitle <string>
      └─ title <string>
    fastWebView <boolean>
    inputFile <string> *
    outputFile <string> *
    security <object>
      ├─ addNote <integer>
      ├─ copy <integer>
      ├─ edit <integer>
      ├─ openPassword <string>
      ├─ print <integer>
      ├─ securityMode <integer>
      └─ securityPassword <string>
    stampName <string>
    項目名 必須/任意 配列/リスト 説明
    inputFile 必須 string なし Office変換 の入力値「inputFile」
    outputFile 必須 string なし Office変換 の入力値「outputFile」
    他入力項目 Office変換 の各入力値

    設定値は次の通りです。

    < 値を編集 >

    変数
    docInfo  
     application アプリケーション
     author 作成者
     keyword キーワード
     subTitle サブタイトル
     title タイトル
    fastWebView true
    inputFile pdfa/tutorial/officetopdf/ld/data/somu_tatekae.docx
    outputFile pdfa/tutorial/officetopdf/ld/officetopdf_1.pdf
    security  
     addNote 0
     copy 0
     edit 0
     openPassword open
     print 0
     securityMode 0
     securityPassword security
    stampName null

    < JSON入力 >

    {
       "docInfo": {
          "application": "アプリケーション",
          "author": "作成者",
          "keyword": "キーワード",
          "subTitle": "サブタイトル",
          "title": "タイトル"
       },
       "fastWebView": true,
       "inputFile": "pdfa/tutorial/officetopdf/ld/data/somu_tatekae.docx",
       "outputFile": "pdfa/tutorial/officetopdf/ld/officetopdf_1.pdf",
       "security": {
          "addNote": 0,
          "copy": 0,
          "edit": 0,
          "openPassword": "open",
          "print": 0,
          "securityMode": 0,
          "securityPassword": "security"
       },
       "stampName": null
    }
    
    ../../../../_images/execute_debug_office_2.png

    コラム

    Office変換 の入出力値については「 Office変換 」を参照してください。

  3. 「決定」をクリックします。

    ../../../../_images/execute_debug_office_3.png
  4. デバッグが開始されます。

    正常にデバッグが終了した場合、その旨のメッセージが表示され、変数情報ペイン、および、コンソールペインが更新されます。

    ../../../../_images/execute_debug_office_4.png

    PDFファイル変換処理に失敗した場合は、デバッグ実行時のコンソールを確認してください。

    ../../../../_images/execute_debug_office_5.png

6.1.3.2.4. 実行結果を確認する

  1. 「outputFile」に指定した出力先に、PDFファイルが出力されていることを確認します。

    ../../../../_images/check_result_office_1.png
  2. 出力されたPDFファイルをPDFビューア( Adobe Acrobat Reader など)で開き、正しく表示されることを確認します。

    ../../../../_images/check_result_office_2.png

    コラム

    PDFファイルのパスワードは、次の通りです。

    • オープンパスワード:「open」
    • セキュリティパスワード:「security」