Terry Alexis Lurie wrote:
You have found the answer yourself already: dispatch .uno:LeftPaneDraw

Thank you. I had tried this, but must have missed some detail. I'll retry.

2) The Custom Horizontal Scrollbar - Draw/Impress
    - In Draw it opens to \ Layout /\ Controls /\ DimensionLines /

This is not possible because there is no API for this. The Draw API is document centered and neglects many aspects of the view.

Could I re-compile OpenOffice from source to replace or minimize this custom 
scrollbar?
If you could please give me some hints on where to find it in the *.cxx that 
would be much appreciated.

Hi Terry,

The code you are looking for is located in sd/source/ui/view/grviewsh.cxx in the GraphicViewShell::ConstructGraphicViewShell() method. In here the mpLayerTabBar member is initialized and made visible. This tab bar ist the one you want to hide.

The easiest and safest way to do this is to prevent the final call to mpLayerTabBar->Show(). The advantage over not even creating the layer tab bar is that the Format->Layer... dialog does not crash when opened.

Additionally you should change the GraphicViewShell::ChangeEditMode() method in sd/source/ui/view/grviewsh.cxx. Its call to DrawViewShell::ChangeEditMode(eMode,true);
should be
DrawViewShell::ChangeEditMode(eMode,false);
instead.  This should disable the Format->Layer... dialog.

I did not test the second change so please be carefull.



Sincerely,

Terry.

Best regards,

Andre

--
Andre Fischer (af)
Software Engineer, StarOffice/OpenOffice Impress, http://www.sun.com/StarOffice

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to