Summary: Methods | Inherited Methods | [Expand All]
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
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## 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.

##### Throws

PDFNetException |

#### 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).

##### Throws

PDFNetException |

#### 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.

##### Throws

PDFNetException |

#### 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).

##### Throws

PDFNetException |

#### 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).

##### Throws

PDFNetException |

#### 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.

##### Throws

PDFNetException |

#### 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.

##### Throws

PDFNetException |

#### 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).

##### Throws

PDFNetException |