search/mag_sel search/close
FolderFontSource.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/string.h>
12 #include <cstdint>
13 
14 #include <Aspose.Words.Cpp/Fonts/FontSourceType.h>
15 #include <Aspose.Words.Cpp/Fonts/FontSourceBase.h>
16 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17 
18 namespace System { namespace Collections { namespace Generic { template <typename> class IEnumerable; } } }
19 namespace Aspose { namespace Fonts { class IFontData; } }
20 
21 namespace Aspose {
22 
23 namespace Words {
24 
25 namespace Fonts {
26 
45 class ASPOSE_WORDS_SHARED_CLASS FolderFontSource : public Aspose::Words::Fonts::FontSourceBase
46 {
47  typedef FolderFontSource ThisType;
49 
50  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
51  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
52 
53 public:
54 
73  ASPOSE_WORDS_SHARED_API System::String get_FolderPath() const;
74 
93  ASPOSE_WORDS_SHARED_API bool get_ScanSubfolders() const;
94 
113  ASPOSE_WORDS_SHARED_API Aspose::Words::Fonts::FontSourceType get_Type() override;
114 
136  ASPOSE_WORDS_SHARED_API FolderFontSource(System::String folderPath, bool scanSubfolders);
137 
160  ASPOSE_WORDS_SHARED_API FolderFontSource(System::String folderPath, bool scanSubfolders, int32_t priority);
161 
163 
164 private:
165 
166  System::String mFolderPath;
167  bool mScanSubfolders;
168 
169 };
170 
171 }
172 }
173 }