Search
Preparing search index...
The search index is not available
docx
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
Document
Class Document
Hierarchy
XmlComponent
Document
Index
Constructors
constructor
Accessors
Body
Is
Deleted
Methods
add
Child
Element
add
Paragraph
add
Table
add
Table
OfContents
create
Paragraph
create
Table
delete
get
Paragraphs
get
Tables
OfContents
prep
For
Xml
Constructors
constructor
new
Document
(
sectionPropertiesOptions
?:
SectionPropertiesOptions
)
:
Document
Parameters
Optional
sectionPropertiesOptions:
SectionPropertiesOptions
Returns
Document
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
add
Table
OfContents
add
Table
OfContents
(
toc
:
TableOfContents
)
:
Document
Parameters
toc:
TableOfContents
Returns
Document
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
get
Paragraphs
get
Paragraphs
(
)
:
Paragraph
[]
Returns
Paragraph
[]
get
Tables
OfContents
get
Tables
OfContents
(
)
:
TableOfContents
[]
Returns
TableOfContents
[]
prep
For
Xml
prep
For
Xml
(
)
:
IXmlableObject
|
undefined
Returns
IXmlableObject
|
undefined
Globals
Document
constructor
Body
Is
Deleted
add
Child
Element
add
Paragraph
add
Table
add
Table
OfContents
create
Paragraph
create
Table
delete
get
Paragraphs
get
Tables
OfContents
prep
For
Xml
Generated using
TypeDoc