xref: /AOO41X/main/officecfg/registry/schema/org/openoffice/Office/Canvas.xcs (revision 1455e513e06d29f0697b752c8d53101957b5a400)
1<?xml version='1.0' encoding='UTF-8'?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23<oor:component-schema oor:name="Canvas" oor:package="org.openoffice.Office" xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
24    <info>
25        <desc>Contains configuration items related to the Impress application.</desc>
26    </info>
27    <import oor:component="org.openoffice.Office.Common"/>
28    <templates>
29        <group oor:name="CanvasService">
30            <info>
31                <author>THB</author>
32                <label>Implementation names for canvas service.</label>
33                <desc>Contains a list of implementation names for each canvas service. Tried in order of appearance</desc>
34            </info>
35            <prop oor:name="PreferredImplementations" oor:type="oor:string-list">
36                <info>
37                    <desc>List of implementation names.</desc>
38                </info>
39            </prop>
40            <prop oor:name="AcceleratedImplementations" oor:type="oor:string-list">
41                <info>
42                    <desc>List of implementations that are hardware-accelerated.</desc>
43                </info>
44            </prop>
45            <prop oor:name="AntialiasingImplementations" oor:type="oor:string-list">
46                <info>
47                    <desc>List of implementations that do anti-aliasing.</desc>
48                </info>
49            </prop>
50        </group>
51    </templates>
52    <component>
53        <group oor:name="DXCanvas">
54            <info>
55                <author>THB</author>
56                <desc>Contains config entries for the DirectX-based implementation of the XCanvas interface.</desc>
57            </info>
58            <prop oor:name="DeviceBlacklist" oor:type="oor:int-list">
59                <info>
60                    <desc>Sequence of 8 integers per device/driver
61                       combination, that uniquely mark them as not being compatible with the
62                       DirectX9 canvas implementation. If you have
63                       trouble with your graphic adapter, and want to
64                       add it to the blacklisting, set
65                       BlacklistCurrentDevice below to false. After
66                       running the Impress slideshow once, your card
67                       identification has been added to the list.
68                    </desc>
69                    <label>Sequence of blacklisted devices</label>
70                </info>
71                <value>0</value>
72            </prop>
73            <prop oor:name="BlacklistCurrentDevice" oor:type="xs:boolean">
74                <info>
75                    <desc>Indicates whether the current DirectX device
76                          ids should get blacklisted. When true, a
77                          running DXCanvas will write a DeviceBlacklist entry, and refuse to run
78                          on that device subsequently.
79                    </desc>
80                    <label>Blacklist current DirectX device</label>
81                </info>
82                <value>false</value>
83            </prop>
84            <prop oor:name="MaxTextureSize" oor:type="xs:int">
85                <info>
86                    <desc>If present, limits the size of the textures
87                          that get requested from the DX runtime. If
88                          not present, textures of the maximal size
89                          that is advertised by the driver are
90                          used. This value has absolutely nothing to
91                          do with the size of primitives that can be
92                          rendered, both concepts are independent from
93                          each other. The underlying reason for this
94                          config item is the fact that several
95                          card/driver combinations expose bugs, when
96                          running them with their maximum texture
97                          size.
98                    </desc>
99                    <label>Maximum texture size requested from the DirectX runtime</label>
100                </info>
101                <value>2048</value>
102            </prop>
103        </group>
104        <set oor:name="CanvasServiceList" oor:node-type="CanvasService">
105            <info>
106                <desc>List of preferred implementation names, for each given canvas service.</desc>
107            </info>
108        </set>
109        <prop oor:name="ForceSafeServiceImpl" oor:type="xs:boolean">
110            <info>
111                <author>THB</author>
112                <desc>When true, force canvas factory to use the last
113                      entry of the respective preferred services
114                      lists. This entry should represent a safe,
115                      works-always implementation, ready to serve as a
116                      fallback.
117                </desc>
118                <label>Force fallback canvas impl</label>
119            </info>
120            <value>false</value>
121        </prop>
122        <prop oor:name="UseAcceleratedCanvas" oor:type="xs:boolean">
123            <info>
124                <author>THB</author>
125                <desc>When true, suggest canvas factory to use a
126                      canvas service listed in the
127                      AcceleratedImplementations lists.
128                </desc>
129                <label>Use a canvas listed among the AcceleratedImplementations</label>
130            </info>
131            <value>true</value>
132        </prop>
133        <prop oor:name="UseAntialiasingCanvas" oor:type="xs:boolean">
134            <info>
135                <author>THB</author>
136                <desc>When true, suggest canvas factory to use a
137                      canvas service listed in the
138                      AntialiasingImplementations lists.
139                </desc>
140                <label>Use a canvas listed among the AntialiasingImplementations</label>
141            </info>
142            <value>true</value>
143        </prop>
144    </component>
145</oor:component-schema>
146
147