search/mag_sel search/close
FontFallbackSettings.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 
13 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
14 
15 namespace Aspose { namespace Words { namespace Fonts { class DocumentFontProvider; } } }
16 namespace Aspose { namespace Words { namespace Fonts { class FontSettings; } } }
17 namespace Aspose { namespace Fonts { namespace FontFallback { class FontFallbackSettingsCore; } } }
18 namespace System { namespace IO { class Stream; } }
19 
20 namespace Aspose {
21 
22 namespace Words {
23 
24 namespace Fonts {
25 
82 class ASPOSE_WORDS_SHARED_CLASS FontFallbackSettings : public System::Object
83 {
85  typedef System::Object BaseType;
86 
87  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
88  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
89 
90  friend class Aspose::Words::Fonts::DocumentFontProvider;
92 
93 public:
94 
115  ASPOSE_WORDS_SHARED_API void Load(System::String fileName);
116 
144  ASPOSE_WORDS_SHARED_API void Load(System::SharedPtr<System::IO::Stream> stream);
145 
173  ASPOSE_WORDS_SHARED_API void LoadMsOfficeFallbackSettings();
174 
222  ASPOSE_WORDS_SHARED_API void LoadNotoFallbackSettings();
223 
251  ASPOSE_WORDS_SHARED_API void Save(System::SharedPtr<System::IO::Stream> outputStream);
252 
273  ASPOSE_WORDS_SHARED_API void Save(System::String fileName);
274 
331  ASPOSE_WORDS_SHARED_API void BuildAutomatic();
332 
333 protected:
334 
336 
338 
339  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(FontFallbackSettings, CODEPORTING_ARGS(System::SharedPtr<System::Object> syncRoot, System::SharedPtr<Aspose::Words::Fonts::FontSettings> fontSettings));
340 
341 private:
342 
346 
347 };
348 
349 }
350 }
351 }