8 #include <system/array.h>
9 #include <drawing/size.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
21 class MPPPageHeaderFooterReader;
22 class MPPPageHeaderFooterWriter;
26 namespace Visualization
29 class HeaderFooterRtfInfo;
45 namespace Visualization {
53 typedef System::Object BaseType;
55 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
56 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
58 friend class Aspose::Tasks::Visualization::ApsDefaultPage;
59 friend class Aspose::Tasks::IO::MSProject::MPPPageHeaderFooterReader;
60 friend class Aspose::Tasks::IO::MSProject::MPPPageHeaderFooterWriter;
67 ASPOSE_TASKS_SHARED_API System::String get_LeftText()
const;
71 ASPOSE_TASKS_SHARED_API
void set_LeftText(
const System::String& value);
75 ASPOSE_TASKS_SHARED_API System::String get_CenteredText()
const;
79 ASPOSE_TASKS_SHARED_API
void set_CenteredText(
const System::String& value);
83 ASPOSE_TASKS_SHARED_API System::String get_RightText()
const;
87 ASPOSE_TASKS_SHARED_API
void set_RightText(
const System::String& value);
91 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Drawing::Image> get_LeftImage()
const;
95 ASPOSE_TASKS_SHARED_API
void set_LeftImage(
const System::SharedPtr<System::Drawing::Image>& value);
99 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Drawing::Image> get_CenteredImage()
const;
103 ASPOSE_TASKS_SHARED_API
void set_CenteredImage(
const System::SharedPtr<System::Drawing::Image>& value);
107 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Drawing::Image> get_RightImage()
const;
111 ASPOSE_TASKS_SHARED_API
void set_RightImage(
const System::SharedPtr<System::Drawing::Image>& value);
115 ASPOSE_TASKS_SHARED_API System::Drawing::Size get_LeftImageSize()
const;
119 ASPOSE_TASKS_SHARED_API
void set_LeftImageSize(System::Drawing::Size value);
123 ASPOSE_TASKS_SHARED_API System::Drawing::Size get_CenteredImageSize()
const;
127 ASPOSE_TASKS_SHARED_API
void set_CenteredImageSize(System::Drawing::Size value);
131 ASPOSE_TASKS_SHARED_API System::Drawing::Size get_RightImageSize()
const;
135 ASPOSE_TASKS_SHARED_API
void set_RightImageSize(System::Drawing::Size value);
142 ASPOSE_TASKS_SHARED_API System::Drawing::Size get_LeftImageOriginalSize()
const;
143 ASPOSE_TASKS_SHARED_API
void set_LeftImageOriginalSize(System::Drawing::Size value);
144 ASPOSE_TASKS_SHARED_API System::Drawing::Size get_CenteredImageOriginalSize()
const;
145 ASPOSE_TASKS_SHARED_API
void set_CenteredImageOriginalSize(System::Drawing::Size value);
146 ASPOSE_TASKS_SHARED_API System::Drawing::Size get_RightImageOriginalSize()
const;
147 ASPOSE_TASKS_SHARED_API
void set_RightImageOriginalSize(System::Drawing::Size value);
148 ASPOSE_TASKS_SHARED_API System::String get_LeftRtf()
const;
149 ASPOSE_TASKS_SHARED_API
void set_LeftRtf(
const System::String& value);
150 ASPOSE_TASKS_SHARED_API System::String get_CenteredRtf()
const;
151 ASPOSE_TASKS_SHARED_API
void set_CenteredRtf(
const System::String& value);
152 ASPOSE_TASKS_SHARED_API System::String get_RightRtf()
const;
153 ASPOSE_TASKS_SHARED_API
void set_RightRtf(
const System::String& value);
155 ASPOSE_TASKS_SHARED_API System::SharedPtr<HeaderFooterRtfInfo> GetRtfInfo();
156 #ifdef ASPOSE_GET_SHARED_MEMBERS
157 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
163 System::String leftText;
164 System::String centeredText;
165 System::String rightText;
166 System::SharedPtr<System::Drawing::Image> leftImage;
167 System::SharedPtr<System::Drawing::Image> centeredImage;
168 System::SharedPtr<System::Drawing::Image> rightImage;
169 System::Drawing::Size leftImageSize;
170 System::Drawing::Size centeredImageSize;
171 System::Drawing::Size rightImageSize;
172 System::String leftRtf;
173 System::String centeredRtf;
174 System::String rightRtf;
175 System::SharedPtr<HeaderFooterRtfInfo> headerFooterRtfInfo;
177 static System::ArrayPtr<char16_t>& NewLineChars();
179 System::Drawing::Size pr_LeftImageOriginalSize;
180 System::Drawing::Size pr_CenteredImageOriginalSize;
181 System::Drawing::Size pr_RightImageOriginalSize;
183 static System::String GetPlainText(
const System::String& text);
184 static System::SharedPtr<Aspose::Tasks::IO::MSProject::RtfImageInfo> GetImage(
const System::String& text);
185 void RecalculateLeftRtf();
186 void RecalculateCenteredRtf();
187 void RecalculateRightRtf();