GeoGebra

Talk:GeoGebra XML Format

Jump to: navigation, search

I would like to ask some questions about the new tags that are implemented in the GeoGebra XML File Format.

1. First of all i think i should change the content of the "Changes to the previous version" and update the format to version 3.

2. Secondly, I am not so sure about the structure of the <macro> tag. From the MyXMLHandler.java file I figure that the structure is the following:

<macro>

   <macroInput>
      ...
   </macroInput>
   <macroOutput>
      ...
   </macroOutput>
   <construction>
      ...             <-- the familiar <construction> tag
   </construction>
</macro>

Furthermore, the <macro> tag has the attributes “cmdName”, “toolName”, “toolHelp”, “iconFile” and “showInToolbar”, which are all strings. If this is false, please explain me the correct structure.

3. I suppose that the only subtag in the <spreadsheetView> and <casView> tags is the <size> tag.

4. I cannot understand the structure of the <casSession> tag. From the source I believe that this tag contains the subtags <cellPair>, <inputCell> and <outputCell>. The tags <inputCell> and <outputCell> have the subtags <expression> and <color>. I believe the hierarchy of the tags is the following:

<casSession>
  <cellPair>
     ...         <-- more subtags is <cellPair>?
  </cellPair>
  <inputCell>
     ...          <-- here <expression> and <color> tags, but attributes?
  </inputCell>
  <outputCell>
     ...          <-- here <expression> and <color> tags, but attributes?
  </outputCell>
</casSession>

5. The new subtags in the <gui> tag are the following: <consProtColumns>, <consProtocol>, <consProtNavigationBar>. From the source I am not able to understand if some of their attributes (especially those which take integer values) should take specific values. For example in the <evSettings> tag, the attribute “pointStyle” represents two specific point styles with the numbers 0 and 1. The same problem I encounter in the <axis> tag with the “tickStyle” attribute, in the <evSettings> tag with the “gridType”, “checkboxSize” and “rightAngleStyle” attributes and with the <kernel> tag with the “significantfigures” and “coordStyle” attributes.

6. Finally I want to ask a question about the <element> tag. From your documentation we have a list of tags for specifics types:

 Tags for types "point", "vector", "line", "segment", "conic", "function"
 Tags for types "vector", "line", "segment", "conic", "function"
 Tags for types "line", "conic"
 Tags for types "point", "vector", "line", "segment"
 Tags for types "point", "vector"
 Tags for types "numeric", "angle"
 Tags for type "angle"
 Tags for type "numeric"
 Tags for type "point"
 Tags for type "vector", "text", "image"
 Tags for type "conic"
 Tags for type "image"

In the source there are a number of new tags which I cannot know to which category they belong:

 auxiliary
 absoluteScreenLocation
 breakpoint
 caption
 condition
 checkbox
 decoration
 decimals
 fixed
 font
 forceReflexAngle
 isLaTeX
 keepTypeOnTransform
 layer
 outlyingIntersections
 pointStyle
 significantfigures
 spreadsheetTrace

If you would categorize these tags I would be very thankful.

Thank you in advance for your help.