build_report method
build_report(input_file_name, output_file_name, data)
Populates the template document with data from the specified source, generating a completed report with additional options.
def build_report(self, input_file_name: str, output_file_name: str, data: object):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| data | object | A data source object. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, data, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with additional options.
def build_report(self, input_file_name: str, output_file_name: str, data: object, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| data | object | A data source object. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_format, data)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_format: aspose.words.SaveFormat, data: object):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_format, data, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_format: aspose.words.SaveFormat, data: object, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_options, data)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_options: aspose.words.saving.SaveOptions, data: object):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_options, data, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_options: aspose.words.saving.SaveOptions, data: object, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_stream, output_stream, save_format, data)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options, from input and output streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_format: aspose.words.SaveFormat, data: object):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_format, data, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options, from input and output streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_format: aspose.words.SaveFormat, data: object, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_options, data)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options, from input and output streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_options: aspose.words.saving.SaveOptions, data: object):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_options, data, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with specified output format and additional options, from input and output streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_options: aspose.words.saving.SaveOptions, data: object, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_file_name, output_file_name, data, data_source_name)
Populates the template document with data from the specified source, generating a completed report with a named data source reference and additional options.
def build_report(self, input_file_name: str, output_file_name: str, data: object, data_source_name: str):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, data, data_source_name, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with a named data source reference and additional options.
def build_report(self, input_file_name: str, output_file_name: str, data: object, data_source_name: str, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_format, data, data_source_name)
Populates the template document with data from the specified source, generating a completed report with specified output format, a named data source reference, and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_format: aspose.words.SaveFormat, data: object, data_source_name: str):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_format, data, data_source_name, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with specified output format, a named data source reference, and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_format: aspose.words.SaveFormat, data: object, data_source_name: str, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_options, data, data_source_name)
Populates the template document with data from the specified source, generating a completed report with specified output format, a named data source reference, and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_options: aspose.words.saving.SaveOptions, data: object, data_source_name: str):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_options, data, data_source_name, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with specified output format, a named data source reference, and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_options: aspose.words.saving.SaveOptions, data: object, data_source_name: str, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_stream, output_stream, save_format, data, data_source_name)
Populates the template document with data from the specified source, generating a completed report with a named data source reference and additional options.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_format: aspose.words.SaveFormat, data: object, data_source_name: str):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_format, data, data_source_name, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with a named data source reference and additional options.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_format: aspose.words.SaveFormat, data: object, data_source_name: str, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_format | SaveFormat | The output’s save format. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_options, data, data_source_name)
Populates the template document with data from the specified source, generating a completed report with a named data source reference and additional options.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_options: aspose.words.saving.SaveOptions, data: object, data_source_name: str):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_options, data, data_source_name, report_builder_options)
Populates the template document with data from the specified source, generating a completed report with a named data source reference and additional options.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_options: aspose.words.saving.SaveOptions, data: object, data_source_name: str, report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_options | SaveOptions | The output’s save options. |
| data | object | A data source object. |
| data_source_name | str | A name to reference the data source object in the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_file_name, output_file_name, data, data_source_names)
Populates the template document with data from multiple sources, generating a completed report with additional options. This overload automatically determines the save format based on the output file extension.
def build_report(self, input_file_name: str, output_file_name: str, data: List[object], data_source_names: List[str]):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, data, data_source_names, report_builder_options)
Populates the template document with data from multiple sources, generating a completed report with additional options. This overload automatically determines the save format based on the output file extension.
def build_report(self, input_file_name: str, output_file_name: str, data: List[object], data_source_names: List[str], report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_format, data, data_source_names)
Populates the template document with data from multiple sources, generating a completed report with a specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_format: aspose.words.SaveFormat, data: List[object], data_source_names: List[str]):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_format | SaveFormat | The output’s save format. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_format, data, data_source_names, report_builder_options)
Populates the template document with data from multiple sources, generating a completed report with a specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_format: aspose.words.SaveFormat, data: List[object], data_source_names: List[str], report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_format | SaveFormat | The output’s save format. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_options, data, data_source_names)
Populates the template document with data from multiple sources, generating a completed report with a specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_options: aspose.words.saving.SaveOptions, data: List[object], data_source_names: List[str]):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_options | SaveOptions | The output’s save options. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_file_name, output_file_name, save_options, data, data_source_names, report_builder_options)
Populates the template document with data from multiple sources, generating a completed report with a specified output format and additional options.
def build_report(self, input_file_name: str, output_file_name: str, save_options: aspose.words.saving.SaveOptions, data: List[object], data_source_names: List[str], report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_file_name | str | The input file name. |
| output_file_name | str | The output file name. |
| save_options | SaveOptions | The output’s save options. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), each page of the output will be saved as a separate file. The specified output file name will be used to generate file names for each part following the rule: outputFile_partIndex.extension.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF file.
build_report(input_stream, output_stream, save_format, data, data_source_names)
Populates the template document with data from multiple sources, generating a completed report with specified output format and additional options from the specified input and output file streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_format: aspose.words.SaveFormat, data: List[object], data_source_names: List[str]):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_format | SaveFormat | The output’s save format. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_format, data, data_source_names, report_builder_options)
Populates the template document with data from multiple sources, generating a completed report with specified output format and additional options from the specified input and output file streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_format: aspose.words.SaveFormat, data: List[object], data_source_names: List[str], report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_format | SaveFormat | The output’s save format. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_options, data, data_source_names)
Populates the template document with data from multiple sources, generating a completed report with specified output format and additional options from the specified input and output file streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_options: aspose.words.saving.SaveOptions, data: List[object], data_source_names: List[str]):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_options | SaveOptions | The output’s save options. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
build_report(input_stream, output_stream, save_options, data, data_source_names, report_builder_options)
Populates the template document with data from multiple sources, generating a completed report with specified output format and additional options from the specified input and output file streams.
def build_report(self, input_stream: io.BytesIO, output_stream: io.BytesIO, save_options: aspose.words.saving.SaveOptions, data: List[object], data_source_names: List[str], report_builder_options: aspose.words.lowcode.ReportBuilderOptions):
...
| Parameter | Type | Description |
|---|---|---|
| input_stream | io.BytesIO | The input file stream. |
| output_stream | io.BytesIO | The output file stream. |
| save_options | SaveOptions | The output’s save options. |
| data | List[object] | An array of data source objects. |
| data_source_names | List[str] | An array of names to reference the data source objects within the template. |
| report_builder_options | ReportBuilderOptions | Additional report build options. |
Remarks
If the output format is an image (BMP, EMF, EPS, GIF, JPEG, PNG, or WebP), only the first page of the output will be saved to the specified stream.
If the output format is TIFF, the output will be saved as a single multi-frame TIFF to the specified stream.
See Also
- module aspose.words.lowcode
- class ReportBuilder