parent
1c556b7134
commit
4937994904
@ -5,6 +5,7 @@
|
|||||||
# Copyright (C) 2002 Gary Shao
|
# Copyright (C) 2002 Gary Shao
|
||||||
# Copyright (C) 2007 Brian G. Matherly
|
# Copyright (C) 2007 Brian G. Matherly
|
||||||
# Copyright (C) 2009 Benny Malengier
|
# Copyright (C) 2009 Benny Malengier
|
||||||
|
# Copyright (C) 2009 Gary Burton
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -1200,7 +1201,7 @@ class SheetParser(handler.ContentHandler):
|
|||||||
self.f.set_underline(int(attrs['underline']))
|
self.f.set_underline(int(attrs['underline']))
|
||||||
self.f.set_color(cnv2color(attrs['color']))
|
self.f.set_color(cnv2color(attrs['color']))
|
||||||
elif tag == "para":
|
elif tag == "para":
|
||||||
if 'description' in attrs:
|
if attrs.has_key('description'):
|
||||||
self.p.set_description(attrs['description'])
|
self.p.set_description(attrs['description'])
|
||||||
self.p.set_right_margin(Utils.gfloat(attrs['rmargin']))
|
self.p.set_right_margin(Utils.gfloat(attrs['rmargin']))
|
||||||
self.p.set_right_margin(Utils.gfloat(attrs['rmargin']))
|
self.p.set_right_margin(Utils.gfloat(attrs['rmargin']))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user