Solve short text line and much white space in Outline View

Discuss the presentation application
Post Reply
Balam
Posts: 8
Joined: Fri Jan 14, 2011 5:40 am
Location: Gent, Belgium

Solve short text line and much white space in Outline View

Post by Balam »

The page width for the Outline View is set to a rather small value, making text wrapping to the next line and leaving a large white margin on the right side.
On the Outline Toolbar you can set formatting off, but the margin stays.

>> If you want to use the 'formatting off' option, you can change the default-style font settings for each individual presentation as follows:
  - close your presentations
  - make a backup copy just to be sure
  - use a zip-editor (I use 7-zip) to open your .odp file
  - edit the file 'styles.xml' that's inside the .odp file
  - search its content for 'style:default-style' (without the quotes)
  - between the first and second occurrence, you will find paragraph and text settings
  - the easiest settings to change are the 'font-size' settings
  - I did not test changing other settings, so there you might have some unexpected results

A tip for the developing guys: why not make a default-outline style that can be easily changed (F11) and that is used when the 'formatting off' option is chosen ?


>> If you want to tackle the indentation, you will have to make some patch. The width for the outline view is -yes it is- hard coded.
On a Windows OS with OpenOffice version 3.2.0, I did the following:
  - close any OpenOffice application
  - locate the file sdmi.dll in C:\Program Files\OpenOffice.org 3\program\
  - make a backup copy of the file, just to be sure
  - hex-edit the file sdmi.dll
  - go to address 000453F0 (might be different for other versions !)
  - change code 45E0 384A 0000 into 45E0 409C 0000
  - save the file
  - et voilà, large right margin in Outline View is gone !

Some explanation for the developing guys :-)
  I found in the source code outlview.cxx (and maybe outlineview.hcc ?) some reference to the width of the Outline View
    see http://docs.go-oo.org/sd/html/outlview_8cxx-source.html line 00093 setting width to 19000 *
    and http://docs.go-oo.org/sd/html/OutlineVi ... ource.html line 00125
  Wouldn't it be nice if the average user could change this setting by the means of a ruler ? Or else some default width in a style ? Let the voting begin ...

* 19000 in hex is h4A38, in code it's inversed, so 384A
  I changed it to 40000, in hex h9C40, so the code becomes 409C


Happy OOfcing,
B.
LibreOffice 3.6.2.2 on Xubuntu 12.10
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Solve short text line and much white space in Outline Vi

Post by acknak »

Sorry, there are no developers here to read your suggestions. See: [Tutorial] Reporting bugs or suggestions
AOO4/LO5 • Linux • Fedora 23
Balam
Posts: 8
Joined: Fri Jan 14, 2011 5:40 am
Location: Gent, Belgium

Re: Solve short text line and much white space in Outline Vi

Post by Balam »

I did put a link to this topic in http://qa.openoffice.org/issues/show_bug.cgi?id=68997
the enhancement proposal is there already for some years :-(
Just knowing that changing 2 bytes could make users a little more happy ...
LibreOffice 3.6.2.2 on Xubuntu 12.10
Post Reply