Exports the collection of text areas to the stream.
defexport(self,text_areas,stream):...
Parameter
Type
Description
text_areas
Iterable[PageTextArea]
The collection of the text areas.
stream
io.RawIOBase
The output stream.
export
Exports the collection of tables to the provided stream.
defexport(self,tables,stream):...
Parameter
Type
Description
tables
Iterable[PageTableArea]
The collection of tables.
stream
io.RawIOBase
The output stream.
Example
fromgroupdocs.parserimportParserfromgroupdocs.parser.exportimportJsonExporterparser=Parser("sample.docx")# Assume `get_tables` returns an iterable of Table objectstables=parser.get_tables()withopen("tables.json","wb")asout_stream:JsonExporter().export(tables,out_stream)
export
Exports the collection of barcodes to the stream.
defexport(self,barcodes,stream):...
Parameter
Type
Description
barcodes
Iterable[PageBarcodeArea]
The collection of barcodes.
stream
io.RawIOBase
The output stream.
export
Exports document data to the provided stream.
defexport(self,document_data,stream):...
Parameter
Type
Description
document_data
DocumentData
Document data.
stream
io.RawIOBase
The output stream.
Returns: None.
Aliases
These names call export too, limited to the overloads listed.