/usr/share/kde4/config.kcfg/okular.kcfg is in okular 4:4.13.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | <?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<include>kuser.h</include>
<kcfgfile arg="true" />
<group name="Dlg Performance" >
<entry key="EnableCompositing" type="Bool" >
<default>true</default>
</entry>
</group>
<group name="Debugging Options" >
<entry key="DebugDrawBoundaries" type="Bool" >
<default>false</default>
</entry>
<entry key="DebugDrawAnnotationRect" type="Bool" >
<default>false</default>
</entry>
</group>
<group name="Contents" >
<entry key="ContentsSearchCaseSensitive" type="Bool">
<default>false</default>
</entry>
<entry key="ContentsSearchRegularExpression" type="Bool">
<default>false</default>
</entry>
</group>
<group name="Reviews" >
<entry key="ReviewsSearchCaseSensitive" type="Bool">
<default>false</default>
</entry>
<entry key="ReviewsSearchRegularExpression" type="Bool">
<default>false</default>
</entry>
<entry key="AnnotationTools" type="StringList">
<code>
QStringList annotationTools;
// load the default tool list from the 'xml tools definition' file
QFile infoFile( KStandardDirs::locate("data", "okular/tools.xml") );
if ( infoFile.exists() && infoFile.open( QIODevice::ReadOnly ) )
{
QDomDocument doc;
if ( doc.setContent( &infoFile ) )
{
QDomElement toolsDefinition = doc.elementsByTagName("annotatingTools").item( 0 ).toElement();
// create the annotationTools list from the XML dom tree
QDomNode toolDescription = toolsDefinition.firstChild();
while ( toolDescription.isElement() )
{
QDomElement toolElement = toolDescription.toElement();
if ( toolElement.tagName() == "tool" )
{
QDomDocument temp;
temp.appendChild( temp.importNode( toolElement, true) );
// add each <tool>...</tool> as XML string
annotationTools << temp.toString(-1);
}
toolDescription = toolDescription.nextSibling();
}
}
else
{
kWarning() << "AnnotatingTools XML file seems to be damaged";
}
}
else
{
kWarning() << "Unable to open AnnotatingTools XML definition";
}
</code>
<default code="true">annotationTools</default>
</entry>
</group>
<group name="Zoom">
<entry key="ZoomMode" type="UInt" >
<default>1</default>
<max>3</max>
</entry>
</group>
<group name="General" >
<entry key="ShellOpenFileInTabs" type="Bool" >
<default>false</default>
</entry>
<entry key="ShowOSD" type="Bool" >
<default>true</default>
</entry>
<entry key="DisplayDocumentTitle" type="Bool" >
<default>true</default>
</entry>
<entry key="DisplayDocumentNameOrPath" type="Enum" >
<default>Name</default>
<choices>
<choice name="Name" />
<choice name="Path" />
</choices>
</entry>
<entry key="UseKTTSD" type="Bool" />
<entry key="WatchFile" type="Bool" >
<default>true</default>
</entry>
</group>
<group name="Dlg Presentation" >
<entry key="SlidesBackgroundColor" type="Color" >
<default code="true" >Qt::black</default>
</entry>
<entry key="SlidesTransition" type="Enum" >
<default>Replace</default>
<choices>
<choice name="BlindsHorizontal" />
<choice name="BlindsVertical" />
<choice name="BoxIn" />
<choice name="BoxOut" />
<choice name="Dissolve" />
<choice name="GlitterDown" />
<choice name="GlitterRight" />
<choice name="GlitterRightDown" />
<choice name="Random" />
<choice name="Replace" />
<choice name="SplitHorizontalIn" />
<choice name="SplitHorizontalOut" />
<choice name="SplitVerticalIn" />
<choice name="SplitVerticalOut" />
<choice name="WipeDown" />
<choice name="WipeRight" />
<choice name="WipeLeft" />
<choice name="WipeUp" />
</choices>
</entry>
<entry key="SlidesCursor" type="Enum" >
<default>HiddenDelay</default>
<choices>
<choice name="HiddenDelay" />
<choice name="Visible" />
<choice name="Hidden" />
</choices>
</entry>
<entry key="SlidesShowProgress" type="Bool" >
<default>true</default>
</entry>
<entry key="SlidesShowSummary" type="Bool" >
<default>false</default>
</entry>
<entry key="SlidesPencilColor" type="Color" >
<default code="true" >Qt::red</default>
</entry>
<entry key="SlidesTransitionsEnabled" type="Bool" >
<default>true</default>
</entry>
<entry key="SlidesScreen" type="Int" >
<default>-2</default>
<min>-2</min>
<max>20</max>
</entry>
</group>
<group name="Main View" >
<entry key="ShowLeftPanel" type="Bool" >
<default>true</default>
</entry>
<entry key="SplitterSizes" type="IntList" />
<entry key="ShowBottomBar" type="Bool" >
<default>true</default>
</entry>
</group>
<group name="Nav Panel" >
<entry key="CurrentPageOnly" type="Bool" >
<default>false</default>
</entry>
<entry key="GroupByAuthor" type="Bool" >
<default>true</default>
</entry>
<entry key="GroupByPage" type="Bool" >
<default>true</default>
</entry>
<entry key="FilterBookmarks" type="Bool" >
<default>false</default>
</entry>
<entry key="SyncThumbnailsViewport" type="Bool" >
<default>true</default>
</entry>
<entry key="TocPageColumn" type="Bool" >
<default>true</default>
</entry>
<entry key="SidebarShowText" type="Bool" >
<default>true</default>
</entry>
<entry key="SidebarIconSize" type="UInt" >
<default>48</default>
</entry>
</group>
<group name="PageView" >
<entry key="EditToolBarPlacement" type="Int" >
<default>0</default>
</entry>
<entry key="ShowScrollBars" type="Bool" >
<default>true</default>
</entry>
<entry key="ScrollOverlap" type="UInt" >
<default>0</default>
<min>0</min>
<max>50</max>
</entry>
<entry key="ViewColumns" type="UInt" >
<default>3</default>
<min>1</min>
<max>8</max>
</entry>
<entry key="TrimMargins" type="Bool" >
<default>false</default>
</entry>
<entry key="ViewContinuous" type="Bool" >
<default>true</default>
</entry>
<entry key="ViewMode" type="Enum" >
<default>Single</default>
<choices>
<choice name="Single" />
<choice name="Facing" />
<choice name="FacingFirstCentered" />
<choice name="Summary" />
</choices>
</entry>
<entry key="MouseMode" type="Enum" >
<default>Browse</default>
<choices>
<choice name="Browse" />
<choice name="Zoom" />
<choice name="RectSelect" />
<choice name="TextSelect" />
<choice name="TableSelect" />
<choice name="Magnifier" />
</choices>
</entry>
<entry key="ShowSourceLocationsGraphically" type="Bool" >
<default>false</default>
</entry>
</group>
<group name="Search" >
<entry key="SearchCaseSensitive" type="Bool">
<default>false</default>
</entry>
<entry key="SearchFromCurrentPage" type="Bool">
<default>true</default>
</entry>
</group>
<group name="Dlg Accessibility" >
<entry key="HighlightImages" type="Bool" >
<default>false</default>
</entry>
<entry key="HighlightLinks" type="Bool" >
<default>false</default>
</entry>
<entry key="RecolorForeground" type="Color" >
<default code="true" >0x600000</default>
</entry>
<entry key="RecolorBackground" type="Color" >
<default code="true" >0xF0F0F0</default>
</entry>
<entry key="BWThreshold" type="UInt" >
<default>127</default>
<min>2</min>
<max>253</max>
</entry>
<entry key="BWContrast" type="UInt" >
<default>2</default>
<min>2</min>
<max>6</max>
</entry>
</group>
<group name="Identity" >
<entry key="IdentityAuthor" type="String">
<code>
KUser currentUser;
QString userString = currentUser.property( KUser::FullName ).toString();
if ( userString.isEmpty() )
{
userString = currentUser.loginName();
}
</code>
<default code="true">userString</default>
</entry>
</group>
</kcfg>
|