FieldBarcode.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/Fields/IFieldCodeTokenInfoProvider.h>
14 #include <Aspose.Words.Cpp/Fields/Field.h>
15 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
16 
17 namespace Aspose
18 {
19 namespace Words
20 {
21 namespace Fields
22 {
23 
24 enum class FieldSwitchType;
25 }
26 class NodeRange;
27 }
28 }
29 namespace System
30 {
31 class String;
32 }
33 
34 namespace Aspose {
35 
36 namespace Words {
37 
38 namespace Fields {
39 
80 class ASPOSE_WORDS_SHARED_CLASS FieldBarcode : public Aspose::Words::Fields::Field, public Aspose::Words::Fields::IFieldCodeTokenInfoProvider
81 {
82  typedef FieldBarcode ThisType;
84  typedef Aspose::Words::Fields::IFieldCodeTokenInfoProvider BaseType1;
85 
86  typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
87  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
88 
89 public:
90 
131  ASPOSE_WORDS_SHARED_API System::String get_PostalAddress();
132 
134  ASPOSE_WORDS_SHARED_API void set_PostalAddress(const System::String& value);
135 
176  ASPOSE_WORDS_SHARED_API bool get_IsBookmark();
177 
179  ASPOSE_WORDS_SHARED_API void set_IsBookmark(bool value);
180 
221  ASPOSE_WORDS_SHARED_API System::String get_FacingIdentificationMark();
222 
224  ASPOSE_WORDS_SHARED_API void set_FacingIdentificationMark(const System::String& value);
225 
266  ASPOSE_WORDS_SHARED_API bool get_IsUSPostalAddress();
267 
269  ASPOSE_WORDS_SHARED_API void set_IsUSPostalAddress(bool value);
270 
271 protected:
272 
273  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::NodeRange> GetFakeResult() override;
274 
275  virtual ASPOSE_WORDS_SHARED_API ~FieldBarcode();
276 
277 private:
278 
279  Aspose::Words::Fields::FieldSwitchType GetSwitchType(System::String ) override;
280 
281 };
282 
283 }
284 }
285 }