GXPS.OutlineIter¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
dummy1 |
r |
||
dummy2 |
r |
Methods¶
|
|
|
|
|
Details¶
- class GXPS.OutlineIter¶
GXPS.OutlineIter
represents an iterator that can be used to iterate over the items of an outline contained in aGXPS.DocumentStructure
- children(parent)¶
- Parameters:
parent (
GXPS.OutlineIter
) – an initializedGXPS.OutlineIter
- Returns:
True
if self was set to the first child of parent,False
if parent does not have children.- Return type:
Initializes self to the first child item of parent. See
GXPS.DocumentStructure.outline_iter_init
() for more details.
- get_description()¶
- Returns:
the description of the outline item
- Return type:
Gets the description of the outline item associated with self. See
GXPS.DocumentStructure.outline_iter_init
() for more details.
- get_target()¶
- Returns:
a new allocated
GXPS.LinkTarget
. Free the returned object withGXPS.LinkTarget.free
().- Return type:
Gets the
GXPS.LinkTarget
of the outline item associated with self. SeeGXPS.DocumentStructure.outline_iter_init
() for more details.
- next()¶
- Returns:
True
if self was set to the next item,False
if the end of the current level has been reached- Return type:
Advances self to the next item at the current level. See
GXPS.DocumentStructure.outline_iter_init
() for more details.