File: dml-chartDrawing.rnc

package info (click to toggle)
python-docx 1.2.0%2Bdfsg-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,216 kB
  • sloc: xml: 25,323; python: 23,414; makefile: 175
file content (94 lines) | stat: -rw-r--r-- 3,398 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
default namespace =
  "http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
namespace a = "http://schemas.openxmlformats.org/drawingml/2006/main"
namespace cdr =
  "http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
namespace o = "urn:schemas-microsoft-com:office:office"
namespace v = "urn:schemas-microsoft-com:vml"
namespace w10 = "urn:schemas-microsoft-com:office:word"
namespace x = "urn:schemas-microsoft-com:office:excel"

cdr_CT_ShapeNonVisual =
  element cNvPr { a_CT_NonVisualDrawingProps },
  element cNvSpPr { a_CT_NonVisualDrawingShapeProps }
cdr_CT_Shape =
  attribute macro { xsd:string }?,
  attribute textlink { xsd:string }?,
  
  ## default value: true
  attribute fLocksText { xsd:boolean }?,
  
  ## default value: false
  attribute fPublished { xsd:boolean }?,
  element nvSpPr { cdr_CT_ShapeNonVisual },
  element spPr { a_CT_ShapeProperties },
  element style { a_CT_ShapeStyle }?,
  element txBody { a_CT_TextBody }?
cdr_CT_ConnectorNonVisual =
  element cNvPr { a_CT_NonVisualDrawingProps },
  element cNvCxnSpPr { a_CT_NonVisualConnectorProperties }
cdr_CT_Connector =
  attribute macro { xsd:string }?,
  
  ## default value: false
  attribute fPublished { xsd:boolean }?,
  element nvCxnSpPr { cdr_CT_ConnectorNonVisual },
  element spPr { a_CT_ShapeProperties },
  element style { a_CT_ShapeStyle }?
cdr_CT_PictureNonVisual =
  element cNvPr { a_CT_NonVisualDrawingProps },
  element cNvPicPr { a_CT_NonVisualPictureProperties }
cdr_CT_Picture =
  attribute macro { xsd:string }?,
  
  ## default value: false
  attribute fPublished { xsd:boolean }?,
  element nvPicPr { cdr_CT_PictureNonVisual },
  element blipFill { a_CT_BlipFillProperties },
  element spPr { a_CT_ShapeProperties },
  element style { a_CT_ShapeStyle }?
cdr_CT_GraphicFrameNonVisual =
  element cNvPr { a_CT_NonVisualDrawingProps },
  element cNvGraphicFramePr { a_CT_NonVisualGraphicFrameProperties }
cdr_CT_GraphicFrame =
  attribute macro { xsd:string }?,
  
  ## default value: false
  attribute fPublished { xsd:boolean }?,
  element nvGraphicFramePr { cdr_CT_GraphicFrameNonVisual },
  element xfrm { a_CT_Transform2D },
  a_graphic
cdr_CT_GroupShapeNonVisual =
  element cNvPr { a_CT_NonVisualDrawingProps },
  element cNvGrpSpPr { a_CT_NonVisualGroupDrawingShapeProps }
cdr_CT_GroupShape =
  element nvGrpSpPr { cdr_CT_GroupShapeNonVisual },
  element grpSpPr { a_CT_GroupShapeProperties },
  (element sp { cdr_CT_Shape }
   | element grpSp { cdr_CT_GroupShape }
   | element graphicFrame { cdr_CT_GraphicFrame }
   | element cxnSp { cdr_CT_Connector }
   | element pic { cdr_CT_Picture })*
cdr_EG_ObjectChoices =
  element sp { cdr_CT_Shape }
  | element grpSp { cdr_CT_GroupShape }
  | element graphicFrame { cdr_CT_GraphicFrame }
  | element cxnSp { cdr_CT_Connector }
  | element pic { cdr_CT_Picture }
cdr_ST_MarkerCoordinate =
  xsd:double { minInclusive = "0.0" maxInclusive = "1.0" }
cdr_CT_Marker =
  element x { cdr_ST_MarkerCoordinate },
  element y { cdr_ST_MarkerCoordinate }
cdr_CT_RelSizeAnchor =
  element from { cdr_CT_Marker },
  element to { cdr_CT_Marker },
  cdr_EG_ObjectChoices
cdr_CT_AbsSizeAnchor =
  element from { cdr_CT_Marker },
  element ext { a_CT_PositiveSize2D },
  cdr_EG_ObjectChoices
cdr_EG_Anchor =
  element relSizeAnchor { cdr_CT_RelSizeAnchor }
  | element absSizeAnchor { cdr_CT_AbsSizeAnchor }
cdr_CT_Drawing = cdr_EG_Anchor*