Aspose::Pdf::Facades::AutoFiller class
Contents
[
Hide
]AutoFiller class
Represents a class to receive data from database or other datasource, fills them into the designed fields of the template pdf and at last generates new pdf file or stream. It has two template file input modes:input as a stream or a pdf file. It has four types of output modes:one merged stream, one merged file, many small streams, many small files. It can recieve literal data contained in a System.Data.DataTable.
class AutoFiller : public Aspose::Pdf::Facades::ISaveableFacade
Methods
Method | Description |
---|---|
AutoFiller() | |
BindPdf(System::String) override | Binds a Pdf file. |
BindPdf(System::SharedPtr<System::IO::Stream>) override | Binds a Pdf file. |
BindPdf(System::SharedPtr<Document>) override | Binds a Pdf document. |
Close() override | Closes the object and output streams. |
Dispose() override | Closes the object and output streams. |
get_BasicFileName() const | Gets the basic file name if many small files will be generated. The generated file will be like “BasicFileName0”,“BasicFileName1”,… It works with another property GeneratingPathGeneratingPath. |
get_GeneratingPath() const | Gets the Generating Path of the small pdf files if many small pdf files to be generated. It works with another property BasicFileNameBasicFileName. One of the four output modes. |
get_InputFileName() const | Gets the input template file. One of two input modes. |
get_InputStream() const | Gets the input template stream. One of two input modes. |
get_OutputFileName() const | Gets the one big merged output file. One of the four output modes. |
get_OutputStream() const | Gets the OutputStream. One of four output modes. Its classical use case is Response.OutputStream. Please refer to the online demo. |
get_OutputStreams() const | Gets the many Output Streams. One of four output modes. |
Save() | Saves all the pdfs. |
Save(System::String) override | Saves all the pdfs. |
Save(System::SharedPtr<System::IO::Stream>) override | Saves all the pdfs. |
set_BasicFileName(System::String) | Sets the basic file name if many small files will be generated. The generated file will be like “BasicFileName0”,“BasicFileName1”,… It works with another property GeneratingPathGeneratingPath. |
set_GeneratingPath(System::String) | Sets the Generating Path of the small pdf files if many small pdf files to be generated. It works with another property BasicFileNameBasicFileName. One of the four output modes. |
set_InputFileName(System::String) | Sets the input template file. One of two input modes. |
set_InputStream(System::SharedPtr<System::IO::Stream>) | Sets the input template stream. One of two input modes. |
set_OutputFileName(System::String) | Sets the one big merged output file. One of the four output modes. |
set_OutputStream(System::SharedPtr<System::IO::Stream>) | Sets the OutputStream. One of four output modes. Its classical use case is Response.OutputStream. Please refer to the online demo. |
set_OutputStreams(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>) | Sets the many Output Streams. One of four output modes. |
set_UnFlattenFields(System::ArrayPtr<System::String>) | Sets the fields which will not be flattened. If this property is not set, all the fields will be flattened. |
See Also
- Class ISaveableFacade
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++