Ask Your Question

kdre's profile - activity

2015-08-17 16:55:09 +0200 received badge  Editor (source)
2015-08-17 16:54:10 +0200 answered a question How to remove the "Normal, Outline, Notes, Handout, Slide Sorter" tab-bar on Impress

It is quite easy to remove this bar as follows (tested on xubuntu 15.04). Open a terminal and make sure you are in your home directory. Then follow these steps:

  1. Install dependencies, see [1]

    sudo apt-get build-dep libreoffice

    sudo apt install libkrb5-dev

  2. now build libreoffice, see [2]. First, checkout libreoffice from git

    git clone git://anongit.freedesktop.org/libreoffice/core libreoffice

  3. now configure the build

    cd libreoffice

    ./autogen.sh

  4. compile (and drink lots of coffe ;))

    make

  5. If the build was successful, lets remove the annoying bar

    nano sd/source/ui/framework/module/ImpressModule.cxx

    Remove the following part in method "ImpressModule::Initialize" by selecting and deleting it

    new ViewTabBarModule(
    rxController,
    FrameworkHelper::CreateResourceId(
        FrameworkHelper::msViewTabBarURL,
        FrameworkHelper::msCenterPaneURL));
    

    Press Ctrl+x and confirm with 'y'

  6. Build the modified module

    make sd

  7. Start Impress and be happy

    ./instdir/program/soffice --impress

Have fun,

Klaus

[1] https://wiki.documentfoundation.org/D...

[2] https://wiki.documentfoundation.org/D...

2015-08-17 13:41:42 +0200 asked a question Where to find the Sourcecode for the "Normal, Outline, Notes, Handout, Slide Sorter" tab-bar in Impress

Hi,

inspired by the answer to a previous question [1] I would like to modify the sourcecode to completely remove the "Normal, Outline, Notes, Handout, Slide Sorter" bar in impress. I am using Impress on my Lenovo X230 and this bar wastes way to much space on this low resolution screen.

I already set up the build environment and am able to compile libreoffice. However, I am struggeling to find the correct locations in the source code which are responsible for this bar in impress.

Could someone be so kind and point me to the correct file(s) to get rid of this bar?

Thank you very much!

[1] http://ask.libreoffice.org/en/questio...