XmlMapping.h
1
2// 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/array.h>
12#include <mutex>
13#include <memory>
14#include <cstdint>
15
16#include <Aspose.Words.Cpp/aspose_words_api_defs.h>
17
18namespace Aspose
19{
20
21namespace Words
22{
23
24namespace Markup
25{
26class CustomXmlPart;
27
28}
29
30}
31}
32namespace System
33{
34namespace Collections
35{
36namespace Generic
37{
38template <typename> class IList;
39}
40}
41
42}
43
44namespace Aspose {
45
46namespace Words {
47
48namespace Markup {
49
83class ASPOSE_WORDS_SHARED_CLASS XmlMapping : public System::Object
84{
85 typedef XmlMapping ThisType;
87
88 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
89 ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
90
91public:
92
125 ASPOSE_WORDS_SHARED_API System::String get_PrefixMappings() const;
126
160 ASPOSE_WORDS_SHARED_API System::String get_XPath() const;
161
195
228 ASPOSE_WORDS_SHARED_API bool get_IsMapped();
229
244 ASPOSE_WORDS_SHARED_API System::String get_StoreItemId();
245
317 ASPOSE_WORDS_SHARED_API bool SetMapping(const System::SharedPtr<Aspose::Words::Markup::CustomXmlPart>& customXmlPart, const System::String& xPath, const System::String& prefixMapping);
318
351 ASPOSE_WORDS_SHARED_API void Delete();
352
353protected:
354
355 virtual ASPOSE_WORDS_SHARED_API ~XmlMapping();
356
357private:
358
359 System::String mField0;
360
361 System::String mField1;
362 System::String mField2;
363 System::String mField3;
366
367};
368
369}
370}
371}