> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OfficeConversionSettings オブジェクト（IOfficeConversionSettings インターフェイス）

> ABBYY FineReader Engine API の OfficeConversionSettings オブジェクト（IOfficeConversionSettings インターフェイス）— Office ドキュメントの取り込みを設定します（Linux および Windows のみ）。v12.8.0 以降は Microsoft Office または LibreOffice のインストールが必要です。

<Note>
  このオブジェクトは、Linux および Windows 向けの FRE に実装されています。
</Note>

<Warning>
  v12.8.0 以降、Office Document を取り込むには Microsoft Office または LibreOffice をインストールする必要があります。
</Warning>

このオブジェクトには、入力画像を開く場合と同じメソッドを使用して、さまざまな形式のデジタルDocumentをインポートするための設定が含まれています。

すべての入力ファイルを統一された手順で開く機能は、受け取るDocumentの形式を事前に把握していないものの、すべてを同じ方法で処理する必要がある場合 (たとえば、組織のDocument管理システムに追加する場合など) に役立ちます。

[サポートされている形式](/ja/fine-reader/engine/specifications/supported-digital-document-input-formats)のいずれかに該当する入力ファイルが検出されると、プログラムは外部アプリケーションを起動してファイルを変換し、その内容を読み込みます。使用されるアプリケーションは OfficeConverters プロパティによって決まります。このプロパティには、優先順位順に使用するコンバーターのリストが含まれています。

<Note>
  Windows の例：リストに OCT\_MsOffice および OCT\_AbbyyOffice 定数がこの順序で含まれている場合、プログラムは Microsoft Office を起動します。Microsoft Office がワークステーションにインストールされていない場合、ファイルは ABBYY の内部メカニズムによって変換されます。
</Note>

<Warning>
  デジタルDocumentをインポートするには、使用するライセンスが [Office Formats Opening](/ja/fine-reader/engine/licensing/modules) モジュールに対応している必要があります。
</Warning>

<div id="properties">
  ## Properties
</div>

<table>
  <thead>
    <tr>
      <th>
        <p>
          <strong>名前</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>型</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>説明</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>
          <strong>Application</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/engine-object-iengine-interface">Engine</a>
          </strong>

          、<a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">読み取り専用</a>
        </p>
      </td>

      <td>
        <p>
          <strong>Engine</strong> オブジェクトを返します。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="msofficepassword" />

          <strong>MsOfficePassword</strong>
        </p>

        <Note>Windows のみ。</Note>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">BSTR</a>
          </strong>
        </p>
      </td>

      <td>
        <p>Microsoft Office のカスタムユーザーのパスワードです。</p>

        <p>
          <strong>UseMsOfficeCustomUser</strong> が FALSE の場合、このプロパティは無視されます。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="msofficeusername" />

          <strong>MsOfficeUserName</strong>
        </p>

        <Note>Windows のみ。</Note>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">BSTR</a>
          </strong>
        </p>
      </td>

      <td>
        <p>Microsoft Office のカスタムユーザーの名前です。</p>

        <p>
          <strong>UseMsOfficeCustomUser</strong> が FALSE の場合、このプロパティは無視されます。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="officeconverters" />

          <strong>OfficeConverters</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/image-related-objects/officeconverters">OfficeConverters</a>
          </strong>

          、<a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">読み取り専用</a>
        </p>
      </td>

      <td>
        <p>入力ドキュメントの変換に使用できるアプリケーションの型のコレクションです。優先順位の高い順に並んでいます。</p>

        <p>
          デフォルトでは、このコレクションには{" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/enumerations/officeconvertertypeenum">OfficeConverterTypeEnum</a>
          </strong>

          {" "}

          定数で定義されたコンバーターが以下の順序で含まれています：
        </p>

        <ul>
          <li>OCT\_MsOffice (Win)、</li> および <li>OCT\_LibreOffice</li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="usemsofficecustomuser" />

          <strong>UseMsOfficeCustomUser</strong>
        </p>

        <Note>Windows のみ。</Note>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">VARIANT\_BOOL</a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Microsoft Office アプリケーションをデフォルト以外のユーザー名で実行するかどうかを指定します。このプロパティを TRUE に設定する場合は、<strong>MsOfficeUserName</strong> および <strong>MsOfficePassword</strong> プロパティに
          該当ユーザーの名前とパスワードを設定してください。
        </p>

        <p>このプロパティのデフォルト値は FALSE です。</p>
      </td>
    </tr>
  </tbody>
</table>

<div id="related-objects">
  ## 関連オブジェクト
</div>

<img src="https://mintcdn.com/abbyy/i-EfCQVmseNiPQcp/images/fine-reader/engine/officeconversionsettings.gif?s=48021805b163f58f83da2884834a44ef" alt="OfficeConversionSettings" width="189" height="83" data-path="images/fine-reader/engine/officeconversionsettings.gif" />[](/ja/fine-reader/engine/api-reference/image-related-objects/prepareimagemode#officeconversionsettings)[](/ja/fine-reader/engine/api-reference/image-related-objects/officeconverters)[](/ja/fine-reader/engine/api-reference/image-related-objects/prepareimagemode)

[オブジェクト図](/ja/fine-reader/engine/api-reference/object-diagram)

<div id="see-also">
  ## 関連項目
</div>

[Propertiesの操作](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)

[サポートされているデジタルDocumentの入力Formats](/ja/fine-reader/engine/specifications/supported-digital-document-input-formats)
