Class odf.TextSerializer
Defined in: TextSerializer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Serializes a provided node structure into plain text, eliminating everything
specified by the optional filter element.
|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<inner> |
serializeNode(node)
|
writeToString(node)
|
Class Detail
odf.TextSerializer()
Serializes a provided node structure into plain text, eliminating everything
specified by the optional filter element.
This will attempt to generate reasonable plain text output including line-breaks
at new paragraphs
Field Detail
filter
Method Detail
<inner>
{!string}
serializeNode(node)
- Parameters:
- {!Node} node
- Returns:
- {!string}
{!string}
writeToString(node)
- Parameters:
- {?Node} node
- Returns:
- {!string}