Package file2xliff4j

Provides classes and interfaces for converting files in formats such as HTML, OpenOffice Text, Word, Excel, PowerPoint, Rich Text Format (RTF) and Maker Interchange Format (MIF) to XLIFF (XML Localisation Interchange File Format).

See:
          Description

Interface Summary
Converter  
Notifier Interface to send notifications.
SkeletonMerger Interface for implementations that merge temporary skeleton files with original native files and create the final skeleton file.
 

Class Summary
ConverterFactory  
ExcelExporter Class to export XLIFF to an Excel format.
ExcelImporter The ExcelImporter is used to import Excel documents, converting them to XLIFF.
Format Class to encapsulate the format file generated along with the XLIFF file that represents a document stored in LingoDoc.
Gui  
HtmlExporter  
HtmlHandler Class HtmlHandler uses HotSAX to read and parse HTML documents as if they were well-formed XML documents using a SAX-like API.
HtmlImporter The HtmlImporter is used to import HTML to (what else?) XLIFF.
HtmlSkeletonMerger This class merges the following: The pseudoSkeleton stream generated as XLIFF is created from XML. The original HTML stream from which the XLIFF was created.
JavaPropertiesExporter Export an XLIFF target translation to a Java property Resource Bundle.
JavaPropertiesImporter Import a Java Property Resource Bundle to XLIFF.
MifCharsetProvider  
MifExporter  
MifFrameRomanCharset A Charset implementation that maps between the "7-bit" ASCII (well, it is actually 8-bit ASCII ...) used by FrameMaker's Maker Interchange Format (MIF) to/from Unicode (UTF-8).
MifImporter The MifImporter is used to normalize "outside" XLIFF to a smaller subset of XLIFF.
MifParser Our implementation of a SAX/like parser for Maker Interchange Format (MIF), a representation of the content of Adobe FrameMaker files.
MifSkeletonMerger This class merges the following: The pseudoSkeleton stream generated while XLIFF was created from the original Maker Interchange File input. The original MIF stream from which the XLIFF was created.
OdfExporter Class to export XLIFF to an OpenDocumentFormat document.
OdfHandler Class OdfHandler uses SAX to read and parse the XML files.
OdfImporter The OdfImporter is used to import Open Document Format to XLIFF.
OdfSkeletonMerger This class merges the following: The pseudoSkeleton stream generated as XLIFF is created from XML. The original ODF stream from which the XLIFF was created.
OdfStateObject Class to preserve SAX parser state between calls for parsing content.xml and styles.xml
OOoTextExporter Class to export XLIFF to an OpenOffice.org OpenDocument Text (odt), Spreadsheet (ods) or Presentation (odp) document.
OOoTextImporter The OOoTextImporter is used to import OpenOffice.org Text (odt) documents, converting them to XLIFF.
PdfExporterToHtml Exporter of original PDF document's translation to Html format.
PdfExporterToOOoText Exporter of original PDF document's translation to OpenOffice.org Text format.
PdfExporterToPlaintext Exporter of original PDF document's translation to Plaintext format.
PdfExporterToWord Exporter of original PDF document's translation to Word format.
PdfHandler Class PdfHandler uses HotSAX to read and parse HTML documents as if they were well-formed XML documents using a SAX-like API.
PdfImporter The PdfImporter imports Portable Document Format to (what else?) XLIFF.
PlaintextExporter Class to export an XLIFF target to plaintext document in the same format as the original plaintext source document.
PlaintextImporter The PlaintextImporter identifies translatable text in plaintext files, creating an XLIFF file with source elements containing segments of the text.
PoExporter Export a GNU Portable Object file for a specified target language.
PoImporter Import a GNU Portable Object Template to XLIFF.
PPTExporter Class to export XLIFF to an Microsoft PowerPoint format.
PPTImporter The PPTImporter is used to import Microsoft PowerPoint documents, converting them to XLIFF.
RTFExporter Class to export XLIFF to an RTF format.
RTFImporter The RTFImporter is used to import RTF documents, converting them to XLIFF.
TuPreener Class to "preen" translation units--i.e.
TuStrings This class encapsulates the target strings that an XLIFF file contains for a specified language.
WinRcExporter Export the segments for a specified translation from XLIFF to a Windows RC file.
WinRcImporter Import a Microsoft Windows rc (resource) file.
WordExporter Class to export XLIFF to an Microsoft Word format.
WordImporter The WordImporter is used to import Microsoft Word documents, converting them to XLIFF.
XliffImporter The XliffImporter is used to normalize "outside" XLIFF to a smaller subset of XLIFF.
XliffSkeletonMerger This class merges the following: The pseudoSkeleton stream generated as XLIFF is created from the original XLIFF input. The original XLIFF stream from which the "normalized" XLIFF was created.
XMLExporter Class to export an XLIFF target to an XML document in the same format as the original XML source document.
XMLImporter The generic XML importer will convert most XML to XLIFF.
XMLSkeletonMerger This class merges the following: The pseudoSkeleton stream generated as XLIFF is created from the original XML input. The original XML stream from which the XLIFF was created.
XulDtdExporter Export an XLIFF target translation to a DTD used by XUL.
XulDtdImporter Import to XLIFF a Document Type Definition (DTD) file that declares entities for use in XML User Interface Language (XUL) localization.
 

Enum Summary
ConversionMode What sorts of conversion do we do?
ConversionStatus Statuses that can be returned from an attempt to convert from one file type to another.
FileType File types that we know how to deal with
OdfHandler.TagType  
OdfHandler.XliffSegmentMode  
SegmentBoundary Segment boundaries that we can handle
 

Exception Summary
ConversionException  
ConversionNotificationException  
OpenOfficeConnectException  
PdfPasswordException Exception thrown when unable to decode encrypted PDF file because of missing/incorrect password.
 

Package file2xliff4j Description

Provides classes and interfaces for converting files in formats such as HTML, OpenOffice Text, Word, Excel, PowerPoint, Rich Text Format (RTF) and Maker Interchange Format (MIF) to XLIFF (XML Localisation Interchange File Format). Following translation to one or more target languages, each target can be converted from XLIFF back to the format of the original source document.

While stored in the XLIFF file, translation units such as paragraphs can be translated from their original "source" language (like, for example, English) into one or more "target" languages (like, for example, Spanish, German or Japanese.) After translation is complete, file2xliff4j will convert a selected translation from XLIFF back to the format of the original document, preserving (in most cases) the formatting of the original document.

Most conversions from XLIFF to the original document format will work in any target language. A notable exception is FrameMaker MIF, which supports a limited number of languages. (This is a limitation of FrameMaker, not of file2xliff4j.) The FrameMaker documentation lists support for the following languages. (Their ISO locales are given in parentheses.)

Related Documentation