How to hide configuration page "BasicIDE"?

Andras Timar timar74 at gmail.com
Thu Apr 2 09:31:36 PDT 2015


On Thu, Apr 2, 2015 at 8:28 AM, Thomas Krumbein
<thomas.krumbein at documentfoundation.org> wrote:
> Hello everybody,
>
> I am playing around with configuration-files (*.xcd) and registry-datas.
> I found the following example to hide an option page and it works fine.
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema"
>           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>           xmlns:oor="http://openoffice.org/2001/registry">
> <dependency file="main" />
>     <!-- Hide Tools - Options - LibreOffice - Advanced -->
>     <oor:component-data
> xmlns:install="http://openoffice.org/2004/installation"
>                         oor:name="OptionsDialog"
> oor:package="org.openoffice.Office">
>         <node oor:name="OptionsDialogGroups">
>             <node oor:name="ProductName" oor:op="fuse">
>                 <node oor:name="Pages">
>                     <node oor:name="Java" oor:op="fuse">
>                         <prop oor:name="Hide">
>                             <value>true</value>
>                         </prop>
>                     </node>
>                 </node>
>             </node>
>         </node>
>     </oor:component-data>
> </oor:data>
>
>
> Now I tried to hide the following entry too - so the page which is
> called in german "Optionen für die Basic IDE".
> I searched inside the main.xcd to find the page-name and - similar to
> the above example - it should be "BasicIDE"?.

It is BasicIDEOptions. See
http://opengrok.libreoffice.org/xref/core/cui/source/options/treeopt.cxx#346

Best regards,
Andras


More information about the LibreOffice mailing list