Search
Preparing search index...
The search index is not available
docx
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"file/document/document"
Document
Class Document
Hierarchy
XmlComponent
Document
Index
Constructors
constructor
Properties
deleted
root
root
Key
Accessors
Body
Is
Deleted
Methods
add
Child
Element
add
Paragraph
add
Table
create
Paragraph
create
Table
delete
prep
For
Xml
Constructors
constructor
new
Document
(
sectionPropertiesOptions
?:
SectionPropertiesOptions
)
:
Document
Parameters
Optional
sectionPropertiesOptions:
SectionPropertiesOptions
Returns
Document
Properties
Protected
deleted
deleted
:
boolean
= false
Protected
root
root
:
Array
<
BaseXmlComponent
|
string
>
Protected
root
Key
root
Key
:
string
Accessors
Body
get
Body
(
)
:
Body
Returns
Body
Is
Deleted
get
IsDeleted
(
)
:
boolean
Returns
boolean
Methods
add
Child
Element
add
Child
Element
(
child
:
XmlComponent
|
string
)
:
XmlComponent
Parameters
child:
XmlComponent
|
string
Returns
XmlComponent
add
Paragraph
add
Paragraph
(
paragraph
:
Paragraph
)
:
Document
Parameters
paragraph:
Paragraph
Returns
Document
add
Table
add
Table
(
table
:
Table
)
:
void
Parameters
table:
Table
Returns
void
create
Paragraph
create
Paragraph
(
text
?:
undefined
|
string
)
:
Paragraph
Parameters
Optional
text:
undefined
|
string
Returns
Paragraph
create
Table
create
Table
(
rows
:
number
, cols
:
number
)
:
Table
Parameters
rows:
number
cols:
number
Returns
Table
delete
delete
(
)
:
void
Returns
void
prep
For
Xml
prep
For
Xml
(
)
:
IXmlableObject
Returns
IXmlableObject
Globals
"file/document/document"
Document
constructor
deleted
root
root
Key
Body
Is
Deleted
add
Child
Element
add
Paragraph
add
Table
create
Paragraph
create
Table
delete
prep
For
Xml
Generated using
TypeDoc