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