PdfFileEditor

PdfFileEditor

Overview

PdfFileEditor is a class in Aspose.PDF FOSS for C++.

This class provides 72 methods for working with PdfFileEditor objects in C++ programs. Available methods include: AddMargins, AddMarginsPct, AddPageBreak, AllowConcatenateExceptions, Append, CloseConcatenatedStreams, Concatenate, ConcatenationPacketSize, ConversionLog, ConvertTo, CopyLogicalStructure, CopyOutlines, and 36 additional methods. All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
PdfFileEditor()Calls PdfFileEditor on this PdfFileEditor instance.
Concatenate(firstInputFile: std::string, secondInputFile: std::string, outputFile: std::string)boolCalls Concatenate(firstInputFile, secondInputFile, outputFile) on this PdfFileEditor instance.
Concatenate(inputFiles: std::vector<std::string>, outputFile: std::string)boolCalls Concatenate(inputFiles, outputFile) on this PdfFileEditor instance.
Concatenate(src: std::vector<Aspose::Pdf::Document*>, dest: Aspose::Pdf::Document)boolCalls Concatenate(src, dest) on this PdfFileEditor instance.
TryConcatenate(firstInputFile: std::string, secondInputFile: std::string, outputFile: std::string)boolCalls TryConcatenate(firstInputFile, secondInputFile, outputFile) on this PdfFileEditor instance.
TryConcatenate(inputFiles: std::vector<std::string>, outputFile: std::string)boolCalls TryConcatenate(inputFiles, outputFile) on this PdfFileEditor instance.
Append(portFile: std::string, addFiles: std::vector<std::string>, startPage: int, endPage: int, outputFile: std::string)boolCalls Append(portFile, addFiles, startPage, endPage, outputFile) on this PdfFileEditor instance.
TryAppend(portFile: std::string, addFiles: std::vector<std::string>, startPage: int, endPage: int, outputFile: std::string)boolCalls TryAppend(portFile, addFiles, startPage, endPage, outputFile) on this PdfFileEditor instance.
Insert(inputFile: std::string, insertLocation: int, portFile: std::string, startPage: int, endPage: int, outputFile: std::string)boolCalls Insert(inputFile, insertLocation, portFile, startPage, endPage, outputFile) on this PdfFileEditor instance.
TryInsert(inputFile: std::string, insertLocation: int, portFile: std::string, startPage: int, endPage: int, outputFile: std::string)boolCalls TryInsert(inputFile, insertLocation, portFile, startPage, endPage, outputFile) on this PdfFileEditor instance.
Delete(inputFile: std::string, pageNumber: std::vector<int>, outputFile: std::string)boolCalls Delete(inputFile, pageNumber, outputFile) on this PdfFileEditor instance.
TryDelete(inputFile: std::string, pageNumber: std::vector<int>, outputFile: std::string)boolCalls TryDelete(inputFile, pageNumber, outputFile) on this PdfFileEditor instance.
Extract(inputFile: std::string, startPage: int, endPage: int, outputFile: std::string)boolCalls Extract(inputFile, startPage, endPage, outputFile) on this PdfFileEditor instance.
Extract(inputFile: std::string, pageNumber: std::vector<int>, outputFile: std::string)boolCalls Extract(inputFile, pageNumber, outputFile) on this PdfFileEditor instance.
TryExtract(inputFile: std::string, startPage: int, endPage: int, outputFile: std::string)boolCalls TryExtract(inputFile, startPage, endPage, outputFile) on this PdfFileEditor instance.
TryExtract(inputFile: std::string, pageNumber: std::vector<int>, outputFile: std::string)boolCalls TryExtract(inputFile, pageNumber, outputFile) on this PdfFileEditor instance.
SplitFromFirst(inputFile: std::string, location: int, outputFile: std::string)boolCalls SplitFromFirst(inputFile, location, outputFile) on this PdfFileEditor instance.
SplitToEnd(inputFile: std::string, location: int, outputFile: std::string)boolCalls SplitToEnd(inputFile, location, outputFile) on this PdfFileEditor instance.
SplitToPages(inputFile: std::string)std::vector<std::string>Calls SplitToPages(inputFile) on this PdfFileEditor instance.
SplitToBulks(inputFile: std::string, numberOfPage: std::vector<std::vector<int>>)std::vector<std::string>Calls SplitToBulks(inputFile, numberOfPage) on this PdfFileEditor instance.
TrySplitFromFirst(inputFile: std::string, location: int, outputFile: std::string)boolCalls TrySplitFromFirst(inputFile, location, outputFile) on this PdfFileEditor instance.
TrySplitToEnd(inputFile: std::string, location: int, outputFile: std::string)boolCalls TrySplitToEnd(inputFile, location, outputFile) on this PdfFileEditor instance.
MakeBooklet(inputFile: std::string, outputFile: std::string)boolCalls MakeBooklet(inputFile, outputFile) on this PdfFileEditor instance.
MakeBooklet(inputFile: std::string, outputFile: std::string, pageSize: Aspose::Pdf::PageSize)boolCalls MakeBooklet(inputFile, outputFile, pageSize) on this PdfFileEditor instance.
TryMakeBooklet(inputFile: std::string, outputFile: std::string)boolCalls TryMakeBooklet(inputFile, outputFile) on this PdfFileEditor instance.
MakeNUp(firstInputFile: std::string, secondInputFile: std::string, outputFile: std::string)boolCalls MakeNUp(firstInputFile, secondInputFile, outputFile) on this PdfFileEditor instance.
MakeNUp(inputFiles: std::vector<std::string>, outputFile: std::string, isSidewise: bool)boolCalls MakeNUp(inputFiles, outputFile, isSidewise) on this PdfFileEditor instance.
TryMakeNUp(firstInputFile: std::string, secondInputFile: std::string, outputFile: std::string)boolCalls TryMakeNUp(firstInputFile, secondInputFile, outputFile) on this PdfFileEditor instance.
ResizeContents(inputFile: std::string, outputFile: std::string, pages: std::vector<int>, parameters: ContentsResizeParameters)boolCalls ResizeContents(inputFile, outputFile, pages, parameters) on this PdfFileEditor instance.
ResizeContentsPct(inputFile: std::string, outputFile: std::string, xPercent: double, yPercent: double)boolCalls ResizeContentsPct(inputFile, outputFile, xPercent, yPercent) on this PdfFileEditor instance.
TryResizeContents(inputFile: std::string, outputFile: std::string, pages: std::vector<int>, parameters: ContentsResizeParameters)boolCalls TryResizeContents(inputFile, outputFile, pages, parameters) on this PdfFileEditor instance.
AddMargins(inputFile: std::string, outputFile: std::string, pages: std::vector<int>, leftMargin: double, rightMargin: double, topMargin: double, bottomMargin: double)boolCalls AddMargins(inputFile, outputFile, pages, leftMargin, rightMargin, topMargin, bottomMargin) on this PdfFileEditor instance.
AddMarginsPct(inputFile: std::string, outputFile: std::string, pages: std::vector<int>, leftMarginPct: double, rightMarginPct: double, topMarginPct: double, bottomMarginPct: double)boolCalls AddMarginsPct(inputFile, outputFile, pages, leftMarginPct, rightMarginPct, topMarginPct, bottomMarginPct) on this PdfFileEditor instance.
AddPageBreak(inputFile: std::string, outputFile: std::string, pageBreaks: std::vector<PageBreak>)boolCalls AddPageBreak(inputFile, outputFile, pageBreaks) on this PdfFileEditor instance.
AllowConcatenateExceptions()boolCalls AllowConcatenateExceptions on this PdfFileEditor instance.
AllowConcatenateExceptions(value: bool)Calls AllowConcatenateExceptions(value) on this PdfFileEditor instance.
CloseConcatenatedStreams()boolCalls CloseConcatenatedStreams on this PdfFileEditor instance.
CloseConcatenatedStreams(value: bool)Calls CloseConcatenatedStreams(value) on this PdfFileEditor instance.
ConcatenationPacketSize()intCalls ConcatenationPacketSize on this PdfFileEditor instance.
ConcatenationPacketSize(value: int)Calls ConcatenationPacketSize(value) on this PdfFileEditor instance.
ConversionLog()std::stringCalls ConversionLog on this PdfFileEditor instance.
ConvertTo(value: Aspose::Pdf::PdfFormat)Calls ConvertTo(value) on this PdfFileEditor instance.
CopyLogicalStructure()boolCalls CopyLogicalStructure on this PdfFileEditor instance.
CopyLogicalStructure(value: bool)Calls CopyLogicalStructure(value) on this PdfFileEditor instance.
CopyOutlines()boolCalls CopyOutlines on this PdfFileEditor instance.
CopyOutlines(value: bool)Calls CopyOutlines(value) on this PdfFileEditor instance.
CorruptedFileAction()ConcatenateCorruptedFileActionCalls CorruptedFileAction on this PdfFileEditor instance.
CorruptedFileAction(value: ConcatenateCorruptedFileAction)Calls CorruptedFileAction(value) on this PdfFileEditor instance.
CorruptedItems()std::vector<CorruptedItem>Calls CorruptedItems on this PdfFileEditor instance.
IncrementalUpdates()boolCalls IncrementalUpdates on this PdfFileEditor instance.
IncrementalUpdates(value: bool)Calls IncrementalUpdates(value) on this PdfFileEditor instance.
KeepActions()boolCalls KeepActions on this PdfFileEditor instance.
KeepActions(value: bool)Calls KeepActions(value) on this PdfFileEditor instance.
KeepFieldsUnique()boolCalls KeepFieldsUnique on this PdfFileEditor instance.
KeepFieldsUnique(value: bool)Calls KeepFieldsUnique(value) on this PdfFileEditor instance.
LastException(value: std::string)Calls LastException(value) on this PdfFileEditor instance.
MergeDuplicateLayers()boolCalls MergeDuplicateLayers on this PdfFileEditor instance.
MergeDuplicateLayers(value: bool)Calls MergeDuplicateLayers(value) on this PdfFileEditor instance.
MergeDuplicateOutlines()boolCalls MergeDuplicateOutlines on this PdfFileEditor instance.
MergeDuplicateOutlines(value: bool)Calls MergeDuplicateOutlines(value) on this PdfFileEditor instance.
OptimizeSize()boolCalls OptimizeSize on this PdfFileEditor instance.
OptimizeSize(value: bool)Calls OptimizeSize(value) on this PdfFileEditor instance.
OwnerPassword()std::stringCalls OwnerPassword on this PdfFileEditor instance.
OwnerPassword(value: std::string)Calls OwnerPassword(value) on this PdfFileEditor instance.
PreserveUserRights()boolCalls PreserveUserRights on this PdfFileEditor instance.
PreserveUserRights(value: bool)Calls PreserveUserRights(value) on this PdfFileEditor instance.
RemoveSignatures()boolCalls RemoveSignatures on this PdfFileEditor instance.
RemoveSignatures(value: bool)Calls RemoveSignatures(value) on this PdfFileEditor instance.
UniqueSuffix()std::stringCalls UniqueSuffix on this PdfFileEditor instance.
UniqueSuffix(value: std::string)Calls UniqueSuffix(value) on this PdfFileEditor instance.
UseDiskBuffer()boolCalls UseDiskBuffer on this PdfFileEditor instance.
UseDiskBuffer(value: bool)Calls UseDiskBuffer(value) on this PdfFileEditor instance.

See Also