Differenze tra le versioni di "Riferimenti:Tag e tipi comuni XML"

Da GeoGebra Manual.
Riga 3: Riga 3:
 
[[Categoria:Riferimenti|Tag e tipi comuni XML]]
 
[[Categoria:Riferimenti|Tag e tipi comuni XML]]
 
[[en:Reference:Common_XML_tags_and_types]]
 
[[en:Reference:Common_XML_tags_and_types]]
 +
[[es:Referencia:Common XML tags and types]]
  
 
==Dichiarazioni globali==
 
==Dichiarazioni globali==

Versione delle 19:41, 15 gen 2013

Il seguente documento è stato generato da una modifica del foglio di stile xs3p: contiene le definizioni dei tag e dei tipi utilizzati sia nei file geogebra.xml che nei file geogebra_macro.xml, che sono la parte principale nel formato di file di GeoGebra. Per una breve introduzione consultare la pagina riferimenti XML. en:Reference:Common_XML_tags_and_types es:Referencia:Common XML tags and types

Dichiarazioni globali

Element: cascell

XML Instance Representation
<cascell>
<cellPair> [1..*]
Start Sequence [0..1]
<inputCell> [1]
<expression> ... </expression> [1]
</inputCell>
<outputCell> [1]
<expression> ... </expression> [1]
</outputCell>
End Sequence
</cellPair>
</cascell>

Element: construction

XML Instance Representation
<construction
title="xs:string [0..1]"
author="xs:string [0..1]"
date="xs:string [0..1]"
>
Start Choice [0..*]
<command
name="xs:string [1]"
type="xs:string [0..1]"
var="xs:string [0..1]"
> [1]
<input> ioType </input> [1]
<output> ioType </output> [1]
</command>
<element> ... </element> [1]
<cascell> ... </cascell> [1]
<expression
exp="xs:string [0..1]"
label="xs:string [0..1]"
type="elType [0..1]"
/> [1]
End Choice
</construction>

Element: element

XML Instance Representation
<element
type="elType [0..1]"
label="xs:string [0..1]"
>
Start Choice [0..*]
<absoluteScreenLocation> xyCoords </absoluteScreenLocation> [0..1]
<allowReflexAngle> boolVal </allowReflexAngle> [0..1]
<auxiliary> boolVal </auxiliary> [0..1]
<arcSize> intVal </arcSize> [0..1]
<animation> animation </animation> [0..1]
<caption> stringVal </caption> [0..1]
<comboBox> boolVal </comboBox> [0..1]
<condition
showObject="xs:string [0..1]"
/> [0..1]
<checkbox
fixed="xs:boolean [0..1]"
/> [0..1]
<coefficients
rep="representation [0..1]"
data="data [0..1]"
/> [0..1]
<coords> coords </coords> [0..1]
<coordStyle
style="coordStyles [0..1]"
/> [0..1]
<decoration
type="decorTypes [0..1]"
/> [0..1]
<eigenvectors> eigenvectors </eigenvectors> [0..1]
<emphasizeRightAngle> boolVal </emphasizeRightAngle> [0..1]
<eqnStyle
style="eqnStyles [1]"
parameter="xs:string [0..1]"
/> [0..1]
<file
name="xs:string [0..1]"
/> [0..1]
<fixed> boolVal </fixed> [0..1]
<font> fontProperties </font> [0..1]
<forceReflexAngle> boolVal </forceReflexAngle> [0..1]
<ggbscript> stringVal </ggbscript> [0..1]
<inBackground> boolVal </inBackground> [0..1]
<interpolate> boolVal </interpolate> [0..1]
<javascript> stringVal </javascript> [0..1]
<keepTypeOnTransform> boolVal </keepTypeOnTransform> [0..1]
<isLaTeX> boolVal </isLaTeX> [0..1]
<lineStyle
thickness="lineThickness [0..1]"
type="lineTypes [0..1]"
typeHidden="xs:integer [0..1]"
/> [0..1]
<labelMode> intVal </labelMode> [0..1]
<labelOffset> xyCoords </labelOffset> [0..1]
<layer> intVal </layer> [0..1]
<levelOfDetail> intVal </levelOfDetail> [0..1]
<linkedGeo
exp="xs:string [0..1]"
/> [0..1]
<listType
val="elType [0..1]"
/> [0..1]
<matrix> matrix </matrix> [0..1]
<objColor> fillType </objColor> [0..1]
<bgColor> rgbaColor </bgColor> [0..1]
<outlyingIntersections> boolVal </outlyingIntersections> [0..1]
<puntiize> doubleVal </puntiize> [0..1]
<puntityle
val="puntityles [0..1]"
/> [0..1]
<selectedIndex> intVal </selectedIndex> [0..1]
<selectionAllowed> boolVal </selectionAllowed> [0..1]
<show
object="xs:boolean [0..1]"
label="xs:boolean [0..1]"
ev="nonNegInt [0..1]"
/> [0..1]
<slider> slider </slider> [0..1]
<slopeTriangleSize> intVal </slopeTriangleSize> [0..1]
<spreadsheetTrace> spreadsheetTrace </spreadsheetTrace> [0..1]
<startPoint> expCoords </startPoint> [0..1]
<tooltipMode
val="tooltipModes [0..1]"
/> [0..1]
<trace> boolVal </trace> [0..1]
<userinput
show="xs:boolean [0..1]"
value="xs:string [0..1]"
valid="xs:boolean [0..1]"
/> [0..1]
<value
val="doubleOrBool [1]"
random="xs:boolean [0..1]"
/> [0..1]
End Choice
</element>

