예제 #1
0
 def begin_text(self, text_type):
     self.in_text = 1
     self.text_type = text_type
     self.text_string = []
     if text_type == 1:
         self.add_message(_("Area text not supported"))
     if text_type == 2:
         GenericLoader.begin_group(self)
예제 #2
0
 def begin_text(self, text_type):
     self.in_text = 1
     self.text_type = text_type
     self.text_string = []
     if text_type == 1:
         self.add_message(_("Area text not supported"))
     if text_type == 2:
         GenericLoader.begin_group(self)
예제 #3
0
 def begin_group(self):
     if self.compound_path is None:
         # a normal group
         if self.treat_toplevel_groups_as_layers:
             if self.composite_class == Document:
                 self.begin_layer()
                 return
         GenericLoader.begin_group(self)
     else:
         # a `compound group'. Ignored since Sketch doesn't have this.
         pass
예제 #4
0
 def begin_group(self):
     if self.compound_path is None:
         # a normal group
         if self.treat_toplevel_groups_as_layers:
             if self.composite_class == Document:
                 self.begin_layer()
                 return
         GenericLoader.begin_group(self)
     else:
         # a `compound group'. Ignored since Sketch doesn't have this.
         pass