Files
libreoffice/sw/inc/PostItMgr.hxx

299 lines
11 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
*
* This file is part of OpenOffice.org.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
*
************************************************************************/
#ifndef _POSTITMGR_HXX
#define _POSTITMGR_HXX
#include <list>
#include <vector>
#include <editeng/outlobj.hxx>
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
#include <tools/string.hxx>
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
#include <tools/link.hxx>
#include <swrect.hxx>
#include <unotools/configitem.hxx>
#include <unotools/options.hxx>
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
#include <com/sun/star/util/SearchOptions.hpp>
2009-03-09 14:07:33 +00:00
#include <com/sun/star/uno/Any.hxx>
#include <SidebarWindowsTypes.hxx>
#include <svl/lstner.hxx>
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
class SwWrtShell;
class SwDoc;
class SwView;
class SwPostItField;
class SwFmtFld;
class SwField;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
class SfxBroadcaster;
class SfxHint;
class SwEditWin;
class Color;
class SvxSearchItem;
class SvxLanguageItem;
namespace sw { namespace annotation {
class SwAnnotationWin;
}}
namespace sw { namespace sidebarwindows {
class SwSidebarWin;
class SwFrmSidebarWinContainer;
}}
class SwSidebarItem;
class SwFrm;
class Window;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
#define SORT_POS 1
#define SORT_AUTHOR 2
#define SORT_DATE 3
#define COL_NOTES_SIDEPANE_ARROW_ENABLED RGB_COLORDATA(0,0,0)
#define COL_NOTES_SIDEPANE_ARROW_DISABLED RGB_COLORDATA(172,168,153)
typedef std::list<SwSidebarItem*> SwSidebarItem_list;
typedef std::list<SwSidebarItem*>::iterator SwSidebarItem_iterator;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
struct SwPostItPageItem
{
bool bScrollbar;
sw::sidebarwindows::SidebarPosition eSidebarPosition;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
long lOffset;
SwRect mPageRect;
SwSidebarItem_list* mList;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
SwPostItPageItem(): bScrollbar(false),lOffset(0)
{
mList = new SwSidebarItem_list;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
}
~SwPostItPageItem()
{
mList->clear();
delete mList;
}
};
struct FieldShadowState
{
const SwPostItField* mpShadowFld;
bool bCursor;
bool bMouse;
FieldShadowState(): mpShadowFld(0),bCursor(false),bMouse(false)
{
}
};
class SwNoteProps: public utl::ConfigItem
{
private:
bool bIsShowAnchor;
public:
SwNoteProps()
2010-10-27 11:38:46 +01:00
: ConfigItem(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Writer/Notes")))
, bIsShowAnchor(false)
{
const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rNames = GetPropertyNames();
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > aValues = GetProperties(rNames);
const ::com::sun::star::uno::Any* pValues = aValues.getConstArray();
OSL_ENSURE(aValues.getLength() == rNames.getLength(), "GetProperties failed");
if (aValues.getLength())
pValues[0]>>=bIsShowAnchor;
}
bool IsShowAnchor()
{
return bIsShowAnchor;
}
2010-10-27 11:38:46 +01:00
::com::sun::star::uno::Sequence< ::rtl::OUString >& GetPropertyNames()
{
static ::com::sun::star::uno::Sequence< ::rtl::OUString > aNames;
2010-10-27 11:38:46 +01:00
if(!aNames.getLength())
{
aNames.realloc(1);
::rtl::OUString* pNames = aNames.getArray();
pNames[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ShowAnkor"));
}
2010-10-27 11:38:46 +01:00
return aNames;
}
virtual void Commit();
virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames );
};
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
class SwPostItMgr: public SfxListener
{
private:
SwView* mpView;
SwWrtShell* mpWrtShell;
SwEditWin* mpEditWin;
std::list< SwSidebarItem*> mvPostItFlds;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
std::vector<SwPostItPageItem*> mPages;
sal_uLong mnEventId;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
bool mbWaitingForCalcRects;
sw::sidebarwindows::SwSidebarWin* mpActivePostIt;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
bool mbLayout;
long mbLayoutHeight;
long mbLayouting;
bool mbReadOnly;
bool mbDeleteNote;
FieldShadowState mShadowState;
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
OutlinerParaObject* mpAnswer;
bool mbIsShowAnchor;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
// data structure to collect the <SwSidebarWin> instances for certain <SwFrm> instances.
sw::sidebarwindows::SwFrmSidebarWinContainer* mpFrmSidebarWinContainer;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
typedef std::list<sw::sidebarwindows::SwSidebarWin*>::iterator SwSidebarWin_iterator;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
void AddPostIts(bool bCheckExistance = true,bool bFocus = true);
void RemoveSidebarWin();
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
void PreparePageContainer();
void Scroll(const long lScroll,const unsigned long aPage );
void AutoScroll(const sw::sidebarwindows::SwSidebarWin* pPostIt,const unsigned long aPage );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
bool ScrollbarHit(const unsigned long aPage,const Point &aPoint);
bool LayoutByPage( std::list<sw::sidebarwindows::SwSidebarWin*> &aVisiblePostItList,
const Rectangle aBorder,
long lNeededHeight);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
void CheckForRemovedPostIts();
bool ArrowEnabled(sal_uInt16 aDirection,unsigned long aPage) const;
bool BorderOverPageBorder(unsigned long aPage) const;
bool HasScrollbars() const;
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
void Focus(SfxBroadcaster& rBC);
sal_Int32 GetInitialAnchorDistance() const;
sal_Int32 GetScrollSize() const;
sal_Int32 GetSpaceBetween() const;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
void SetReadOnlyState();
DECL_LINK( CalcHdl, void*);
sw::sidebarwindows::SwSidebarWin* GetSidebarWin(const SfxBroadcaster* pBroadcaster) const;
void InsertItem( SfxBroadcaster* pItem, bool bCheckExistance, bool bFocus);
void RemoveItem( SfxBroadcaster* pBroadcast );
void Sort(const short aType);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
public:
SwPostItMgr(SwView* aDoc);
~SwPostItMgr();
typedef std::list< SwSidebarItem* >::const_iterator const_iterator;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
const_iterator begin() const { return mvPostItFlds.begin(); }
const_iterator end() const { return mvPostItFlds.end(); }
void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
void LayoutPostIts();
bool CalcRects();
void MakeVisible( const sw::sidebarwindows::SwSidebarWin* pPostIt,
long aPage = -1);
bool ShowScrollbar(const unsigned long aPage) const;
bool HasNotes() const ;
bool ShowNotes() const;
bool IsShowAnchor() { return mbIsShowAnchor;}
unsigned long GetSidebarWidth(bool bPx = false) const;
unsigned long GetSidebarBorderWidth(bool bPx = false) const;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
unsigned long GetNoteWidth();
void PrepareView(bool bIgnoreCount = false);
void CorrectPositions();
void SetLayout() { mbLayout = true; };
void Delete(String aAuthor);
void Delete();
void Hide( const String& rAuthor );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
void Hide();
void Show();
void Rescale();
Rectangle GetBottomScrollRect(const unsigned long aPage) const;
Rectangle GetTopScrollRect(const unsigned long aPage) const;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
bool IsHit(const Point &aPointPixel);
Color GetArrowColor(sal_uInt16 aDirection,unsigned long aPage) const;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
sw::annotation::SwAnnotationWin* GetAnnotationWin(const SwPostItField* pFld) const;
sw::sidebarwindows::SwSidebarWin* GetNextPostIt( sal_uInt16 aDirection,
sw::sidebarwindows::SwSidebarWin* aPostIt);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
long GetNextBorder();
sw::sidebarwindows::SwSidebarWin* GetActiveSidebarWin() { return mpActivePostIt; }
void SetActiveSidebarWin( sw::sidebarwindows::SwSidebarWin* p);
bool HasActiveSidebarWin() const;
bool HasActiveAnnotationWin() const;
void GrabFocusOnActiveSidebarWin();
void UpdateDataOnActiveSidebarWin();
void DeleteActiveSidebarWin();
void HideActiveSidebarWin();
void ToggleInsModeOnActiveSidebarWin();
sal_Int32 GetMinimumSizeWithMeta() const;
sal_Int32 GetSidebarScrollerHeight() const;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
void SetShadowState(const SwPostItField* pFld,bool bCursor = true);
void SetSpellChecking();
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
Color GetColorDark(sal_uInt16 aAuthorIndex);
Color GetColorLight(sal_uInt16 aAuthorIndex);
Color GetColorAnchor(sal_uInt16 aAuthorIndex);
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
void RegisterAnswer(OutlinerParaObject* pAnswer) { mpAnswer = pAnswer;}
OutlinerParaObject* IsAnswer() {return mpAnswer;}
void CheckMetaText();
void StartSpelling();
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
sal_uInt16 Replace(SvxSearchItem* pItem);
sal_uInt16 SearchReplace(const SwFmtFld &pFld, const ::com::sun::star::util::SearchOptions& rSearchOptions,bool bSrchForward);
sal_uInt16 FinishSearchReplace(const ::com::sun::star::util::SearchOptions& rSearchOptions,bool bSrchForward);
void AssureStdModeAtShell();
void ConnectSidebarWinToFrm( const SwFrm& rFrm,
const SwFmtFld& rFmtFld,
sw::sidebarwindows::SwSidebarWin& rSidebarWin );
void DisconnectSidebarWinFromFrm( const SwFrm& rFrm,
sw::sidebarwindows::SwSidebarWin& rSidebarWin );
bool HasFrmConnectedSidebarWins( const SwFrm& rFrm );
Window* GetSidebarWinForFrmByIndex( const SwFrm& rFrm,
const sal_Int32 nIndex );
void GetAllSidebarWinForFrm( const SwFrm& rFrm,
std::vector< Window* >* pChildren );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included 2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit 2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu 2008/01/25 17:46:08 mod 1.1.2.53: View - Notes 2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends 2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas 2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes 2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits 2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits 2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits 2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location 2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window 2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar 2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering 2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border 2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed 2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions 2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border 2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar 2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields 2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes 2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page 2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows 2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page 2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm 2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file 2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import 2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed 2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths 2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing 2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines 2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking 2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view 2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note 2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes 2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places 2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes 2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border 2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies 2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified 2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits 2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called 2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid 2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout 2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event 2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit 2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date 2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193# 2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint 2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations 2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */