<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> from . . simpletypes import ST_SlideId , ST_SlideSizeCoordinate , XsdString <EOL> from . . xmlchemy import ( <EOL> BaseOxmlElement , RequiredAttribute , ZeroOrOne , ZeroOrMore <EOL> ) <EOL> class CT_Presentation ( BaseOxmlElement ) : <EOL> """<STR_LIT>""" <EOL> sldMasterIdLst = ZeroOrOne ( '<STR_LIT>' , successors = ( <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' <EOL> ) ) <EOL> sldIdLst = ZeroOrOne ( '<STR_LIT>' , successors = ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> sldSz = ZeroOrOne ( '<STR_LIT>' , successors = ( '<STR_LIT>' , ) ) <EOL> class CT_SlideId ( BaseOxmlElement ) : <EOL> """<STR_LIT>""" <EOL> id = RequiredAttribute ( '<STR_LIT:id>' , ST_SlideId ) <EOL> rId = RequiredAttribute ( '<STR_LIT>' , XsdString ) <EOL> class CT_SlideIdList ( BaseOxmlElement ) : <EOL> """<STR_LIT>""" <EOL> sldId = ZeroOrMore ( '<STR_LIT>' ) <EOL> def add_sldId ( self , rId ) : <EOL> """<STR_LIT>""" <EOL> return self . _add_sldId ( id = self . _next_id , rId = rId ) <EOL> @ property <EOL> def _next_id ( self ) : <EOL> """<STR_LIT>""" <EOL> id_str_lst = self . xpath ( '<STR_LIT>' ) <EOL> used_ids = [ int ( id_str ) for id_str in id_str_lst ] <EOL> for n in range ( <NUM_LIT> , <NUM_LIT> + len ( used_ids ) ) : <EOL> if n not in used_ids : <EOL> return n <EOL> class CT_SlideMasterIdList ( BaseOxmlElement ) : <EOL> """<STR_LIT>""" <EOL> sldMasterId = ZeroOrMore ( '<STR_LIT>' ) <EOL> class CT_SlideMasterIdListEntry ( BaseOxmlElement ) : <EOL> """<STR_LIT>""" <EOL> rId = RequiredAttribute ( '<STR_LIT>' , XsdString ) <EOL> class CT_SlideSize ( BaseOxmlElement ) : <EOL> """<STR_LIT>""" <EOL> cx = RequiredAttribute ( '<STR_LIT>' , ST_SlideSizeCoordinate ) <EOL> cy = RequiredAttribute ( '<STR_LIT>' , ST_SlideSizeCoordinate ) </s>
