DocuWorks Development Tool Kit consists of the following development kits and technical information, which work in conjunction with DocuWorks.
(1) DocuWorks API | ||||||
DocuWorks API (hereafter, XDWAPI) provides methods for converting and handling DocuWorks documents. | ||||||
(2) DocuWorks Desk Plug-in SPI | ||||||
DocuWorks Desk Plug-in SPI (hereafter, Plug-in SPI) provides methods for adding a new plug-in to DocuWorks Desk. | ||||||
(3) DocuWorks Viewer Control/DocuWorks Viewer Light Control Interface Specification | ||||||
DocuWorks Viewer Control and DocuWorks Viewer Light Control Interface Specification (hereafter, Viewer Control I/F) is a document that shows how to display and handle a DocuWorks document on the ActiveX® controls. | ||||||
(4) DocuWorks Content Filter (Text Filter Module) Coordination Interface Specification | ||||||
DocuWorks Content Filter Interface Specification is a document that shows how to extract text from DocuWorks documents. |
(1) | In order to use XDWAPI 7.0.1, DocuWorks 7.x (retail version) (version 7.0.1 or newer) must be installed. |
(2) | XDWAPI 7.0.1 does not operate in the environment where DocuWorks 6.x or earlier is installed. Do not copy the DLL files to the system directory. |
- | Environment that both DocuWorks 7.x (retail version) and XDWAPI 7.x are installed. |
Under this environment, applications created using the header file or import library supplied by XDWAPI 6.x and 5.x can also run. The file format versions of DocuWorks file that can be processed under this environment are 4 to 10. For details of file format versions, refer to specification of XDW_GetDocumentInformation in XDWAPI.XDW.
(1) | Use with 64 bit applications | ||
The interfaces applicable/inapplicable to 64-bit applications are listed below. | |||
(a) | The interfaces that can be used with 64-bit applications: | ||
- | XDWAPI | ||
- | Content Filter I/F | ||
(b) | The interfaces that cannot be used with 64-bit applications: | ||
- | Plug-in SPI | ||
- | Viewer Control I/F | ||
When developing 64-bit applications, refer to the separate document, 64BIT.XDW. | |||
(2) | With 32-bit applications, all types of interface can be used. |
You can check the installation status of DocuWorks as follows before installing XDWAPI.
If DocuWorks version between 4.0 and 7.x is installed, the
registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\FujiXerox\MPM3\MPM3\PATH exists.
Also the REG_SZ typed value of the entry indicates DocuWorks Viewer's
executive file path and the executive file dwviewer.exe exists in that path.
And if DocuWorks 6.0 or newer is installed, the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\FujiXerox\MPM3\SystemInfo exists.
For acquiring version information of DocuWorks, refer to section "How to Acquire the Version Data of DocuWorks Product" in XDWAPI.XDW.
DocuWorks
Development Tool Kit contains the following files. It requires about 7 MB free
disk space.
README.HTM | This file | |||
XDWAPI.XDW | DocuWorks API Specification | |||
PLUGINSPI.XDW | DocuWorks Desk Plug-in SPI Specification | |||
VCTRLIF.XDW | DocuWorks Viewer Control Interface Specification | |||
DWGETTEXTIF.XDW | DocuWorks Content Filter (Text Filter Module) Coordination Interface Specification | |||
64BIT.XDW | 64 bit Windows Separate Document | |||
Q&A.HTM | Q&A | |||
XDWAPI\ | ||||
DLL\ | DLL files in order to use XDWAPI (32 bit version) | |||
DLLX64\ | DLL files in order to use XDWAPI (64 bit version) | |||
INCLUDE\ | Header files in order to use XDWAPI | |||
LIB\ | Import libraries in order to use XDWAPI (32 bit version) | |||
LIBX64\ | Import libraries in order to use XDWAPI (64 bit version) | |||
BIN\ | XDWAPI sample programs | |||
XDWSMPL\ | Source code of XDWAPI sample program 1 | |||
XDWSMPL2\ | Source code of XDWAPI sample program 2 | |||
XDWSMPL3\ | Source code of XDWAPI sample program 3 | |||
XDWSMPL4\ | Source code of XDWAPI sample program 4 | |||
XDWSMPL5\ | Source code of XDWAPI sample program 5 | |||
XDWSMPL6\ | Source code of XDWAPI sample program 6 | |||
XDWSMPL7\ | Source code of XDWAPI sample program 7 | |||
XDWSMPL8\ | Source code of XDWAPI sample program 8 | |||
XDWSMPL9\ | Source code of XDWAPI sample program 9 | |||
XDWSMPL10\ | Source code of XDWAPI sample program 10 | |||
XDWSMPL11\ | Source code of XDWAPI sample program 11 | |||
XDWSMPL12\ | Source code of XDWAPI sample program 12 | |||
PLUGINSPI\ | ||||
INCLUDE\ | Header files in order to use Plug-in SPI | |||
BIN\ | Plug-in SPI sample program | |||
PLGSMPL\ | Source code of Plug-in SPI sample program 1 | |||
PLGSMPL2\ | Source code of Plug-in SPI sample program 2 | |||
PLGSMPL3\ | Source code of Plug-in SPI sample program 3 | |||
DWGETTEXTIF\ | ||||
INCLUDE\ | Header files in order to use Content Filter I/F | |||
LIB\ | Import libraries in order to use Content Filter I/F (32 bit version) | |||
LIBX64\ | Import libraries in order to use Content Filter I/F (64 bit version) |
Sample programs for XDWAPI programming | |||
XDWSMPL | Creates DocuWorks document from image data. | ||
XDWSMPL2 | Prints texts of a specified DocuWorks document. | ||
XDWSMPL3 | Prints texts of text annotations in a specified DocuWorks document. | ||
XDWSMPL4 | Creates DocuWorks document from a specified application document. | ||
XDWSMPL5 | Adds text annotations to a specified DocuWorks document. | ||
XDWSMPL6 | Automatically rotates and performs OCR to all pages of a specified DocuWorks documents. | ||
XDWSMPL7 | Creates a binder and insert DocuWorks documents in a specified order. | ||
XDWSMPL8 | Adds and updates the footer/header and page number of DocuWorks document and binder. | ||
XDWSMPL9 | Sets document attributes to a DocuWorks document and adds date stamp annotation. Also passes those attributes to another DocuWorks document. | ||
XDWSMPL10 | Gets link root folder information of DocuWorks Desk. | ||
XDWSMPL11 | Adds signatures to a specified DocuWorks document. | ||
XDWSMPL12 | Verifies signatures in a specified DocuWorks document, and gets information of signatures. |
Sample for Plug-in SPI programming | |||
PLGSMPL | Shows example not using MFC. | ||
PLGSMPL2 | Shows example using MFC 8.0. | ||
PLGSMPL3 | Shows typical clone example using MFC 8.0. |
XDWAPI sample programs (except XDWSMPL4) are console
applications. You can run the program from a command prompt. Only XDWSMPL4 is
a window base application.
In order to run Plug-in SPI sample, first, copy the binary file to the
directory "<DocuWorks installation directory >\bin\plugins\" and then restart
DocuWorks Desk. Next, add the sample program in the Plug-in setting dialog
box.
In order to build a sample program, you need Microsoft® Visual C++ 2005 or
later. In order to build PLGSMPL3, you must define constant REGKEY_PLGDATA in
plgclone.c.
New features | ||
- | A function to retrieve the page text information in Unicode onto a memory has been added. (XDW_GetPageTextToMemoryW) | |
- | A function to output the text information of DocuWorks file as a text file in Unicode has been added. (XDW_GetFullTextW) | |
- | A function to set a document attribute of DocuWorks file in Unicode, and a function to obtain the attribute in Unicode have been added. (XDW_SetDocumentAttributeW,XDW_GetDocumentAttributeByOrderW,XDW_GetDocumentAttributeByNameW) | |
- | A function to obtain an attribute of the document in binder in Unicode has been added. (XDW_GetDocumentAttributeByOrderInBinderW,XDW_GetDocumentAttributeByNameInBinderW) | |
- | A function to set an attribute of the specified annotation in Unicode, and a function to obtain the attribute in Unicode have been added. (XDW_SetAnnotationAttributeW,XDW_GetAnnotationAttributeW) | |
- | A function to obtain an original data name of DocuWorks file in Unicode has been added. (XDW_GetOriginalDataInformationW) | |
- | A function to set a title of the document in binder in Unicode, and a function to obtain the title in Unicode have been added. (XDW_SetDocumentNameInBinderW,XDW_GetDocumentNameInBinderW) | |
- | A function to set a user-defined attribute with type to an annotation, and a function to obtain the user-defined attribute in Unicode have been added. (XDW_SetAnnotationCustomAttribute,XDW_GetAnnotationCustomAttributeNumber,XDW_GetAnnotationCustomAttributeByName,XDW_GetAnnotationCustomAttributeByOrder) | |
- | For XDW_ApplyOcr, the following three settings can be designated: the level of recognition accuracy, the ratio of English to Japanese, and the setting to change English characters (alphabet and numbers) and letter symbols to one-byte characters. | |
- | The character spacing and blank spaces of a text annotation can be changed. | |
- | The setting to automatically adjust the label size to the annotation on the label can be designated. | |
- | The line type of a straight line annotation can be changed. | |
- | Ten colors have been newly added to the settable binder color. |
- | A method for displaying a page to the specified position and a method for obtaining the current display position have been added. (SetBaseViewPosition, SetBaseViewPagePoint, GetBaseViewPosition, GetBaseViewPagePoint) |