FileFontSource.h
1
2// 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/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
18namespace Aspose
19{
20namespace Fonts
21{
22class IFontData;
23}
24}
25namespace System
26{
27namespace Collections
28{
29namespace Generic
30{
31template <typename> class IEnumerable;
32}
33}
34}
35
36namespace Aspose {
37
38namespace Words {
39
40namespace Fonts {
41
59class ASPOSE_WORDS_SHARED_CLASS FileFontSource : public Aspose::Words::Fonts::FontSourceBase
60{
63
64 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
65 ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
66
67public:
68
85 ASPOSE_WORDS_SHARED_API System::String get_FilePath() const;
86
94 ASPOSE_WORDS_SHARED_API System::String get_CacheKey() const;
95
112 ASPOSE_WORDS_SHARED_API Aspose::Words::Fonts::FontSourceType get_Type() override;
113
132 ASPOSE_WORDS_SHARED_API FileFontSource(const System::String& filePath);
133
153 ASPOSE_WORDS_SHARED_API FileFontSource(const System::String& filePath, int32_t priority);
154
160 ASPOSE_WORDS_SHARED_API FileFontSource(const System::String& filePath, int32_t priority, const System::String& cacheKey);
161
162private:
163
164 System::String mField0;
165 System::String mField1;
166
168
169};
170
171}
172}
173}