4 #include <system/io/stream.h> 5 #include <system/exceptions.h> 6 #include <system/collections/icomparer.h> 7 #include <system/array.h> 8 #include <system/action.h> 11 #include "Aspose.PDF.Cpp/License/IVentureLicenseTarget.h" 12 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h" 20 template <
typename,
typename>
class AsposeHashDictionary;
44 namespace LicenseManagement
49 class OutlineCollection;
50 class OutlineItemCollection;
64 class PdfFileEditorTests;
76 template <
typename,
typename>
class Dictionary;
79 template <
typename>
class List;
80 template <
typename>
class Queue;
87 enum class SeekOrigin;
105 class ASPOSE_PDF_SHARED_CLASS
PdfFileEditor final :
public Aspose::Pdf::LicenseManagement::IVentureLicenseTarget
108 typedef Aspose::Pdf::LicenseManagement::IVentureLicenseTarget BaseType;
110 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
111 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
113 friend class Aspose::Pdf::Tests::Facades::PdfFileEditorTests;
130 ConcatenateIgnoringCorrupted,
134 ConcatenateIgnoringCorruptedObjects
148 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
149 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
158 ASPOSE_PDF_SHARED_API int32_t get_Index()
const;
191 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
192 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
199 ASPOSE_PDF_SHARED_API
void set_PercentValue(
double value);
203 ASPOSE_PDF_SHARED_API
void set_UnitValue(
double value);
207 ASPOSE_PDF_SHARED_API
double get_Value()
const;
212 ASPOSE_PDF_SHARED_API
bool get_IsPercent()
const;
260 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
261 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
405 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
406 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
413 ASPOSE_PDF_SHARED_API int32_t get_PageNumber()
const;
417 ASPOSE_PDF_SHARED_API
void set_PageNumber(int32_t value);
421 ASPOSE_PDF_SHARED_API
double get_Position()
const;
425 ASPOSE_PDF_SHARED_API
void set_Position(
double value);
432 ASPOSE_PDF_SHARED_API
PageBreak(int32_t pageNumber,
double position);
446 typedef NullStream ThisType;
449 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
454 int64_t get_Position()
const override;
455 void set_Position(int64_t value)
override;
456 int64_t get_Length()
const override;
457 bool get_CanRead()
const override;
458 bool get_CanSeek()
const override;
459 bool get_CanWrite()
const override;
463 void SetLength(int64_t value)
override;
464 void Flush()
override;
480 typedef OptionalContentsItemDescriptor ThisType;
483 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
506 typedef PageBreakComparer ThisType;
509 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
520 typedef DocumentFormatter ThisType;
523 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
536 double currentPageOffset;
537 double pageBreakOffset;
538 double elementOffset;
544 void PageBreak(
double pageBreakPosition);
561 ASPOSE_PDF_SHARED_API
bool get_MergeDuplicateLayers()
const;
566 ASPOSE_PDF_SHARED_API
void set_MergeDuplicateLayers(
bool value);
570 ASPOSE_PDF_SHARED_API
bool get_CopyOutlines()
const;
574 ASPOSE_PDF_SHARED_API
void set_CopyOutlines(
bool value);
578 ASPOSE_PDF_SHARED_API
bool get_CopyLogicalStructure()
const;
582 ASPOSE_PDF_SHARED_API
void set_CopyLogicalStructure(
bool value);
586 ASPOSE_PDF_SHARED_API
bool get_MergeDuplicateOutlines()
const;
590 ASPOSE_PDF_SHARED_API
void set_MergeDuplicateOutlines(
bool value);
594 ASPOSE_PDF_SHARED_API
bool get_PreserveUserRights()
const;
598 ASPOSE_PDF_SHARED_API
void set_PreserveUserRights(
bool value);
602 ASPOSE_PDF_SHARED_API
bool get_IncrementalUpdates()
const;
606 ASPOSE_PDF_SHARED_API
void set_IncrementalUpdates(
bool value);
612 ASPOSE_PDF_SHARED_API
bool get_OptimizeSize()
const;
618 ASPOSE_PDF_SHARED_API
void set_OptimizeSize(
bool value);
646 ASPOSE_PDF_SHARED_API
void set_OwnerPassword(
System::String value);
653 ASPOSE_PDF_SHARED_API
bool get_AllowConcatenateExceptions();
660 ASPOSE_PDF_SHARED_API
void set_AllowConcatenateExceptions(
bool value);
665 ASPOSE_PDF_SHARED_API
void set_ConvertTo(
PdfFormat value);
671 ASPOSE_PDF_SHARED_API
bool get_CloseConcatenatedStreams()
const;
677 ASPOSE_PDF_SHARED_API
void set_CloseConcatenatedStreams(
bool value);
695 ASPOSE_PDF_SHARED_API
void set_UniqueSuffix(
System::String value);
699 ASPOSE_PDF_SHARED_API
bool get_KeepActions()
const;
703 ASPOSE_PDF_SHARED_API
void set_KeepActions(
bool value);
708 ASPOSE_PDF_SHARED_API
bool get_KeepFieldsUnique()
const;
713 ASPOSE_PDF_SHARED_API
void set_KeepFieldsUnique(
bool value);
717 ASPOSE_PDF_SHARED_API
bool get_RemoveSignatures()
const;
721 ASPOSE_PDF_SHARED_API
void set_RemoveSignatures(
bool value);
731 ASPOSE_PDF_SHARED_API
bool get_UseDiskBuffer();
735 ASPOSE_PDF_SHARED_API
void set_UseDiskBuffer(
bool value);
739 ASPOSE_PDF_SHARED_API int32_t get_ConcatenationPacketSize()
const;
743 ASPOSE_PDF_SHARED_API
void set_ConcatenationPacketSize(int32_t value);
771 ASPOSE_PDF_SHARED_API
void set_AttachmentName(
System::String value);
2590 bool get__IsObjectLicensed();
2595 bool closeConcatenatedStreams;
2596 bool _keepFieldUnique;
2601 bool _executeConvert;
2607 bool _mergeDuplicateLayers;
2608 bool _mergeDuplicateOutlines;
2609 bool _preserveUserRights;
2610 bool _incrementalUpdates;
2612 bool _copyLogicalStructure;
2613 bool _removeSignatures;
2615 bool _useDiskBuffer;
2616 int32_t _concatenationPacketSize;
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Class for specifing page resize parameters. Allow to set the following parameters: Size of result pag...
Definition: PdfFileEditor.h:255
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
Value of margin or content size specified in percents of default space units. This class is used in C...
Definition: PdfFileEditor.h:186
Queue class forward declaration.
Definition: PdfFileEditor.h:80
PdfFormat
This class represents an pdf format.
Definition: PdfFormat.h:16
SeekOrigin
Specifies the reference position in the stream relative to which the position to seek to is specified...
Definition: seekorigin.h:10
Template that represents wrapper of exceptions that are derived from Exception class.
Definition: exception.h:28
Represents a particular type and provides information about it.
Definition: type_info.h:108
Definition: signed_info.h:13
ConcatenateCorruptedFileAction
Action performed when corrupted file was met in concatenation process.
Definition: PdfFileEditor.h:120
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Class which provides information about corrupted files in time of concatenation.
Definition: PdfFileEditor.h:143
Definition: AFRelationship.h:4
Forward declaration of Dictionary class.
Definition: Artifact.h:73
The blending color space is determined automatically.
static const System::String E_WRONG_PAGE_RANGE
Definition: PdfFileEditor.h:2585
static const System::String E_SMALL_PAGE_RANGE
Definition: PdfFileEditor.h:2584
List forward declaration.
Definition: Artifact.h:74
The coordinates are in the page coordinate context.
Data of page break position.
Definition: PdfFileEditor.h:400
Interface that compares two objects in greater-equal-less sense. Objects of this class should only be...
Definition: icomparer.h:19
Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet...
Definition: PdfFileEditor.h:105
Forward declaration of HashSet class.
Definition: PdfFileEditor.h:77
static const System::String E_EMPTY_PAGE_RANGE
Definition: PdfFileEditor.h:2583
ContentDisposition
MIME protocol Content-Disposition header.
Definition: ContentDisposition.h:11
Interface of object providing enumerator on contained elements.
Definition: Document.h:588
Definition: Document.h:105
MulticastDelegate< void(Args...)> Action
Delegate type that references methods that have no return value.
Definition: action.h:40
Whole PDF file will be submitted.
A base class for a variety of stream implementations. Objects of this class should only be allocated ...
Definition: stream.h:23