4#include <system/object_ext.h>
5#include <system/enum.h>
7#include "Aspose.Pub.Cpp/aspose_pub_api_defs.h"
14class PackageDocumentCollection;
127 public interface IDocument
132 SummaryInfo SummaryInfo { get; }
136 DocSummaryInfo DocumentSummaryInfo { get; }
148 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
149 ASPOSE_PUB_SHARED_RTTI_INFO_DECL();
169 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
170 ASPOSE_PUB_SHARED_RTTI_INFO_DECL();
197 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
198 ASPOSE_PUB_SHARED_RTTI_INFO_DECL();
227 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
228 ASPOSE_PUB_SHARED_RTTI_INFO_DECL();
253struct EnumMetaInfo<
Aspose::Pub::PubExportFormats>
255 static const ASPOSE_PUB_SHARED_API std::array<std::pair<Aspose::Pub::PubExportFormats, const char_t*>, 18>& values();
Declares functionality to convert PUB document into PDF document.
Definition Interfaces.h:165
virtual void ConvertToPdf(System::SharedPtr< Document > doc, System::SharedPtr< System::IO::Stream > outputStream)=0
Converts PUB document into PDF format and saves result in stream passed.
virtual void ConvertToPdf(System::SharedPtr< Document > doc, System::String fileName)=0
Converts PUB document into PDF format and saves result as PDF file.
Declares functionality to convert PUB document into format specified.
Definition Interfaces.h:193
virtual void ConvertToFormat(System::SharedPtr< Document > doc, System::SharedPtr< System::IO::Stream > outputStream, PubExportFormats outFormat)=0
Converts PUB document into format specified and saves result into stream passed.
virtual void ConvertToFormat(System::SharedPtr< Document > doc, System::String fileName, PubExportFormats outFormat)=0
Converts PUB document into format specified and saves result to file located at the fileName .
Declares functionality for converting multiple Publisher documents to a specified format.
Definition Interfaces.h:223
virtual System::SharedPtr< PackageDocumentCollection > ConvertToFormat(System::SharedPtr< PackageDocumentCollection > inputDocumentCollection, bool mergeFiles, PubExportFormats outputFormat, PubDocumentType outputType)=0
Converts each document from the inputDocumentCollection list to the specified format and saves the r...
Declares functionality which parses publisher file and returns Document object as result of parsing.
Definition Interfaces.h:144
virtual System::SharedPtr< Document > Parse()=0
Parses publisher file and returns Documentobject as result of parsing.
A base class for a variety of stream implementations. Objects of this class should only be allocated ...
Definition stream.h:24
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition object.h:65
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition string.h:122
PubExportFormats
Specifies format to export Publisher document.
Definition Interfaces.h:33
@ Bmp
Means export to Bmp format.
@ Xls
Means export to Excel 2003 XML format.
@ Epub
Means export to EPUB format(special format of e-books)
@ Svg
Means export to SVG format.
@ Docx
Means export to DOCX format.
@ Tex
Means export to TEX format i.e. format suitable for Latex text editor.
@ Html
Means export to HTML format.
@ Xps
Means export to XPS format.
@ Xlsx
Means export to Office Open XML (.xlsx) file format.
@ Tiff
Means export to Tiff format.
@ Doc
Means export to DOC format.
@ Mhtml
Means export to MHTML (MIME HTML) format.
@ Csv
Means export to a comma-separated values (CSV) file format.
@ Gif
Means export to Gif format.
@ Jpg
Means export to Jpeg format.
@ Pdf
Means export to PDF format.
@ Pptx
Means export to Microsoft PowerPoint file format.
@ Png
Means export to Png format.
PubDocumentType
Represents storage type for document.
Definition Interfaces.h:112
@ File
Document is located in a file on disk.
@ Stream
Document is in the stream.
@ Document
1/300 of an inch.