FontSourceBase.h
1 // Copyright 2001-2022 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/shared_ptr.h>
12 #include <Aspose.Words.Cpp/Fonts/IFontSource.h>
13 #include <cstdint>
14 
15 #include <Aspose.Words.Cpp/Fonts/FontSourceType.h>
16 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17 
18 namespace Aspose
19 {
20 namespace Fonts
21 {
22 class IFontData;
23 }
24 namespace Words
25 {
26 namespace Fonts
27 {
28 
29 class PhysicalFontInfo;
30 
31 }
32 class IWarningCallback;
33 }
34 }
35 namespace System
36 {
37 namespace Collections
38 {
39 namespace Generic
40 {
41 template <typename> class IEnumerable;
42 template <typename> class IList;
43 }
44 }
45 }
46 
47 namespace Aspose {
48 
49 namespace Words {
50 
51 namespace Fonts {
52 
69 class ASPOSE_WORDS_SHARED_CLASS FontSourceBase : public Aspose::Fonts::IFontSource
70 {
71  typedef FontSourceBase ThisType;
72  typedef Aspose::Fonts::IFontSource BaseType;
73 
74  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
75  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
76 
77 public:
78 
95  virtual ASPOSE_WORDS_SHARED_API Aspose::Words::Fonts::FontSourceType get_Type() = 0;
96 
118  ASPOSE_WORDS_SHARED_API int32_t get_Priority() const;
119 
160 
163 
182 
183 protected:
184 
185  ASPOSE_WORDS_SHARED_API FontSourceBase();
186 
187  virtual ASPOSE_WORDS_SHARED_API ~FontSourceBase();
188 
189 private:
190 
191  ASPOSE_WORDS_SHARED_API int32_t get_PriorityInternal() override;
192 
193  __TypeStub<4,4,4,4>::type mField0;
195 
197 
198 };
199 
200 }
201 }
202 }