XMerge AportisDoc Plugin
The AportisDoc plugin converts text data between OpenOffice Writer format and AportisDoc's binary Palm DataBase file format.
The AportisDoc format is a plain-text format and does not support any formatting options.
| Document Elements
Using the AportisDoc plugin
The AportisDoc plugin is invoked in the same manner as all other XMerge plugins. Once the framework has been made aware of the plugin, the only thing needed to use it is to specify its MIME type as a source or destination type for conversion. The MIME type is specified in the
converter.xmlfile included in the
aportisdoc.jarfile. Currently, this is set to
For example, to use the AportisDoc plugin in conjunction with the test driver supplied with the XMerge framework:
% java org.openoffice.xmerge.test.Driver -from staroffice/sxw -to application/x-aportisdoc Test.sxw
% java.org.openoffice.xmerge.test.Driver -from application/x-aportisdoc -to staroffice/sxw Test.pdb
FeaturesThe plugin currently supports conversion to plain-text only, as this is what AportisDoc supports.
Original StarWriter Document
Converted Document Converted Document with Edits
MergingWhen changes have been made on the small device, the user can either choose to convert the modified AportisDoc Palm Database to a reduced content and style StarWriter file, or the user can choose to merge the content changes made with the original StarWriter Document. In this way, new edits can be retained whilst also retaining document styles and formatting . To merge the modified AportisDoc DataBase, the XMerge test driver program may be used again.
% java.org.openoffice.xmerge.test.Driver -from application/x-aportisdoc -to staroffice/sxw -merge Test.sxw Test.pdb
Original StarWriter Document with Merged Edits
Building the pluginThe AportisDoc plugin is built as part of the XMerge framework. Its classes are stored in
aportisdoc.jar. See Building XMerge for more instructions.