FontNameSubstitutionRule.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/enum_helpers.h>
12
13
#include <Aspose.Words.Cpp/Fonts/FontSubstitutionRule.h>
14
#include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15
16
namespace
Aspose
17
{
18
namespace
Fonts
19
{
20
class
ExternalFontCache;
21
namespace
TrueType
22
{
23
class
TTFont;
24
}
25
}
26
namespace
Words
27
{
28
namespace
Fonts
29
{
30
class
FontInfo;
31
32
}
33
}
34
}
35
namespace
System
36
{
37
namespace
Drawing
38
{
39
enum class
FontStyle
;
40
}
41
class
String;
42
}
43
44
namespace
Aspose
{
45
46
namespace
Words
{
47
48
namespace
Fonts {
49
51
class
ASPOSE_WORDS_SHARED_CLASS
FontNameSubstitutionRule
:
public
Aspose::Words::Fonts::FontSubstitutionRule
52
{
53
typedef
FontNameSubstitutionRule
ThisType
;
54
typedef
Aspose::Words::Fonts::FontSubstitutionRule
BaseType
;
55
56
typedef ::System::BaseTypesInfo<BaseType>
ThisTypeBaseTypesInfo
;
57
ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
58
59
protected
:
60
61
ASPOSE_WORDS_SHARED_API
System::SharedPtr<Aspose::Fonts::TrueType::TTFont>
PerformSubstitutionCore(
System::String
,
System::Drawing::FontStyle
,
System::SharedPtr<Aspose::Words::Fonts::FontInfo>
,
System::SharedPtr<Aspose::Fonts::ExternalFontCache>
)
override
;
62
63
};
64
65
}
66
}
67
}