InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AnnotationPage.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Souvik Sinha Deb
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: All information contained herein is, and remains
20 // the property of Adobe Systems Incorporated and its suppliers,
21 // if any. The intellectual and technical concepts contained
22 // herein are proprietary to Adobe Systems Incorporated and its
23 // suppliers and may be covered by U.S. and Foreign Patents,
24 // patents in process, and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __AnnotationPage__
32 #define __AnnotationPage__
33 
34 // Annotation Page Class -- implements a page of the InDesign Document with it's list of all associated annotations.
35 #include "AnnotationItem.h"
36 
37 typedef UID AnnotationPageID;
38 
40 {
41 public:
45 
49  virtual void SetAnnotationPageID(const AnnotationPageID& annotPageID);
50 
54  virtual void GetAnnotationPageID(AnnotationPageID& annotPageID) const;
55 
59  virtual void SetListOfAnnotationsInPage(const std::vector<std::shared_ptr<AnnotationItem>>& annotations);
60 
64  virtual void GetListOfAnnotationsInPage(std::vector<std::shared_ptr<AnnotationItem>>& annotations) const;
65 
69  virtual void AppendListOfAnnotationsToPage(const std::vector<std::shared_ptr<AnnotationItem>>& annotations);
70 
71 private:
74  AnnotationPageID fAnnotPageID;
77  std::vector<std::shared_ptr<AnnotationItem>> fAnnotations;
78 };
79 
80 #endif //__AnnotationPage__