Difference between revisions of "Reference:XML tags in geogebra.xml"
From GeoGebra Manual
(Created page with 'Following document was generated by a modification of [http://sourceforge.net/projects/xs3p/ xs3p] stylesheet. It contains definitions of tags used in geogebra.xml, which is the ...') |
m (Simple X complex types not distinguished) |
||
Line 1: | Line 1: | ||
Following document was generated by a modification of [http://sourceforge.net/projects/xs3p/ xs3p] stylesheet. It contains definitions of tags used in geogebra.xml, which is the most important [[Reference:File Format#.ggb_-_GeoGebra_Worksheet|.ggb files]]. 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 used in geogebra.xml, which is the most important [[Reference:File Format#.ggb_-_GeoGebra_Worksheet|.ggb files]]. For a brief introduction see [[Reference:Xml|XML reference]]. | ||
+ | |||
==Global Declarations== | ==Global Declarations== | ||
Line 29: | Line 30: | ||
<div id="Element:_axis_xibox" class="contents"> | <div id="Element:_axis_xibox" class="contents"> | ||
− | <div style="margin-left: 0em"><axis<div style="margin-left: 0.5em">id="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0em"><axis<div style="margin-left: 0.5em">id="[[Reference:Common XML tags and types#Type:_axisIds|axisIds]] [1]"</div> |
<div style="margin-left: 0.5em">show="xs:boolean [0..1]"</div> | <div style="margin-left: 0.5em">show="xs:boolean [0..1]"</div> | ||
<div style="margin-left: 0.5em">label="xs:string [0..1]"</div> | <div style="margin-left: 0.5em">label="xs:string [0..1]"</div> | ||
<div style="margin-left: 0.5em">unitLabel="xs:string [0..1]"</div> | <div style="margin-left: 0.5em">unitLabel="xs:string [0..1]"</div> | ||
− | <div style="margin-left: 0.5em">tickStyle="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">tickStyle="[[Reference:Common XML tags and types#Type:_tickStyles|tickStyles]] [0..1]"</div> |
<div style="margin-left: 0.5em">tickDistance="xs:double [0..1]"</div> | <div style="margin-left: 0.5em">tickDistance="xs:double [0..1]"</div> | ||
Line 124: | Line 125: | ||
<div style="margin-left: 0.5em">gridIsBold="xs:boolean [0..1]"</div> | <div style="margin-left: 0.5em">gridIsBold="xs:boolean [0..1]"</div> | ||
− | <div style="margin-left: 0.5em">pointCapturing="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">pointCapturing="[[Reference:Common XML tags and types#Type:_pointCapturings|pointCapturings]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">pointStyle="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">pointStyle="[[Reference:Common XML tags and types#Type:_pointStyles|pointStyles]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">rightAngleStyle="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">rightAngleStyle="[[Reference:Common XML tags and types#Type:_rightAngleStyles|rightAngleStyles]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">checkboxSize="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">checkboxSize="[[Reference:Common XML tags and types#Type:_nonNegInt|nonNegInt]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">gridType="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">gridType="[[Reference:Common XML tags and types#Type:_gridTypes|gridTypes]] [0..1]"</div>/> [1]</div> |
− | <div style="margin-left: 1.5em"><bgColor> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><bgColor> [[Reference:Common XML tags and types#Type:_rgbColor|rgbColor]] </bgColor> [1]</div> |
− | <div style="margin-left: 1.5em"><axesColor> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><axesColor> [[Reference:Common XML tags and types#Type:_rgbColor|rgbColor]] </axesColor> [1]</div> |
− | <div style="margin-left: 1.5em"><gridColor> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><gridColor> [[Reference:Common XML tags and types#Type:_rgbColor|rgbColor]] </gridColor> [1]</div> |
− | <div style="margin-left: 1.5em"><lineStyle<div style="margin-left: 0.5em">axes="[[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><lineStyle<div style="margin-left: 0.5em">axes="[[Reference:Common XML tags and types#Type:_axisTypes|axisTypes]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">grid="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">grid="[[Reference:Common XML tags and types#Type:_lineTypes|lineTypes]] [0..1]"</div>/> [1]</div> |
<div style="margin-left: 1.5em"><[[#Element:_axis|axis]]> ... </[[#Element:_axis|axis]]> [2..2]</div></euclidianView></div> | <div style="margin-left: 1.5em"><[[#Element:_axis|axis]]> ... </[[#Element:_axis|axis]]> [2..2]</div></euclidianView></div> | ||
Line 282: | Line 283: | ||
<div style="margin-left: 0em"><gui> <br/> | <div style="margin-left: 0em"><gui> <br/> | ||
− | <div style="margin-left: 1.5em"><window<div style="margin-left: 0.5em">width="[[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><window<div style="margin-left: 0.5em">width="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [1]"</div> |
− | <div style="margin-left: 0.5em">height="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">height="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [1]"</div>/> [0..1]</div> |
<div style="margin-left: 1.5em"><perspectives> [0..1]<br/> | <div style="margin-left: 1.5em"><perspectives> [0..1]<br/> | ||
<div style="margin-left: 1.5em"><[[#Element:_perspective|perspective]]> ... </[[#Element:_perspective|perspective]]> [1..*]</div></perspectives></div> | <div style="margin-left: 1.5em"><[[#Element:_perspective|perspective]]> ... </[[#Element:_perspective|perspective]]> [1..*]</div></perspectives></div> | ||
− | <div style="margin-left: 1.5em"><labelingStyle> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><labelingStyle> [[Reference:Common XML tags and types#Type:_intVal|intVal]] </labelingStyle> [0..1]</div> |
<div style="margin-left: 1.5em"><consProtColumns<div style="margin-left: 0.5em">col0="xs:boolean [0..1]"</div> | <div style="margin-left: 1.5em"><consProtColumns<div style="margin-left: 0.5em">col0="xs:boolean [0..1]"</div> | ||
Line 308: | Line 309: | ||
<div style="margin-left: 1.5em"><[[#Element:_splitDivider|splitDivider]]> ... </[[#Element:_splitDivider|splitDivider]]> [0..1]</div> | <div style="margin-left: 1.5em"><[[#Element:_splitDivider|splitDivider]]> ... </[[#Element:_splitDivider|splitDivider]]> [0..1]</div> | ||
<div style="margin-left: 1.5em"><[[#Element:_toolbar|toolbar]]> ... </[[#Element:_toolbar|toolbar]]> [0..1]</div> | <div style="margin-left: 1.5em"><[[#Element:_toolbar|toolbar]]> ... </[[#Element:_toolbar|toolbar]]> [0..1]</div> | ||
− | <div style="margin-left: 1.5em"><font<div style="margin-left: 0.5em">size="[[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><font<div style="margin-left: 0.5em">size="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [1]"</div>/> [0..1]</div></gui></div> |
</div> | </div> | ||
Line 340: | Line 341: | ||
<div id="Element:_kernel_xibox" class="contents"> | <div id="Element:_kernel_xibox" class="contents"> | ||
<div style="margin-left: 0em"><kernel> <br/> | <div style="margin-left: 0em"><kernel> <br/> | ||
− | <div style="margin-left: 1.5em"><continuous> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><continuous> [[Reference:Common XML tags and types#Type:_boolVal|boolVal]] </continuous> [0..1]</div> |
− | <div style="margin-left: 1.5em"><decimals> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><decimals> [[Reference:Common XML tags and types#Type:_intVal|intVal]] </decimals> [1]</div> |
− | <div style="margin-left: 1.5em"><significantFigures> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><significantFigures> [[Reference:Common XML tags and types#Type:_intVal|intVal]] </significantFigures> [0..1]</div> |
− | <div style="margin-left: 1.5em"><angleUnit<div style="margin-left: 0.5em">val="[[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><angleUnit<div style="margin-left: 0.5em">val="[[Reference:Common XML tags and types#Type:_angleUnits|angleUnits]] [1]"</div>/> [1]</div> |
− | <div style="margin-left: 1.5em"><algebraStyle<div style="margin-left: 0.5em">val="[[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><algebraStyle<div style="margin-left: 0.5em">val="[[Reference:Common XML tags and types#Type:_algebraStyles|algebraStyles]] [1]"</div>/> [0..1]</div> |
− | <div style="margin-left: 1.5em"><coordStyle> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><coordStyle> [[Reference:Common XML tags and types#Type:_intVal|intVal]] </coordStyle> [1]</div> |
− | <div style="margin-left: 1.5em"><startAnimation> [[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><startAnimation> [[Reference:Common XML tags and types#Type:_boolVal|boolVal]] </startAnimation> [1]</div></kernel></div> |
</div> | </div> | ||
Line 381: | Line 382: | ||
<div style="margin-left: 0em"><pane<div style="margin-left: 0.5em">location="xs:string [1]"</div> | <div style="margin-left: 0em"><pane<div style="margin-left: 0.5em">location="xs:string [1]"</div> | ||
<div style="margin-left: 0.5em">divider="xs:double [0..1]"</div> | <div style="margin-left: 0.5em">divider="xs:double [0..1]"</div> | ||
− | <div style="margin-left: 0.5em">orientation="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">orientation="[[Reference:Common XML tags and types#Type:_nonNegInt|nonNegInt]] [0..1]"</div>/> </div> |
</div> | </div> | ||
</div> | </div> | ||
Line 496: | Line 497: | ||
<div id="Element:_size_xibox" class="contents"> | <div id="Element:_size_xibox" class="contents"> | ||
− | <div style="margin-left: 0em"><size<div style="margin-left: 0.5em">width="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0em"><size<div style="margin-left: 0.5em">width="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [1]"</div> |
− | <div style="margin-left: 0.5em">height="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">height="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [1]"</div>/> </div> |
</div> | </div> | ||
</div> | </div> | ||
Line 534: | Line 535: | ||
<div>XML Instance Representation</div> | <div>XML Instance Representation</div> | ||
<div id="Element:_splitDivider_xibox" class="contents"> | <div id="Element:_splitDivider_xibox" class="contents"> | ||
− | <div style="margin-left: 0em"><splitDivider<div style="margin-left: 0.5em">loc="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0em"><splitDivider<div style="margin-left: 0.5em">loc="[[Reference:Common XML tags and types#Type:_nonNegInt|nonNegInt]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">locVertical="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">locVertical="[[Reference:Common XML tags and types#Type:_nonNegInt|nonNegInt]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">loc2="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">loc2="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [0..1]"</div> |
− | <div style="margin-left: 0.5em">locVertical2="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">locVertical2="[[Reference:Common XML tags and types#Type:_nonNegInt|nonNegInt]] [0..1]"</div> |
<div style="margin-left: 0.5em">horizontal="xs:boolean [0..1]"</div>/> </div> | <div style="margin-left: 0.5em">horizontal="xs:boolean [0..1]"</div>/> </div> | ||
</div> | </div> | ||
Line 572: | Line 573: | ||
<div style="margin-left: 1.5em"><[[#Element:_size|size]]> ... </[[#Element:_size|size]]> [1]</div> | <div style="margin-left: 1.5em"><[[#Element:_size|size]]> ... </[[#Element:_size|size]]> [1]</div> | ||
− | <div style="margin-left: 1.5em"><spreadsheetColumn<div style="margin-left: 0.5em">id="[[Reference:Common XML tags and types# | + | <div style="margin-left: 1.5em"><spreadsheetColumn<div style="margin-left: 0.5em">id="[[Reference:Common XML tags and types#Type:_nonNegInt|nonNegInt]] [1]"</div> |
− | <div style="margin-left: 0.5em">width="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">width="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [1]"</div>/> [0..*]</div></spreadsheetView></div> |
</div> | </div> | ||
</div> | </div> | ||
Line 641: | Line 642: | ||
<div id="Element:_view_xibox" class="contents"> | <div id="Element:_view_xibox" class="contents"> | ||
− | <div style="margin-left: 0em"><view<div style="margin-left: 0.5em">id="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0em"><view<div style="margin-left: 0.5em">id="[[Reference:Common XML tags and types#Type:_positiveInt|positiveInt]] [1]"</div> |
<div style="margin-left: 0.5em">visible="xs:boolean [0..1]"</div> | <div style="margin-left: 0.5em">visible="xs:boolean [0..1]"</div> | ||
<div style="margin-left: 0.5em">inframe="xs:boolean [0..1]"</div> | <div style="margin-left: 0.5em">inframe="xs:boolean [0..1]"</div> | ||
<div style="margin-left: 0.5em">location="xs:string [0..1]"</div> | <div style="margin-left: 0.5em">location="xs:string [0..1]"</div> | ||
− | <div style="margin-left: 0.5em">size="[[Reference:Common XML tags and types# | + | <div style="margin-left: 0.5em">size="[[Reference:Common XML tags and types#Type:_nonNegInt|nonNegInt]] [0..1]"</div> |
<div style="margin-left: 0.5em">window="xs:string [0..1]"</div>/> </div> | <div style="margin-left: 0.5em">window="xs:string [0..1]"</div>/> </div> | ||
</div> | </div> | ||
</div> | </div> | ||
− |
Revision as of 12:18, 25 May 2010
Following document was generated by a modification of xs3p stylesheet. It contains definitions of tags used in geogebra.xml, which is the most important .ggb files. For a brief introduction see XML reference.
Global Declarations
Element: axis
Name | axis |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<axis
id="axisIds [1]"
show="xs:boolean [0..1]"
label="xs:string [0..1]"
unitLabel="xs:string [0..1]"
tickStyle="tickStyles [0..1]"
tickDistance="xs:double [0..1]"
showNumbers="xs:boolean [0..1]"
/> Element: casSession
Name | casSession |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation |
Works only with GeoGebra >= 4.0 |
XML Instance Representation
<casSession>
<cellPair> [1..*]
</casSession>Start Sequence [0..1]
<inputCell> [1]
<expression> ... </expression> [1]
</inputCell><outputCell> [1]
<expression> ... </expression> [1]
</outputCell>End Sequence
</cellPair>Element: euclidianView
Name | euclidianView |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<euclidianView>
<coordSystem
xZero="xs:double [0..1]"
yZero="xs:double [0..1]"
scale="xs:double [0..1]"
xscale="xs:double [0..1]"
yscale="xs:double [0..1]"
/> [1]<evSettings
axes="xs:boolean [0..1]"
grid="xs:boolean [0..1]"
gridIsBold="xs:boolean [0..1]"
pointCapturing="pointCapturings [0..1]"
pointStyle="pointStyles [0..1]"
rightAngleStyle="rightAngleStyles [0..1]"
checkboxSize="nonNegInt [0..1]"
gridType="gridTypes [0..1]"
/> [1]<bgColor> rgbColor </bgColor> [1]
<axesColor> rgbColor </axesColor> [1]
<gridColor> rgbColor </gridColor> [1]
</euclidianView>Element: euclidianView3D
Name | euclidianView3D |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
Element: expression
Name | expression |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<expression
value="xs:string [0..1]"
/> Element: geogebra
Name | geogebra |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<geogebra
format="xs:double [1]"
> Start All [1]
<euclidianView> ... </euclidianView> [0..1]
<euclidianView3D> ... </euclidianView3D> [0..1]
<spreadsheetView> ... </spreadsheetView> [0..1]
<construction> ... </construction> [1]
<casSession> ... </casSession> [0..1]
End All
</geogebra>Element: gui
Name | gui |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<gui>
<window
width="positiveInt [1]"
height="positiveInt [1]"
/> [0..1]<perspectives> [0..1]
<perspective> ... </perspective> [1..*]
</perspectives><labelingStyle> intVal </labelingStyle> [0..1]
<consProtColumns
col0="xs:boolean [0..1]"
col1="xs:boolean [0..1]"
col2="xs:boolean [0..1]"
col3="xs:boolean [0..1]"
col4="xs:boolean [0..1]"
col5="xs:boolean [0..1]"
/> [0..1]<consProtocol
useColors="xs:boolean [0..1]"
showOnlyBreakpoints="xs:boolean [0..1]"
/> [0..1]<consProtNavigationBar
show="xs:boolean [0..1]"
playButton="xs:boolean [0..1]"
playDelay="xs:double [0..1]"
protButton="xs:boolean [0..1]"
consStep="xs:int [0..1]"
/> [0..1]<show> ... </show> [0..1]
<splitDivider> ... </splitDivider> [0..1]
<font
</gui>size="positiveInt [1]"
/> [0..1]Element: kernel
Name | kernel |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<kernel>
<continuous> boolVal </continuous> [0..1]
<decimals> intVal </decimals> [1]
<significantFigures> intVal </significantFigures> [0..1]
<angleUnit
val="angleUnits [1]"
/> [1]<algebraStyle
val="algebraStyles [1]"
/> [0..1]<coordStyle> intVal </coordStyle> [1]
<startAnimation> boolVal </startAnimation> [1]
</kernel>Element: pane
Name | pane |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
Element: perspective
Name | perspective |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<perspective
id="xs:string [0..1]"
> <toolbar> xs:string </toolbar> [1]
<show
axes="xs:boolean [0..1]"
grid="xs:boolean [0..1]"
/> [1]<input
</perspective>show="xs:boolean [0..1]"
cmd="xs:boolean [0..1]"
top="xs:boolean [0..1]"
/> [1]Element: show
Name | show |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation |
Deprecated since 4.0, use perspectives insted. |
XML Instance Representation
<show
algebraView="xs:boolean [0..1]"
spreadsheetView="xs:boolean [0..1]"
auxiliaryObjects="xs:boolean [0..1]"
algebraInput="xs:boolean [0..1]"
cmdList="xs:boolean [0..1]"
/> Element: size
Name | size |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<size
width="positiveInt [1]"
height="positiveInt [1]"
/> Element: splitDivider
Name | splitDivider |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation |
Deprecated since 4.0, use perspectives/perspective/panes insted. |
XML Instance Representation
<splitDivider
loc="nonNegInt [0..1]"
locVertical="nonNegInt [0..1]"
loc2="positiveInt [0..1]"
locVertical2="nonNegInt [0..1]"
horizontal="xs:boolean [0..1]"
/> Element: spreadsheetView
Name | spreadsheetView |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<spreadsheetView>
<spreadsheetColumn
</spreadsheetView>id="nonNegInt [1]"
width="positiveInt [1]"
/> [0..*]Element: toolbar
Name | toolbar |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation |
Deprecated since 4.0, use perspectives/perspective/toolbar insted. |
XML Instance Representation
<toolbar
str="xs:string [0..1]"
/> Element: view
Name | view |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
XML Instance Representation
<view
id="positiveInt [1]"
visible="xs:boolean [0..1]"
inframe="xs:boolean [0..1]"
location="xs:string [0..1]"
size="nonNegInt [0..1]"
window="xs:string [0..1]"
/>