55"""
66
77from . import OxmlElement
8- from .shared import OxmlBaseElement
98from ..shared import Emu
109from .ns import nsmap , nspfxmap , qn
10+ from .xmlchemy import BaseOxmlElement
1111
1212
13- class CT_Blip (OxmlBaseElement ):
13+ class CT_Blip (BaseOxmlElement ):
1414 """
1515 ``<a:blip>`` element, specifies image source and adjustments such as
1616 alpha and tint.
@@ -30,7 +30,7 @@ def new(cls, rId):
3030 return blip
3131
3232
33- class CT_BlipFillProperties (OxmlBaseElement ):
33+ class CT_BlipFillProperties (BaseOxmlElement ):
3434 """
3535 ``<pic:blipFill>`` element, specifies picture properties
3636 """
@@ -46,7 +46,7 @@ def new(cls, rId):
4646 return blipFill
4747
4848
49- class CT_GraphicalObject (OxmlBaseElement ):
49+ class CT_GraphicalObject (BaseOxmlElement ):
5050 """
5151 ``<a:graphic>`` element, container for a DrawingML object
5252 """
@@ -61,7 +61,7 @@ def new(cls, uri, pic):
6161 return graphic
6262
6363
64- class CT_GraphicalObjectData (OxmlBaseElement ):
64+ class CT_GraphicalObjectData (BaseOxmlElement ):
6565 """
6666 ``<a:graphicData>`` element, container for the XML of a DrawingML object
6767 """
@@ -81,7 +81,7 @@ def uri(self):
8181 return self .get ('uri' )
8282
8383
84- class CT_Inline (OxmlBaseElement ):
84+ class CT_Inline (BaseOxmlElement ):
8585 """
8686 ``<w:inline>`` element, container for an inline shape.
8787 """
@@ -111,7 +111,7 @@ def new(cls, cx, cy, shape_id, pic):
111111 return inline
112112
113113
114- class CT_NonVisualDrawingProps (OxmlBaseElement ):
114+ class CT_NonVisualDrawingProps (BaseOxmlElement ):
115115 """
116116 Used for ``<wp:docPr>`` element, and perhaps others. Specifies the id and
117117 name of a DrawingML drawing.
@@ -124,7 +124,7 @@ def new(cls, nsptagname_str, shape_id, name):
124124 return elt
125125
126126
127- class CT_NonVisualPictureProperties (OxmlBaseElement ):
127+ class CT_NonVisualPictureProperties (BaseOxmlElement ):
128128 """
129129 ``<pic:cNvPicPr>`` element, specifies picture locking and resize
130130 behaviors.
@@ -134,7 +134,7 @@ def new(cls):
134134 return OxmlElement ('pic:cNvPicPr' )
135135
136136
137- class CT_Picture (OxmlBaseElement ):
137+ class CT_Picture (BaseOxmlElement ):
138138 """
139139 ``<pic:pic>`` element, a DrawingML picture
140140 """
@@ -156,7 +156,7 @@ def new(cls, pic_id, filename, rId, cx, cy):
156156 return pic
157157
158158
159- class CT_PictureNonVisual (OxmlBaseElement ):
159+ class CT_PictureNonVisual (BaseOxmlElement ):
160160 """
161161 ``<pic:nvPicPr>`` element, non-visual picture properties
162162 """
@@ -170,7 +170,7 @@ def new(cls, pic_id, image_filename):
170170 return nvPicPr
171171
172172
173- class CT_Point2D (OxmlBaseElement ):
173+ class CT_Point2D (BaseOxmlElement ):
174174 """
175175 Used for ``<a:off>`` element, and perhaps others. Specifies an x, y
176176 coordinate (point).
@@ -183,7 +183,7 @@ def new(cls, nsptagname_str, x, y):
183183 return elm
184184
185185
186- class CT_PositiveSize2D (OxmlBaseElement ):
186+ class CT_PositiveSize2D (BaseOxmlElement ):
187187 """
188188 Used for ``<wp:extent>`` element, and perhaps others later. Specifies the
189189 size of a DrawingML drawing.
@@ -218,7 +218,7 @@ def new(cls, nsptagname_str, cx, cy):
218218 return elm
219219
220220
221- class CT_PresetGeometry2D (OxmlBaseElement ):
221+ class CT_PresetGeometry2D (BaseOxmlElement ):
222222 """
223223 ``<a:prstGeom>`` element, specifies an preset autoshape geometry, such
224224 as ``rect``.
@@ -230,7 +230,7 @@ def new(cls, prst):
230230 return prstGeom
231231
232232
233- class CT_RelativeRect (OxmlBaseElement ):
233+ class CT_RelativeRect (BaseOxmlElement ):
234234 """
235235 ``<a:fillRect>`` element, specifying picture should fill containing
236236 rectangle shape.
@@ -240,7 +240,7 @@ def new(cls):
240240 return OxmlElement ('a:fillRect' )
241241
242242
243- class CT_ShapeProperties (OxmlBaseElement ):
243+ class CT_ShapeProperties (BaseOxmlElement ):
244244 """
245245 ``<pic:spPr>`` element, specifies size and shape of picture container.
246246 """
@@ -252,7 +252,7 @@ def new(cls, cx, cy):
252252 return spPr
253253
254254
255- class CT_StretchInfoProperties (OxmlBaseElement ):
255+ class CT_StretchInfoProperties (BaseOxmlElement ):
256256 """
257257 ``<a:stretch>`` element, specifies how picture should fill its containing
258258 shape.
@@ -264,7 +264,7 @@ def new(cls):
264264 return stretch
265265
266266
267- class CT_Transform2D (OxmlBaseElement ):
267+ class CT_Transform2D (BaseOxmlElement ):
268268 """
269269 ``<a:xfrm>`` element, specifies size and shape of picture container.
270270 """
0 commit comments