Gsf.OutfileOpenPkg¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
The content type stored in the root [Content_Types].xml file |
||
r/w/co |
Can the outfile have children |
||
r/w/co |
The |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gsf.OutfileOpenPkg(**kwargs)¶
- Bases:
- Abstract:
No
- classmethod new(sink)¶
- Parameters:
sink (
Gsf.Outfile) –Gsf.Outfile- Returns:
a
Gsf.Outfilethat the caller is responsible for.- Return type:
Convenience routine to create a
Gsf.OutfileOpenPkginside sink.
- add_extern_rel(target, content_type)¶
- Parameters:
- Returns:
The id of the relation. The string is managed by the parent and should not be changed or freed by the caller.
- Return type:
Add an external relation to self.
- relate(parent, type)¶
- Parameters:
parent (
Gsf.OutfileOpenPkg) –Gsf.OutfileOpenPkgtype (
str) – target type
- Returns:
the relID which the caller does not own but will live as long as parent.
- Return type:
Create a relationship between self and parent of type.
- set_sink(sink)¶
- Parameters:
sink (
Gsf.Output) –Gsf.Output
Assigns a
Gsf.Output(sink) to store the package into.
Property Details¶
- Gsf.OutfileOpenPkg.props.content_type¶
- Name:
content-type- Type:
- Default Value:
''- Flags:
The content type stored in the root [Content_Types].xml file
- Gsf.OutfileOpenPkg.props.is_dir¶
- Name:
is-dir- Type:
- Default Value:
- Flags:
Can the outfile have children
- Gsf.OutfileOpenPkg.props.sink¶
- Name:
sink- Type:
- Default Value:
- Flags:
The
Gsf.Outputthat stores the Open Package content