CustomDocumentProperties.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 <cstdint>
12 
13 #include <Aspose.Words.Cpp/Properties/DocumentPropertyCollection.h>
14 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
15 
16 namespace Aspose
17 {
18 namespace Words
19 {
20 
21 namespace Properties
22 {
23 class DocumentProperty;
24 }
25 }
26 }
27 namespace System
28 {
29 class DateTime;
30 class String;
31 }
32 
33 namespace Aspose {
34 
35 namespace Words {
36 
37 namespace Properties {
38 
72 {
75 
76  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
77  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
78 
79 protected:
80 
81 public:
83 
84 public:
85 
153 
220  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Properties::DocumentProperty> Add(const System::String& name, int32_t value);
221 
298 
366 
433  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Properties::DocumentProperty> Add(const System::String& name, double value);
434 
465 
466 protected:
467 
469 
470  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::Properties::DocumentPropertyCollection> Create() override;
471 
472  virtual ASPOSE_WORDS_SHARED_API ~CustomDocumentProperties();
473 
474 private:
475 
477 
478 };
479 
480 }
481 }
482 }