Element: expression

XML Instance Representation
<expression
value="xs:string [0..1]"
error="xs:boolean [0..1]"
evalCommand="xs:string [0..1]"
evalComment="xs:string [0..1]"
/>

Definizioni globali

Type: animation

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
step="xs:string [0..1]"
speed="xs:string [0..1]"
type="nonNegInt [0..1]"
playing="xs:boolean [0..1]"
/>

Type: boolVal

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
val="xs:boolean [1]"
/>

Type: coords

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
x="xs:double [1]"
y="xs:double [1]"
z="xs:double [1]"
w="xs:double [0..1]"
/>

Type: doubleVal

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
val="xs:double [1]"
/>

Type: eigenvectors

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
x0="xs:double [1]"
x1="xs:double [1]"
y0="xs:double [1]"
y1="xs:double [1]"
z0="xs:double [1]"
z1="xs:double [1]"
/>

Type: expCoords

Super-tipi: Nessuno
Sotto-tipi: Nessuno

È necessario inserire l'esponente (per un punto relativo) o i numeri x, y, z (per un punto assoluto). Il parametro numero è valido solo per gli elementi di tipo immagine, e si riferisce al corner (da 1 a 3)

XML Instance Representation
<...
number="nonNegInt [0..1]"
x="xs:double [0..1]"
y="xs:double [0..1]"
z="xs:double [0..1]"
exp="xs:string [0..1]"
/>

Type: fillType

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
r="nonNegInt [1]"
g="nonNegInt [1]"
b="nonNegInt [1]"
dynamicr="xs:string [0..1]"
dynamicg="xs:string [0..1]"
dynamicb="xs:string [0..1]"
dynamica="xs:string [0..1]"
colorSpace="colorSpaces [0..1]"
alpha="xs:double [0..1]"
hatchAngle="xs:double [0..1]"
hatchDistance="xs:double [0..1]"
image="xs:string [0..1]"
inverseFill="xs:boolean [0..1]"
/>

Type: fontProperties

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
serif="xs:boolean [0..1]"
size="nonNegInt [0..1]"
sizeM="xs:double [0..1]"
style="nonNegInt [0..1]"
/>

Type: intVal

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
val="xs:int [1]"
/>

Type: ioType

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
a0="xs:string [0..1]"
a1="xs:string [0..1]"
a2="xs:string [0..1]"
a3="xs:string [0..1]"
a4="xs:string [0..1]"
a5="xs:string [0..1]"
a6="xs:string [0..1]"
a7="xs:string [0..1]"
a8="xs:string [0..1]"
a9="xs:string [0..1]"
a10="xs:string [0..1]"
a11="xs:string [0..1]"
/>

Type: matrix

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
A0="xs:double [1]"
A1="xs:double [1]"
A2="xs:double [1]"
A3="xs:double [1]"
A4="xs:double [1]"
A5="xs:double [1]"
/>

Type: rgbColor

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
r="nonNegInt [1]"
g="nonNegInt [1]"
b="nonNegInt [1]"
/>

Type: rgbaColor

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
r="nonNegInt [1]"
g="nonNegInt [1]"
b="nonNegInt [1]"
alpha="nonNegInt [0..1]"
/>

Type: slider

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
min="xs:string [0..1]"
max="xs:string [0..1]"
width="xs:double [1]"
x="xs:double [1]"
y="xs:double [1]"
fixed="xs:boolean [1]"
absoluteScreenLocation="xs:boolean [0..1]"
horizontal="xs:boolean [1]"
/>

Type: spreadsheetTrace

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
traceColumn1="xs:integer [0..1]"
traceColumn2="xs:integer [0..1]"
traceRow1="xs:integer [0..1]"
traceRow2="xs:integer [0..1]"
tracingRow="xs:integer [0..1]"
numRows="xs:integer [0..1]"
headerOffset="xs:integer [0..1]"
doColumnReset="xs:boolean [0..1]"
doRowLimit="xs:boolean [0..1]"
showLabel="xs:boolean [0..1]"
showTraceList="xs:boolean [0..1]"
doTraceGeoCopy="xs:boolean [0..1]"
/>

