Exemplo n.º 1
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     self._allowedSvgChildNodes.update(self.SVG_GROUP_DESCRIPTIVE_ELEMENTS,
                                       self.SVG_GROUP_ANIMATION_ELEMENTS)
Exemplo n.º 2
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     ConditionalProcessingAttributes.__init__(self)
     GraphicalEventAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
Exemplo n.º 3
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     ConditionalProcessingAttributes.__init__(self)
     GraphicalEventAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
Exemplo n.º 4
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     PresentationAttributes.__init__(self)
     FilterPrimitiveAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     
Exemplo n.º 5
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     PresentationAttributes.__init__(self)
     FilterPrimitiveAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     
Exemplo n.º 6
0
 def __init__(self, ownerDoc):
     BaseAnimationNode.__init__(self, ownerDoc, 'animateColor')
     AnimationAdditionAttributes.__init__(self)
     AnimationAttributeTargetAttributes.__init__(self)
     AnimationEventAttributes.__init__(self)
     AnimationValueAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     
Exemplo n.º 7
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     ConditionalProcessingAttributes.__init__(self)
     GraphicalEventAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS)
Exemplo n.º 8
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'glyphRef')
     PresentationAttributes.__init__(self)
     XlinkAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     PositionAttributes.__init__(self)
     self._allowedSvgChildNodes.update({self.SVG_GLYPH_REF_NODE, self.SVG_ALT_GLYPH_ITEM_NODE})
Exemplo n.º 9
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'font')
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(self.SVG_GROUP_DESCRIPTIVE_ELEMENTS)
     #add individual nodes
     self._allowedSvgChildNodes.update({self.SVG_FONT_FACE_NODE, self.SVG_GLYPH_NODE, self.SVG_HKERN_NODE, self.SVG_MISSING_GLYPH_NODE, self.SVG_VKERN_NODE})
Exemplo n.º 10
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'path')
     ConditionalProcessingAttributes.__init__(self)
     GraphicalEventAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS,
                                       self.SVG_GROUP_DESCRIPTIVE_ELEMENTS)
Exemplo n.º 11
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     PresentationAttributes.__init__(self)
     XlinkAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(self.SVG_GROUP_DESCRIPTIVE_ELEMENTS)
     #add individual nodes
     self._allowedSvgChildNodes.update({self.SVG_ANIMATE_NODE, self.SVG_ANIMATE_TRANSFORM_NODE, self.SVG_SET_NODE, self.SVG_STOP_NODE})
Exemplo n.º 12
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'foreignObject')
     ConditionalProcessingAttributes.__init__(self)
     GraphicalEventAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     PositionAttributes.__init__(self)
     SizeAttributes.__init__(self)
     self.allowAllSvgNodesAsChildNodes = True
Exemplo n.º 13
0
 def __init__(self, ownerDoc, offset=None, stopColor=None, stopOpacity=None, style=None):
     BasicSvgNode.__init__(self, ownerDoc, 'stop')
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     self._allowedSvgChildNodes.update({self.SVG_ANIMATE_NODE, self.SVG_ANIMATE_COLOR_NODE, self.SVG_SET_NODE})
     self.setOffset(offset)
     self.setStopColor(stopColor)
     self.setStopOpacity(stopOpacity)
     self.setStyle(style)
Exemplo n.º 14
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'foreignObject')
     ConditionalProcessingAttributes.__init__(self)
     GraphicalEventAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     PositionAttributes.__init__(self)
     SizeAttributes.__init__(self)
     self.allowAllSvgNodesAsChildNodes= True
Exemplo n.º 15
0
 def __init__(self, ownerDoc, offset= None, stopColor= None, stopOpacity= None, style= None):
     BasicSvgNode.__init__(self, ownerDoc, 'stop')
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     self._allowedSvgChildNodes.update({self.SVG_ANIMATE_NODE, self.SVG_ANIMATE_COLOR_NODE, self.SVG_SET_NODE})
     self.setOffset(offset)
     self.setStopColor(stopColor)
     self.setStopOpacity(stopOpacity)
     self.setStyle(style)
Exemplo n.º 16
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'clipPath')
     ConditionalProcessingAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS, self.SVG_GROUP_DESCRIPTIVE_ELEMENTS,
                                       self.SVG_GROUP_SHAPE_ELEMENTS)
     #ad individual nodes
     self._allowedSvgChildNodes.update({self.SVG_TEXT_NODE, self.SVG_USE_NODE})
Exemplo n.º 17
0
 def __init__(self, ownerDoc, tagName):
     BasicSvgNode.__init__(self, ownerDoc, tagName)
     PresentationAttributes.__init__(self)
     XlinkAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(self.SVG_GROUP_DESCRIPTIVE_ELEMENTS)
     #add individual nodes
     self._allowedSvgChildNodes.update(
         {self.SVG_ANIMATE_NODE, self.SVG_ANIMATE_TRANSFORM_NODE, self.SVG_SET_NODE, self.SVG_STOP_NODE})
Exemplo n.º 18
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'font')
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(self.SVG_GROUP_DESCRIPTIVE_ELEMENTS)
     #add individual nodes
     self._allowedSvgChildNodes.update({
         self.SVG_FONT_FACE_NODE, self.SVG_GLYPH_NODE, self.SVG_HKERN_NODE,
         self.SVG_MISSING_GLYPH_NODE, self.SVG_VKERN_NODE
     })
Exemplo n.º 19
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'filter')
     PresentationAttributes.__init__(self)
     XlinkAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     PositionAttributes.__init__(self)
     SizeAttributes.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(self.SVG_GROUP_DESCRIPTIVE_ELEMENTS, self.SVG_GROUP_FILTER_PRIMITIVE_ELEMENTS)
     #add individual nodes
     self._allowedSvgChildNodes.update({self.SVG_ANIMATE_NODE, self.SVG_SET_NODE})
Exemplo n.º 20
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'clipPath')
     ConditionalProcessingAttributes.__init__(self)
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(self.SVG_GROUP_ANIMATION_ELEMENTS,
                                       self.SVG_GROUP_DESCRIPTIVE_ELEMENTS,
                                       self.SVG_GROUP_SHAPE_ELEMENTS)
     #ad individual nodes
     self._allowedSvgChildNodes.update(
         {self.SVG_TEXT_NODE, self.SVG_USE_NODE})
Exemplo n.º 21
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'filter')
     PresentationAttributes.__init__(self)
     XlinkAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     PositionAttributes.__init__(self)
     SizeAttributes.__init__(self)
     #add groups
     self._allowedSvgChildNodes.update(
         self.SVG_GROUP_DESCRIPTIVE_ELEMENTS,
         self.SVG_GROUP_FILTER_PRIMITIVE_ELEMENTS)
     #add individual nodes
     self._allowedSvgChildNodes.update(
         {self.SVG_ANIMATE_NODE, self.SVG_SET_NODE})
Exemplo n.º 22
0
 def __init__(self, ownerDoc):
     BasicSvgNode.__init__(self, ownerDoc, 'stop')
     PresentationAttributes.__init__(self)
     ClassAttribute.__init__(self)
     StyleAttribute.__init__(self)
     self._allowedSvgChildNodes.update({self.SVG_ANIMATE_NODE, self.SVG_ANIMATE_COLOR_NODE, self.SVG_SET_NODE})