public class

TransPDF

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.TransPDF

Class Overview

The class TransPDF. static interface to TransPDF xliff extraction and importing

Summary

Public Methods
static void applyXLIFF(PDFDoc input, String incoming_xliff)
Import translated XLIFF into a tagged PDF.
static void applyXLIFF(PDFDoc input, String incoming_xliff, TransPDFOptions options)
Import translated XLIFF into a tagged PDF.
static void applyXLIFFWithFilter(PDFDoc input, Filter incoming_xliff)
Import translated XLIFF into a tagged PDF.
static void applyXLIFFWithFilter(PDFDoc input, Filter incoming_xliff, TransPDFOptions options)
Import translated XLIFF into a tagged PDF.
static void extractXLIFF(PDFDoc input_output_pdf, String output_xliff, TransPDFOptions options)
Extract the XLIFF and tag a PDF for translation.
static void extractXLIFF(PDFDoc input_output_pdf, String output_xliff)
Extract the XLIFF and tag a PDF for translation.
static void extractXLIFFWithFilter(PDFDoc input_output_pdf, Filter output_stream_for_xliff)
Extract the XLIFF and tag a PDF for translation.
static void extractXLIFFWithFilter(PDFDoc input_output_pdf, Filter output_stream_for_xliff, TransPDFOptions options)
Extract the XLIFF and tag a PDF for translation.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void applyXLIFF (PDFDoc input, String incoming_xliff)

Import translated XLIFF into a tagged PDF.

Parameters
input The pdf to be processed.
incoming_xliff Path to the XLIFF to import.

public static void applyXLIFF (PDFDoc input, String incoming_xliff, TransPDFOptions options)

Import translated XLIFF into a tagged PDF.

Parameters
input The pdf to be processed.
incoming_xliff Path to the XLIFF to import.
options TransPDF options (optional).

public static void applyXLIFFWithFilter (PDFDoc input, Filter incoming_xliff)

Import translated XLIFF into a tagged PDF.

Parameters
input The pdf to be processed.
incoming_xliff The XLIFF to import.

public static void applyXLIFFWithFilter (PDFDoc input, Filter incoming_xliff, TransPDFOptions options)

Import translated XLIFF into a tagged PDF.

Parameters
input The pdf to be processed.
incoming_xliff The XLIFF to import.
options TransPDF options (optional).

public static void extractXLIFF (PDFDoc input_output_pdf, String output_xliff, TransPDFOptions options)

Extract the XLIFF and tag a PDF for translation.

Parameters
input_output_pdf The pdf to be processed.
output_xliff Path to the extracted XLIFF.
options TransPDF options (optional).

public static void extractXLIFF (PDFDoc input_output_pdf, String output_xliff)

Extract the XLIFF and tag a PDF for translation.

Parameters
input_output_pdf The pdf to be processed.
output_xliff Path to the extracted XLIFF.

public static void extractXLIFFWithFilter (PDFDoc input_output_pdf, Filter output_stream_for_xliff)

Extract the XLIFF and tag a PDF for translation.

Parameters
input_output_pdf The pdf to be processed.
output_stream_for_xliff The XLIFF extracted.

public static void extractXLIFFWithFilter (PDFDoc input_output_pdf, Filter output_stream_for_xliff, TransPDFOptions options)

Extract the XLIFF and tag a PDF for translation.

Parameters
input_output_pdf The pdf to be processed.
output_stream_for_xliff The XLIFF extracted.
options TransPDF options (optional).