path: root/sw/source/ui/docvw/HeaderFooterWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-08-29SwHeaderFooterWin: memory leakIvan Timofeev1-0/+1
Change-Id: Ie8322b93745c48970766c2033a23cca2c710a516 (cherry picked from commit 442d0766eb9575a45572e29f2018bed2831c177f) Reviewed-on: Reviewed-by: Bosdonnat Cedric <> Tested-by: Bosdonnat Cedric <> Reviewed-by: Norbert Thiebaud <> Tested-by: Norbert Thiebaud <>
2012-02-13Header/Footer, Page Break: don't show them in RO mode (fdo#45548)Cédric Bosdonnat1-51/+46
Signed-off-by: Jan Holesovsky <>
2012-01-10Header/Footer, Page Breaks: Delay appearing by 500ms.Jan Holesovsky1-1/+13
The delay was a good idea, just the 1s was too long.
2012-01-10Header/Footer: Show / hide the control immediately.Jan Holesovsky1-3/+16
- 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 Signed-off-by: Stefan Knorr (Astron) <> Signed-off-by: Cor Nouws <> Signed-off-by: Michael Meeks <>
2012-01-04Page Break, Header/Footer: fixed the line color change if config changesCédric Bosdonnat1-2/+1
2012-01-03another string composition bad for l10nAndras Timar1-9/+9
Delete $1 / Format $1 where $1 can be Header / Footer It turned out that translation of Header and Footer can be different when deleting and when formatting, at least in Estonian.
2011-12-16fdo#43790: RTL PopupMenu position fixesCédric Bosdonnat1-12/+8
Fixed the Writer PageBreak and Header/Footer indicator position. It also fixed the popup menu position in RTL UI for all PopupButton instances.
2011-12-14Header/Footer: RTL display fixes (fdo#43793)Cédric Bosdonnat1-3/+11
2011-12-07Header/Footer: update the label as the page style may have changedCédric Bosdonnat1-7/+7
2011-11-21Improved Header/Footer UI framerateThomas Collerton1-3/+3
2011-10-13Fix build problem with the 'attribute' namespace.Fridrich Štrba1-3/+3
2011-10-12Header/Footer: Implemented fade in/outCédric Bosdonnat1-4/+46
2011-10-12Header/Footer: using the drawinglayer to paint the indicatorCédric Bosdonnat1-77/+163
First step before implementing Fade In/Out
2011-09-23Page Break: Changed the page break into a controlCédric Bosdonnat1-1/+2
Page break changes (no impact on column breaks): + Create a MenuButton control for the page break + Moved the line to a SwDashedLine
2011-09-21Header/Footer: Extracted a few common things to a SwFrameControl classCédric Bosdonnat1-13/+13
2011-09-20Header/Footer: move the separator line painting to a Window controlCédric Bosdonnat1-2/+22
This avoids drawing control things on the document OutputDevice and helps keeping them properly refreshed without refreshing the whole document layout.
2011-09-15Header/Footer: add the Border and Background... menu itemCédric Bosdonnat1-0/+48
2011-09-13Header/Footer: handle high contrast mode in Paint methodCédric Bosdonnat1-15/+30
2011-09-13Header/Footer: use a plus symbol instead of the add iconCédric Bosdonnat1-29/+18
This will help drawing the high contrast mode and makes the plus more visible even given the background color.
2011-09-13Header/Footer: shared code for the insertion/removalCédric Bosdonnat1-38/+15
Moved the ChangedHeaderOrFooter method from SwTextShell to SwWrtShell for it to be accessible from the SwHeaderFooterWin objects... and that method didn't really need to be in the root shell. That fixed a few quirks from the copied code in SwHeaderFooterWin.
2011-09-13Header/Footer: display improvementsCédric Bosdonnat1-2/+22
Changed the following: + Draw a gradient in the separator tabs background + Draw a solid line under the dotted one to have a contrast for some page background colors.
2011-09-12Header/Footer: the whole separator tab is now a menu buttonCédric Bosdonnat1-115/+70
2011-09-12Header/Footer: small painting improvementsCédric Bosdonnat1-1/+1
The dashed line is now 1px wide and has smaller dashes. The separator button has also smaller padding.
2011-09-09Header/Footer: adjusted popup menu textsCédric Bosdonnat1-1/+15
2011-09-09Header/Footer: don't show the separator action in readonly modeCédric Bosdonnat1-1/+14
2011-09-08Header/Footer: implement the edit menu itemCédric Bosdonnat1-2/+14
Opens the page style at the header or footer tab.
2011-09-08Header/Footer: added the popup menu of the separatorCédric Bosdonnat1-10/+47
Removing the header/footer is working, but the edition still needs to be implemented
2011-09-08Header/Footer: implement the header creation when clicking on +Cédric Bosdonnat1-0/+41
Remaining UI bug: the cursor should be placed in the newly created footer when creating a footer. It's currently set to the header.
2011-09-08Header/Footer: just don't always drop and create SwHeaderFooterWinCédric Bosdonnat1-16/+22
This minimizes the number of creation / deletion of SwHeaderFooterWin objects and simply updates the existing ones.
2011-09-08Header/Footer: vertically center the text in the separator controlCédric Bosdonnat1-2/+5
2011-09-08Header/Footer: Use a Window with WB_DIALOGCONTROL to fix loads of bugsCédric Bosdonnat1-69/+49
Bugs fixed by this change: * The Header/footer window is now moving with the parent window * The Window rectangle is adapted to the parent area and doesn't go over the scrollbar * The windows are shown properly in all cases
2011-09-06Header/Footer: added the menu button to the separator.Cédric Bosdonnat1-15/+152
Show either a SPIN_DOWN arrow if there is a header or a plus is there is none.
2011-09-06Header/Footers: SwPageDesc as a member of SwHeaderFooterWinCédric Bosdonnat1-5/+14
2011-09-06Header/Footer: moved the SwHeaderFooterWin to separate {h,c}xx filesCédric Bosdonnat1-0/+122