GOffice.Data¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
base |
r |
||
flags |
r |
Class Details¶
- class GOffice.Data(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- date_conv()¶
- Returns:
the date conventions used by the data, or
None
if not determined.- Return type:
- dup()¶
- Returns:
A deep copy of self.
- Return type:
- emit_changed()¶
protected utility to emit a ‘changed’ signal
- eq(b)¶
- Parameters:
b (
GOffice.Data
orNone
) –GOffice.Data
- Returns:
True
if self and b are the same- Return type:
- get_matrix_markup(row, column)¶
- Parameters:
- Return type:
- get_scalar_markup()¶
- Return type:
- preferred_fmt()¶
- Returns:
the fmt preferred by the data
- Return type:
Caller is responsible for unrefing the result.
- serialize(user)¶
- Parameters:
- Returns:
a string representation of the data source that the caller is responsible for freeing
- Return type:
NOTE: This is the _source_ not the content. (I.e., this refers to the expression, not its current
GOffice.value
.)
- unserialize(str, user)¶
- Parameters:
- Returns:
False
on error.- Return type:
De-serializes the source information returned from
GOffice.Data.serialize
.
- do_changed() virtual¶
- do_date_conv() virtual¶
- Returns:
the date conventions used by the data, or
None
if not determined.- Return type:
- do_dup() virtual¶
- Returns:
A deep copy of src.
- Return type:
- do_emit_changed() virtual¶
protected utility to emit a ‘changed’ signal
- do_eq(b) virtual¶
- Parameters:
b (
GOffice.Data
orNone
) –GOffice.Data
- Returns:
True
if a and b are the same- Return type:
- do_preferred_fmt() virtual¶
- Returns:
the fmt preferred by the data
- Return type:
Caller is responsible for unrefing the result.
- do_serialize(user) virtual¶
- Parameters:
- Returns:
a string representation of the data source that the caller is responsible for freeing
- Return type:
NOTE: This is the _source_ not the content. (I.e., this refers to the expression, not its current
GOffice.value
.)
Signal Details¶
- GOffice.Data.signals.changed(data)¶
- Signal Name:
changed
- Flags:
- Parameters:
data (
GOffice.Data
) – The object which received the signal