Gnm.PageBreaks¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
details |
[ |
r/w |
|
is_vert |
r/w |
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gnm.PageBreaks¶
- classmethod new(is_vert)¶
- Parameters:
is_vert (
bool
) –- Return type:
Allocate a collection of page breaks.
- append_break(pos, type)¶
- Parameters:
pos (
int
) –type (
Gnm.PageBreakType
) –
- Return type:
- clean()¶
Remove all auto page breaks
- dup()¶
- Returns:
A duplicate
Gnm.PageBreak
.- Return type:
- dup_non_auto_breaks()¶
- Returns:
A duplicate
Gnm.PageBreak
, but containing only non-auto page breaks.- Return type:
- free()¶
- set_break(pos, type)¶
- Parameters:
pos (
int
) –type (
Gnm.PageBreakType
) –
- Return type: