On 09/16/2013 07:45 AM, Efe Gürkan YALAMAN wrote:
This weeks work was implementing list datatypes to the page. It is done
right know.

So currently page works with all datatypes.(all integers, float, double,
boolean, string, list types.)

For the record, the attached test.xcd contains properties of all the 14 different data types supported by the configuration. Copy it into your LO installation's share/registry/ directory and find corresponding /TEST.test... entries in the Expert Configuration Page.

Stephan

<?xml version="1.0"?>
<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:oor="http://openoffice.org/2001/registry";>
  <oor:component-schema oor:name="test" oor:package="TEST">
    <templates>
      <group oor:name="test">
        <prop oor:name="boolean" oor:type="xs:boolean">
          <value>true</value>
        </prop>
        <prop oor:name="short" oor:type="xs:short">
          <value>-10</value>
        </prop>
        <prop oor:name="int" oor:type="xs:int">
          <value>-1000000</value>
        </prop>
        <prop oor:name="long" oor:type="xs:long">
          <value>-1000000000</value>
        </prop>
        <prop oor:name="double" oor:type="xs:double">
          <value>1.23</value>
        </prop>
        <prop oor:name="string" oor:type="xs:string">
          <value>ABC</value>
        </prop>
        <prop oor:name="hex" oor:type="xs:hexBinary">
          <value>0041FF</value>
        </prop>
        <prop oor:name="boolean-list" oor:type="oor:boolean-list">
          <value><it>true</it><it>false</it></value>
        </prop>
        <prop oor:name="short-list" oor:type="oor:short-list">
          <value><it>-10</it><it>10</it></value>
        </prop>
        <prop oor:name="int-list" oor:type="oor:int-list">
          <value><it>-1000000</it><it>1000000</it></value>
        </prop>
        <prop oor:name="long-list" oor:type="oor:long-list">
          <value><it>-1000000000</it><it>1000000000</it></value>
        </prop>
        <prop oor:name="double-list" oor:type="oor:double-list">
          <value><it>1.23</it><it>-456.789</it></value>
        </prop>
        <prop oor:name="string-list" oor:type="oor:string-list">
          <value><it>ABC</it><it/></value>
        </prop>
        <prop oor:name="hex-list" oor:type="oor:hexBinary-list">
          <value><it>0041FF</it><it/></value>
        </prop>
      </group>
    </templates>
    <component>
      <set oor:name="test" oor:node-type="test"/>
    </component>
  </oor:component-schema>
  <oor:component-data oor:name="test" oor:package="TEST">
    <node oor:name="test">
      <node oor:name="test/1" oor:op="replace"/>
    </node>
  </oor:component-data>
</oor:data>
_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

Reply via email to