Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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>

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.