Story.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/shared_ptr.h>
12
13
#include <Aspose.Words.Cpp/StoryType.h>
14
#include <Aspose.Words.Cpp/CompositeNode.h>
15
#include <Aspose.Words.Cpp/aspose_words_api_defs.h>
16
17
namespace
Aspose
18
{
19
namespace
Words
20
{
21
22
class
DocumentBase;
23
24
class
INodeCloningListener;
25
26
class
Node
;
27
class
Paragraph
;
28
class
ParagraphCollection;
29
30
namespace
Tables
31
{
32
class
TableCollection;
33
}
34
35
}
36
}
37
namespace
System
38
{
39
class
String;
40
}
41
42
namespace
Aspose
{
43
44
namespace
Words
{
45
71
class
ASPOSE_WORDS_SHARED_CLASS
Story
:
public
Aspose::Words::CompositeNode
72
{
73
typedef
Story
ThisType
;
74
typedef
Aspose::Words::CompositeNode
BaseType
;
75
76
typedef ::System::BaseTypesInfo<BaseType>
ThisTypeBaseTypesInfo
;
77
ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
78
79
public
:
80
using
Aspose::Words::CompositeNode::Clone;
81
82
public
:
83
105
ASPOSE_WORDS_SHARED_API
Aspose::Words::StoryType
get_StoryType
()
const
;
106
151
ASPOSE_WORDS_SHARED_API
System::SharedPtr<Aspose::Words::Paragraph>
get_FirstParagraph
();
152
183
ASPOSE_WORDS_SHARED_API
System::SharedPtr<Aspose::Words::Paragraph>
get_LastParagraph
();
184
216
ASPOSE_WORDS_SHARED_API
System::SharedPtr<Aspose::Words::ParagraphCollection>
get_Paragraphs
();
217
246
ASPOSE_WORDS_SHARED_API
System::SharedPtr<Aspose::Words::Tables::TableCollection>
get_Tables
();
247
269
ASPOSE_WORDS_SHARED_API
void
DeleteShapes
();
270
309
ASPOSE_WORDS_SHARED_API
System::SharedPtr<Aspose::Words::Paragraph>
AppendParagraph
(
const
System::String
& text);
310
311
protected
:
312
313
ASPOSE_WORDS_SHARED_API
System::SharedPtr<Aspose::Words::Node>
Clone(
bool
,
System::SharedPtr<Aspose::Words::INodeCloningListener>
)
override
;
314
ASPOSE_WORDS_SHARED_API
bool
CanInsert(
System::SharedPtr<Aspose::Words::Node>
)
override
;
315
316
virtual
ASPOSE_WORDS_SHARED_API ~
Story
();
317
318
private
:
319
320
__TypeStub<4,4,4,4>::type mField0;
321
System::SharedPtr<System::Object>
mField1;
322
System::SharedPtr<System::Object>
mField2;
323
System::SharedPtr<System::Object>
mField3;
324
System::SharedPtr<System::Object>
mField4;
325
326
};
327
328
}
329
}