HeaderFooter.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/shared_ptr.h>
5 #include <system/icloneable.h>
6 
7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
8 
9 namespace Aspose
10 {
11 namespace Pdf
12 {
13 class Document;
14 class FloatingBox;
15 class MarginInfo;
16 class Page;
17 class PageGenerator;
18 class Paragraphs;
19 class Rectangle;
20 } // namespace Pdf
21 } // namespace Aspose
22 namespace System
23 {
24 namespace Collections
25 {
26 namespace Generic
27 {
28 template <typename> class List;
29 } // namespace Generic
30 } // namespace Collections
31 class String;
32 namespace Xml
33 {
34 class XmlReader;
35 class XmlTextWriter;
36 } // namespace Xml
37 } // namespace System
38 
39 namespace Aspose {
40 
41 namespace Pdf {
42 
46 class ASPOSE_PDF_SHARED_CLASS HeaderFooter final : public System::ICloneable
47 {
48  typedef HeaderFooter ThisType;
50 
51  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
52  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
53 
55  friend class Aspose::Pdf::PageGenerator;
56  friend class Aspose::Pdf::Document;
57  friend class Aspose::Pdf::Page;
58 
59 public:
60 
64  ASPOSE_PDF_SHARED_API bool get_IsClipExtraContent() const;
68  ASPOSE_PDF_SHARED_API void set_IsClipExtraContent(bool value);
72  ASPOSE_PDF_SHARED_API const System::SharedPtr<Aspose::Pdf::Paragraphs>& get_Paragraphs() const;
76  ASPOSE_PDF_SHARED_API void set_Paragraphs(System::SharedPtr<Aspose::Pdf::Paragraphs> value);
80  ASPOSE_PDF_SHARED_API System::SharedPtr<MarginInfo> get_Margin();
84  ASPOSE_PDF_SHARED_API void set_Margin(System::SharedPtr<MarginInfo> value);
85 
90  ASPOSE_PDF_SHARED_API System::SharedPtr<System::Object> Clone() override;
91 
95  ASPOSE_PDF_SHARED_API HeaderFooter();
96 
97 protected:
98 
102  bool get_IsNoteMoreThanPage() const;
106  void set_IsNoteMoreThanPage(bool value);
110  double get_FootNoteHeight() const;
114  void set_FootNoteHeight(double value);
118  double get_EndNoteRightX() const;
122  void set_EndNoteRightX(double value);
126  double get_RightX() const;
130  void set_RightX(double value);
134  const System::SharedPtr<Aspose::Pdf::Paragraphs>& get_EndNoteParagraphs() const;
138  void set_EndNoteParagraphs(System::SharedPtr<Aspose::Pdf::Paragraphs> value);
142  const System::SharedPtr<Aspose::Pdf::Paragraphs>& get_FootNoteParagraphs() const;
146  void set_FootNoteParagraphs(System::SharedPtr<Aspose::Pdf::Paragraphs> value);
150  double get_ParagraphsHeight() const;
154  void set_ParagraphsHeight(double value);
163  static System::SharedPtr<MarginInfo> get_DefaultMargin();
167  const System::SharedPtr<PageGenerator>& get_Generator() const;
171  void set_Generator(System::SharedPtr<PageGenerator> value);
172 
176  System::SharedPtr<Aspose::Pdf::Paragraphs> GetAllParagraphs(bool isFootNote);
185 
186 private:
187 
189  bool pr_IsClipExtraContent;
190  bool pr_IsNoteMoreThanPage;
191  double pr_FootNoteHeight;
192  double pr_EndNoteRightX;
193  double pr_RightX;
194  System::SharedPtr<Aspose::Pdf::Paragraphs> pr_EndNoteParagraphs;
195  System::SharedPtr<Aspose::Pdf::Paragraphs> pr_FootNoteParagraphs;
196  double pr_ParagraphsHeight;
200 
201 };
202 
203 } // namespace Pdf
204 } // namespace Aspose
205 
206 
void Deserialize(System::SharedPtr< System::Xml::XmlReader > reader)
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
class ASPOSECPP_SHARED_CLASS List
Definition: ienumerable.h:17
Represents a FloatingBox in a Pdf document. FloatingBox is custom positioned.
Definition: FloatingBox.h:45
Class representing PDF document
Definition: Document.h:621
Definition: Artifact.h:71
void Serialize(System::SharedPtr< System::Xml::XmlTextWriter > writer)
ASPOSE_PDF_SHARED_API void set_Paragraphs(System::SharedPtr< Aspose::Pdf::Paragraphs > value)
Gets the paragraphs.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: SideBySidePdfComparer.h:24
means saving in XML format
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Paragraphs > get_Paragraphs()
Gets the paragraphs.
bool get_IsNoteMoreThanPage() const
Class representing page of PDF document.
Definition: Page.h:384
Definition: AFRelationship.h:4
Defies a method that enables object cloning - creating a copy of an object. Objects of this class sho...
Definition: icloneable.h:15
void set_IsNoteMoreThanPage(bool value)
List forward declaration.
Definition: Artifact.h:78
The coordinates are in the page coordinate context.
means saving without change of format, i.e. as PDF use it please instead of &#39;SaveFormat.None&#39;, that is obsolete one
Whole PDF file will be submitted.