InternableComplexAttr.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/object.h>
12
13
#include <Aspose.Words.Cpp/aspose_words_api_defs.h>
14
15
namespace
Aspose
{
namespace
Words
{
namespace
Formatting
{
namespace
Intern {
class
InternManager; } } } }
16
namespace
Aspose
{
namespace
Words
{
class
AttrCollection; } }
17
18
namespace
Aspose
{
19
20
namespace
Words
{
21
24
class
ASPOSE_WORDS_SHARED_CLASS
InternableComplexAttr
:
public
virtual
System::Object
25
{
26
typedef
InternableComplexAttr
ThisType
;
27
typedef
System::Object
BaseType
;
28
29
typedef ::System::BaseTypesInfo<BaseType>
ThisTypeBaseTypesInfo
;
30
ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
31
32
friend
class
Aspose::Words::Formatting::Intern::InternManager;
33
34
protected
:
35
36
bool
get_IsAttached();
37
38
ASPOSE_WORDS_SHARED_API
void
NotifyChanging();
39
void
Attach(
System::SharedPtr<Aspose::Words::AttrCollection>
pr);
40
void
Detach();
41
42
private
:
43
44
System::WeakPtr<Aspose::Words::AttrCollection>
mPr;
45
46
};
47
48
}
49
}