public class PdfOutputGenerator extends Object implements IFileOutputGenerator
Represents a class for generating PDF representation of texts differences.
| Constructor and Description |
|---|
PdfOutputGenerator()
Cteates an instance of
PdfOutputGenerator class. |
PdfOutputGenerator(OutputTextStyle textStyle)
Cteates an instance of
PdfOutputGenerator class. |
PdfOutputGenerator(OutputTextStyle textStyle,
PageInfo pageInfo)
Cteates an instance of
PdfOutputGenerator class. |
PdfOutputGenerator(PageInfo pageInfo)
Cteates an instance of
PdfOutputGenerator class. |
| Modifier and Type | Method and Description |
|---|---|
void |
generateOutput(List<List<DiffOperation>> diffrences,
String targetFilePath)
Generates the output based on the differences between texts and saves it to a file.
|
void |
generateOutput1(List<DiffOperation> diffrences,
String targetFilePath)
Generates the output based on the differences between texts and saves it to a file.
|
void |
generateOutputInternal(com.aspose.ms.System.Collections.Generic.List<com.aspose.ms.System.Collections.Generic.List<DiffOperation>> diffrences,
String targetFilePath) |
void |
generateOutputInternal1(com.aspose.ms.System.Collections.Generic.List<DiffOperation> diffrences,
String targetFilePath) |
public PdfOutputGenerator()
Cteates an instance of PdfOutputGenerator class.
public PdfOutputGenerator(PageInfo pageInfo)
Cteates an instance of PdfOutputGenerator class.
pageInfo - The page size and margins settings.public PdfOutputGenerator(OutputTextStyle textStyle)
Cteates an instance of PdfOutputGenerator class.
textStyle - The styles for the changed text.public PdfOutputGenerator(OutputTextStyle textStyle, PageInfo pageInfo)
Cteates an instance of PdfOutputGenerator class.
textStyle - The styles for the changed text.pageInfo - The page size and margins settings.public final void generateOutput1(List<DiffOperation> diffrences, String targetFilePath)
Generates the output based on the differences between texts and saves it to a file.
generateOutput1 in interface IFileOutputGeneratordiffrences - The list of differences between texts.targetFilePath - The path of the target file to save the output.public void generateOutputInternal1(com.aspose.ms.System.Collections.Generic.List<DiffOperation> diffrences, String targetFilePath)
generateOutputInternal1 in interface IFileOutputGeneratorpublic final void generateOutput(List<List<DiffOperation>> diffrences, String targetFilePath)
Generates the output based on the differences between texts and saves it to a file.
generateOutput in interface IFileOutputGeneratordiffrences - The list of differences between texts.targetFilePath - The path of the target file to save the output.public void generateOutputInternal(com.aspose.ms.System.Collections.Generic.List<com.aspose.ms.System.Collections.Generic.List<DiffOperation>> diffrences, String targetFilePath)
generateOutputInternal in interface IFileOutputGeneratorCopyright © 2025 Aspose. All Rights Reserved.