PageLabelCollection.h
1
#pragma once
2
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3
4
#include <system/array.h>
5
#include <cstdint>
6
7
#include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8
9
namespace
Aspose
10
{
11
namespace
Pdf
12
{
13
class
Document
;
14
namespace
Engine
15
{
16
namespace
Data
17
{
18
class
IPdfDictionary;
19
}
// namespace Data
20
}
// namespace Engine
21
namespace
Facades
22
{
23
class
PdfFileEditor;
24
}
// namespace Facades
25
class
NumberTree;
26
class
PageLabel;
27
}
// namespace Pdf
28
}
// namespace Aspose
29
30
namespace
Aspose
{
31
32
namespace
Pdf
{
33
37
class
ASPOSE_PDF_SHARED_CLASS
PageLabelCollection
:
public
System::Object
38
{
39
typedef
PageLabelCollection
ThisType
;
40
typedef
System::Object
BaseType
;
41
42
typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
43
ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
44
45
friend
class
Aspose::Pdf::Document
;
46
friend
class
Aspose::Pdf::Facades::PdfFileEditor
;
47
48
public
:
49
55
ASPOSE_PDF_SHARED_API
System::SharedPtr<PageLabel>
GetLabel(int32_t pageIndex);
61
ASPOSE_PDF_SHARED_API
void
UpdateLabel(int32_t pageIndex,
System::SharedPtr<PageLabel>
pageLabel);
67
ASPOSE_PDF_SHARED_API
bool
RemoveLabel(int32_t pageIndex);
72
ASPOSE_PDF_SHARED_API
System::ArrayPtr<int32_t>
GetPages();
73
74
protected
:
75
79
System::SharedPtr<Engine::Data::IPdfDictionary>
get_Root();
80
81
PageLabelCollection
(
System::SharedPtr<Engine::Data::IPdfDictionary>
engineDict);
82
83
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
PageLabelCollection
, CODEPORTING_ARGS(
System::SharedPtr<Engine::Data::IPdfDictionary>
engineDict));
87
void
AssertRoot();
88
89
private
:
90
91
System::SharedPtr<Engine::Data::IPdfDictionary>
_engineDict;
92
System::SharedPtr<Aspose::Pdf::NumberTree>
_numberTree;
93
94
System::SharedPtr<Aspose::Pdf::NumberTree>
get_NumberTree();
95
96
void
InitializeRoot();
97
98
};
99
100
}
// namespace Pdf
101
}
// namespace Aspose
102
103
Aspose::Pdf::AFRelationship::Data
Data
System::Object
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition:
object.h:64
Aspose::Pdf::Document
Class representing PDF document
Definition:
Document.h:625
System::Drawing::GraphicsUnit::Document
1/300 of an inch.
System::SmartPtr
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition:
fwd.h:22
Aspose
Definition:
AFRelationship.h:4
Aspose::Pdf::Facades::PdfFileEditor
Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet...
Definition:
PdfFileEditor.h:105
Aspose::Pdf::PageLabelCollection
Class represeingting page label collection.
Definition:
PageLabelCollection.h:37
Aspose::Pdf::Facades::SubmitFormFlag::Pdf
Whole PDF file will be submitted.