jp.co.antenna.dmc.v4
クラス DMCnativeV4

java.lang.Object
  上位を拡張 jp.co.antenna.dmc.v4.DMCnativeV4

public class DMCnativeV4
extends java.lang.Object

DMC Library用のnative関数

作成者:
Hiorshi Obata

コンストラクタの概要
DMCnativeV4()
           
 
メソッドの概要
static DMCfileInfoV4 getDMCFileInfoV4(java.io.File f)
          ファイル識別機能
static int getPageTextStreamV4(java.io.File appfile, java.io.OutputStream txtout, DMCTextInfoV4 textInfo, int page)
          頁抽出機能
static int getPageTextV4(java.io.File appfile, java.io.File txtfile, DMCTextInfoV4 textInfo, int page)
          頁抽出機能
static void getPropertyV4(java.io.File appfile, DMCTextInfoV4 textinfo, DMCPropertyV4 property)
          プロパティ抽出機能
static int getPwdPageTextV4(java.io.File appfile, java.io.File txtfile, DMCTextInfoV4 textInfo, int page, java.lang.String password)
          暗号化されたPDFファイルの頁抽出機能
static void getPwdPropertyV4(java.io.File appfile, DMCTextInfoV4 textinfo, DMCPropertyV4 property, java.lang.String password)
          暗号化されたPDFファイルのプロパティ抽出機能
static void getPwdTextV4(java.io.File appfile, java.io.File txtfile, DMCTextInfoV4 textInfo, java.lang.String password)
          暗号化されたPDFファイルのテキスト抽出機能
static void getTextStreamV4(java.io.File appfile, java.io.OutputStream txtout, DMCTextInfoV4 textInfo)
          テキスト抽出機能
static void getTextV4(java.io.File appfile, java.io.File txtfile, DMCTextInfoV4 textInfo)
          テキスト抽出機能
static void setCallBack(InterestingEvent evt)
          推奨されていません。 Javaインターフェースでは、OLEエラーのコールバックはサポートされません。
CallBack definition input function
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DMCnativeV4

public DMCnativeV4()
メソッドの詳細

getDMCFileInfoV4

public static DMCfileInfoV4 getDMCFileInfoV4(java.io.File f)
                                      throws DMCExceptionV4
ファイル識別機能

パラメータ:
f - 識別対象ファイル
戻り値:
識別結果
例外:
DMCException
DMCExceptionV4
関連項目:
DMCfileInfoV4

getTextV4

public static void getTextV4(java.io.File appfile,
                             java.io.File txtfile,
                             DMCTextInfoV4 textInfo)
                      throws DMCExceptionV4
テキスト抽出機能

パラメータ:
appfile - 抽出対象ファイル
txtfile - 出力ファイル
textInfo - 出力するテキストの詳細指定
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4

getPageTextV4

public static int getPageTextV4(java.io.File appfile,
                                java.io.File txtfile,
                                DMCTextInfoV4 textInfo,
                                int page)
                         throws DMCExceptionV4
頁抽出機能

パラメータ:
appfile - 抽出対象ファイル
txtfile - 出力ファイル
textInfo - 出力するテキストの詳細指定
page - ページ番号。page=0の時、対象ファイルの総ページ数を取得する
戻り値:
page=0の時、総ページ数。page!=0の時エラーコード(エラーは例外を投げるので判定不要)
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4

getPwdPageTextV4

public static int getPwdPageTextV4(java.io.File appfile,
                                   java.io.File txtfile,
                                   DMCTextInfoV4 textInfo,
                                   int page,
                                   java.lang.String password)
                            throws DMCExceptionV4
暗号化されたPDFファイルの頁抽出機能

パラメータ:
appfile - 抽出対象ファイル
txtfile - 出力ファイル
textInfo - 出力するテキストの詳細指定
page - ページ番号。page=0の時、対象ファイルの総ページ数を取得する
password - パスワード
戻り値:
page=0の時、総ページ数。 page!=0の時エラーコード(エラーは例外を投げるので判定不要)
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4

getPwdTextV4

public static void getPwdTextV4(java.io.File appfile,
                                java.io.File txtfile,
                                DMCTextInfoV4 textInfo,
                                java.lang.String password)
                         throws DMCExceptionV4
暗号化されたPDFファイルのテキスト抽出機能

パラメータ:
appfile - 抽出対象ファイル
txtfile - 出力ファイル
textInfo - 出力するテキストの詳細指定
password - パスワード
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4

getPropertyV4

public static void getPropertyV4(java.io.File appfile,
                                 DMCTextInfoV4 textinfo,
                                 DMCPropertyV4 property)
                          throws DMCExceptionV4
プロパティ抽出機能

パラメータ:
appfile - 抽出対象ファイル
textinfo - 出力するテキストの詳細指定
property - 文書プロパティ
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4, DMCPropertyV4

getPwdPropertyV4

public static void getPwdPropertyV4(java.io.File appfile,
                                    DMCTextInfoV4 textinfo,
                                    DMCPropertyV4 property,
                                    java.lang.String password)
                             throws DMCExceptionV4
暗号化されたPDFファイルのプロパティ抽出機能

パラメータ:
appfile - 抽出対象ファイル
textinfo - 出力するテキストの詳細指定
property - 文書プロパティ
password - パスワード
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4, DMCPropertyV4

getTextStreamV4

public static void getTextStreamV4(java.io.File appfile,
                                   java.io.OutputStream txtout,
                                   DMCTextInfoV4 textInfo)
                            throws DMCExceptionV4
テキスト抽出機能

パラメータ:
appfile - 抽出対象ファイル
txtout - output stream
textInfo - 出力するテキストの詳細指定
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4

getPageTextStreamV4

public static int getPageTextStreamV4(java.io.File appfile,
                                      java.io.OutputStream txtout,
                                      DMCTextInfoV4 textInfo,
                                      int page)
                               throws DMCExceptionV4
頁抽出機能

パラメータ:
appfile - 抽出対象ファイル
txtout - output stream
textInfo - 出力するテキストの詳細指定
page - ページ番号。page=0の時、対象ファイルの総ページ数を取得する
戻り値:
page=0の時、総ページ数。page!=0の時エラーコード(エラーは例外を投げるので判定不要)
例外:
DMCException
DMCExceptionV4
関連項目:
DMCTextInfoV4

setCallBack

public static void setCallBack(InterestingEvent evt)
推奨されていません。 Javaインターフェースでは、OLEエラーのコールバックはサポートされません。
CallBack definition input function

パラメータ:
evt - User defined callback object, the class will extend the interface InterestingEvent
関連項目:
InterestingEvent