InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITableGeometry.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Joe Shankar
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 __ITableGeometry__
25
#define __ITableGeometry__
26
27
#include "TablesID.h"
28
#include "TableTypes.h"
29
#include "PMRect.h"
30
61
class
ITableGeometry
:
public
IPMUnknown
62
{
63
public
:
64
enum
{ kDefaultIID = IID_ITABLEGEOMETRY };
65
76
virtual
PMReal
GetRowHeights
(int32 startRow, int32 howMany = 1)
const
= 0;
77
91
virtual
PMReal
GetMaxRowHeights
(int32 startRow, int32 howMany = 1)
const
= 0;
92
101
virtual
PMReal
GetColWidths
(int32 startCol, int32 howMany = 1)
const
= 0;
102
116
virtual
PMRect
GetCellBounds
(
const
GridAddress
& anchor)
const
= 0;
117
128
virtual
PMRect
GetCellBoundsRelativeTo
(
const
GridAddress
& anchor,
const
GridAddress
& relativeToElement)
const
= 0;
129
138
virtual
PMRect
GetElementBounds
(
const
GridAddress
& element)
const
= 0;
139
151
virtual
PMRect
GetElementBoundsRelativeTo
(
const
GridAddress
& element,
const
GridAddress
& relativeToElement)
const
= 0;
152
};
153
154
#endif // __ITableGeometry__
tmpdoxygeninput
ITableGeometry.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1