IFacade.h
1 #pragma once
2 // Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
3 
4 #include <system/idisposable.h>
5 
6 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h"
7 
8 namespace Aspose
9 {
10 namespace Pdf
11 {
12 class Document;
13 } // namespace Pdf
14 } // namespace Aspose
15 namespace System
16 {
17 namespace IO
18 {
19 class Stream;
20 } // namespace IO
21 class String;
22 } // namespace System
23 
24 namespace Aspose {
25 
26 namespace Pdf {
27 
28 namespace Facades {
29 
33 class ASPOSE_PDF_SHARED_CLASS IFacade : public System::IDisposable
34 {
35  typedef IFacade ThisType;
37 
38  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
39  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
40 
41 public:
42 
47  virtual void BindPdf(System::String srcFile) = 0;
52  virtual void BindPdf(System::SharedPtr<System::IO::Stream> srcStream) = 0;
57  virtual void BindPdf(System::SharedPtr<Document> srcDoc) = 0;
61  virtual void Close() = 0;
62 
63 };
64 
68 class ASPOSE_PDF_SHARED_CLASS ISaveableFacade : public virtual Aspose::Pdf::Facades::IFacade
69 {
70  typedef ISaveableFacade ThisType;
72 
73  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
74  ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
75 
76 public:
77 
82  virtual void Save(System::String destFile) = 0;
87  virtual void Save(System::SharedPtr<System::IO::Stream> destStream) = 0;
88 
89 };
90 
91 } // namespace Facades
92 } // namespace Pdf
93 } // namespace Aspose
94 
95 
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
Definition: Artifact.h:67
Facade interface that defines methods common for all saveable facades.
Definition: IFacade.h:68
The type that supports reliable, two-way, connection-based byte streams without duplication of data a...
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Defines method that releases resources owned by the current object. Objects of this class should only...
Definition: idisposable.h:29
General facade interface that defines common facades methods.
Definition: IFacade.h:33
Definition: AFRelationship.h:4
means saving without change of format, i.e. as PDF use it please instead of &#39;SaveFormat.None&#39;, that is obsolete one
Whole PDF file will be submitted.