Commit Graph

8 Commits

Author SHA1 Message Date
Cédric Bosdonnat
58c4853f54 Page Break: fix remaining indicator in some cases
When creating a new page without using a page break, before a page
break, there was a remaining indicator. These are now checked and
removed to avoid such cases.
2012-01-04 17:38:20 +01:00
Jan Holesovsky
cce76e658a Header/Footer: When editing, show only the appropriate conrol.
Instead of showing both the header and footer controls, show only the
footer-related if in footer, or header-related if in header.
2011-12-29 13:47:05 +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
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
a12a2b63e2 Removed some -Weffc++ warnings from the Header/Footer work 2011-10-18 13:00:38 +02:00
Cédric Bosdonnat
fadb5d1dcd Page Break: fixed crasher due to bad removal of frame controls 2011-10-04 13:16:33 +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
Cédric Bosdonnat
e19f926ba2 Header/Footer: refactored the SwEditWin to extend it to page breaks 2011-09-21 17:44:51 +02:00