Type: stringVal

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
val="xs:string [1]"
/>

Type: xyCoords

Super-tipi: Nessuno
Sotto-tipi: Nessuno
XML Instance Representation
<...
x="xs:double [1]"
y="xs:double [1]"
/>

Type: algebraStyles

Super-tipi: xs:int < algebraStyles (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 2

Significato dei valori: 0 = valore, 1 = definizione, 2 = comando.


Type: angleUnits

Super-tipi: xs:string < angleUnits (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: string
  • pattern = degree|radiant

Type: axisIds

Super-tipi: xs:int < axisIds (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 2

Significato dei valori: 0=x, 1=y, 2=z

Type: axisTypes

Super-tipi: xs:int < axisTypes (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 3

Significato dei valori: 0 = pieno, 1 = freccia, 2 = pieno grassetto, 3 = pieno freccia grassetto


Type: colorSpaces

Super-tipi: xs:int < colorSpaces (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 2

Significato dei valori: 0 = RGB, 1 = HSB, 2 = HSL.


Type: coordStyles

Super-tipi: xs:string < coordStyles (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: string
  • pattern = cartesian|polar|complex

Type: data

Super-tipi: xs:string < data (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: string
  • pattern = \[(\[.*\],?)*\]

Type: decorTypes

Super-tipi: xs:int < decorTypes (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 6

Significato dei valori: 0=nessuno, 1=una tacca, 2=due tacche, 3=tre tacche, 4=una freccia, 5=due frecce, 6=tre frecce, 2=punto, 3=L (stile Belga).

Type: doubleOrBool

Super-tipi: Nessuno
Sotto-tipi: Nessuno
  • Union of following types:
    • xs:double
    • xs:boolean

Type: elType

Super-tipi: xs:string < elType (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: string
  • pattern = angle|boolean|button|conic(part)?(3d)?|curvecartesian(3d)?|function(NVar)?|image|implicitpoly|line(3d)?|list|locus|numeric|point(3d)?|polygon(3d)?|polyline|quadric|ray(3d)?|segment(3d)?|text(field)?|turtle|vector

Type: eqnStyles

Super-tipi: xs:string < eqnStyles (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: string
  • pattern = implicit|explicit|specific|parametric

Type: gridTypes

Super-tipi: xs:int < gridTypes (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 2

Significato dei valori: 0=cartesiana, 1=isometrica, 2 polare

Type: javaDouble

Super-tipi: xs:string < javaDouble (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: string
  • pattern = Infinity|-Infinity|NaN|(-?[0-9.E]*)

Type: lineThickness

Super-tipi: xs:int < lineThickness (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 13

Type: lineTypes

Super-tipi: xs:int < lineTypes (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • value comes from list: {'0'|'10'|'15'|'20'|'30'}

Significato dei valori: 0=continua, 10=tratteggio breve, 15=tratteggio lungo, 20=punti, 30=tratteggio punto

Type: nonNegInt

Super-tipi: xs:integer < nonNegInt (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: integer
  • value >= 0

Type: pointCapturings

Super-tipi: xs:int < pointCapturings (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 3

Significato dei valori: 0=non attivo, 1=attivo, 2=griglia, 3=automatico.

Type: puntityles

Super-tipi: xs:int < puntityles (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • -1 <= value <= 9

Significato dei valori: -1=usa impostazioni globali, 0=punto pieno, 1=croce, 2=punto vuoto, 3=croce, 4=rombo pieno, 5=rombo vuoto, 6=triangolo nord, 7=triangolo sud, 8=triangolo est, 9=triangolo ovest.

Type: positiveInt

Super-tipi: xs:integer < positiveInt (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: integer
  • value >= 1

Type: representation

Super-tipi: xs:string < representation (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: string
  • pattern = array

Modi possibili per rappresentare i coefficienti, nella versione 4.0 è disponibile una sola modalità.

Type: rightAngleStyles

Super-tipi: xs:int < rightAngleStyles (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 3

Meanings of values: 0=nessuno, 1=square, 2=dot,3=L (Belgian style).


Type: tickStyles

Super-tipi: xs:int < tickStyles (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 2

Significato dei valori: 0=maggiore minore, 1=maggiore, 2=nessuno

Type: tooltipModes

Super-tipi: xs:int < tooltipModes (per restrizione)
Sotto-tipi: Nessuno
  • Base XSD Type: int
  • 0 <= value <= 4

</body>

© 2024 International GeoGebra Institute