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 24<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"> 25 <info> 26 <desc>Contains configuration items related to the Impress application.</desc> 27 </info> 28 <import oor:component="org.openoffice.Office.Common"/> 29 <templates> 30 <group oor:name="CanvasService"> 31 <info> 32 <author>THB</author> 33 <label>Implementation names for canvas service.</label> 34 <desc>Contains a list of implementation names for each canvas service. Tried in order of appearance</desc> 35 </info> 36 <prop oor:name="PreferredImplementations" oor:type="oor:string-list"> 37 <info> 38 <desc>List of implementation names.</desc> 39 </info> 40 </prop> 41 <prop oor:name="AcceleratedImplementations" oor:type="oor:string-list"> 42 <info> 43 <desc>List of implementations that are hardware-accelerated.</desc> 44 </info> 45 </prop> 46 <prop oor:name="AntialiasingImplementations" oor:type="oor:string-list"> 47 <info> 48 <desc>List of implementations that do anti-aliasing.</desc> 49 </info> 50 </prop> 51 </group> 52 </templates> 53 <component> 54 <group oor:name="DXCanvas"> 55 <info> 56 <author>THB</author> 57 <desc>Contains config entries for the DirectX-based implementation of the XCanvas interface.</desc> 58 </info> 59 <prop oor:name="DeviceBlacklist" oor:type="oor:int-list"> 60 <info> 61 <desc>Sequence of 8 integers per device/driver 62 combination, that uniquely mark them as not being compatible with the 63 DirectX9 canvas implementation. If you have 64 trouble with your graphic adapter, and want to 65 add it to the blacklisting, set 66 BlacklistCurrentDevice below to false. After 67 running the Impress slideshow once, your card 68 identification has been added to the list. 69 </desc> 70 <label>Sequence of blacklisted devices</label> 71 </info> 72 <value>0</value> 73 </prop> 74 <prop oor:name="BlacklistCurrentDevice" oor:type="xs:boolean"> 75 <info> 76 <desc>Indicates whether the current DirectX device 77 ids should get blacklisted. When true, a 78 running DXCanvas will write a DeviceBlacklist entry, and refuse to run 79 on that device subsequently. 80 </desc> 81 <label>Blacklist current DirectX device</label> 82 </info> 83 <value>false</value> 84 </prop> 85 <prop oor:name="MaxTextureSize" oor:type="xs:int"> 86 <info> 87 <desc>If present, limits the size of the textures 88 that get requested from the DX runtime. If 89 not present, textures of the maximal size 90 that is advertised by the driver are 91 used. This value has absolutely nothing to 92 do with the size of primitives that can be 93 rendered, both concepts are independent from 94 each other. The underlying reason for this 95 config item is the fact that several 96 card/driver combinations expose bugs, when 97 running them with their maximum texture 98 size. 99 </desc> 100 <label>Maximum texture size requested from the DirectX runtime</label> 101 </info> 102 <value>2048</value> 103 </prop> 104 </group> 105 <set oor:name="CanvasServiceList" oor:node-type="CanvasService"> 106 <info> 107 <desc>List of preferred implementation names, for each given canvas service.</desc> 108 </info> 109 </set> 110 <prop oor:name="ForceSafeServiceImpl" oor:type="xs:boolean"> 111 <info> 112 <author>THB</author> 113 <desc>When true, force canvas factory to use the last 114 entry of the respective preferred services 115 lists. This entry should represent a safe, 116 works-always implementation, ready to serve as a 117 fallback. 118 </desc> 119 <label>Force fallback canvas impl</label> 120 </info> 121 <value>false</value> 122 </prop> 123 <prop oor:name="UseAcceleratedCanvas" oor:type="xs:boolean"> 124 <info> 125 <author>THB</author> 126 <desc>When true, suggest canvas factory to use a 127 canvas service listed in the 128 AcceleratedImplementations lists. 129 </desc> 130 <label>Use a canvas listed among the AcceleratedImplementations</label> 131 </info> 132 <value>true</value> 133 </prop> 134 <prop oor:name="UseAntialiasingCanvas" oor:type="xs:boolean"> 135 <info> 136 <author>THB</author> 137 <desc>When true, suggest canvas factory to use a 138 canvas service listed in the 139 AntialiasingImplementations lists. 140 </desc> 141 <label>Use a canvas listed among the AntialiasingImplementations</label> 142 </info> 143 <value>true</value> 144 </prop> 145 </component> 146</oor:component-schema> 147