Methods
|
|
|
|
__init__
|
__init__ ( self, paper )
|
|
add_arrow
|
add_arrow (
self,
a,
page,
)
|
|
add_atom
|
add_atom (
self,
a,
page,
)
adds atom to document
|
|
add_bond
|
add_bond (
self,
b,
page,
)
adds bond item to page
|
|
add_electronpair_mark
|
add_electronpair_mark (
self,
o,
page,
)
|
|
add_orbital
|
add_orbital (
self,
o,
page,
)
|
|
add_oval
|
add_oval (
self,
o,
page,
)
|
|
add_plus
|
add_plus (
self,
a,
page,
)
adds text object to document
|
|
add_plus_mark
|
add_plus_mark (
self,
o,
page,
)
|
|
add_polygon
|
add_polygon (
self,
o,
page,
)
|
|
add_radical_mark
|
add_radical_mark (
self,
o,
page,
)
|
|
add_rect
|
add_rect (
self,
o,
page,
)
|
|
add_text
|
add_text (
self,
a,
page,
)
adds text object to document
|
|
add_text_mark
|
add_text_mark (
self,
a,
page,
)
adds text object to document
|
|
create_oo_line
|
create_oo_line (
self,
coords,
page,
gr_style_name,
)
|
|
create_oo_polygon
|
create_oo_polygon (
self,
points,
page,
gr_style_name,
)
|
|
create_oo_polyline
|
create_oo_polyline (
self,
points,
page,
gr_style_name,
)
|
|
create_oo_text
|
create_oo_text (
self,
ftext,
coords,
page,
para_style_name,
txt_style_name,
gr_style_name,
)
|
|
create_styles_document
|
create_styles_document ( self )
|
|
ftext_dom_to_oo_dom
|
ftext_dom_to_oo_dom (
self,
ftext,
oo_dom,
)
|
|
get_appropriate_style_name
|
get_appropriate_style_name ( self, style )
if same style already exists return its name, otherwise append the current style and return its name
|
|
on_begin
|
on_begin ( self )
|
|
write_to_file
|
write_to_file ( self, name )
Exceptions
|
|
plugin.export_exception(_( "The manifest file not found in the plugin directory" ) )
|
|
|