InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
XDocBkTableHelper.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Ian Paterson
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __XDocBkTableHelper_H_DEFINED__
25 #define __XDocBkTableHelper_H_DEFINED__
26 
27 class IStyleNameTable;
28 
34 
35  public:
36 
40  XDocBkTableHelper(const UIDRef& tableModelUIDRef);
41 
43  virtual ~XDocBkTableHelper();
44 
45 
46 
50  void ApplyDefaultStyle();
51 
57  void SetTextContent(int32 row,
58  int32 col,
59  const WideString& text);
60 
61 
62 protected:
63 
66  void SetTableLevelStyles();
67 
71  void ApplyTableAttributes(AttributeBossList& outAttributes);
72 
76 
81  void ApplyCellStyle(const GridAddress& gridAddress,
82  const UIDRef& workspaceUIDRef);
83 
84 private:
85  UIDRef fTableModelUIDRef;
86 };
87 
88 
89 
90 
91 
92 
93 
94 #endif // __XDocBkTableHelper_H_DEFINED__
95