ViewOptions.h
1 // Copyright 2001-2021 Aspose Pty Ltd. All Rights Reserved.
3 //
4 // This file is part of Aspose.Words. The source code in this file
5 // is only intended as a supplement to the documentation, and is provided
6 // "as is", without warranty of any kind, either expressed or implied.
9 #pragma once
10 
11 #include <system/object.h>
12 #include <cstdint>
13 
14 #include <Aspose.Words.Cpp/Settings/ZoomType.h>
15 #include <Aspose.Words.Cpp/Settings/ViewType.h>
16 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17 
18 namespace Aspose { namespace Words { namespace Settings { class DocPr; } } }
19 namespace Aspose { namespace Words { namespace RW { namespace Doc { class DocPrFiler; } } } }
20 
21 namespace Aspose {
22 
23 namespace Words {
24 
25 namespace Settings {
26 
65 class ASPOSE_WORDS_SHARED_CLASS ViewOptions : public System::Object
66 {
67  typedef ViewOptions ThisType;
68  typedef System::Object BaseType;
69 
70  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
71  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
72 
73 public:
74 
96  ASPOSE_WORDS_SHARED_API Aspose::Words::Settings::ViewType get_ViewType() const;
97 
99  ASPOSE_WORDS_SHARED_API void set_ViewType(Aspose::Words::Settings::ViewType value);
100 
136  ASPOSE_WORDS_SHARED_API Aspose::Words::Settings::ZoomType get_ZoomType() const;
137 
139  ASPOSE_WORDS_SHARED_API void set_ZoomType(Aspose::Words::Settings::ZoomType value);
140 
165  ASPOSE_WORDS_SHARED_API int32_t get_ZoomPercent() const;
166 
168  ASPOSE_WORDS_SHARED_API void set_ZoomPercent(int32_t value);
169 
201  ASPOSE_WORDS_SHARED_API bool get_DoNotDisplayPageBoundaries() const;
202 
204  ASPOSE_WORDS_SHARED_API void set_DoNotDisplayPageBoundaries(bool value);
205 
229  ASPOSE_WORDS_SHARED_API bool get_DisplayBackgroundShape() const;
230 
232  ASPOSE_WORDS_SHARED_API void set_DisplayBackgroundShape(bool value);
233 
254  ASPOSE_WORDS_SHARED_API bool get_FormsDesign() const;
255 
257  ASPOSE_WORDS_SHARED_API void set_FormsDesign(bool value);
258 
259 protected:
260 
261 private:
262 
263  __TypeStub<4,4,4,4>::type mField103;
264  __TypeStub<4,4,4,4>::type mField104;
265  __TypeStub<4,4,4,4>::type mField105;
266  __TypeStub<1,1,1,1>::type mField106;
267  __TypeStub<1,1,1,1>::type mField107;
268  __TypeStub<1,1,1,1>::type mField108;
269 
270 };
271 
272 }
273 }
274 }