2010-10-14 08:30:41 +02:00
|
|
|
/* -*- 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
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 09:42:05 +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
|
|
|
*
|
2010-02-12 15:01:35 +01: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
|
|
|
*
|
2008-04-10 09:42:05 +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
|
|
|
*
|
2008-04-10 09:42:05 +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
|
|
|
*
|
2008-04-10 09:42:05 +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
|
|
|
*
|
2008-04-10 09:42:05 +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
|
|
|
*
|
2008-04-10 09:42:05 +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>
|
2010-01-08 18:32:51 +01:00
|
|
|
#include <editeng/outlobj.hxx>
|
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>
|
2009-02-13 14:09:50 +00:00
|
|
|
#include <unotools/configitem.hxx>
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <unotools/options.hxx>
|
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>
|
2010-01-12 10:43:45 +01:00
|
|
|
#include <SidebarWindowsTypes.hxx>
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/lstner.hxx>
|
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;
|
2008-05-30 08:27:33 +00:00
|
|
|
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;
|
2008-04-11 12:59:18 +00:00
|
|
|
class SvxSearchItem;
|
2008-06-16 07:13:25 +00:00
|
|
|
class SvxLanguageItem;
|
2010-01-12 10:43:45 +01:00
|
|
|
namespace sw { namespace annotation {
|
|
|
|
class SwAnnotationWin;
|
|
|
|
}}
|
|
|
|
namespace sw { namespace sidebarwindows {
|
|
|
|
class SwSidebarWin;
|
2010-02-02 15:11:26 +01:00
|
|
|
class SwFrmSidebarWinContainer;
|
2010-01-12 10:43:45 +01:00
|
|
|
}}
|
|
|
|
class SwSidebarItem;
|
2010-02-02 15:11:26 +01:00
|
|
|
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)
|
|
|
|
|
2010-01-12 10:43:45 +01:00
|
|
|
typedef std::list<SwSidebarItem*> SwSidebarItem_list;
|
|
|
|
typedef std::list<SwSidebarItem*>::iterator SwSidebarItem_iterator;
|
2009-02-13 14:09:50 +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
|
|
|
|
|
|
|
struct SwPostItPageItem
|
|
|
|
{
|
|
|
|
bool bScrollbar;
|
2010-01-12 10:43:45 +01:00
|
|
|
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;
|
2010-01-12 10:43:45 +01:00
|
|
|
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)
|
|
|
|
{
|
2010-01-12 10:43:45 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2008-05-30 08:27:33 +00:00
|
|
|
struct FieldShadowState
|
|
|
|
{
|
|
|
|
const SwPostItField* mpShadowFld;
|
|
|
|
bool bCursor;
|
|
|
|
bool bMouse;
|
2008-06-16 07:13:25 +00:00
|
|
|
FieldShadowState(): mpShadowFld(0),bCursor(false),bMouse(false)
|
|
|
|
{
|
|
|
|
}
|
2008-05-30 08:27:33 +00:00
|
|
|
};
|
|
|
|
|
2009-02-13 14:09:50 +00:00
|
|
|
class SwNoteProps: public utl::ConfigItem
|
|
|
|
{
|
|
|
|
private:
|
2010-02-02 15:11:26 +01:00
|
|
|
bool bIsShowAnchor;
|
2009-02-13 14:09:50 +00:00
|
|
|
public:
|
2010-01-12 10:43:45 +01:00
|
|
|
SwNoteProps()
|
2010-10-27 11:38:46 +01:00
|
|
|
: ConfigItem(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Writer/Notes")))
|
2010-02-02 15:11:26 +01:00
|
|
|
, bIsShowAnchor(false)
|
2009-02-13 14:09:50 +00:00
|
|
|
{
|
2010-01-12 10:43:45 +01:00
|
|
|
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();
|
2011-05-08 22:14:45 +02:00
|
|
|
OSL_ENSURE(aValues.getLength() == rNames.getLength(), "GetProperties failed");
|
2009-02-13 14:09:50 +00:00
|
|
|
if (aValues.getLength())
|
2010-02-02 15:11:26 +01:00
|
|
|
pValues[0]>>=bIsShowAnchor;
|
2009-02-13 14:09:50 +00:00
|
|
|
}
|
|
|
|
|
2010-02-02 15:11:26 +01:00
|
|
|
bool IsShowAnchor()
|
2009-02-13 14:09:50 +00:00
|
|
|
{
|
2010-02-02 15:11:26 +01:00
|
|
|
return bIsShowAnchor;
|
2009-02-13 14:09:50 +00:00
|
|
|
}
|
2010-10-27 11:38:46 +01:00
|
|
|
::com::sun::star::uno::Sequence< ::rtl::OUString >& GetPropertyNames()
|
|
|
|
{
|
2010-01-12 10:43:45 +01:00
|
|
|
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"));
|
2009-02-13 14:09:50 +00:00
|
|
|
}
|
2010-10-27 11:38:46 +01:00
|
|
|
return aNames;
|
|
|
|
}
|
2009-10-16 00:05:16 +02:00
|
|
|
|
|
|
|
virtual void Commit();
|
|
|
|
virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames );
|
2009-02-13 14:09:50 +00:00
|
|
|
};
|
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;
|
2010-01-12 10:43:45 +01:00
|
|
|
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;
|
2011-01-17 15:06:54 +01:00
|
|
|
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;
|
2010-01-12 10:43:45 +01:00
|
|
|
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;
|
2008-04-11 12:59:18 +00:00
|
|
|
bool mbReadOnly;
|
|
|
|
bool mbDeleteNote;
|
2008-05-30 08:27:33 +00:00
|
|
|
FieldShadowState mShadowState;
|
2009-01-02 15:51:45 +00:00
|
|
|
OutlinerParaObject* mpAnswer;
|
2010-02-02 15:11:26 +01:00
|
|
|
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
|
|
|
|
2010-02-02 15:11:26 +01: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
|
|
|
|
2010-01-12 10:43:45 +01: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);
|
2010-01-12 10:43:45 +01:00
|
|
|
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 );
|
2010-01-12 10:43:45 +01:00
|
|
|
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);
|
2010-01-12 10:43:45 +01:00
|
|
|
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();
|
2011-01-17 15:06:54 +01:00
|
|
|
bool ArrowEnabled(sal_uInt16 aDirection,unsigned long aPage) const;
|
2009-02-13 14:09:50 +00:00
|
|
|
bool BorderOverPageBorder(unsigned long aPage) const;
|
|
|
|
bool HasScrollbars() const;
|
2009-01-02 15:51:45 +00:00
|
|
|
void Focus(SfxBroadcaster& rBC);
|
2008-06-16 07:13:25 +00:00
|
|
|
|
2009-09-11 10:21:51 +00:00
|
|
|
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();
|
2009-09-11 10:21:51 +00:00
|
|
|
DECL_LINK( CalcHdl, void*);
|
2010-01-19 08:57:57 +01:00
|
|
|
|
|
|
|
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();
|
|
|
|
|
2010-01-12 10:43:45 +01:00
|
|
|
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();
|
|
|
|
|
2010-01-12 10:43:45 +01:00
|
|
|
void MakeVisible( const sw::sidebarwindows::SwSidebarWin* pPostIt,
|
|
|
|
long aPage = -1);
|
2008-04-11 12:59:18 +00:00
|
|
|
|
2008-03-07 13:48:41 +00:00
|
|
|
bool ShowScrollbar(const unsigned long aPage) const;
|
|
|
|
bool HasNotes() const ;
|
|
|
|
bool ShowNotes() const;
|
2010-02-02 15:11:26 +01:00
|
|
|
bool IsShowAnchor() { return mbIsShowAnchor;}
|
2008-03-07 13:48:41 +00:00
|
|
|
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();
|
|
|
|
|
2008-04-11 12:59:18 +00:00
|
|
|
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();
|
|
|
|
|
2008-03-07 13:48:41 +00:00
|
|
|
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);
|
2011-01-17 15:06:54 +01:00
|
|
|
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
|
|
|
|
2010-02-16 14:30:17 +01:00
|
|
|
sw::annotation::SwAnnotationWin* GetAnnotationWin(const SwPostItField* pFld) const;
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sw::sidebarwindows::SwSidebarWin* GetNextPostIt( sal_uInt16 aDirection,
|
2010-01-12 10:43:45 +01:00
|
|
|
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();
|
2010-01-12 10:43:45 +01:00
|
|
|
|
|
|
|
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();
|
|
|
|
|
2008-03-07 13:48:41 +00:00
|
|
|
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
|
|
|
|
2008-05-30 08:27:33 +00:00
|
|
|
void SetShadowState(const SwPostItField* pFld,bool bCursor = true);
|
|
|
|
|
2008-06-16 07:13:25 +00:00
|
|
|
void SetSpellChecking();
|
2008-05-30 08:27:33 +00:00
|
|
|
|
2009-01-02 15:51:45 +00:00
|
|
|
Color GetColorDark(sal_uInt16 aAuthorIndex);
|
|
|
|
Color GetColorLight(sal_uInt16 aAuthorIndex);
|
2010-02-02 15:11:26 +01:00
|
|
|
Color GetColorAnchor(sal_uInt16 aAuthorIndex);
|
2009-01-02 15:51:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
void RegisterAnswer(OutlinerParaObject* pAnswer) { mpAnswer = pAnswer;}
|
|
|
|
OutlinerParaObject* IsAnswer() {return mpAnswer;}
|
2009-02-13 14:09:50 +00:00
|
|
|
void CheckMetaText();
|
|
|
|
void StartSpelling();
|
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);
|
2009-09-11 10:21:51 +00:00
|
|
|
|
2010-02-02 15:11:26 +01:00
|
|
|
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
|
2009-09-11 10:21:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|