[Chameleon-dev] [Bug 750] New: [Chameleon - doc builder] Automating
tag code structure.
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Fri Oct 22 08:56:05 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=750
Summary: [Chameleon - doc builder] Automating tag code structure.
Product: Chameleon
Version: 1.99
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: enhancement
Priority: P2
Component: AutoDoc
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: cthorne at dmsolutions.ca
As a result of fixing bug 742, this opened up the possibility to re incorparate
the old automated tag structure code. The reason why it was not added before
what the simple fact that the old tag structure code did not format the widget
tag string.
Currently to add these tag structures to the widget doc is a manual process.
Below is an example of an xml structure:
<cham:widgetdoc>
<cham:tagstructures>
<cham:tagstructure>
<cham:code>
<cham:codeblock bold="true" >
<cham:line><CWC2 TYPE="MapSize"</cham:line>
</cham:codeblock>
<cham:codeblock bold="false">
<cham:line> ENABLED="[TRUE|FALSE]"</cham:line>
<cham:line> FORMINDEX="[0 < integer]"</cham:line>
<cham:line> VISIBLE="[TRUE|FALSE]"</cham:line>
<cham:line></cham:line>
<cham:line> <!-- MapSize Attributes --></cham:line>
<cham:line></cham:line>
<cham:line> EMBEDDED="[TRUE|FALSE]"</cham:line>
<cham:line></cham:line>
<cham:line> <!-- Popup Attribute Group --></cham:line>
<cham:line></cham:line>
</cham:codeblock>
<cham:codeblock bold="true" >
<cham:line><CWC2 TYPE="Cursorpos"</cham:line>
</cham:codeblock>
<cham:codeblock bold="false">
<cham:line> ENABLED="[TRUE|FALSE]"</cham:line>
<cham:line> FORMINDEX="[0 < integer]"</cham:line>
<cham:line> VISIBLE="[TRUE|FALSE]"</cham:line>
<cham:line></cham:line>
<cham:line> <!-- CursorPos Attributes--></cham:line>
</cham:codeblock>
<cham:codeblock bold="true">
<cham:line> AXIS="[X|Y]"</cham:line>
</cham:codeblock>
<cham:codeblock bold="false">
<cham:line> TEXTFIELDSIZE="[0 < integer]"</cham:line>
<cham:line> WIDGETCLASS="[string]"</cham:line>
<cham:line> WIDGETSTYLE="[string]"</cham:line>
<cham:line></cham:line>
<cham:line> <!-- Label Attribute Group--></cham:line>
<cham:line></cham:line>
<cham:line> LABEL="[string]"</cham:line>
<cham:line> LABELPOSITION="[0 < integer < 8]"</cham:line>
<cham:line> LABELHALIGN="[LEFT|CENTER|RIGHT]"</cham:line>
<cham:line> LABELVALIGN="[TOP|MIDDLE|BOTTOM]"</cham:line>
<cham:line> LABELCLASS="[string]"</cham:line>
<cham:line> LABELSTYLE="[string]"/></cham:line>
</cham:codeblock>
</cham:code>
</cham:tagstructure>
</cham:tagstructures>
</cham:widgetdoc>
Things to make note of:
* bold="true|false" define what is a require tag feature of the tag structure:
* each<cham:line> represents a <br>.
* It is important that the spaces between <cham:line> </cham:line> are added and
maintained. These spaces allow indentation and proper formatting of the code.
The next questions are:
* how much effort would this be, (bill)?
* when should this be implemented, (darren/paul)?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list