Commit Graph

11 Commits

Author SHA1 Message Date
Jan Holesovsky
73cf6f3275 Doxygen needs ///< for inline comments, not only //<.
Change-Id: Ib8db74de1f18342794713952470e26ba87bc75fe
2012-07-17 14:26:06 +02:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Jan Holesovsky
aa3bfbe776 Header/Footer, Page Breaks: Delay appearing by 500ms.
The delay was a good idea, just the 1s was too long.
2012-01-07 04:28:18 +01:00
Jan Holesovsky
6abeafcd6a Page Breaks: Vertically center the control.
It is not necessary to draw it below the line when we draw it where the cursor
stands; avoids disappearing when the user moves the cursor a bit up.
2012-01-07 04:28:17 +01:00
Cédric Bosdonnat
965e72d64c Page Break: show the page break right under the mouse 2012-01-04 14:03:00 +01:00
Jan Holesovsky
64e08fd3c5 Header/Footer: Show / hide the control immediately.
- When the mouse pointer enters or leaves the headers / footers, show or hide
  the header / footer control immediately.  Waiting for that to appear is
  annoying; and similarly for disappearing - one usually ended up clicking the
  header / footer area to speed that up, and had a feeling of misbehaving.

- Few related re-paint improvements
2011-12-29 13:46:20 +01:00
Jan Holesovsky
ee1eb92655 Improve usability of the Page Break control.
- use the same fade in/out values that we use for headers/footers
- clicking on the line opens the menu too
- clicking outside the menu hides the button
- leaving the line or the button hides the button immediately
2011-12-22 12:05:09 +01:00
Cédric Bosdonnat
610b7bc594 Page Break: fix crash when changing from break before to break after
Keeping a temporary copy of the shared_ptr to avoid the object to be
deleted during the Select method.
2011-11-02 13:21:57 +01:00
Cédric Bosdonnat
6604fee625 Page Break: fade in / fade out the button when mouse if over the line 2011-10-10 23:07:29 +02:00
Cédric Bosdonnat
61ae8caa02 Page Break: show the button on the right for book mode view 2011-10-10 12:53:46 +02:00
Cédric Bosdonnat
5277f81090 Page Break: Changed the page break into a control
Page break changes (no impact on column breaks):
  + Create a MenuButton control for the page break
  + Moved the line to a SwDashedLine
2011-09-23 22:24:36 +02:00