| 
137
138
139
140
141
142
143
144
145
146
147
148
149150
151
152153
154
155
156
157
158
159
160 | 
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
 | 
+
-
+
+
-
+
-
+
 | 
                self.xContainer.endExecute()
            else:
                print("Wrong command: " + xActionEvent.ActionCommand)
        except:
            traceback.print_exc()
    def _setDefault (self):
        dOpt = gce.gc_options.getOptions("Writer")
        for w in self.lxOptions:
            w.State = w.State = dOpt.get(w.Name, False)
    def load (self, sLang):
        try:
            xChild = self.xNode.getByName(sLang)
            dOpt = gce.gc_options.getOptions("Writer")gce.gc_options.dOpt.get(w.Name, False)            for sKey in for sKey in dOpt:
                sValue = xChild.getPropertyValue(sKey)
                if sValue == '':gce.gc_options.dOpt:                    if if dOpt[sKey]:
                        sValue = 1
                    else:
                        sValue = 0
                options[sKey] = bool(int(sValue))
        except:
            traceback.print_exc()gce.gc_options.dOpt[sKey]: |