DocumentPartSavingArgs.h
1 // Copyright 2001-2022 Aspose Pty Ltd. All Rights Reserved.
3 //
4 // This file is part of Aspose.Words. The source code in this file
5 // is only intended as a supplement to the documentation, and is provided
6 // "as is", without warranty of any kind, either expressed or implied.
9 #pragma once
10 
11 #include <system/string.h>
12 #include <system/io/std_stream_wrappers.h>
13 #include <iostream>
14 
15 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
16 
17 namespace Aspose
18 {
19 namespace Words
20 {
21 class Document;
22 
23 }
24 }
25 namespace System
26 {
27 namespace IO
28 {
29 class Stream;
30 }
31 }
32 
33 namespace Aspose {
34 
35 namespace Words {
36 
37 namespace Saving {
38 
175 class ASPOSE_WORDS_SHARED_CLASS DocumentPartSavingArgs : public System::Object
176 {
178  typedef System::Object BaseType;
179 
180  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
181  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
182 
183 public:
184 
313 
455  ASPOSE_WORDS_SHARED_API System::String get_DocumentPartFileName() const;
456 
458  ASPOSE_WORDS_SHARED_API void set_DocumentPartFileName(const System::String& value);
459 
596  ASPOSE_WORDS_SHARED_API bool get_KeepDocumentPartStreamOpen() const;
597 
599  ASPOSE_WORDS_SHARED_API void set_KeepDocumentPartStreamOpen(bool value);
600 
743 
745  ASPOSE_WORDS_SHARED_API void set_DocumentPartStream(const System::SharedPtr<System::IO::Stream>& value);
746 
747  template <typename CharType, typename Traits>
748  void set_DocumentPartStream(std::basic_ostream<CharType, Traits>& value)
749  {
750  auto valueWrapper = System::IO::WrapSTDIOStream(value);
751  set_DocumentPartStream(valueWrapper);
752  }
753 
754 protected:
755 
756 private:
757 
760  System::String mField2;
761  __TypeStub<1,1,1,1>::type mField3;
762 
763 };
764 
765 }
766 }
767 }