FontSavingArgs.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 #include <cstdint>
15 
16 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17 
18 namespace Aspose
19 {
20 namespace Words
21 {
22 class Document;
23 
24 }
25 }
26 namespace System
27 {
28 namespace IO
29 {
30 class Stream;
31 }
32 }
33 
34 namespace Aspose {
35 
36 namespace Words {
37 
38 namespace Saving {
39 
120 class ASPOSE_WORDS_SHARED_CLASS FontSavingArgs : public System::Object
121 {
122  typedef FontSavingArgs ThisType;
123  typedef System::Object BaseType;
124 
125  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
126  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
127 
128 public:
129 
199 
268  ASPOSE_WORDS_SHARED_API System::String get_FontFamilyName() const;
269 
338  ASPOSE_WORDS_SHARED_API bool get_Bold() const;
339 
408  ASPOSE_WORDS_SHARED_API bool get_Italic() const;
409 
482  ASPOSE_WORDS_SHARED_API System::String get_OriginalFileName() const;
483 
557  ASPOSE_WORDS_SHARED_API int32_t get_OriginalFileSize() const;
558 
627  ASPOSE_WORDS_SHARED_API bool get_IsExportNeeded() const;
628 
630  ASPOSE_WORDS_SHARED_API void set_IsExportNeeded(bool value);
631 
707  ASPOSE_WORDS_SHARED_API bool get_IsSubsettingNeeded() const;
708 
710  ASPOSE_WORDS_SHARED_API void set_IsSubsettingNeeded(bool value);
711 
806  ASPOSE_WORDS_SHARED_API System::String get_FontFileName() const;
807 
809  ASPOSE_WORDS_SHARED_API void set_FontFileName(const System::String& value);
810 
885  ASPOSE_WORDS_SHARED_API bool get_KeepFontStreamOpen() const;
886 
888  ASPOSE_WORDS_SHARED_API void set_KeepFontStreamOpen(bool value);
889 
966  ASPOSE_WORDS_SHARED_API System::SharedPtr<System::IO::Stream> get_FontStream() const;
967 
969  ASPOSE_WORDS_SHARED_API void set_FontStream(const System::SharedPtr<System::IO::Stream>& value);
970 
971  template <typename CharType, typename Traits>
972  void set_FontStream(std::basic_ostream<CharType, Traits>& value)
973  {
974  auto valueWrapper = System::IO::WrapSTDIOStream(value);
975  set_FontStream(valueWrapper);
976  }
977 
978 protected:
979 
980 private:
981 
984  System::String mField2;
985  __TypeStub<1,1,1,1>::type mField3;
986  __TypeStub<1,1,1,1>::type mField4;
987  System::String mField5;
988  __TypeStub<4,4,4,4>::type mField6;
989  __TypeStub<1,1,1,1>::type mField7;
990  __TypeStub<1,1,1,1>::type mField8;
991  System::String mField9;
992  __TypeStub<1,1,1,1>::type mField10;
993 
994 };
995 
996 }
997 }
998 }