Gnm.FT¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
alignment |
r/w |
||
author |
r/w |
||
border |
r/w |
||
category |
r/w |
||
description |
r/w |
||
dimension |
r |
||
edges |
r/w |
||
filename |
r/w |
||
font |
r/w |
||
invalidate_hash |
r |
||
members |
[ |
r/w |
|
name |
r/w |
||
number |
r/w |
||
patterns |
r/w |
||
table |
r |
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gnm.FT¶
- classmethod compare_name(a, b)¶
- classmethod new_from_file(filename, context)¶
- Parameters:
filename (
str
) – The filename to load fromcontext (
GOffice.CmdContext
) –
- Returns:
- Return type:
Create a new
Gnm.FT
and load a template file into it.
- apply_to_sheet_regions(sheet, regions)¶
-
Apply the template to all selected regions in sheet.
- check_valid(regions, cc)¶
- Parameters:
regions ([
Gnm.Range
]) –cc (
GOffice.CmdContext
orNone
) – where to report errors
- Returns:
True
if ok, elseFalse
. Will report an error to cc if it is supplied.- Return type:
check to see if the regions are able to contain the support template self.
- free()¶