Difference between revisions of "Reference:Common XML tags and types"
(Meaning of values: bit0 = draw positive arrow, bit1 = bold, bit2 = draw negative arrow, bit3 = fill arrows) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Following document was generated by a modification of [http://sourceforge.net/projects/xs3p/ xs3p] stylesheet. It contains definitions of tags and types used in both geogebra.xml and geogebra_macro.xml files, which are the most important part of [[Reference:File Format|GeoGebra file format]]. For a brief introduction see [[Reference:Xml|XML reference]]. | Following document was generated by a modification of [http://sourceforge.net/projects/xs3p/ xs3p] stylesheet. It contains definitions of tags and types used in both geogebra.xml and geogebra_macro.xml files, which are the most important part of [[Reference:File Format|GeoGebra file format]]. For a brief introduction see [[Reference:Xml|XML reference]]. | ||
− | |||
− | |||
− | |||
− | |||
==Global Declarations== | ==Global Declarations== | ||
Line 36: | Line 32: | ||
<div style="margin-left: 0.5em">type="xs:string [0..1]"</div> | <div style="margin-left: 0.5em">type="xs:string [0..1]"</div> | ||
<div style="margin-left: 0.5em">var="xs:string [0..1]"</div>> [1]<br/> | <div style="margin-left: 0.5em">var="xs:string [0..1]"</div>> [1]<br/> | ||
+ | <div style="margin-left: 1.5em"><casMap> [[#Type:_casMap|casMap]] </casMap> [0..1]</div> | ||
<div style="margin-left: 1.5em"><input> [[#Type:_ioType|ioType]] </input> [1]</div> | <div style="margin-left: 1.5em"><input> [[#Type:_ioType|ioType]] </input> [1]</div> | ||
+ | <div style="margin-left: 1.5em"><outputSizes> [[#Type:_stringVal|stringVal]] </outputSizes> [0..1]</div> | ||
<div style="margin-left: 1.5em"><output> [[#Type:_ioType|ioType]] </output> [1]</div></command></div> | <div style="margin-left: 1.5em"><output> [[#Type:_ioType|ioType]] </output> [1]</div></command></div> | ||
<div style="margin-left: 3em"><[[#Element:_element|element]]> ... </[[#Element:_element|element]]> [1]</div> | <div style="margin-left: 3em"><[[#Element:_element|element]]> ... </[[#Element:_element|element]]> [1]</div> | ||
Line 68: | Line 66: | ||
<div style="margin-left: 3em"><coords> [[#Type:_coords|coords]] </coords> [0..1]</div> | <div style="margin-left: 3em"><coords> [[#Type:_coords|coords]] </coords> [0..1]</div> | ||
<div style="margin-left: 3em"><coordStyle<div style="margin-left: 0.5em">style="[[#Type:_coordStyles|coordStyles]] [0..1]"</div>/> [0..1]</div> | <div style="margin-left: 3em"><coordStyle<div style="margin-left: 0.5em">style="[[#Type:_coordStyles|coordStyles]] [0..1]"</div>/> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><casMap> [[#Type:_casMap|casMap]] </casMap> [0..1]</div> | ||
<div style="margin-left: 3em"><decoration<div style="margin-left: 0.5em">type="[[#Type:_decorTypes|decorTypes]] [0..1]"</div>/> [0..1]</div> | <div style="margin-left: 3em"><decoration<div style="margin-left: 0.5em">type="[[#Type:_decorTypes|decorTypes]] [0..1]"</div>/> [0..1]</div> | ||
<div style="margin-left: 3em"><eigenvectors> [[#Type:_eigenvectors|eigenvectors]] </eigenvectors> [0..1]</div> | <div style="margin-left: 3em"><eigenvectors> [[#Type:_eigenvectors|eigenvectors]] </eigenvectors> [0..1]</div> | ||
Line 75: | Line 74: | ||
<div style="margin-left: 3em"><file<div style="margin-left: 0.5em">name="xs:string [0..1]"</div>/> [0..1]</div> | <div style="margin-left: 3em"><file<div style="margin-left: 0.5em">name="xs:string [0..1]"</div>/> [0..1]</div> | ||
<div style="margin-left: 3em"><fixed> [[#Type:_boolVal|boolVal]] </fixed> [0..1]</div> | <div style="margin-left: 3em"><fixed> [[#Type:_boolVal|boolVal]] </fixed> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><isShape> [[#Type:_boolVal|boolVal]] </isShape> [0..1]</div> | ||
<div style="margin-left: 3em"><font> [[#Type:_fontProperties|fontProperties]] </font> [0..1]</div> | <div style="margin-left: 3em"><font> [[#Type:_fontProperties|fontProperties]] </font> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><angleStyle> [[#Type:_intVal|intVal]] </angleStyle> [0..1]</div> | ||
<div style="margin-left: 3em"><forceReflexAngle> [[#Type:_boolVal|boolVal]] </forceReflexAngle> [0..1]</div> | <div style="margin-left: 3em"><forceReflexAngle> [[#Type:_boolVal|boolVal]] </forceReflexAngle> [0..1]</div> | ||
<div style="margin-left: 3em"><ggbscript> [[#Type:_stringVal|stringVal]] </ggbscript> [0..1]</div> | <div style="margin-left: 3em"><ggbscript> [[#Type:_stringVal|stringVal]] </ggbscript> [0..1]</div> | ||
Line 83: | Line 84: | ||
<div style="margin-left: 3em"><keepTypeOnTransform> [[#Type:_boolVal|boolVal]] </keepTypeOnTransform> [0..1]</div> | <div style="margin-left: 3em"><keepTypeOnTransform> [[#Type:_boolVal|boolVal]] </keepTypeOnTransform> [0..1]</div> | ||
<div style="margin-left: 3em"><isLaTeX> [[#Type:_boolVal|boolVal]] </isLaTeX> [0..1]</div> | <div style="margin-left: 3em"><isLaTeX> [[#Type:_boolVal|boolVal]] </isLaTeX> [0..1]</div> | ||
− | <div style="margin-left: 3em"><lineStyle<div style="margin-left: 0.5em">thickness="[[#Type: | + | <div style="margin-left: 3em"><lineStyle<div style="margin-left: 0.5em">thickness="[[#Type:_nonNegInt|nonNegInt]] [0..1]"</div> |
<div style="margin-left: 0.5em">type="[[#Type:_lineTypes|lineTypes]] [0..1]"</div> | <div style="margin-left: 0.5em">type="[[#Type:_lineTypes|lineTypes]] [0..1]"</div> | ||
− | <div style="margin-left: 0.5em">typeHidden="xs:integer [0..1]"</div>/> [0..1]</div> | + | <div style="margin-left: 0.5em">typeHidden="xs:integer [0..1]"</div> |
+ | <div style="margin-left: 0.5em">opacity="xs:double [0..1]"</div>/> [0..1]</div> | ||
<div style="margin-left: 3em"><labelMode> [[#Type:_intVal|intVal]] </labelMode> [0..1]</div> | <div style="margin-left: 3em"><labelMode> [[#Type:_intVal|intVal]] </labelMode> [0..1]</div> | ||
<div style="margin-left: 3em"><labelOffset> [[#Type:_xyCoords|xyCoords]] </labelOffset> [0..1]</div> | <div style="margin-left: 3em"><labelOffset> [[#Type:_xyCoords|xyCoords]] </labelOffset> [0..1]</div> | ||
Line 93: | Line 95: | ||
<div style="margin-left: 3em"><listType<div style="margin-left: 0.5em">val="[[#Type:_elType|elType]] [0..1]"</div>/> [0..1]</div> | <div style="margin-left: 3em"><listType<div style="margin-left: 0.5em">val="[[#Type:_elType|elType]] [0..1]"</div>/> [0..1]</div> | ||
<div style="margin-left: 3em"><matrix> [[#Type:_matrix|matrix]] </matrix> [0..1]</div> | <div style="margin-left: 3em"><matrix> [[#Type:_matrix|matrix]] </matrix> [0..1]</div> | ||
− | <div style="margin-left: 3em"><objColor> [[#Type: | + | <div style="margin-left: 3em"><objColor> [[#Type:_objColorType|objColorType]] </objColor> [0..1]</div> |
<div style="margin-left: 3em"><bgColor> [[#Type:_rgbaColor|rgbaColor]] </bgColor> [0..1]</div> | <div style="margin-left: 3em"><bgColor> [[#Type:_rgbaColor|rgbaColor]] </bgColor> [0..1]</div> | ||
<div style="margin-left: 3em"><outlyingIntersections> [[#Type:_boolVal|boolVal]] </outlyingIntersections> [0..1]</div> | <div style="margin-left: 3em"><outlyingIntersections> [[#Type:_boolVal|boolVal]] </outlyingIntersections> [0..1]</div> | ||
<div style="margin-left: 3em"><pointSize> [[#Type:_doubleVal|doubleVal]] </pointSize> [0..1]</div> | <div style="margin-left: 3em"><pointSize> [[#Type:_doubleVal|doubleVal]] </pointSize> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><fading> [[#Type:_doubleVal|doubleVal]] </fading> [0..1]</div> | ||
<div style="margin-left: 3em"><pointStyle<div style="margin-left: 0.5em">val="[[#Type:_pointStyles|pointStyles]] [0..1]"</div>/> [0..1]</div> | <div style="margin-left: 3em"><pointStyle<div style="margin-left: 0.5em">val="[[#Type:_pointStyles|pointStyles]] [0..1]"</div>/> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><dimensions<div style="margin-left: 0.5em">width="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">height="xs:double [0..1]"</div>/> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><embed<div style="margin-left: 0.5em">id="xs:int [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">app="xs:string [0..1]"</div>/> [0..1]</div> | ||
<div style="margin-left: 3em"><selectedIndex> [[#Type:_intVal|intVal]] </selectedIndex> [0..1]</div> | <div style="margin-left: 3em"><selectedIndex> [[#Type:_intVal|intVal]] </selectedIndex> [0..1]</div> | ||
<div style="margin-left: 3em"><selectionAllowed> [[#Type:_boolVal|boolVal]] </selectionAllowed> [0..1]</div> | <div style="margin-left: 3em"><selectionAllowed> [[#Type:_boolVal|boolVal]] </selectionAllowed> [0..1]</div> | ||
Line 108: | Line 115: | ||
<div style="margin-left: 3em"><startPoint> [[#Type:_expCoords|expCoords]] </startPoint> [0..1]</div> | <div style="margin-left: 3em"><startPoint> [[#Type:_expCoords|expCoords]] </startPoint> [0..1]</div> | ||
<div style="margin-left: 3em"><tooltipMode<div style="margin-left: 0.5em">val="[[#Type:_tooltipModes|tooltipModes]] [0..1]"</div>/> [0..1]</div> | <div style="margin-left: 3em"><tooltipMode<div style="margin-left: 0.5em">val="[[#Type:_tooltipModes|tooltipModes]] [0..1]"</div>/> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><tags> [0..1]<br/> | ||
+ | <div style="margin-left: 1.5em"><tag<div style="margin-left: 0.5em">key="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">value="xs:string [0..1]"</div>/> [0..1]</div></tags></div> | ||
<div style="margin-left: 3em"><trace> [[#Type:_boolVal|boolVal]] </trace> [0..1]</div> | <div style="margin-left: 3em"><trace> [[#Type:_boolVal|boolVal]] </trace> [0..1]</div> | ||
+ | <div style="margin-left: 3em"><symbolic> [[#Type:_boolVal|boolVal]] </symbolic> [0..1]</div> | ||
<div style="margin-left: 3em"><userinput<div style="margin-left: 0.5em">show="xs:boolean [0..1]"</div> | <div style="margin-left: 3em"><userinput<div style="margin-left: 0.5em">show="xs:boolean [0..1]"</div> | ||
<div style="margin-left: 0.5em">value="xs:string [0..1]"</div> | <div style="margin-left: 0.5em">value="xs:string [0..1]"</div> | ||
Line 129: | Line 140: | ||
</div> | </div> | ||
</div> | </div> | ||
− | ==Global Definitions== | + | ==Global Definitions== |
Line 170: | Line 181: | ||
<div id="Type:_boolVal_xibox" class="contents"> | <div id="Type:_boolVal_xibox" class="contents"> | ||
<div style="margin-left: 0em"><...<div style="margin-left: 0.5em">val="xs:boolean [1]"</div>/> </div> | <div style="margin-left: 0em"><...<div style="margin-left: 0.5em">val="xs:boolean [1]"</div>/> </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | ===Type: casMap=== | ||
+ | |||
+ | <table class="hierarchy"> | ||
+ | <tr> | ||
+ | <th>Super-types:</th> | ||
+ | <td>None</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th>Sub-types:</th> | ||
+ | <td>None</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <div class="sample box"> | ||
+ | <div>XML Instance Representation</div> | ||
+ | <div id="Type:_casMap_xibox" class="contents"> | ||
+ | <div style="margin-left: 0em"><...> <br/> | ||
+ | <div style="margin-left: 1.5em"><entry<div style="margin-left: 0.5em">key="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">val="xs:string [0..1]"</div>/> [1..*]</div></...></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 188: | Line 220: | ||
<div>XML Instance Representation</div> | <div>XML Instance Representation</div> | ||
<div id="Type:_coords_xibox" class="contents"> | <div id="Type:_coords_xibox" class="contents"> | ||
− | <div style="margin-left: 0em"><...<div style="margin-left: 0.5em">x="xs:double [1]"</div> | + | <div style="margin-left: 0em"><...<div style="margin-left: 0.5em">x="xs:double [0..1]"</div> |
− | <div style="margin-left: 0.5em">y="xs:double [1]"</div> | + | <div style="margin-left: 0.5em">y="xs:double [0..1]"</div> |
− | <div style="margin-left: 0.5em">z="xs:double [1]"</div> | + | <div style="margin-left: 0.5em">z="xs:double [0..1]"</div> |
− | <div style="margin-left: 0.5em">w="xs:double [0..1]"</div>/> </div> | + | <div style="margin-left: 0.5em">w="xs:double [0..1]"</div> |
+ | <div style="margin-left: 0.5em">ox="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">oy="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">oz="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">ow="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">vx="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">vy="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">vz="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">vw="xs:double [0..1]"</div>/> </div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 231: | Line 271: | ||
<div style="margin-left: 0em"><...<div style="margin-left: 0.5em">x0="xs:double [1]"</div> | <div style="margin-left: 0em"><...<div style="margin-left: 0.5em">x0="xs:double [1]"</div> | ||
<div style="margin-left: 0.5em">x1="xs:double [1]"</div> | <div style="margin-left: 0.5em">x1="xs:double [1]"</div> | ||
+ | <div style="margin-left: 0.5em">x2="xs:double [0..1]"</div> | ||
<div style="margin-left: 0.5em">y0="xs:double [1]"</div> | <div style="margin-left: 0.5em">y0="xs:double [1]"</div> | ||
<div style="margin-left: 0.5em">y1="xs:double [1]"</div> | <div style="margin-left: 0.5em">y1="xs:double [1]"</div> | ||
+ | <div style="margin-left: 0.5em">y2="xs:double [0..1]"</div> | ||
<div style="margin-left: 0.5em">z0="xs:double [1]"</div> | <div style="margin-left: 0.5em">z0="xs:double [1]"</div> | ||
− | <div style="margin-left: 0.5em">z1="xs:double [1]"</div>/> </div> | + | <div style="margin-left: 0.5em">z1="xs:double [1]"</div> |
+ | <div style="margin-left: 0.5em">z2="xs:double [0..1]"</div>/> </div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 251: | Line 294: | ||
</table> | </table> | ||
Either exp (for relative start point) or numbers x, y, z (for absolute start point) must be entered. | Either exp (for relative start point) or numbers x, y, z (for absolute start point) must be entered. | ||
− | Number parameter is valid only for image elements and | + | Number parameter is valid only for image elements and refers to one of the corners (1 to 3) |
<div class="sample box"> | <div class="sample box"> | ||
<div>XML Instance Representation</div> | <div>XML Instance Representation</div> | ||
Line 260: | Line 303: | ||
<div style="margin-left: 0.5em">z="xs:double [0..1]"</div> | <div style="margin-left: 0.5em">z="xs:double [0..1]"</div> | ||
<div style="margin-left: 0.5em">exp="xs:string [0..1]"</div>/> </div> | <div style="margin-left: 0.5em">exp="xs:string [0..1]"</div>/> </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</div> | </div> | ||
Line 361: | Line 373: | ||
<div style="margin-left: 0.5em">a9="xs:string [0..1]"</div> | <div style="margin-left: 0.5em">a9="xs:string [0..1]"</div> | ||
<div style="margin-left: 0.5em">a10="xs:string [0..1]"</div> | <div style="margin-left: 0.5em">a10="xs:string [0..1]"</div> | ||
− | <div style="margin-left: 0.5em">a11="xs:string [0..1]"</div>/> </div> | + | <div style="margin-left: 0.5em">a11="xs:string [0..1]"</div> |
+ | <div style="margin-left: 0.5em">a12="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a13="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a14="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a15="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a16="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a17="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a18="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a19="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a20="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a21="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a22="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a23="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a24="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a25="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a26="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a27="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a28="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a29="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a30="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a31="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a32="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a33="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a34="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a35="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a36="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a37="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a38="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a39="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a40="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a41="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a42="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a43="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a44="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a45="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a46="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a47="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a48="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">a49="xs:string [0..1]"</div>/> </div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 385: | Line 435: | ||
<div style="margin-left: 0.5em">A3="xs:double [1]"</div> | <div style="margin-left: 0.5em">A3="xs:double [1]"</div> | ||
<div style="margin-left: 0.5em">A4="xs:double [1]"</div> | <div style="margin-left: 0.5em">A4="xs:double [1]"</div> | ||
− | <div style="margin-left: 0.5em">A5="xs:double [1]"</div>/> </div> | + | <div style="margin-left: 0.5em">A5="xs:double [1]"</div> |
+ | <div style="margin-left: 0.5em">A6="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">A7="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">A8="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">A9="xs:double [0..1]"</div>/> </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | ===Type: objColorType=== | ||
+ | |||
+ | <table class="hierarchy"> | ||
+ | <tr> | ||
+ | <th>Super-types:</th> | ||
+ | <td>None</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th>Sub-types:</th> | ||
+ | <td>None</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <div class="sample box"> | ||
+ | <div>XML Instance Representation</div> | ||
+ | <div id="Type:_objColorType_xibox" class="contents"> | ||
+ | <div style="margin-left: 0em"><...<div style="margin-left: 0.5em">r="[[#Type:_nonNegInt|nonNegInt]] [1]"</div> | ||
+ | <div style="margin-left: 0.5em">g="[[#Type:_nonNegInt|nonNegInt]] [1]"</div> | ||
+ | <div style="margin-left: 0.5em">b="[[#Type:_nonNegInt|nonNegInt]] [1]"</div> | ||
+ | <div style="margin-left: 0.5em">dynamicr="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">dynamicg="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">dynamicb="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">dynamica="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">fillType="[[#Type:_fills|fills]] [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">colorSpace="[[#Type:_colorSpaces|colorSpaces]] [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">alpha="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">hatchAngle="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">hatchDistance="xs:double [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">image="xs:string [0..1]"</div> | ||
+ | <div style="margin-left: 0.5em">inverseFill="xs:boolean [0..1]"</div>/> </div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 454: | Line 540: | ||
<div style="margin-left: 0.5em">fixed="xs:boolean [1]"</div> | <div style="margin-left: 0.5em">fixed="xs:boolean [1]"</div> | ||
<div style="margin-left: 0.5em">absoluteScreenLocation="xs:boolean [0..1]"</div> | <div style="margin-left: 0.5em">absoluteScreenLocation="xs:boolean [0..1]"</div> | ||
− | <div style="margin-left: 0.5em">horizontal="xs:boolean [1]"</div>/> </div> | + | <div style="margin-left: 0.5em">horizontal="xs:boolean [1]"</div> |
+ | <div style="margin-left: 0.5em">showAlgebra="xs:boolean [0..1]"</div>/> </div> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 605: | Line 692: | ||
</ul> | </ul> | ||
<ul> | <ul> | ||
− | <li>0 <= <em>value</em> <= | + | <li>0 <= <em>value</em> <= 15</li> |
</ul> | </ul> | ||
− | Meaning of values: | + | Meaning of values: bit0 = draw positive arrow, bit1 = bold, bit2 = draw negative arrow, bit3 = fill arrows |
− | |||
===Type: colorSpaces=== | ===Type: colorSpaces=== | ||
Line 689: | Line 775: | ||
<li>0 <= <em>value</em> <= 6</li> | <li>0 <= <em>value</em> <= 6</li> | ||
</ul> | </ul> | ||
− | Meanings of values: 0=none, 1=single tick,2=double tick, 3= | + | Meanings of values: 0=none, 1=single tick,2=double tick, 3=triple tick, 4=simple arrow, |
− | 5=double arrow, 6= | + | 5=double arrow, 6=triple arrow.square, 2=dot,3=L (Belgian style). |
Line 709: | Line 795: | ||
<li>xs:double</li> | <li>xs:double</li> | ||
<li>xs:boolean</li> | <li>xs:boolean</li> | ||
+ | <li>[[#Type:_specialDouble|specialDouble]]</li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 730: | Line 817: | ||
<ul> | <ul> | ||
<li> | <li> | ||
− | <em>pattern</em> = angle| | + | <em>pattern</em> = (angle|line|plane|point|polygon|polyline|ray|segment|vector|(curve|surface)cartesian|implicit(poly|surface))(3d)?|boolean|button|conic(3d)?(part)?|function(NVar)?|image|list|locus|numeric|quadric(limited|part)?|text(field)?|turtle|net|polyhedron|penstroke|audio|video|embed</li> |
</ul> | </ul> | ||
Line 753: | Line 840: | ||
</ul> | </ul> | ||
− | ===Type: | + | ===Type: fills=== |
<table class="hierarchy"> | <table class="hierarchy"> | ||
<tr> | <tr> | ||
<th>Super-types:</th> | <th>Super-types:</th> | ||
− | <td>xs:int < <strong> | + | <td>xs:int < <strong>fills</strong> (by restriction)</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 769: | Line 856: | ||
</ul> | </ul> | ||
<ul> | <ul> | ||
− | <li>0 <= <em>value</em> <= | + | <li>0 <= <em>value</em> <= 7</li> |
</ul> | </ul> | ||
− | + | Meaning of values: | |
− | + | * 0=STANDARD, | |
+ | * 1=HATCH, | ||
+ | * 2=CROSSHATCHED, | ||
+ | * 3=CHESSBOARD, | ||
+ | * 4=DOTTED, | ||
+ | * 5=HONEYCOMB, | ||
+ | * 6=BRICK, | ||
+ | * 7=IMAGE | ||
+ | |||
− | ===Type: | + | ===Type: gridTypes=== |
<table class="hierarchy"> | <table class="hierarchy"> | ||
<tr> | <tr> | ||
<th>Super-types:</th> | <th>Super-types:</th> | ||
− | <td>xs: | + | <td>xs:int < <strong>gridTypes</strong> (by restriction)</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 787: | Line 882: | ||
</table> | </table> | ||
<ul> | <ul> | ||
− | <li>Base XSD Type: | + | <li>Base XSD Type: int</li> |
</ul> | </ul> | ||
<ul> | <ul> | ||
− | <li> | + | <li>0 <= <em>value</em> <= 3</li> |
− | |||
</ul> | </ul> | ||
+ | Meanings of values: 0=cartesian (major), 1=isometric, 2=polar, 3=cartesian (minor+major) | ||
+ | |||
− | ===Type: | + | ===Type: javaDouble=== |
<table class="hierarchy"> | <table class="hierarchy"> | ||
<tr> | <tr> | ||
<th>Super-types:</th> | <th>Super-types:</th> | ||
− | <td>xs: | + | <td>xs:string < <strong>javaDouble</strong> (by restriction)</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 807: | Line 903: | ||
</table> | </table> | ||
<ul> | <ul> | ||
− | <li>Base XSD Type: | + | <li>Base XSD Type: string</li> |
</ul> | </ul> | ||
<ul> | <ul> | ||
− | <li> | + | <li> |
+ | <em>pattern</em> = Infinity|-Infinity|NaN|(-?[0-9.E]*)</li> | ||
</ul> | </ul> | ||
Line 960: | Line 1,057: | ||
Meanings of values: 0=none, 1=square, 2=dot,3=L (Belgian style). | Meanings of values: 0=none, 1=square, 2=dot,3=L (Belgian style). | ||
+ | |||
+ | ===Type: specialDouble=== | ||
+ | |||
+ | <table class="hierarchy"> | ||
+ | <tr> | ||
+ | <th>Super-types:</th> | ||
+ | <td>xs:string < <strong>specialDouble</strong> (by restriction)</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th>Sub-types:</th> | ||
+ | <td>None</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <ul> | ||
+ | <li>Base XSD Type: string</li> | ||
+ | </ul> | ||
+ | <ul> | ||
+ | <li> | ||
+ | <em>pattern</em> = Infinity|-Infinity</li> | ||
+ | </ul> | ||
===Type: tickStyles=== | ===Type: tickStyles=== | ||
Line 1,000: | Line 1,117: | ||
<li>0 <= <em>value</em> <= 4</li> | <li>0 <= <em>value</em> <= 4</li> | ||
</ul> | </ul> | ||
− |
Latest revision as of 15:28, 5 December 2019
Following document was generated by a modification of xs3p stylesheet. It contains definitions of tags and types used in both geogebra.xml and geogebra_macro.xml files, which are the most important part of GeoGebra file format. For a brief introduction see XML reference.
Global Declarations
Element: cascell
Element: construction
Element: element
Element: expression
==Global Definitions==
Type: animation
Super-types: | None |
---|---|
Sub-types: | None |
Type: boolVal
Super-types: | None |
---|---|
Sub-types: | None |
Type: casMap
Super-types: | None |
---|---|
Sub-types: | None |
Type: coords
Super-types: | None |
---|---|
Sub-types: | None |
Type: doubleVal
Super-types: | None |
---|---|
Sub-types: | None |
Type: eigenvectors
Super-types: | None |
---|---|
Sub-types: | None |
Type: expCoords
Super-types: | None |
---|---|
Sub-types: | None |
Either exp (for relative start point) or numbers x, y, z (for absolute start point) must be entered. Number parameter is valid only for image elements and refers to one of the corners (1 to 3)
Type: fontProperties
Super-types: | None |
---|---|
Sub-types: | None |
Type: intVal
Super-types: | None |
---|---|
Sub-types: | None |
Type: ioType
Super-types: | None |
---|---|
Sub-types: | None |
Type: matrix
Super-types: | None |
---|---|
Sub-types: | None |
Type: objColorType
Super-types: | None |
---|---|
Sub-types: | None |
Type: rgbColor
Super-types: | None |
---|---|
Sub-types: | None |
Type: rgbaColor
Super-types: | None |
---|---|
Sub-types: | None |
Type: slider
Super-types: | None |
---|---|
Sub-types: | None |
Type: spreadsheetTrace
Super-types: | None |
---|---|
Sub-types: | None |
Type: stringVal
Super-types: | None |
---|---|
Sub-types: | None |
Type: xyCoords
Super-types: | None |
---|---|
Sub-types: | None |
Type: algebraStyles
Super-types: | xs:int < algebraStyles (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 2
Meaning of values:0=value,1=definition,2=command.
Type: angleUnits
Super-types: | xs:string < angleUnits (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = degree|radiant
Type: axisIds
Super-types: | xs:int < axisIds (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 2
Meanings of values: 0=x, 1=y, 2=z
Type: axisTypes
Super-types: | xs:int < axisTypes (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 15
Meaning of values: bit0 = draw positive arrow, bit1 = bold, bit2 = draw negative arrow, bit3 = fill arrows
Type: colorSpaces
Super-types: | xs:int < colorSpaces (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 2
Meaning of values:0=RGB,1=HSB,2=HSL.
Type: coordStyles
Super-types: | xs:string < coordStyles (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = cartesian|polar|complex
Type: data
Super-types: | xs:string < data (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = \[(\[.*\],?)*\]
Type: decorTypes
Super-types: | xs:int < decorTypes (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 6
Meanings of values: 0=none, 1=single tick,2=double tick, 3=triple tick, 4=simple arrow, 5=double arrow, 6=triple arrow.square, 2=dot,3=L (Belgian style).
Type: doubleOrBool
Super-types: | None |
---|---|
Sub-types: | None |
- Union of following types:
- xs:double
- xs:boolean
- specialDouble
Type: elType
Super-types: | xs:string < elType (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = (angle|line|plane|point|polygon|polyline|ray|segment|vector|(curve|surface)cartesian|implicit(poly|surface))(3d)?|boolean|button|conic(3d)?(part)?|function(NVar)?|image|list|locus|numeric|quadric(limited|part)?|text(field)?|turtle|net|polyhedron|penstroke|audio|video|embed
Type: eqnStyles
Super-types: | xs:string < eqnStyles (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = implicit|explicit|specific|parametric
Type: fills
Super-types: | xs:int < fills (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 7
Meaning of values:
- 0=STANDARD,
- 1=HATCH,
- 2=CROSSHATCHED,
- 3=CHESSBOARD,
- 4=DOTTED,
- 5=HONEYCOMB,
- 6=BRICK,
- 7=IMAGE
Type: gridTypes
Super-types: | xs:int < gridTypes (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 3
Meanings of values: 0=cartesian (major), 1=isometric, 2=polar, 3=cartesian (minor+major)
Type: javaDouble
Super-types: | xs:string < javaDouble (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = Infinity|-Infinity|NaN|(-?[0-9.E]*)
Type: lineTypes
Super-types: | xs:int < lineTypes (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- value comes from list: {'0'|'10'|'15'|'20'|'30'}
Meanings of values: 0=full, 10=dashed short,15=dashed long,20=dotted,30=dashed dotted
Type: nonNegInt
Super-types: | xs:integer < nonNegInt (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: integer
- value >= 0
Type: pointCapturings
Super-types: | xs:int < pointCapturings (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 3
Meanings of values: 0=off, 1=on, 2=on grid,3=automatic.
Type: pointStyles
Super-types: | xs:int < pointStyles (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- -1 <= value <= 9
Meanings of values: -1=use global default, 0=full dot, 1=cross, 2=empty dot, 3=plus sign, 4=full diamond, 5=empty diamond, 6=triangle north, 7=triangle south, 8=triangle east, 9=triangle west.
Type: positiveInt
Super-types: | xs:integer < positiveInt (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: integer
- value >= 1
Type: representation
Super-types: | xs:string < representation (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = array
Possible ways for representing coefficients, only 1 possibility in 4.0
Type: rightAngleStyles
Super-types: | xs:int < rightAngleStyles (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 3
Meanings of values: 0=none, 1=square, 2=dot,3=L (Belgian style).
Type: specialDouble
Super-types: | xs:string < specialDouble (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: string
- pattern = Infinity|-Infinity
Type: tickStyles
Super-types: | xs:int < tickStyles (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 2
Meaning of values:0=major minor,1=major,2=none
Type: tooltipModes
Super-types: | xs:int < tooltipModes (by restriction) |
---|---|
Sub-types: | None |
- Base XSD Type: int
- 0 <= value <= 4