home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_2109 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  7.6 KB  |  172 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from namespaces import STYLENS
  5. from element import Element
  6.  
  7. def StyleElement(**args):
  8.     e = Element(**args)
  9.     if args.get('check_grammar', True) == True:
  10.         if not args.has_key('displayname'):
  11.             e.setAttrNS(STYLENS, 'display-name', args.get('name'))
  12.         
  13.     
  14.     return e
  15.  
  16.  
  17. def BackgroundImage(**args):
  18.     return Element(qname = (STYLENS, 'background-image'), **args)
  19.  
  20.  
  21. def ChartProperties(**args):
  22.     return Element(qname = (STYLENS, 'chart-properties'), **args)
  23.  
  24.  
  25. def Column(**args):
  26.     return Element(qname = (STYLENS, 'column'), **args)
  27.  
  28.  
  29. def ColumnSep(**args):
  30.     return Element(qname = (STYLENS, 'column-sep'), **args)
  31.  
  32.  
  33. def Columns(**args):
  34.     return Element(qname = (STYLENS, 'columns'), **args)
  35.  
  36.  
  37. def DefaultStyle(**args):
  38.     return Element(qname = (STYLENS, 'default-style'), **args)
  39.  
  40.  
  41. def DrawingPageProperties(**args):
  42.     return Element(qname = (STYLENS, 'drawing-page-properties'), **args)
  43.  
  44.  
  45. def DropCap(**args):
  46.     return Element(qname = (STYLENS, 'drop-cap'), **args)
  47.  
  48.  
  49. def FontFace(**args):
  50.     return Element(qname = (STYLENS, 'font-face'), **args)
  51.  
  52.  
  53. def Footer(**args):
  54.     return Element(qname = (STYLENS, 'footer'), **args)
  55.  
  56.  
  57. def FooterLeft(**args):
  58.     return Element(qname = (STYLENS, 'footer-left'), **args)
  59.  
  60.  
  61. def FooterStyle(**args):
  62.     return Element(qname = (STYLENS, 'footer-style'), **args)
  63.  
  64.  
  65. def FootnoteSep(**args):
  66.     return Element(qname = (STYLENS, 'footnote-sep'), **args)
  67.  
  68.  
  69. def GraphicProperties(**args):
  70.     return Element(qname = (STYLENS, 'graphic-properties'), **args)
  71.  
  72.  
  73. def HandoutMaster(**args):
  74.     return Element(qname = (STYLENS, 'handout-master'), **args)
  75.  
  76.  
  77. def Header(**args):
  78.     return Element(qname = (STYLENS, 'header'), **args)
  79.  
  80.  
  81. def HeaderFooterProperties(**args):
  82.     return Element(qname = (STYLENS, 'header-footer-properties'), **args)
  83.  
  84.  
  85. def HeaderLeft(**args):
  86.     return Element(qname = (STYLENS, 'header-left'), **args)
  87.  
  88.  
  89. def HeaderStyle(**args):
  90.     return Element(qname = (STYLENS, 'header-style'), **args)
  91.  
  92.  
  93. def ListLevelProperties(**args):
  94.     return Element(qname = (STYLENS, 'list-level-properties'), **args)
  95.  
  96.  
  97. def Map(**args):
  98.     return Element(qname = (STYLENS, 'map'), **args)
  99.  
  100.  
  101. def MasterPage(**args):
  102.     return StyleElement(qname = (STYLENS, 'master-page'), **args)
  103.  
  104.  
  105. def PageLayout(**args):
  106.     return Element(qname = (STYLENS, 'page-layout'), **args)
  107.  
  108.  
  109. def PageLayoutProperties(**args):
  110.     return Element(qname = (STYLENS, 'page-layout-properties'), **args)
  111.  
  112.  
  113. def ParagraphProperties(**args):
  114.     return Element(qname = (STYLENS, 'paragraph-properties'), **args)
  115.  
  116.  
  117. def PresentationPageLayout(**args):
  118.     return StyleElement(qname = (STYLENS, 'presentation-page-layout'), **args)
  119.  
  120.  
  121. def RegionCenter(**args):
  122.     return Element(qname = (STYLENS, 'region-center'), **args)
  123.  
  124.  
  125. def RegionLeft(**args):
  126.     return Element(qname = (STYLENS, 'region-left'), **args)
  127.  
  128.  
  129. def RegionRight(**args):
  130.     return Element(qname = (STYLENS, 'region-right'), **args)
  131.  
  132.  
  133. def RubyProperties(**args):
  134.     return Element(qname = (STYLENS, 'ruby-properties'), **args)
  135.  
  136.  
  137. def SectionProperties(**args):
  138.     return Element(qname = (STYLENS, 'section-properties'), **args)
  139.  
  140.  
  141. def Style(**args):
  142.     return StyleElement(qname = (STYLENS, 'style'), **args)
  143.  
  144.  
  145. def TabStop(**args):
  146.     return Element(qname = (STYLENS, 'tab-stop'), **args)
  147.  
  148.  
  149. def TabStops(**args):
  150.     return Element(qname = (STYLENS, 'tab-stops'), **args)
  151.  
  152.  
  153. def TableCellProperties(**args):
  154.     return Element(qname = (STYLENS, 'table-cell-properties'), **args)
  155.  
  156.  
  157. def TableColumnProperties(**args):
  158.     return Element(qname = (STYLENS, 'table-column-properties'), **args)
  159.  
  160.  
  161. def TableProperties(**args):
  162.     return Element(qname = (STYLENS, 'table-properties'), **args)
  163.  
  164.  
  165. def TableRowProperties(**args):
  166.     return Element(qname = (STYLENS, 'table-row-properties'), **args)
  167.  
  168.  
  169. def TextProperties(**args):
  170.     return Element(qname = (STYLENS, 'text-properties'), **args)
  171.  
  172.