search/mag_sel search/close
HeaderFooterCollection.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 <Aspose.Words.Cpp/HeaderFooterType.h>
12 #include <Aspose.Words.Cpp/NodeCollection.h>
13 #include <Aspose.Words.Cpp/aspose_words_api_defs.h>
14 
15 namespace Aspose { namespace Words { class Section; } }
16 namespace Aspose { namespace Words { class CompositeNode; } }
17 namespace Aspose { namespace Words { class HeaderFooter; } }
18 
19 namespace Aspose {
20 
21 namespace Words {
22 
100 class ASPOSE_WORDS_SHARED_CLASS HeaderFooterCollection : public Aspose::Words::NodeCollection
101 {
104 
105  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
106  ASPOSE_WORDS_SHARED_RTTI_INFO_DECL();
107 
108  friend class Aspose::Words::Section;
109 
110 public:
111 
189  ASPOSE_WORDS_SHARED_API System::SharedPtr<Aspose::Words::HeaderFooter> idx_get(int32_t index);
190 
251 
324  ASPOSE_WORDS_SHARED_API void LinkToPrevious(bool isLinkToPrevious);
325 
400  ASPOSE_WORDS_SHARED_API void LinkToPrevious(Aspose::Words::HeaderFooterType headerFooterType, bool isLinkToPrevious);
401 
503 
504 protected:
505 
507 
508  MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(HeaderFooterCollection, CODEPORTING_ARGS(System::SharedPtr<Aspose::Words::CompositeNode> parent));
509 
510  virtual ASPOSE_WORDS_SHARED_API ~HeaderFooterCollection();
511 
512 };
513 
514 }
515 }