CustomDocumentProperties.h
1 // Copyright 2001-2021 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/date_time.h>
13 #include <cstdint>
14 
15 #include <Aspose.Words.Cpp/Properties/DocumentPropertyCollection.h>
16 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17 
18 namespace Aspose { namespace Words { class Document; } }
19 namespace Aspose { namespace Words { namespace Properties { class DocumentProperty; } } }
20 
21 namespace Aspose {
22 
23 namespace Words {
24 
25 namespace Properties {
26 
60 {
63 
64  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
65  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
66 
67 protected:
68 
69 public:
71 
72 public:
73 
141 
208  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Properties::DocumentProperty> Add(const System::String& name, int32_t value);
209 
286 
354 
421  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Properties::DocumentProperty> Add(const System::String& name, double value);
422 
453 
454 protected:
455 
456  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Properties::DocumentPropertyCollection> Create() override;
457 
458  virtual ASPOSE_WORDS_SHARED_API ~CustomDocumentProperties();
459 
460 private:
461 
463 
464 };
465 
466 }
467 }
468 }