Search
Preparing search index...
The search index is not available
docx
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"docx/document/index"
Document
Class Document
Hierarchy
XmlComponent
Document
Index
Constructors
constructor
Properties
body
root
root
Key
Methods
add
Paragraph
add
Table
create
Paragraph
create
Table
prep
For
Xml
Constructors
constructor
new
Document
(
)
:
Document
Returns
Document
Properties
Private
body
body
:
Body
Protected
root
root
:
Array
<
BaseXmlComponent
|
string
>
Protected
root
Key
root
Key
:
string
Methods
add
Paragraph
add
Paragraph
(
paragraph
:
Paragraph
)
:
void
Parameters
paragraph:
Paragraph
Returns
void
add
Table
add
Table
(
table
:
Table
)
:
void
Parameters
table:
Table
Returns
void
create
Paragraph
create
Paragraph
(
text
?:
string
)
:
Paragraph
Parameters
Optional
text:
string
Returns
Paragraph
create
Table
create
Table
(
rows
:
number
, cols
:
number
)
:
Table
Parameters
rows:
number
cols:
number
Returns
Table
prep
For
Xml
prep
For
Xml
(
)
:
XmlableObject
Returns
XmlableObject
Globals
"docx/document/index"
Document
constructor
body
root
root
Key
add
Paragraph
add
Table
create
Paragraph
create
Table
prep
For
Xml
Generated using
TypeDoc