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
root
root
Key
Methods
add
Drawing
add
Paragraph
add
Table
create
Drawing
create
Paragraph
create
Table
prep
For
Xml
Constructors
constructor
new
Document
(
sectionPropertiesOptions
?:
SectionPropertiesOptions
)
:
Document
Parameters
Optional
sectionPropertiesOptions:
SectionPropertiesOptions
Returns
Document
Properties
Protected
root
root
:
Array
<
BaseXmlComponent
|
string
>
Protected
root
Key
root
Key
:
string
Methods
add
Drawing
add
Drawing
(
pictureParagraph
:
Paragraph
)
:
void
Parameters
pictureParagraph:
Paragraph
Returns
void
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
Drawing
create
Drawing
(
imageData
:
IMediaData
)
:
PictureRun
Parameters
imageData:
IMediaData
Returns
PictureRun
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
prep
For
Xml
prep
For
Xml
(
)
:
IXmlableObject
Returns
IXmlableObject
Globals
"file/document/document"
Document
constructor
root
root
Key
add
Drawing
add
Paragraph
add
Table
create
Drawing
create
Paragraph
create
Table
prep
For
Xml
Generated using
TypeDoc