summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema/org/openoffice/Office/UI.xcs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-30 12:19:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-30 12:27:47 +0100
commite8bb827571f540ac4af2247cb11239bb96876669 (patch)
tree24a7ee39d336a476c88f76f533fb292d5fdd9332 /officecfg/registry/schema/org/openoffice/Office/UI.xcs
parentdc6953f932ffbddd5168f039e58075789b91b98b (diff)
Fixed cppheader.xsl nillable treatment.
* cppheader.xsl had initially been written under the false assumption that a missing oor:nillable attribute defaults to "false" instead of "true". That has been fixed. * As a result, many places that use the new simplified officecfg/*.hxx headers broke as they did not expect value types to be wrapped boost::optional. To keep the code simple, I decided to change all occurrences in officecfg/registry/schema/ of properties that specify a default <value> and do not explicitly specify oor:nillable="true" to oor:nillable="false". Strictly speaking, this is an incompatible change, but in many cases it should be what was intended, anyway. * Some places that use the new simplified officecfg/*.hxx headers still had to be adapted to boost::optional wrapping. * This showed that unotools/configuration.hxx did not yet work for those wrapped properties and needed fixing, too.
Diffstat (limited to 'officecfg/registry/schema/org/openoffice/Office/UI.xcs')
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/UI.xcs30
1 files changed, 15 insertions, 15 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/UI.xcs b/officecfg/registry/schema/org/openoffice/Office/UI.xcs
index 434ec5c717c7..f7b382ec1c50 100644
--- a/officecfg/registry/schema/org/openoffice/Office/UI.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/UI.xcs
@@ -67,7 +67,7 @@
<info>
<desc>Specifies the settings for the documents boundaries.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of anchors (true = visible).</desc>
</info>
@@ -93,7 +93,7 @@
<info>
<desc>Specifies the settings for object boundaries.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of object boundaries (true = visible).</desc>
</info>
@@ -109,7 +109,7 @@
<info>
<desc>Specifies the settings for table boundaries.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of table boundaries (true = visible).</desc>
</info>
@@ -135,7 +135,7 @@
<info>
<desc>Specifies the settings for unvisited links.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of unvisited links (true = visible).</desc>
</info>
@@ -151,7 +151,7 @@
<info>
<desc>Specifies the settings for visited links.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of visited links (true = visible).</desc>
</info>
@@ -187,7 +187,7 @@
<info>
<desc>Specifies the settings for shadows.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of shadows (true = visible).</desc>
</info>
@@ -213,7 +213,7 @@
<info>
<desc>Specifies the settings for field shadings in Writer.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of field shadings (true = visible).</desc>
</info>
@@ -229,7 +229,7 @@
<info>
<desc>Specifies the settings for index and table shadings in Writer.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of index and table shadings (true = visible).</desc>
</info>
@@ -245,7 +245,7 @@
<info>
<desc>Specifies the settings for the direct cursor in Writer.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of direct cursor (true = visible).</desc>
</info>
@@ -271,7 +271,7 @@
<info>
<desc>Specifies the settings for section boundaries in Writer.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of section boundaries (true = visible).</desc>
</info>
@@ -427,7 +427,7 @@
<info>
<desc>Specifies the settings used for the grid in Draw/Impress.</desc>
</info>
- <prop oor:name="IsVisible" oor:type="xs:boolean">
+ <prop oor:name="IsVisible" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies the visibility of the grid (true = visible).</desc>
</info>
@@ -591,7 +591,7 @@
<info>
<desc>Presents global classes to the user in a group of their own. A typical example for a global class is &quot;text documents&quot;, whereas &quot;StarWriter 4.0 / 5.0 documents&quot; is not a global class.</desc>
</info>
- <prop oor:name="Order" oor:type="oor:string-list">
+ <prop oor:name="Order" oor:type="oor:string-list" oor:nillable="false">
<info>
<desc>List specifying the order of the global filters within their group.</desc>
</info>
@@ -637,7 +637,7 @@
<author>FS</author>
<desc>Specifies various settings for the internal file/folder picker dialog.</desc>
</info>
- <prop oor:name="FillAsynchronously" oor:type="xs:boolean">
+ <prop oor:name="FillAsynchronously" oor:type="xs:boolean" oor:nillable="false">
<info>
<desc>Specifies whether the dialog should fill its view asynchronously. Asnychronous filling allows the user to cancel blocking operations, which may be usefull for instance for mounted, but dead NFS devices.</desc>
</info>
@@ -648,7 +648,7 @@
<desc>Specifies the timeouts to be used when the file view is to be filled asynchronously.
These settings are not evaluated if the FillAsynchronously property is false.</desc>
</info>
- <prop oor:name="Min" oor:type="xs:int">
+ <prop oor:name="Min" oor:type="xs:int" oor:nillable="false">
<info>
<desc>Specifies the minimum timeout in milliseconds. When the file view is filled, the dialog will wait at least this time before the user is allowed to cancel the operation.</desc>
</info>
@@ -661,7 +661,7 @@ These settings are not evaluated if the FillAsynchronously property is false.</d
</constraints>
<value>1000</value>
</prop>
- <prop oor:name="Max" oor:type="xs:int">
+ <prop oor:name="Max" oor:type="xs:int" oor:nillable="false">
<info>
<desc>Specifies the maximum timeout in milliseconds. When the file view is being filled, and its content could not be completely obtained within the time frame given here, the operation is cancelled automatically.</desc>
</info>