def __init__(self, lang):
     self._ebuttd_content = bindings.ttd(
         timeBase='media',
         head=bindings.d_head_type(
             styling=bindings.d_styling_type.create_default_value(),
             layout=bindings.d_layout_type.create_default_value()),
         lang=lang)
Exemple #2
0
 def __init__(self, lang):
     self._ebuttd_content = bindings.ttd(
         timeBase='media',
         head=bindings.d_head_type(
             styling=bindings.d_styling_type.create_default_value(),
             layout=bindings.d_layout_type.create_default_value()
         ),
         lang=lang
     )
Exemple #3
0
 def convert_tt(self, tt_in, dataset):
     dataset['timeBase'] = tt_in.timeBase
     dataset['cellResolution'] = tt_in.cellResolution
     new_elem = ttd(head=self.convert_element(tt_in.head, dataset),
                    body=self.convert_element(tt_in.body, dataset),
                    timeBase='media',
                    lang=tt_in.lang,
                    space=tt_in.space,
                    cellResolution=tt_in.cellResolution)
     return new_elem
 def convert_tt(self, tt_in, dataset):
     dataset['timeBase'] = tt_in.timeBase
     dataset['cellResolution'] = tt_in.cellResolution
     new_elem = ttd(
         head=self.convert_element(tt_in.head, dataset),
         body=self.convert_element(tt_in.body, dataset),
         timeBase='media',
         lang=tt_in.lang,
         space=tt_in.space,
         cellResolution=tt_in.cellResolution
     )
     return new_elem
    def convert_tt(self, tt_in, dataset):
        dataset['timeBase'] = tt_in.timeBase
        dataset['cellResolution'] = tt_in.cellResolution
        new_elem = ttd(
            head=self.convert_element(tt_in.head, dataset),
            body=self.convert_element(tt_in.body, dataset),
            timeBase='media',
            lang=tt_in.lang,
            space=tt_in.space,
            cellResolution=tt_in.cellResolution,
            _strict_keywords=False
        )
        self._link_adjusted_fonts_styling(self._adjusted_font_style_map(), new_elem)

        return new_elem