![]() | InDesign SDK 20.5 |
#include <TableTypes.h>
Public Types | |
| typedef base_type | data_type |
Public Member Functions | |
| RowRange () | |
| RowRange (int32 inStart, int32 inCount) | |
| RowRange (const GridArea &area) | |
| void | Set (int32 sstart, int32 ccount) |
| int32 | End () const |
| bool16 | IsEmpty () const |
| bool16 | Contains (const RowRange &rhs) const |
| bool16 | Contains (int32 row) const |
| bool16 | Intersects (const RowRange &rhs) const |
| bool16 | operator== (const RowRange &rhs) const |
| bool16 | operator!= (const RowRange &rhs) const |
| RowRange | operator& (const RowRange &rhs) const |
| RowRange | operator| (const RowRange &rhs) const |
| RowRange & | operator&= (const RowRange &rhs) |
| RowRange & | operator|= (const RowRange &rhs) |
| void | ReadWrite (IPMStream *stream) |
Public Attributes | |
| int32 | start |
| int32 | count |
A range of rows represented by [start, start+count).
For instance, a RowRange(0,3) would start at the topmost row in the table and include only the first three rows.
| inline |
No-args constructor.
| inline |
Constuctor.
| start | leftmost row to include in this range |
| count | rows to span |
| inlineexplicit |
Constructor. The rows spanned by the given GridArea used to delimit the constructed range.
| area | specifies the area of interest |
| inline |
Query if the given range can be a subset of this range.
| rhs | specifies range to test |
| inline |
Query whether a given row lies within this range or not.
| row |
| inline |
| inline |
Query whether a given row range intersects with this range or not.
| rhs |
| inline |
| inline |
Overload of not-equal comparison operator.
Overload of bitwise-and operation. The operation performs an intersection operation.
| rhs | range to take intersection with |
Overload of operator bitwise-and assignment. Will have effect of assigning to the intersection of this with the given row-range.
| rhs | range to take intersection with |
| inline |
Overload of equality comparison operator. Semantically, identity obtains iff the start and span of this and comparand range are identical.
Bitwise-or. Takes the union of this and the given row-range.
Overload of operator bitwise-or assignment. Will assign this range to be the union of itself with the given row-range.
| rhs | range to take intersection with |
| inline |
Persistence-related method.
| stream | refers to stream to read from or write to, dependent on stream state. |
| inline |
Mutator.
| start | leftmost row to include in this range |
| ccount | specifies number of rows this range spans |
| int32 RowRange::count |
Represents the count of rows spanned by this range.
| int32 RowRange::start |
Represents the first row in this range.