INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 05:49:12 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
2008-04-11 05:49:12 +00:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
2008-04-11 05:49:12 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
2008-04-11 05:49:12 +00:00
|
|
|
* $RCSfile: PostItMgr.cxx,v $
|
2008-04-11 15:12:01 +00:00
|
|
|
*
|
2008-04-22 14:05:10 +00:00
|
|
|
* $Revision: 1.8 $
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
2008-04-11 05:49:12 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
2008-04-11 05:49:12 +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 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
2008-04-11 05:49:12 +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 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
2008-04-11 05:49:12 +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 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_sw.hxx"
|
|
|
|
|
|
|
|
#include "PostItMgr.hxx"
|
|
|
|
|
|
|
|
#include <svtools/smplhint.hxx>
|
|
|
|
|
|
|
|
#include <vcl/svapp.hxx>
|
|
|
|
#include <vcl/scrbar.hxx>
|
|
|
|
|
|
|
|
#ifndef _SWMODULE_HXX
|
|
|
|
|
|
|
|
#include <swmodule.hxx>
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#include <viewopt.hxx>
|
|
|
|
|
|
|
|
#include <view.hxx>
|
|
|
|
#include <docsh.hxx>
|
|
|
|
#include <wrtsh.hxx>
|
|
|
|
#include <doc.hxx>
|
|
|
|
#include <fldbas.hxx>
|
|
|
|
#include <fmtfld.hxx>
|
|
|
|
#include <docufld.hxx>
|
|
|
|
#include <edtwin.hxx>
|
|
|
|
#include <postit.hxx>
|
|
|
|
#include <txtfld.hxx>
|
|
|
|
#include <ndtxt.hxx>
|
2008-04-03 15:59:15 +00:00
|
|
|
#include <SwRewriter.hxx>
|
|
|
|
#include <undobj.hxx>
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
#include <tools/color.hxx>
|
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
#include <docvw.hrc>
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
#include "cmdid.h"
|
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
#include <SwRewriter.hxx>
|
|
|
|
#include <undobj.hxx>
|
|
|
|
|
|
|
|
#include <sfx2/request.hxx>
|
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
#include "../../core/inc/frame.hxx"
|
|
|
|
#include "../../core/inc/cntfrm.hxx"
|
|
|
|
#include "../../core/inc/pagefrm.hxx"
|
|
|
|
#include "../../core/inc/rootfrm.hxx"
|
|
|
|
#include "../../core/inc/frmtool.hxx"
|
|
|
|
|
|
|
|
#include <sfx2/event.hxx>
|
|
|
|
#include <svx/langitem.hxx>
|
2008-04-14 07:56:13 +00:00
|
|
|
|
|
|
|
#include <svx/srchitem.hxx>
|
|
|
|
#include <svx/outliner.hxx>
|
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
#include <vcl/outdev.hxx>
|
|
|
|
|
|
|
|
#include <i18npool/mslangid.hxx>
|
|
|
|
#include <i18npool/lang.h>
|
|
|
|
|
|
|
|
#include "swevent.hxx"
|
|
|
|
#include <sfx2/event.hxx>
|
|
|
|
|
|
|
|
// distance between ankor Y and initial note position
|
|
|
|
#define POSTIT_INITIAL_ANKOR_DISTANCE 20
|
|
|
|
//distance between two postits
|
|
|
|
#define POSTIT_SPACE_BETWEEN 8
|
|
|
|
#define POSTIT_MINIMUMSIZE_WITH_META 60
|
|
|
|
#define POSTIT_SCROLL_SIDEBAR_HEIGHT 20
|
|
|
|
|
|
|
|
// if we layout more often we stop, this should never happen
|
|
|
|
#define MAX_LOOP_COUNT 50
|
|
|
|
|
|
|
|
bool comp_author( const SwPostItItem* a, const SwPostItItem* b)
|
|
|
|
{
|
|
|
|
return a->pFmtFld->GetFld()->GetPar1() < b->pFmtFld->GetFld()->GetPar1();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool comp_date( const SwPostItItem* a, const SwPostItItem* b)
|
|
|
|
{
|
|
|
|
return static_cast<SwPostItField*>(a->pFmtFld->GetFld())->GetDate() < static_cast<SwPostItField*>(b->pFmtFld->GetFld())->GetDate();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool comp_pos(const SwPostItItem *a, const SwPostItItem *b)
|
|
|
|
{
|
|
|
|
// if notes are on the same line, sort by x position, otherwise by y position
|
|
|
|
return (a->mPos.Bottom() == b->mPos.Bottom()) ? a->mPos.Left() < b->mPos.Left() : a->mPos.Bottom() < b->mPos.Bottom();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool comp_id(const SwPostItItem *a, const SwPostItItem *b)
|
|
|
|
{
|
|
|
|
#define TXTFLD pFmtFld->GetTxtFld()
|
|
|
|
if (a->TXTFLD->GetTxtNode().FindFlyStartNode() || b->TXTFLD->GetTxtNode().FindFlyStartNode() ||
|
|
|
|
a->TXTFLD->GetTxtNode().FindHeaderStartNode() || a->TXTFLD->GetTxtNode().FindFooterStartNode() ||
|
|
|
|
b->TXTFLD->GetTxtNode().FindHeaderStartNode() || b->TXTFLD->GetTxtNode().FindFooterStartNode())
|
|
|
|
return (a->mPos.Bottom() == b->mPos.Bottom()) ? a->mPos.Left() < b->mPos.Left() : a->mPos.Bottom() < b->mPos.Bottom();
|
|
|
|
else
|
|
|
|
return ((*a->TXTFLD->GetPosition()) < (*b->TXTFLD->GetPosition()));
|
|
|
|
}
|
|
|
|
|
|
|
|
SwPostItMgr::SwPostItMgr(SwView* pView)
|
|
|
|
: mpView(pView)
|
|
|
|
, mpWrtShell(mpView->GetDocShell()->GetWrtShell())
|
|
|
|
, mpEditWin(&mpView->GetEditWin())
|
|
|
|
, mnEventId(0)
|
|
|
|
, mbWaitingForCalcRects(false)
|
|
|
|
, mpActivePostIt(0)
|
|
|
|
, mbLayout(false)
|
|
|
|
, mbLayoutHeight(0)
|
|
|
|
, mbLayouting(false)
|
2008-04-14 07:56:13 +00:00
|
|
|
, mbReadOnly(mpView->GetDocShell()->IsReadOnly())
|
|
|
|
, mbDeleteNote(true)
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
if(!mpView->GetDrawView() )
|
|
|
|
mpView->GetWrtShell().MakeDrawView();
|
|
|
|
// collect all PostIts that exist after loading the document
|
|
|
|
// don't check for existance for any of them, don't focus them
|
|
|
|
AddPostIts(false,false);
|
|
|
|
StartListening(*mpView->GetDocShell());
|
|
|
|
if (!mvPostItFlds.empty())
|
|
|
|
{
|
|
|
|
mbWaitingForCalcRects = true;
|
|
|
|
mnEventId = Application::PostUserEvent( LINK( this, SwPostItMgr, CalcHdl), 0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SwPostItMgr::~SwPostItMgr()
|
|
|
|
{
|
|
|
|
if ( mnEventId )
|
|
|
|
Application::RemoveUserEvent( mnEventId );
|
|
|
|
// forget about all PostItFields
|
|
|
|
RemovePostIts();
|
|
|
|
EndListening( *mpView->GetDocShell() );
|
|
|
|
|
|
|
|
for(std::vector<SwPostItPageItem*>::iterator i = mPages.begin(); i!= mPages.end() ; i++)
|
|
|
|
delete (*i);
|
|
|
|
mPages.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::CheckForRemovedPostIts()
|
|
|
|
{
|
|
|
|
bool bRemoved = false;
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end(); )
|
|
|
|
{
|
|
|
|
std::list<SwPostItItem*>::iterator it = i++;
|
|
|
|
if ( !(*it)->pFmtFld->IsFldInDoc() )
|
|
|
|
{
|
|
|
|
SwPostItItem* p = (*it);
|
|
|
|
mvPostItFlds.remove(*it);
|
2008-04-14 07:56:13 +00:00
|
|
|
if (p->pPostIt)
|
|
|
|
delete p->pPostIt;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
delete p;
|
|
|
|
bRemoved = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( bRemoved )
|
|
|
|
{
|
|
|
|
// make sure that no deleted items remain in page lists
|
|
|
|
// todo: only remove deleted ones?!
|
|
|
|
if ( mvPostItFlds.empty() )
|
2008-04-14 07:56:13 +00:00
|
|
|
{
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
PreparePageContainer();
|
2008-04-14 07:56:13 +00:00
|
|
|
PrepareView();
|
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
else
|
|
|
|
// if postits are their make sure that page lists are not empty
|
|
|
|
// otherwise sudden paints can cause pain (in BorderOverPageBorder)
|
|
|
|
CalcRects();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::InsertFld(SwFmtFld* aField, bool bCheckExistance, bool bFocus)
|
|
|
|
{
|
|
|
|
if (bCheckExistance)
|
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
if ( (*i)->pFmtFld == aField )
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mbLayout = bFocus;
|
|
|
|
mvPostItFlds.push_back(new SwPostItItem(aField, true, bFocus) );
|
|
|
|
// listen for removal of field
|
|
|
|
StartListening( *aField );
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::RemoveFld( SfxBroadcaster* pFld )
|
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
if ( (*i)->pFmtFld == pFld )
|
|
|
|
{
|
|
|
|
SwPostItItem* p = (*i);
|
|
|
|
mvPostItFlds.remove(*i);
|
|
|
|
if (GetActivePostIt() == p->pPostIt)
|
|
|
|
SetActivePostIt(0);
|
2008-04-14 07:56:13 +00:00
|
|
|
delete p->pPostIt;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
delete p;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2008-04-14 07:56:13 +00:00
|
|
|
mbLayout = true;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
|
|
|
|
{
|
|
|
|
if ( rHint.IsA(TYPE(SfxEventHint) ) )
|
|
|
|
{
|
|
|
|
sal_uInt32 nId = ((SfxEventHint&)rHint).GetEventId();
|
|
|
|
if ( nId == SW_EVENT_LAYOUT_FINISHED )
|
|
|
|
{
|
|
|
|
if ( !mbWaitingForCalcRects && !mvPostItFlds.empty())
|
|
|
|
{
|
|
|
|
mbWaitingForCalcRects = true;
|
|
|
|
mnEventId = Application::PostUserEvent( LINK( this, SwPostItMgr, CalcHdl), 0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ( rHint.IsA(TYPE(SfxSimpleHint) ) )
|
|
|
|
{
|
|
|
|
sal_uInt32 nId = ((SfxSimpleHint&)rHint).GetId();
|
|
|
|
switch ( nId )
|
|
|
|
{
|
|
|
|
case SFX_HINT_MODECHANGED:
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( mbReadOnly != !!(mpView->GetDocShell()->IsReadOnly()) )
|
|
|
|
{
|
|
|
|
mbReadOnly = !mbReadOnly;
|
|
|
|
SetReadOnlyState();
|
|
|
|
mbLayout = true;
|
|
|
|
}
|
|
|
|
break;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
case SFX_HINT_DOCCHANGED:
|
|
|
|
{
|
|
|
|
if ( mpView->GetDocShell() == &rBC )
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
// when a note has focus and the text is changed, we end up here, as the document's modifier is set as well
|
|
|
|
// but we do not want a new layout nor a change of the viewport,
|
|
|
|
// which we would get in CalcRects because of CrsrShell::Pop()
|
|
|
|
if ( !mbWaitingForCalcRects && !mvPostItFlds.empty() && !GetActivePostIt())
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
mbWaitingForCalcRects = true;
|
|
|
|
mnEventId = Application::PostUserEvent( LINK( this, SwPostItMgr, CalcHdl), 0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
2008-04-14 07:56:13 +00:00
|
|
|
case SFX_HINT_USER04:
|
|
|
|
{
|
|
|
|
// if we are in a SplitNode/Cut operation, do not delete note and then add again, as this will flicker
|
|
|
|
mbDeleteNote = !mbDeleteNote;
|
|
|
|
break;
|
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
case SFX_HINT_DYING:
|
|
|
|
{
|
|
|
|
if ( mpView->GetDocShell() != &rBC )
|
|
|
|
{
|
|
|
|
// field to be removed is the broadcaster
|
|
|
|
DBG_ERROR("Notification for removed SwFmtFld was not sent!");
|
|
|
|
RemoveFld(&rBC);
|
|
|
|
PrepareView();
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ( rHint.IsA(TYPE(SwFmtFldHint) ) )
|
|
|
|
{
|
|
|
|
SwFmtFld* pFld = const_cast <SwFmtFld*>( ((SwFmtFldHint&)rHint).GetField() );
|
|
|
|
switch ( ((SwFmtFldHint&)rHint).Which() )
|
|
|
|
{
|
|
|
|
case SWFMTFLD_INSERTED :
|
|
|
|
{
|
|
|
|
if (!pFld)
|
|
|
|
{
|
|
|
|
AddPostIts(true);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
// get field to be inserted from hint
|
|
|
|
if ( pFld->IsFldInDoc() )
|
|
|
|
{
|
|
|
|
bool bEmpty = mvPostItFlds.empty();
|
|
|
|
InsertFld( pFld, true, false );
|
|
|
|
if (bEmpty && !mvPostItFlds.empty())
|
2008-04-14 07:56:13 +00:00
|
|
|
PrepareView(true);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
2008-04-22 14:05:10 +00:00
|
|
|
else {
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
DBG_ERROR( "Inserted field not in document!" );
|
2008-04-22 14:05:10 +00:00
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
case SWFMTFLD_REMOVED:
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if (mbDeleteNote)
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if (!pFld)
|
|
|
|
{
|
|
|
|
CheckForRemovedPostIts();
|
|
|
|
break;
|
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
// get field to be removed from hint
|
|
|
|
EndListening( *pFld );
|
|
|
|
RemoveFld(pFld);
|
|
|
|
PrepareView();
|
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
case SWFMTFLD_FOCUS:
|
|
|
|
{
|
|
|
|
if (!mpWrtShell->GetViewOptions()->IsPostIts())
|
|
|
|
{
|
|
|
|
SfxRequest aRequest(mpView->GetViewFrame(),FN_VIEW_NOTES);
|
|
|
|
mpView->ExecViewOptions(aRequest);
|
|
|
|
}
|
|
|
|
// field to get the focus is the broadcaster, SwFmtFld in Hint may be NULL
|
|
|
|
SwFmtFld* pFmtFld = dynamic_cast<SwFmtFld*>(&rBC);
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
if ( pFmtFld == (*i)->pFmtFld )
|
|
|
|
{
|
|
|
|
if ((*i)->pPostIt)
|
|
|
|
{
|
|
|
|
(*i)->pPostIt->GrabFocus();
|
2008-04-14 07:56:13 +00:00
|
|
|
MakeVisible((*i)->pPostIt);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// when the layout algorithm starts, this postit is created and receives focus
|
|
|
|
(*i)->bFocus = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case SWFMTFLD_CHANGED:
|
|
|
|
{
|
|
|
|
// field to get the focus is the broadcaster, SwFmtFld in Hint may be NULL
|
|
|
|
SwFmtFld* pFmtFld = dynamic_cast<SwFmtFld*>(&rBC);
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
if ( pFmtFld == (*i)->pFmtFld )
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if ((*i)->pPostIt)
|
|
|
|
(*i)->pPostIt->SetPostItText();
|
|
|
|
break;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SwPostItMgr::CalcRects()
|
|
|
|
{
|
|
|
|
if ( mnEventId )
|
|
|
|
{
|
|
|
|
// if CalcRects() was forced and an event is still pending: remove it
|
|
|
|
// it is superfluous and also may cause reentrance problems if triggered while layouting
|
|
|
|
Application::RemoveUserEvent( mnEventId );
|
|
|
|
mnEventId = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool bChange = false;
|
|
|
|
bool bRepair = false;
|
|
|
|
PreparePageContainer();
|
|
|
|
if ( !mvPostItFlds.empty() )
|
|
|
|
{
|
|
|
|
mpWrtShell->SwCrsrShell::Push();
|
|
|
|
const BOOL bOldLockView = mpWrtShell->IsViewLocked();
|
|
|
|
mpWrtShell->LockView( TRUE );
|
|
|
|
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
SwPostItItem* pItem = (*i);
|
|
|
|
if ( !pItem->pFmtFld->IsFldInDoc() )
|
|
|
|
{
|
|
|
|
DBG_ERROR("PostIt is not in doc!");
|
|
|
|
bRepair = true;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
//save old rect
|
|
|
|
SwRect aOldRect(pItem->mPos);
|
|
|
|
// set new rect
|
2008-04-14 07:56:13 +00:00
|
|
|
if (mpWrtShell->GotoFld(*pItem->pFmtFld))
|
|
|
|
pItem->mPos = mpWrtShell->GetRectOfCurrentChar();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
bChange = (pItem->mPos != aOldRect) || bChange;
|
|
|
|
|
|
|
|
pItem->mPagePos = mpWrtShell->GetAnyCurRect(RECT_PAGE);
|
|
|
|
const SwRect aPageFrm( mpWrtShell->GetAnyCurRect( RECT_PAGE_PRT ) );
|
|
|
|
pItem->mFramePos = aPageFrm;
|
|
|
|
pItem->mFramePos.Pos() += pItem->mPagePos.Pos();
|
|
|
|
}
|
|
|
|
|
|
|
|
// show notes in right order in navigator
|
|
|
|
//prevent ankors during layout to overlap, e.g. when moving a frame
|
|
|
|
Sort(SORT_POS);
|
|
|
|
|
|
|
|
// sort the items into the right page vector, so layout can be done by page
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
SwPostItItem* pItem = (*i);
|
|
|
|
if ( !pItem->pFmtFld->IsFldInDoc() )
|
|
|
|
continue;
|
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
const SwPageFrm* pPage = mpWrtShell->GetLayout()->GetPageAtPos(pItem->mPos.Pos());
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
const unsigned long aPageNum = pPage ? pPage->GetPhyPageNum() : 1;
|
|
|
|
if (aPageNum > mPages.size())
|
|
|
|
{
|
2008-03-07 14:04:05 +00:00
|
|
|
const unsigned long nNumberOfPages = mPages.size();
|
|
|
|
for (unsigned int j=0; j<aPageNum - nNumberOfPages; ++j)
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
mPages.push_back( new SwPostItPageItem());
|
|
|
|
}
|
2008-03-07 14:04:05 +00:00
|
|
|
mPages[aPageNum-1]->mList->push_back(pItem);
|
2008-04-14 07:56:13 +00:00
|
|
|
mPages[aPageNum-1]->mPageRect = pItem->mPagePos;
|
2008-03-07 14:04:05 +00:00
|
|
|
mPages[aPageNum-1]->bMarginSide = pPage ? pPage->MarginSide() : false;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!bChange && mpWrtShell->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE))
|
|
|
|
{
|
|
|
|
if ( mpWrtShell->GetLayout()->Frm().Height() > mbLayoutHeight)
|
|
|
|
{
|
|
|
|
if (mPages[0]->bScrollbar || HasScrollbars())
|
|
|
|
bChange = true;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
if (mpWrtShell->GetLayout()->Frm().Height() < mbLayoutHeight)
|
|
|
|
{
|
|
|
|
if (mPages[0]->bScrollbar || !BorderOverPageBorder(1))
|
|
|
|
bChange = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mpWrtShell->LockView( bOldLockView );
|
2008-04-14 07:56:13 +00:00
|
|
|
mpWrtShell->SwCrsrShell::Pop( false );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if ( bRepair )
|
|
|
|
CheckForRemovedPostIts();
|
|
|
|
|
|
|
|
mbLayoutHeight = mpWrtShell->GetLayout()->Frm().Height();
|
|
|
|
mbWaitingForCalcRects = false;
|
|
|
|
return bChange;
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
bool SwPostItMgr::HasScrollbars() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
2008-03-07 14:04:05 +00:00
|
|
|
for(std::list<SwPostItItem*>::const_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if ((*i)->bShow && (*i)->pPostIt && (*i)->pPostIt->Scrollbar())
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::PreparePageContainer()
|
|
|
|
{
|
|
|
|
// we do not just delete the SwPostItPageItem, so offset/scrollbar is not lost
|
|
|
|
long lPageSize = mpWrtShell->GetNumPages();
|
|
|
|
long lContainerSize = mPages.size();
|
|
|
|
|
|
|
|
if (lContainerSize < lPageSize)
|
|
|
|
{
|
|
|
|
for (int i=0; i<lPageSize - lContainerSize;i++)
|
|
|
|
mPages.push_back( new SwPostItPageItem());
|
|
|
|
}
|
|
|
|
else
|
|
|
|
if (lContainerSize > lPageSize)
|
|
|
|
{
|
|
|
|
for (int i=mPages.size()-1; i >= lPageSize;--i)
|
|
|
|
{
|
|
|
|
delete mPages[i];
|
|
|
|
mPages.pop_back();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// only clear the list, DO NOT delete the objects itself
|
|
|
|
for(std::vector<SwPostItPageItem*>::iterator i = mPages.begin(); i!= mPages.end() ; i++)
|
|
|
|
{
|
|
|
|
(*i)->mList->clear();
|
|
|
|
if (mvPostItFlds.empty())
|
|
|
|
(*i)->bScrollbar = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::LayoutPostIts()
|
|
|
|
{
|
|
|
|
if ( !mvPostItFlds.empty() && !mbWaitingForCalcRects )
|
|
|
|
{
|
|
|
|
mbLayouting = true;
|
|
|
|
if (ShowNotes())
|
|
|
|
{
|
|
|
|
//loop over all pages and do the layout
|
|
|
|
// - create SwPostIt if neccessary
|
|
|
|
// - place SwPostIts on their initial position
|
|
|
|
// - calculate neccessary height for all PostIts together
|
|
|
|
bool bUpdate = false;
|
|
|
|
for (unsigned long n=0;n<mPages.size();n++)
|
|
|
|
{
|
|
|
|
// only layout if there are notes on this page
|
|
|
|
if (mPages[n]->mList->size()>0)
|
|
|
|
{
|
|
|
|
std::list<SwPostIt*> aVisiblePostItList;
|
|
|
|
unsigned long lNeededHeight = 0;
|
|
|
|
long mlPageBorder = 0;
|
|
|
|
long mlPageEnd = 0;
|
|
|
|
|
|
|
|
for(SwPostItItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++)
|
|
|
|
{
|
|
|
|
SwPostItItem* pItem = (*i);
|
|
|
|
SwFmtFld* pFmtFld = pItem->pFmtFld;
|
|
|
|
SwPostIt* pPostIt = pItem->pPostIt;
|
|
|
|
|
|
|
|
if (mPages[n]->bMarginSide)
|
|
|
|
{
|
|
|
|
// x value for notes positioning
|
2008-03-07 14:04:05 +00:00
|
|
|
mlPageBorder = mpEditWin->LogicToPixel( Point( mPages[n]->mPageRect.Left(), 0)).X() - GetSidebarWidth(true);// - GetSidebarBorderWidth(true);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
//bending point
|
|
|
|
mlPageEnd = mpWrtShell->getIDocumentSettingAccess()->get( IDocumentSettingAccess::BROWSE_MODE) ? pItem->mFramePos.Left() : mPages[n]->mPageRect.Left() + 350;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// x value for notes positioning
|
|
|
|
mlPageBorder = mpEditWin->LogicToPixel( Point(mPages[n]->mPageRect.Right(), 0)).X() + GetSidebarBorderWidth(true);
|
|
|
|
//bending point
|
|
|
|
mlPageEnd = mpWrtShell->getIDocumentSettingAccess()->get( IDocumentSettingAccess::BROWSE_MODE) ? pItem->mFramePos.Right() : mPages[n]->mPageRect.Right() - 350;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (pItem->bShow)
|
|
|
|
{
|
|
|
|
long Y = mpEditWin->LogicToPixel( Point(0,pItem->mPos.Bottom())).Y();
|
|
|
|
long aPostItHeight = 0;
|
|
|
|
if (!pPostIt)
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
pPostIt = new SwPostIt(static_cast<Window*>(&mpView->GetEditWin()),WINDOW_CONTROL,pFmtFld,this);
|
|
|
|
pPostIt->SetReadonly(mbReadOnly);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
SetColors(pPostIt,static_cast<SwPostItField*>(pFmtFld->GetFld()));
|
|
|
|
pItem->pPostIt = pPostIt;
|
|
|
|
}
|
2008-04-14 07:56:13 +00:00
|
|
|
pPostIt->SetMarginSide(mPages[n]->bMarginSide);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
aPostItHeight = ( pPostIt->GetPostItTextHeight() < pPostIt->GetMinimumSizeWithoutMeta() ? pPostIt->GetMinimumSizeWithoutMeta() : pPostIt->GetPostItTextHeight() ) + pPostIt->GetMetaHeight();
|
|
|
|
pPostIt->SetPosSizePixelRect( mlPageBorder ,Y-GetInitialAnchorDistance(), GetNoteWidth() ,aPostItHeight,pItem->mPos, mlPageEnd);
|
|
|
|
|
|
|
|
if (pItem->bFocus)
|
|
|
|
{
|
|
|
|
mbLayout = true;
|
|
|
|
pPostIt->GrabFocus();
|
|
|
|
pItem->bFocus = false;
|
|
|
|
}
|
|
|
|
// only the visible postits are used for the final layout
|
|
|
|
aVisiblePostItList.push_back(pPostIt);
|
|
|
|
lNeededHeight += aPostItHeight+GetSpaceBetween();
|
|
|
|
}
|
|
|
|
else // we don't want to see it
|
|
|
|
{
|
|
|
|
if (pPostIt)
|
|
|
|
pPostIt->HideNote();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (aVisiblePostItList.size()>0)
|
|
|
|
{
|
|
|
|
bool bOldScrollbar = mPages[n]->bScrollbar;
|
|
|
|
mPages[n]->bScrollbar = LayoutByPage(aVisiblePostItList, mPages[n]->mPageRect.SVRect(), lNeededHeight);
|
|
|
|
if (!mPages[n]->bScrollbar)
|
|
|
|
{
|
|
|
|
mPages[n]->lOffset = 0;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
//when we changed our zoom level, the offset value can be to big, so lets check for the largest possible zoom value
|
|
|
|
long aAvailableHeight = mpEditWin->LogicToPixel(Size(0,mPages[n]->mPageRect.Height())).Height() - 2 * GetSidebarScrollerHeight();
|
|
|
|
long lOffset = -1 * GetScrollSize() * (aVisiblePostItList.size() - aAvailableHeight / GetScrollSize());
|
|
|
|
if (mPages[n]->lOffset < lOffset)
|
|
|
|
mPages[n]->lOffset = lOffset;
|
|
|
|
}
|
|
|
|
bUpdate = (bOldScrollbar != mPages[n]->bScrollbar) || bUpdate;
|
|
|
|
const long aSidebarheight = mPages[n]->bScrollbar ? mpEditWin->PixelToLogic(Size(0,GetSidebarScrollerHeight())).Height() : 0;
|
|
|
|
/*
|
2008-04-14 07:56:13 +00:00
|
|
|
TODO
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
- enlarge all notes till GetNextBorder(), as we resized to average value before
|
|
|
|
*/
|
2008-04-14 07:56:13 +00:00
|
|
|
//lets hide the ones which overlap the page
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
for(SwPostIt_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++)
|
|
|
|
{
|
|
|
|
if (mPages[n]->lOffset != 0)
|
|
|
|
(*i)->TranslateTopPosition(mPages[n]->lOffset);
|
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
bool bBottom = mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y()+(*i)->VirtualSize().Height())).Y() <= (mPages[n]->mPageRect.Bottom()-aSidebarheight);
|
|
|
|
bool bTop = mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y())).Y() >= (mPages[n]->mPageRect.Top()+aSidebarheight);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if ( bBottom && bTop )
|
|
|
|
{
|
|
|
|
(*i)->ShowNote();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if (mpEditWin->PixelToLogic(Point(0,(*i)->VirtualPos().Y())).Y() < (mPages[n]->mPageRect.Top()+aSidebarheight))
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
if (mPages[n]->bMarginSide)
|
|
|
|
(*i)->ShowAnkorOnly(Point(mPages[n]->mPageRect.Left(),mPages[n]->mPageRect.Top()));
|
|
|
|
else
|
|
|
|
(*i)->ShowAnkorOnly(Point(mPages[n]->mPageRect.Right(),mPages[n]->mPageRect.Top()));
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if (mPages[n]->bMarginSide)
|
|
|
|
(*i)->ShowAnkorOnly(Point(mPages[n]->mPageRect.Left(),mPages[n]->mPageRect.Bottom()));
|
|
|
|
else
|
|
|
|
(*i)->ShowAnkorOnly(Point(mPages[n]->mPageRect.Right(),mPages[n]->mPageRect.Bottom()));
|
|
|
|
}
|
|
|
|
DBG_ASSERT(mPages[n]->bScrollbar,"SwPostItMgr::LayoutByPage(): note overlaps, but bScrollbar is not true");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// do some magic so we really see the focused note
|
|
|
|
for(SwPostIt_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++)
|
|
|
|
{
|
|
|
|
if ((*i)->HasChildPathFocus())
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
MakeVisible((*i),n+1);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
aVisiblePostItList.clear();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
bUpdate = true;
|
|
|
|
mPages[n]->bScrollbar = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// notes scrollbar is otherwise not drawn correctly for some cases
|
|
|
|
// scrollbar area is enough
|
|
|
|
if (bUpdate)
|
|
|
|
mpEditWin->Invalidate();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{ // we do not want to see the notes anymore -> Options-Writer-View-Notes
|
|
|
|
bool bRepair = false;
|
|
|
|
for(SwPostItItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
SwPostItItem* pItem = (*i);
|
|
|
|
if ( !pItem->pFmtFld->IsFldInDoc() )
|
|
|
|
{
|
|
|
|
DBG_ERROR("PostIt is not in doc!");
|
|
|
|
bRepair = true;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
if ((*i)->pPostIt)
|
|
|
|
{
|
|
|
|
(*i)->pPostIt->HideNote();
|
|
|
|
if ((*i)->pPostIt->HasChildPathFocus())
|
|
|
|
{
|
|
|
|
SetActivePostIt(0);
|
|
|
|
(*i)->pPostIt->GrabFocusToDocument();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( bRepair )
|
|
|
|
CheckForRemovedPostIts();
|
|
|
|
}
|
|
|
|
mbLayouting = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
bool SwPostItMgr::BorderOverPageBorder(unsigned long aPage) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
if ( mPages[aPage-1]->mList->empty() )
|
|
|
|
{
|
|
|
|
DBG_ERROR("Notes SidePane painted but no rects and page lists calculated!")
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
SwPostItItem_iterator aItem = mPages[aPage-1]->mList->end();
|
|
|
|
--aItem;
|
|
|
|
const long aSidebarheight = mPages[aPage-1]->bScrollbar ? mpEditWin->PixelToLogic(Size(0,GetSidebarScrollerHeight())).Height() : 0;
|
2008-04-14 07:56:13 +00:00
|
|
|
const long aEndValue = mpEditWin->PixelToLogic(Point(0,(*aItem)->pPostIt->GetPosPixel().Y()+(*aItem)->pPostIt->GetSizePixel().Height())).Y();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
return aEndValue <= mPages[aPage-1]->mPageRect.Bottom()-aSidebarheight;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Scroll(const long lScroll,const unsigned long aPage)
|
|
|
|
{
|
|
|
|
DBG_ASSERT((lScroll % GetScrollSize() )==0,"SwPostItMgr::Scroll: scrolling by wrong value");
|
|
|
|
// do not scroll more than neccessary up or down
|
|
|
|
if ( ((mPages[aPage-1]->lOffset == 0) && (lScroll>0)) || ( BorderOverPageBorder(aPage) && (lScroll<0)) )
|
|
|
|
return;
|
|
|
|
|
|
|
|
const bool bOldUp = ArrowEnabled(KEY_PAGEUP,aPage);
|
|
|
|
const bool bOldDown = ArrowEnabled(KEY_PAGEDOWN,aPage);
|
|
|
|
const long aSidebarheight = mpEditWin->PixelToLogic(Size(0,GetSidebarScrollerHeight())).Height();
|
|
|
|
for(SwPostItItem_iterator i = mPages[aPage-1]->mList->begin(); i!= mPages[aPage-1]->mList->end(); i++)
|
|
|
|
{
|
|
|
|
SwPostIt* pPostIt = (*i)->pPostIt;
|
2008-04-14 07:56:13 +00:00
|
|
|
pPostIt->SetVirtualPosSize(pPostIt->GetPosPixel(),pPostIt->GetSizePixel());
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
pPostIt->TranslateTopPosition(lScroll);
|
|
|
|
|
|
|
|
if ((*i)->bShow)
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
bool bBottom = mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y()+pPostIt->VirtualSize().Height())).Y() <= (mPages[aPage-1]->mPageRect.Bottom()-aSidebarheight);
|
|
|
|
bool bTop = mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y())).Y() >= (mPages[aPage-1]->mPageRect.Top()+aSidebarheight);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if ( bBottom && bTop)
|
|
|
|
{
|
|
|
|
pPostIt->ShowNote();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( mpEditWin->PixelToLogic(Point(0,pPostIt->VirtualPos().Y())).Y() < (mPages[aPage-1]->mPageRect.Top()+aSidebarheight))
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
if (mPages[aPage-1]->bMarginSide)
|
|
|
|
pPostIt->ShowAnkorOnly(Point(mPages[aPage-1]->mPageRect.Left(),mPages[aPage-1]->mPageRect.Top()));
|
|
|
|
else
|
|
|
|
pPostIt->ShowAnkorOnly(Point(mPages[aPage-1]->mPageRect.Right(),mPages[aPage-1]->mPageRect.Top()));
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if (mPages[aPage-1]->bMarginSide)
|
|
|
|
pPostIt->ShowAnkorOnly(Point(mPages[aPage-1]->mPageRect.Left(),mPages[aPage-1]->mPageRect.Bottom()));
|
|
|
|
else
|
|
|
|
pPostIt->ShowAnkorOnly(Point(mPages[aPage-1]->mPageRect.Right(),mPages[aPage-1]->mPageRect.Bottom()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mPages[aPage-1]->lOffset += lScroll;
|
|
|
|
if ( (bOldUp != ArrowEnabled(KEY_PAGEUP,aPage)) ||(bOldDown != ArrowEnabled(KEY_PAGEDOWN,aPage)) )
|
|
|
|
{
|
|
|
|
mpEditWin->Invalidate(GetBottomScrollRect(aPage));
|
|
|
|
mpEditWin->Invalidate(GetTopScrollRect(aPage));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::AutoScroll(const SwPostIt* pPostIt,const unsigned long aPage )
|
|
|
|
{
|
|
|
|
// otherwise all notes are visible
|
|
|
|
if (mPages[aPage-1]->bScrollbar)
|
|
|
|
{
|
|
|
|
const long aSidebarheight = mpEditWin->PixelToLogic(Size(0,GetSidebarScrollerHeight())).Height();
|
|
|
|
const bool bBottom = mpEditWin->PixelToLogic(Point(0,pPostIt->GetPosPixel().Y()+pPostIt->GetSizePixel().Height())).Y() <= (mPages[aPage-1]->mPageRect.Bottom()-aSidebarheight);
|
|
|
|
const bool bTop = mpEditWin->PixelToLogic(Point(0,pPostIt->GetPosPixel().Y())).Y() >= (mPages[aPage-1]->mPageRect.Top()+aSidebarheight);
|
|
|
|
if ( !(bBottom && bTop))
|
|
|
|
{
|
|
|
|
const long aDiff = bBottom ? mpEditWin->LogicToPixel(Point(0,mPages[aPage-1]->mPageRect.Top() + aSidebarheight)).Y() - pPostIt->GetPosPixel().Y() :
|
|
|
|
mpEditWin->LogicToPixel(Point(0,mPages[aPage-1]->mPageRect.Bottom() - aSidebarheight)).Y() - (pPostIt->GetPosPixel().Y()+pPostIt->GetSizePixel().Height());
|
|
|
|
// this just adds the missing value to get the next a* GetScrollSize() after aDiff
|
|
|
|
// e.g aDiff= 61 POSTIT_SCOLL=50 --> lScroll = 100
|
|
|
|
const long lScroll = bBottom ? (aDiff + ( GetScrollSize() - (aDiff % GetScrollSize()))) : (aDiff - (GetScrollSize() + (aDiff % GetScrollSize())));
|
|
|
|
Scroll(lScroll, aPage);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
void SwPostItMgr::MakeVisible(const SwPostIt* pPostIt,long aPage )
|
|
|
|
{
|
|
|
|
if (aPage == -1)
|
|
|
|
{
|
|
|
|
// we dont know the page yet, lets find it ourselves
|
|
|
|
for (unsigned long n=0;n<mPages.size();n++)
|
|
|
|
{
|
|
|
|
if (mPages[n]->mList->size()>0)
|
|
|
|
{
|
|
|
|
for(SwPostItItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++)
|
|
|
|
{
|
|
|
|
if ((*i)->pPostIt==pPostIt)
|
|
|
|
{
|
|
|
|
aPage = n+1;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
AutoScroll(pPostIt,aPage);
|
|
|
|
Rectangle aNoteRect (Point(pPostIt->GetPosPixel().X(),pPostIt->GetPosPixel().Y()-5),pPostIt->GetSizePixel());
|
|
|
|
mpWrtShell->MakeVisible(SwRect(mpEditWin->PixelToLogic(aNoteRect)));
|
|
|
|
//if this page has a scrollbar, note might be still not visible
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
bool SwPostItMgr::ArrowEnabled(USHORT aDirection,unsigned long aPage) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
switch (aDirection)
|
|
|
|
{
|
|
|
|
case KEY_PAGEUP:
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
return (mPages[aPage-1]->lOffset != 0);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
case KEY_PAGEDOWN:
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
return (!BorderOverPageBorder(aPage));
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
default: return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
Color SwPostItMgr::GetArrowColor(USHORT aDirection,unsigned long aPage) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
if (ArrowEnabled(aDirection,aPage))
|
|
|
|
{
|
|
|
|
if (Application::GetSettings().GetStyleSettings().GetHighContrastMode())
|
|
|
|
return Color(COL_WHITE);
|
|
|
|
else
|
|
|
|
return COL_NOTES_SIDEPANE_ARROW_ENABLED;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return COL_NOTES_SIDEPANE_ARROW_DISABLED;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SwPostItMgr::LayoutByPage(std::list<SwPostIt*> &aVisiblePostItList,const Rectangle aBorder, long lNeededHeight)
|
|
|
|
{
|
|
|
|
/*** General layout idea:***/
|
|
|
|
// - if we have space left, we always move the current one up,
|
|
|
|
// otherwise the next one down
|
|
|
|
// - first all notes are resized
|
|
|
|
// - then the real layout starts
|
|
|
|
/*************************************************************/
|
|
|
|
|
|
|
|
//rBorder is the page rect
|
|
|
|
const Rectangle rBorder = mpEditWin->LogicToPixel( aBorder);
|
|
|
|
long lTopBorder = rBorder.Top() + 5;
|
|
|
|
long lBottomBorder = rBorder.Bottom() - 5;
|
2008-04-14 07:56:13 +00:00
|
|
|
const long lVisibleHeight = lBottomBorder - lTopBorder; //rBorder.GetHeight() ;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
long lSpaceUsed = 0;
|
|
|
|
long lTranslatePos = 0;
|
|
|
|
int loop = 0;
|
|
|
|
bool bDone = false;
|
|
|
|
bool bScrollbars = false;
|
|
|
|
|
|
|
|
// do all neccessary resizings
|
|
|
|
/*
|
|
|
|
if (lVisibleHeight < lNeededHeight)
|
|
|
|
{
|
|
|
|
// resize the one we showed bigger on purpose and recalculate lNeededHeight
|
|
|
|
lNeededHeight = 0;
|
|
|
|
unsigned long aPostItHeight = 0;
|
|
|
|
for(SwPostIt_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++)
|
|
|
|
{
|
|
|
|
aPostItHeight = ( (*i)->GetTextHeight()==0 ? 30 : (*i)->GetTextHeight() ) + (*i)->GetMetaHeight();
|
|
|
|
if ((*i)->GetTextHeight() < (*i)->GetMinimumSizeWithoutMeta())
|
|
|
|
(*i)->SetSizePixel(Size((*i)->GetSizePixel().getWidth(), aPostItHeight));
|
|
|
|
lNeededHeight += aPostItHeight+POSTIT_SPACE_BETWEEN;
|
|
|
|
}
|
|
|
|
// do we still need to resize now?
|
|
|
|
*/
|
|
|
|
if (lVisibleHeight < lNeededHeight)
|
|
|
|
{
|
|
|
|
// ok, now we have to really resize and adding scrollbars
|
|
|
|
const long lAverageHeight = (lVisibleHeight - aVisiblePostItList.size()*GetSpaceBetween()) / aVisiblePostItList.size();
|
|
|
|
if (lAverageHeight<GetMinimumSizeWithMeta())
|
|
|
|
{
|
|
|
|
bScrollbars = true;
|
|
|
|
lTopBorder += GetSidebarScrollerHeight() + 10;
|
|
|
|
lBottomBorder -= (GetSidebarScrollerHeight() + 10);
|
|
|
|
|
|
|
|
for(SwPostIt_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++)
|
2008-04-14 07:56:13 +00:00
|
|
|
(*i)->SetSize(Size((*i)->VirtualSize().getWidth(),(*i)->GetMinimumSizeWithMeta()));
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
for(SwPostIt_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++)
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( (*i)->VirtualSize().getHeight() > lAverageHeight)
|
|
|
|
(*i)->SetSize(Size((*i)->VirtualSize().getWidth(),lAverageHeight));
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//}
|
|
|
|
|
|
|
|
//start the real layout so nothing overlaps anymore
|
|
|
|
if (aVisiblePostItList.size()>1)
|
|
|
|
{
|
|
|
|
// if no window is moved anymore we are finished
|
|
|
|
while (!bDone)
|
|
|
|
{
|
|
|
|
loop++;
|
|
|
|
bDone = true;
|
|
|
|
lSpaceUsed = lTopBorder + GetSpaceBetween();
|
|
|
|
for(SwPostIt_iterator i = aVisiblePostItList.begin(); i!= aVisiblePostItList.end() ; i++)
|
|
|
|
{
|
|
|
|
SwPostIt_iterator aNextPostIt = i;
|
|
|
|
++aNextPostIt;
|
|
|
|
|
|
|
|
if (aNextPostIt !=aVisiblePostItList.end())
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
lTranslatePos = ( (*i)->VirtualPos().Y() + (*i)->VirtualSize().Height()) - (*aNextPostIt)->VirtualPos().Y();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if (lTranslatePos > 0) // note windows overlaps the next one
|
|
|
|
{
|
|
|
|
// we are not done yet, loop at least once more
|
|
|
|
bDone = false;
|
|
|
|
// if there is space left, move the current note up
|
|
|
|
// it could also happen that there is no space left for the first note due to a scrollbar
|
|
|
|
// then we also jump into, so we move the current one up and the next one down
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( (lSpaceUsed <= (*i)->VirtualPos().Y()) || (i==aVisiblePostItList.begin()))
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
// we have space left, so let's move the current one up
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( ((*i)->VirtualPos().Y()- lTranslatePos - GetSpaceBetween()) > lTopBorder)
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
(*i)->TranslateTopPosition(-1*(lTranslatePos+GetSpaceBetween()));
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
long lMoveUp = (*i)->VirtualPos().Y() - lTopBorder;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
(*i)->TranslateTopPosition(-1* lMoveUp);
|
|
|
|
(*aNextPostIt)->TranslateTopPosition( (lTranslatePos+GetSpaceBetween()) - lMoveUp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// no space left, left move the next one down
|
|
|
|
(*aNextPostIt)->TranslateTopPosition(lTranslatePos+GetSpaceBetween());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// the first one could overlap the topborder instead of a second note
|
|
|
|
if (i==aVisiblePostItList.begin())
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
long lMoveDown = lTopBorder - (*i)->VirtualPos().Y();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if (lMoveDown>0)
|
2008-04-14 07:56:13 +00:00
|
|
|
{
|
|
|
|
bDone = false;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
(*i)->TranslateTopPosition( lMoveDown);
|
2008-04-14 07:56:13 +00:00
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
2008-04-14 07:56:13 +00:00
|
|
|
lSpaceUsed += (*i)->VirtualSize().Height() + GetSpaceBetween();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
//(*i) is the last visible item
|
|
|
|
SwPostIt_iterator aPrevPostIt = i;
|
|
|
|
--aPrevPostIt;
|
2008-04-14 07:56:13 +00:00
|
|
|
lTranslatePos = ( (*aPrevPostIt)->VirtualPos().Y() + (*aPrevPostIt)->VirtualSize().Height() + GetSpaceBetween() ) - (*i)->VirtualPos().Y();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if (lTranslatePos > 0)
|
|
|
|
{
|
|
|
|
bDone = false;
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()+lTranslatePos) < lBottomBorder)
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
(*i)->TranslateTopPosition(lTranslatePos+GetSpaceBetween());
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
(*i)->TranslateTopPosition(lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()) );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// note does not overlap, but we might be over the lower border
|
|
|
|
// only do this if there are no scrollbars, otherwise notes are supposed to overlap the border
|
2008-04-14 07:56:13 +00:00
|
|
|
if (!bScrollbars && ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height() > lBottomBorder) )
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
bDone = false;
|
2008-04-14 07:56:13 +00:00
|
|
|
(*i)->TranslateTopPosition(lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height()));
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// security check so we don't loop forever
|
|
|
|
if (loop>MAX_LOOP_COUNT)
|
|
|
|
{
|
|
|
|
DBG_ERROR("PostItMgr::Layout(): We are looping forever");
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// only one left, make sure it is not hidden at the top or bottom
|
|
|
|
SwPostIt_iterator i = aVisiblePostItList.begin();
|
2008-04-14 07:56:13 +00:00
|
|
|
lTranslatePos = lTopBorder - (*i)->VirtualPos().Y();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if (lTranslatePos>0)
|
|
|
|
{
|
|
|
|
(*i)->TranslateTopPosition(lTranslatePos+GetSpaceBetween());
|
|
|
|
}
|
2008-04-14 07:56:13 +00:00
|
|
|
lTranslatePos = lBottomBorder - ((*i)->VirtualPos().Y()+ (*i)->VirtualSize().Height());
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if (lTranslatePos<0)
|
|
|
|
{
|
|
|
|
(*i)->TranslateTopPosition(lTranslatePos);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return bScrollbars;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::AddPostIts(bool bCheckExistance, bool bFocus)
|
|
|
|
{
|
|
|
|
bool bEmpty = mvPostItFlds.empty();
|
|
|
|
SwFieldType* pType = mpView->GetDocShell()->GetDoc()->GetFldType(RES_POSTITFLD, aEmptyStr,false);
|
|
|
|
SwClientIter aIter( *pType );
|
|
|
|
SwClient * pFirst = aIter.GoStart();
|
|
|
|
while(pFirst)
|
|
|
|
{
|
|
|
|
SwFmtFld* pSwFmtFld = static_cast<SwFmtFld*>(pFirst);
|
|
|
|
if ( pSwFmtFld->GetTxtFld())
|
|
|
|
{
|
|
|
|
if ( pSwFmtFld->IsFldInDoc() )
|
|
|
|
InsertFld(pSwFmtFld,bCheckExistance,bFocus);
|
|
|
|
}
|
|
|
|
pFirst = aIter++;
|
|
|
|
}
|
|
|
|
|
|
|
|
// if we just added the first one we have to update the view for centering
|
|
|
|
if (bEmpty && !mvPostItFlds.empty())
|
2008-04-14 07:56:13 +00:00
|
|
|
PrepareView(true);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::RemovePostIts()
|
|
|
|
{
|
|
|
|
if (!mvPostItFlds.empty())
|
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
EndListening( *((*i)->pFmtFld) );
|
|
|
|
SwPostIt* pPostIt = (*i)->pPostIt;
|
|
|
|
delete pPostIt;
|
|
|
|
delete (*i);
|
|
|
|
}
|
|
|
|
mvPostItFlds.clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
// all postits removed, no items should be left in pages
|
|
|
|
PreparePageContainer();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Delete(String aAuthor)
|
|
|
|
{
|
|
|
|
mpWrtShell->StartAllAction();
|
2008-04-03 15:59:15 +00:00
|
|
|
SwRewriter aRewriter;
|
2008-04-14 07:56:13 +00:00
|
|
|
String aUndoString = SW_RES(STR_DELETE_AUTHOR_NOTES);
|
|
|
|
aUndoString += aAuthor;
|
|
|
|
aRewriter.AddRule(UNDO_ARG1, aUndoString);
|
2008-04-03 15:59:15 +00:00
|
|
|
mpWrtShell->StartUndo( UNDO_DELETE, &aRewriter );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end(); )
|
|
|
|
{
|
|
|
|
SwPostItItem* pItem = (*i);
|
|
|
|
SwPostItField* pPostItField = static_cast<SwPostItField*>(pItem->pFmtFld->GetFld());
|
|
|
|
if (pPostItField->GetPar1() == aAuthor)
|
|
|
|
{
|
|
|
|
// stop listening, we delete ourselves
|
|
|
|
EndListening( *(pItem->pFmtFld) );
|
2008-04-14 07:56:13 +00:00
|
|
|
|
|
|
|
// remove reference to yet-to-die postit
|
|
|
|
if (pItem->pPostIt == GetActivePostIt())
|
|
|
|
SetActivePostIt(0);
|
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
// delete the actual SwPostItField
|
2008-04-14 07:56:13 +00:00
|
|
|
mpWrtShell->GotoField(*pItem->pFmtFld);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
mpWrtShell->DelRight();
|
|
|
|
i = mvPostItFlds.erase(i);
|
2008-04-14 07:56:13 +00:00
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
// delete visual representation
|
2008-04-14 07:56:13 +00:00
|
|
|
// lazy delete doesn't work because references to document (mpFmtFld, mpView etc. may be dead before deletion)
|
|
|
|
delete pItem->pPostIt;
|
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
// delete struct saving the pointers
|
|
|
|
delete pItem;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
++i;
|
|
|
|
}
|
|
|
|
mpWrtShell->EndUndo( UNDO_DELETE );
|
|
|
|
PrepareView();
|
2008-04-14 07:56:13 +00:00
|
|
|
mpWrtShell->EndAllAction();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
mbLayout = true;
|
|
|
|
CalcRects();
|
|
|
|
LayoutPostIts();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Delete()
|
|
|
|
{
|
|
|
|
mpWrtShell->StartAllAction();
|
2008-04-14 07:56:13 +00:00
|
|
|
SetActivePostIt(0);
|
2008-04-03 15:59:15 +00:00
|
|
|
SwRewriter aRewriter;
|
2008-04-14 07:56:13 +00:00
|
|
|
aRewriter.AddRule(UNDO_ARG1, SW_RES(STR_DELETE_ALL_NOTES) );
|
2008-04-03 15:59:15 +00:00
|
|
|
mpWrtShell->StartUndo( UNDO_DELETE, &aRewriter );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
SwPostItItem* pItem = (*i);
|
|
|
|
// stop listening, we delete ourselves
|
|
|
|
EndListening( *(pItem->pFmtFld) );
|
2008-04-14 07:56:13 +00:00
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
// delete the actual SwPostItField
|
2008-04-14 07:56:13 +00:00
|
|
|
mpWrtShell->GotoField(*pItem->pFmtFld);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
mpWrtShell->DelRight();
|
|
|
|
// delete visual representation
|
2008-04-14 07:56:13 +00:00
|
|
|
delete pItem->pPostIt;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
// delete struct saving the pointers
|
|
|
|
delete pItem;
|
|
|
|
}
|
|
|
|
mvPostItFlds.clear();
|
|
|
|
mpWrtShell->EndUndo( UNDO_DELETE );
|
2008-04-14 07:56:13 +00:00
|
|
|
PrepareView();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
mpWrtShell->EndAllAction();
|
|
|
|
PreparePageContainer();
|
|
|
|
}
|
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
void SwPostItMgr::Hide(SwPostItField* pPostItField )
|
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
SwPostItField* pField = static_cast<SwPostItField*>((*i)->pFmtFld->GetFld());
|
|
|
|
if (pPostItField==pField)
|
|
|
|
{
|
|
|
|
(*i)->bShow = false;
|
|
|
|
(*i)->pPostIt->HideNote();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LayoutPostIts();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Hide( const String& rAuthor )
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
SwPostItField* pPostItField = static_cast<SwPostItField*>((*i)->pFmtFld->GetFld());
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( rAuthor == pPostItField->GetPar1() )
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
(*i)->bShow = false;
|
|
|
|
(*i)->pPostIt->HideNote();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
2008-04-14 07:56:13 +00:00
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
LayoutPostIts();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Hide()
|
|
|
|
{
|
|
|
|
for(SwPostItItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
(*i)->bShow = false;
|
|
|
|
(*i)->pPostIt->HideNote();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void SwPostItMgr::Show()
|
|
|
|
{
|
|
|
|
for(SwPostItItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
(*i)->bShow = true;
|
|
|
|
}
|
|
|
|
LayoutPostIts();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Sort(const short aType)
|
|
|
|
{
|
|
|
|
if (mvPostItFlds.size()>1 )
|
|
|
|
{
|
|
|
|
switch (aType)
|
|
|
|
{
|
|
|
|
case SORT_POS:
|
|
|
|
mvPostItFlds.sort(comp_pos);
|
|
|
|
//mvPostItFlds.sort(comp_id);
|
|
|
|
break;
|
|
|
|
case SORT_AUTHOR:
|
|
|
|
mvPostItFlds.sort(comp_author);
|
|
|
|
break;
|
|
|
|
case SORT_DATE:
|
|
|
|
mvPostItFlds.sort(comp_date);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SwPostIt* SwPostItMgr::GetNextPostIt(USHORT aDirection, SwPostIt* aPostIt)
|
|
|
|
{
|
|
|
|
if (mvPostItFlds.size()>1)
|
|
|
|
{
|
|
|
|
for(SwPostItItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
if ( (*i)->pPostIt ==aPostIt)
|
|
|
|
{
|
|
|
|
SwPostItItem_iterator iNextPostIt = i;
|
|
|
|
/*
|
|
|
|
const Rectangle &aVisRect = mpView->GetVisArea();
|
|
|
|
bool bVisible = false;
|
|
|
|
bool bDone = false;
|
|
|
|
|
|
|
|
while (!bDone)
|
|
|
|
{
|
|
|
|
*/
|
|
|
|
if (aDirection==KEY_PAGEUP)
|
|
|
|
{
|
|
|
|
if ( iNextPostIt==mvPostItFlds.begin() )
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
//iNextPostIt = mvPostItFlds.end();
|
|
|
|
return NULL;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
--iNextPostIt;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
iNextPostIt++;
|
|
|
|
if ( iNextPostIt==mvPostItFlds.end() )
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
return NULL;
|
|
|
|
//iNextPostIt = mvPostItFlds.begin();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// lets quit, we are back at the beginng
|
|
|
|
if ( (*iNextPostIt)->pPostIt==aPostIt)
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
//bVisible = (*iNextPostIt)->pFmtFld->GetTxtFld()->GetTxtNode().IsInVisibleArea();
|
|
|
|
//bVisible = bVisible && ((*iNextPostIt)->mPos.Bottom() < aVisRect.Bottom()) && ((*iNextPostIt)->mPos.Bottom() > aVisRect.Top());
|
|
|
|
|
|
|
|
/*
|
|
|
|
const bool bBottom = mpEditWin->PixelToLogic(Point(0,(*iNextPostIt)->pPostIt->GetPosPixel().Y()+(*iNextPostIt)->pPostIt->GetSizePixel().Height())).Y() <= aVisRect.Bottom();
|
|
|
|
const bool bTop = mpEditWin->PixelToLogic(Point(0,(*iNextPostIt)->pPostIt->GetPosPixel().Y())).Y() >= aVisRect.Top();
|
|
|
|
bVisible = bBottom && bTop;
|
|
|
|
|
|
|
|
bDone = bVisible && (*iNextPostIt)->bShow;
|
|
|
|
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
return (*iNextPostIt)->pPostIt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
long SwPostItMgr::GetNextBorder()
|
|
|
|
{
|
|
|
|
for (unsigned long n=0;n<mPages.size();n++)
|
|
|
|
{
|
|
|
|
for(SwPostItItem_iterator b = mPages[n]->mList->begin(); b!= mPages[n]->mList->end(); b++)
|
|
|
|
{
|
|
|
|
if ((*b)->pPostIt == mpActivePostIt)
|
|
|
|
{
|
|
|
|
if (mPages[n]->bScrollbar)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
//if this is the last item, return the bottom border otherwise the next item
|
|
|
|
SwPostItItem_iterator aNext = b;
|
|
|
|
aNext++;
|
|
|
|
if (aNext == mPages[n]->mList->end())
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
return mpEditWin->LogicToPixel(Point(0,mPages[n]->mPageRect.Bottom())).Y() - GetSpaceBetween();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
return (*aNext)->pPostIt->GetPosPixel().Y() - GetSpaceBetween();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
DBG_ERROR("SwPostItMgr::GetNextBorder(): We have to find a next border here");
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
SwFmtFld* SwPostItMgr::GetFmtFld(SwPostIt* mpPostIt)
|
|
|
|
{
|
|
|
|
for(SwPostItItem_iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
{
|
|
|
|
if ( (*i)->pPostIt == mpPostIt)
|
|
|
|
return (*i)->pFmtFld;
|
|
|
|
}
|
|
|
|
DBG_WARNING("SwPostItMgr::GetFmtFld(): PostIt not found, something major must have gone wrong here");
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::PrepareView(bool bIgnoreCount)
|
|
|
|
{
|
|
|
|
if (mvPostItFlds.empty() || bIgnoreCount)
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
mpEditWin->Invalidate();
|
2008-03-07 14:04:05 +00:00
|
|
|
SwRootFrm* pLayout = mpWrtShell->GetLayout();
|
|
|
|
if ( pLayout )
|
2008-04-14 07:56:13 +00:00
|
|
|
{
|
2008-03-07 14:04:05 +00:00
|
|
|
pLayout->SetSidebarChanged();
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( mpWrtShell->getIDocumentSettingAccess()->get( IDocumentSettingAccess::BROWSE_MODE ) )
|
|
|
|
pLayout->InvalidateBrowseWidth();
|
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
bool SwPostItMgr::ShowScrollbar(const unsigned long aPage) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
if (mPages.size() > aPage-1)
|
|
|
|
return mPages[aPage-1]->bScrollbar;
|
|
|
|
else
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SwPostItMgr::IsHit(const Point &aPointPixel)
|
|
|
|
{
|
|
|
|
if (HasNotes() && ShowNotes())
|
|
|
|
{
|
|
|
|
const Point aPoint = mpEditWin->PixelToLogic(aPointPixel);
|
2008-03-07 14:04:05 +00:00
|
|
|
const SwRootFrm* pLayout = mpWrtShell->GetLayout();
|
|
|
|
const SwFrm* pPage = pLayout->GetPageAtPos( aPoint, 0, true );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if (pPage)
|
|
|
|
{
|
|
|
|
Rectangle aRect;
|
|
|
|
const unsigned long aPageNum = pPage->GetPhyPageNum();
|
|
|
|
DBG_ASSERT(mPages.size()>aPageNum-1,"SwPostitMgr:: page container size wrong");
|
|
|
|
aRect = mPages[aPageNum-1]->bMarginSide ? Rectangle(Point(pPage->Frm().Left()-GetSidebarWidth()-GetSidebarBorderWidth(),pPage->Frm().Top()),Size(GetSidebarWidth(),pPage->Frm().Height())) :
|
|
|
|
Rectangle( Point(pPage->Frm().Right()+GetSidebarBorderWidth(),pPage->Frm().Top()) , Size(GetSidebarWidth(),pPage->Frm().Height()));
|
|
|
|
if (aRect.IsInside(aPoint))
|
|
|
|
{
|
|
|
|
// we hit the note's sidebar
|
|
|
|
// lets now test for the arrow area
|
|
|
|
if (mPages[aPageNum-1]->bScrollbar)
|
|
|
|
ScrollbarHit(aPageNum,aPoint);
|
|
|
|
// lets return true here, even if only the sidebar was hit
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
2008-03-07 14:04:05 +00:00
|
|
|
Rectangle SwPostItMgr::GetBottomScrollRect(const unsigned long aPage) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
SwRect aPageRect = mPages[aPage-1]->mPageRect;
|
|
|
|
Point aPointBottom = mPages[aPage-1]->bMarginSide ? Point(aPageRect.Left() - GetSidebarWidth() - GetSidebarBorderWidth() + mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Bottom()- mpEditWin->PixelToLogic(Size(0,2+GetSidebarScrollerHeight())).Height()) :
|
|
|
|
Point(aPageRect.Right() + GetSidebarBorderWidth() + mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Bottom()- mpEditWin->PixelToLogic(Size(0,2+GetSidebarScrollerHeight())).Height());
|
|
|
|
Size aSize(GetSidebarWidth() - mpEditWin->PixelToLogic(Size(4,0)).Width(), mpEditWin->PixelToLogic(Size(0,GetSidebarScrollerHeight())).Height()) ;
|
|
|
|
return Rectangle(aPointBottom,aSize);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
Rectangle SwPostItMgr::GetTopScrollRect(const unsigned long aPage) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
SwRect aPageRect = mPages[aPage-1]->mPageRect;
|
|
|
|
Point aPointTop = mPages[aPage-1]->bMarginSide ? Point(aPageRect.Left() - GetSidebarWidth() -GetSidebarBorderWidth()+ mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Top() + mpEditWin->PixelToLogic(Size(0,2)).Height()) :
|
2008-04-14 07:56:13 +00:00
|
|
|
Point(aPageRect.Right() + GetSidebarBorderWidth() + mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Top() + mpEditWin->PixelToLogic(Size(0,2)).Height());
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
Size aSize(GetSidebarWidth() - mpEditWin->PixelToLogic(Size(4,0)).Width(), mpEditWin->PixelToLogic(Size(0,GetSidebarScrollerHeight())).Height()) ;
|
|
|
|
return Rectangle(aPointTop,aSize);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//IMPORTANT: if you change the rects here, also change SwPageFrm::PaintNotesSidebar()
|
|
|
|
bool SwPostItMgr::ScrollbarHit(const unsigned long aPage,const Point &aPoint)
|
|
|
|
{
|
|
|
|
SwRect aPageRect = mPages[aPage-1]->mPageRect;
|
|
|
|
Point aPointBottom = mPages[aPage-1]->bMarginSide ? Point(aPageRect.Left() - GetSidebarWidth()-GetSidebarBorderWidth() + mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Bottom()- mpEditWin->PixelToLogic(Size(0,2+GetSidebarScrollerHeight())).Height()) :
|
|
|
|
Point(aPageRect.Right() + GetSidebarBorderWidth()+ mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Bottom()- mpEditWin->PixelToLogic(Size(0,2+GetSidebarScrollerHeight())).Height());
|
|
|
|
|
|
|
|
Point aPointTop = mPages[aPage-1]->bMarginSide ? Point(aPageRect.Left() - GetSidebarWidth()-GetSidebarBorderWidth()+ mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Top() + mpEditWin->PixelToLogic(Size(0,2)).Height()) :
|
|
|
|
Point(aPageRect.Right()+GetSidebarBorderWidth()+ mpEditWin->PixelToLogic(Size(2,0)).Width(),aPageRect.Top() + mpEditWin->PixelToLogic(Size(0,2)).Height());
|
|
|
|
|
|
|
|
Rectangle aRectBottom(GetBottomScrollRect(aPage));
|
|
|
|
Rectangle aRectTop(GetTopScrollRect(aPage));
|
|
|
|
|
|
|
|
if (aRectBottom.IsInside(aPoint))
|
|
|
|
{
|
|
|
|
if (aPoint.X() < long((aPointBottom.X() + GetSidebarWidth()/3)))
|
|
|
|
Scroll( GetScrollSize(),aPage);
|
|
|
|
else
|
|
|
|
Scroll( -1*GetScrollSize(), aPage);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
if (aRectTop.IsInside(aPoint))
|
|
|
|
{
|
|
|
|
if (aPoint.X() < long((aPointTop.X() + GetSidebarWidth()/3*2)))
|
|
|
|
Scroll(GetScrollSize(), aPage);
|
|
|
|
else
|
|
|
|
Scroll(-1*GetScrollSize(), aPage);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::CorrectPositions()
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
if ( mvPostItFlds.empty() || !(*mvPostItFlds.begin())->pPostIt )
|
|
|
|
return;
|
|
|
|
// there might be no new layout after e.g a inserted page break, so we check the position even if mbWaitingForCalcRects is set
|
|
|
|
// yeah, I know, if this is a left page it could be wrong, but finding the page and the note is probably not even faster
|
|
|
|
const long aAnkorX = mpEditWin->LogicToPixel( Point((long)((*mvPostItFlds.begin())->pPostIt->Ankor()->GetSixthPosition().getX()),0)).X();
|
|
|
|
const long aAnkorY = mpEditWin->LogicToPixel( Point(0,(long)((*mvPostItFlds.begin())->pPostIt->Ankor()->GetSixthPosition().getY()))).Y() + 1;
|
|
|
|
if (Point(aAnkorX,aAnkorY) != (*mvPostItFlds.begin())->pPostIt->GetPosPixel())
|
|
|
|
{
|
|
|
|
long aAnkorPosX = 0;
|
|
|
|
long aAnkorPosY = 0;
|
|
|
|
for (unsigned long n=0;n<mPages.size();n++)
|
|
|
|
{
|
|
|
|
for(SwPostItItem_iterator i = mPages[n]->mList->begin(); i!= mPages[n]->mList->end(); i++)
|
|
|
|
{
|
|
|
|
aAnkorPosX = mPages[n]->bMarginSide ?
|
|
|
|
mpEditWin->LogicToPixel( Point((long)((*i)->pPostIt->Ankor()->GetSeventhPosition().getX()),0)).X() :
|
|
|
|
mpEditWin->LogicToPixel( Point((long)((*i)->pPostIt->Ankor()->GetSixthPosition().getX()),0)).X();
|
|
|
|
aAnkorPosY = mpEditWin->LogicToPixel( Point(0,(long)((*i)->pPostIt->Ankor()->GetSixthPosition().getY()))).Y() + 1;
|
|
|
|
(*i)->pPostIt->SetPosPixel(Point(aAnkorPosX,aAnkorPosY));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
bool SwPostItMgr::ShowNotes() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
// we only want to see notes if Options - Writer - View - Notes is ticked
|
|
|
|
return mpWrtShell->GetViewOptions()->IsPostIts();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
bool SwPostItMgr::HasNotes() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
//we just want to know if there are notes, no matter if visible or not
|
|
|
|
return !mvPostItFlds.empty();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
unsigned long SwPostItMgr::GetSidebarWidth(bool bPx) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
unsigned long aWidth = (unsigned long)(mpWrtShell->GetViewOptions()->GetZoom() * 1.8);
|
|
|
|
if (bPx)
|
|
|
|
return aWidth;
|
|
|
|
else
|
|
|
|
return mpEditWin->PixelToLogic(Size( aWidth ,0)).Width();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
unsigned long SwPostItMgr::GetSidebarBorderWidth(bool bPx) const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
if (bPx)
|
|
|
|
return 2;
|
|
|
|
else
|
|
|
|
return mpEditWin->PixelToLogic(Size(2,0)).Width();
|
|
|
|
}
|
|
|
|
|
|
|
|
unsigned long SwPostItMgr::GetNoteWidth()
|
|
|
|
{
|
|
|
|
return GetSidebarWidth(true);
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::SetColors(SwPostIt* pPostIt,SwPostItField* pFld)
|
|
|
|
{
|
|
|
|
if (!Application::GetSettings().GetStyleSettings().GetHighContrastMode())
|
|
|
|
{
|
|
|
|
static const Color aArrayNormal[] = {
|
|
|
|
COL_AUTHOR1_NORMAL, COL_AUTHOR2_NORMAL, COL_AUTHOR3_NORMAL,
|
|
|
|
COL_AUTHOR4_NORMAL, COL_AUTHOR5_NORMAL, COL_AUTHOR6_NORMAL,
|
|
|
|
COL_AUTHOR7_NORMAL, COL_AUTHOR8_NORMAL, COL_AUTHOR9_NORMAL };
|
|
|
|
|
|
|
|
static const Color aArrayLight[] = {
|
|
|
|
COL_AUTHOR1_LIGHT, COL_AUTHOR2_LIGHT, COL_AUTHOR3_LIGHT,
|
|
|
|
COL_AUTHOR4_LIGHT, COL_AUTHOR5_LIGHT, COL_AUTHOR6_LIGHT,
|
|
|
|
COL_AUTHOR7_LIGHT, COL_AUTHOR8_LIGHT, COL_AUTHOR9_LIGHT };
|
|
|
|
|
|
|
|
static const Color aArrayAnkor[] = {
|
|
|
|
COL_AUTHOR1_DARK, COL_AUTHOR2_DARK, COL_AUTHOR3_DARK,
|
|
|
|
COL_AUTHOR4_DARK, COL_AUTHOR5_DARK, COL_AUTHOR6_DARK,
|
|
|
|
COL_AUTHOR7_DARK, COL_AUTHOR8_DARK, COL_AUTHOR9_DARK };
|
|
|
|
|
|
|
|
sal_uInt16 aAuthorIndex = SW_MOD()->InsertRedlineAuthor(pFld->GetPar1());
|
|
|
|
|
|
|
|
Color aColorDark( aArrayNormal[ aAuthorIndex % (sizeof( aArrayNormal )/ sizeof( aArrayNormal[0] ))]);
|
|
|
|
Color aColorLight( aArrayLight[ aAuthorIndex % (sizeof( aArrayLight ) / sizeof( aArrayLight[0] ))]);
|
|
|
|
Color aColorAnkor( aArrayAnkor[ aAuthorIndex % (sizeof( aArrayAnkor ) / sizeof( aArrayAnkor[0] ))]);
|
|
|
|
|
|
|
|
pPostIt->SetColor(aColorDark,aColorLight,aColorAnkor);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Color aWhite(COL_WHITE);
|
|
|
|
pPostIt->SetColor(aWhite,aWhite,aWhite);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::SetActivePostIt( SwPostIt* p)
|
|
|
|
{
|
|
|
|
if ( p != mpActivePostIt )
|
|
|
|
{
|
2008-04-14 07:56:13 +00:00
|
|
|
// we need the temp variable so we can set mpActivePostIt before we call DeactivatePostIt
|
|
|
|
// therefore we get a new layout in DOCCHANGED when switching from postit to document,
|
|
|
|
// otherwise, GetActivePostIt() would still hold our old postit
|
|
|
|
SwPostIt* pActive = mpActivePostIt;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
mpActivePostIt = p;
|
2008-04-14 07:56:13 +00:00
|
|
|
if (pActive)
|
|
|
|
pActive->DeactivatePostIt();
|
|
|
|
if (mpActivePostIt)
|
|
|
|
{
|
|
|
|
mpWrtShell->GotoField( *mpActivePostIt->Field() );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
mpView->AttrChangedNotify(0);
|
2008-04-14 07:56:13 +00:00
|
|
|
mpActivePostIt->ActivatePostIt();
|
|
|
|
}
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
IMPL_LINK( SwPostItMgr, CalcHdl, void*, /* pVoid*/ )
|
|
|
|
{
|
|
|
|
mnEventId = 0;
|
|
|
|
if ( mbLayouting )
|
|
|
|
{
|
|
|
|
DBG_ERROR("Reentrance problem in Layout Manager!");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2008-04-14 07:56:13 +00:00
|
|
|
// do not change order, even if it would seem so in the first place, we need the calcrects always
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
if ( CalcRects() || mbLayout )
|
|
|
|
{
|
|
|
|
mbLayout = false;
|
|
|
|
LayoutPostIts();
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::Rescale()
|
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
if ( (*i)->pPostIt )
|
|
|
|
(*i)->pPostIt->Rescale();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
sal_Int32 SwPostItMgr::GetInitialAnchorDistance() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
const Fraction& f( mpEditWin->GetMapMode().GetScaleY() );
|
|
|
|
return POSTIT_INITIAL_ANKOR_DISTANCE * f.GetNumerator() / f.GetDenominator();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
sal_Int32 SwPostItMgr::GetSpaceBetween() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
const Fraction& f( mpEditWin->GetMapMode().GetScaleY() );
|
|
|
|
return ( POSTIT_SPACE_BETWEEN ) * f.GetNumerator() / f.GetDenominator();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
sal_Int32 SwPostItMgr::GetScrollSize() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
const Fraction& f( mpEditWin->GetMapMode().GetScaleY() );
|
|
|
|
return ( POSTIT_SPACE_BETWEEN + POSTIT_MINIMUMSIZE_WITH_META ) * f.GetNumerator() / f.GetDenominator();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
sal_Int32 SwPostItMgr::GetMinimumSizeWithMeta() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
const Fraction& f( mpEditWin->GetMapMode().GetScaleY() );
|
|
|
|
return POSTIT_MINIMUMSIZE_WITH_META * f.GetNumerator() / f.GetDenominator();
|
|
|
|
}
|
|
|
|
|
2008-03-07 14:04:05 +00:00
|
|
|
sal_Int32 SwPostItMgr::GetSidebarScrollerHeight() const
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
{
|
|
|
|
const Fraction& f( mpEditWin->GetMapMode().GetScaleY() );
|
|
|
|
return POSTIT_SCROLL_SIDEBAR_HEIGHT * f.GetNumerator() / f.GetDenominator();
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::SetSpellChecking(bool bEnable)
|
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
if ( (*i)->pPostIt )
|
|
|
|
(*i)->pPostIt->SetSpellChecking(bEnable);
|
|
|
|
}
|
|
|
|
|
|
|
|
void SwPostItMgr::SetReadOnlyState()
|
|
|
|
{
|
|
|
|
for(std::list<SwPostItItem*>::iterator i = mvPostItFlds.begin(); i!= mvPostItFlds.end() ; i++)
|
|
|
|
if ( (*i)->pPostIt )
|
2008-04-14 07:56:13 +00:00
|
|
|
(*i)->pPostIt->SetReadonly( mbReadOnly );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 12:06:53 mba 1.1.2.129: warnings fixed
2008/01/31 10:08:58 mod 1.1.2.128: #i6193# fix for crash, optimization included
2008/01/30 18:01:00 mod 1.1.2.127: #i6193# high contrast mode
2008/01/30 17:26:41 mod 1.1.2.126: #i6193# readonly state send to notes, swicht to next postit
2008/01/30 09:56:31 mba 1.1.2.125: #i6193#: notification when layout is complete
2008/01/29 19:39:59 mod 1.1.2.124: spellchecking and context menu
2008/01/28 20:58:29 mod 1.1.2.123: yet another SetActivePostit bug
2008/01/28 11:50:38 mod 1.1.2.122: ux: meta area and popup during read-only
2008/01/27 22:26:55 mod 1.1.2.121: fix for wrong painting of scrollis
2008/01/27 15:56:30 mba 1.1.2.120: #i84074#: better update procedure when content of notes is changed
2008/01/26 11:42:34 mod 1.1.2.119: fix for undo crash after Delete All
2008/01/26 10:06:32 mod 1.1.2.118: fix for undo crash after Delete All
2008/01/25 17:46:10 mod 1.1.2.117: View - Notes
2008/01/20 15:32:08 mod 1.1.2.116: fix for #i85392#
2008/01/18 17:08:47 mod 1.1.2.115: fix crash #i85375#
2008/01/18 09:58:19 mba 1.1.2.114: build problems on Solaris
2008/01/18 09:54:29 mba 1.1.2.113: build problems on Solaris
2008/01/18 09:40:23 mba 1.1.2.112: fixed broken line ends
2008/01/16 17:00:34 mod 1.1.2.111: fix for changing of zoom value, scroll value could be too big
2008/01/16 15:15:18 mod 1.1.2.110: fixes
2008/01/12 10:08:28 mod 1.1.2.109: make code warning free
2008/01/12 09:35:19 mod 1.1.2.108: fix sidebar scrollareas
2008/01/11 17:59:52 mod 1.1.2.107: reduced popup menu
2008/01/10 17:34:01 mod 1.1.2.106: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:45 mba 1.1.2.105: Complete rescaling of Postits
2008/01/09 17:40:41 mod 1.1.2.104: scaling of scrollbar and sidebarwidth depending on zoom value
2008/01/09 16:36:24 mba 1.1.2.103: Complete rescaling of Postits
2008/01/09 15:52:04 mba 1.1.2.102: Complete rescaling of Postits
2008/01/07 16:08:43 mod 1.1.2.101: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/28 00:25:25 mod 1.1.2.100: #i6193# warning free code
2007/12/27 17:55:11 mod 1.1.2.99: #i6193# bugfix
2007/12/21 16:42:54 mba 1.1.2.98: #i6193#: scale notes with zoom factor of edit window
2007/12/20 14:45:39 mod 1.1.2.97: center sidebar scrollbuttons fix
2007/12/18 19:55:15 mod 1.1.2.96: yet another web layout fix
2007/12/18 17:32:15 mba 1.1.2.95: some cleanups
2007/12/17 20:46:30 mod 1.1.2.94: small fixes
2007/12/17 17:33:50 mba 1.1.2.93: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 15:40:42 mod 1.1.2.92: various layout fixed for web layout
2007/12/17 10:02:42 mod 1.1.2.91: fix for web layout calculation
2007/12/17 09:00:11 mod 1.1.2.90: fixes for web layout and seperater between sidebar
2007/12/12 19:42:02 mod 1.1.2.89: fix for Delete Author's notes
2007/12/11 15:19:13 mod 1.1.2.88: various fixes and double ankor
2007/12/10 20:47:04 mba 1.1.2.87: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 20:46:02 mba 1.1.2.86: #i6193#: fixed some problems and crashes for notes pane in web layout
2007/12/10 10:51:27 mba 1.1.2.85: #i6193#: notes in Web Layout
2007/12/10 08:41:11 mba 1.1.2.84: #i6193#: notes in Web Layout
2007/12/07 21:52:43 mod 1.1.2.83: make new notes visible
2007/11/30 15:13:36 mod 1.1.2.82: code cleanup and removing of flickering
2007/11/29 15:53:36 mod 1.1.2.81: invalidate only scrollbar and not complete editwin, otherwise there is flickering
2007/11/29 10:56:50 mba 1.1.2.80: #i84074#: missing return statement
2007/11/29 00:12:02 mod 1.1.2.79: notes grow automatically till next note or page border
2007/11/27 14:55:32 mod 1.1.2.78: yet another layout fix; read only notes fix: copy/paste possible now; paint fix, patch by od
2007/11/22 12:09:40 mod 1.1.2.77: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:24 mod 1.1.2.76: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/18 13:04:39 mod 1.1.2.75: yet another layout fix
2007/11/17 22:07:12 mod 1.1.2.74: fix for layout assertions
2007/11/17 12:29:39 mod 1.1.2.73: layout when a note is set to be hidden
2007/11/17 12:00:36 mod 1.1.2.72: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:51 mod 1.1.2.71: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:48:39 mod 1.1.2.70: Will anyone understand this code ever again
2007/11/15 17:03:13 mod 1.1.2.69: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:09 mod 1.1.2.68: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:17:41 mba 1.1.2.67: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/06 18:16:45 mod 1.1.2.66: fixes for hiding note, showing all, deletion of note and sidepane scrolling
2007/11/06 16:06:36 mod 1.1.2.65: mba patch: undo/redo cut/copy/paste
2007/11/06 07:58:36 mod 1.1.2.64: remove variables second try
2007/11/06 07:57:50 mod 1.1.2.63: remove variables second try
2007/11/05 21:07:41 mod 1.1.2.62: remove uneccessary variables
2007/11/05 21:05:04 mod 1.1.2.61: remove uneccessary variables
2007/11/05 16:21:51 mod 1.1.2.60: onyl relayout if field rect changes
2007/11/05 15:56:28 mod 1.1.2.59: fix for note's visibility comparision
2007/11/04 21:43:00 mod 1.1.2.58: completly new layout code by page
2007/10/23 21:28:58 mod 1.1.2.57: take it back, does not work always
2007/10/23 15:58:21 mod 1.1.2.56: paint borders and shadows
2007/10/22 10:04:24 mod 1.1.2.55: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.54: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.53: several improvements and fixes for layout algorithm
2007/10/15 17:33:02 mod 1.1.2.52: fix for SwRootFrm::paint bug
2007/10/15 17:09:37 mba 1.1.2.51: warnings removed
2007/10/14 17:22:07 mod 1.1.2.50: fix for Note - Edit
2007/10/12 22:30:11 mod 1.1.2.49: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:17 mod 1.1.2.48: paint of sidebar; notes scrollbars fixed
2007/10/08 16:53:25 mod 1.1.2.47: fix for meta information tooltip, fix for localisation of date and time, assertion: object deleted is in use fix, fix for focus issue
2007/10/06 17:14:48 mod 1.1.2.46: fix for different page widths
2007/10/06 10:40:54 mod 1.1.2.45: fix for #i48150
2007/10/05 15:36:03 mod 1.1.2.44: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:07 mod 1.1.2.43: change fixed values to defines
2007/10/04 10:18:02 mod 1.1.2.42: first sidebar code
2007/10/02 16:51:34 mod 1.1.2.41: bugfixing; adding of ChangeDocSize in appropiate places
2007/09/29 21:53:54 mod 1.1.2.40: fix warnings
2007/09/27 14:42:57 mod 1.1.2.39: bugfix for smoketest, removal of warnings, cleanup
2007/09/25 17:48:28 mod 1.1.2.38: resize()
2007/09/25 15:37:33 mod 1.1.2.37: bugfix
2007/09/25 15:11:35 mod 1.1.2.36: cleanups and optimization
2007/09/24 13:49:51 mod 1.1.2.35: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/14 15:49:58 mod 1.1.2.34: remove unneccessary code from SwTextShell::ExecField
2007/09/10 23:14:53 mod 1.1.2.33: m
2007/09/07 16:49:23 mod 1.1.2.32: Page_Frm bug fix
2007/09/06 21:29:34 mod 1.1.2.31: Gradient for text, no notes for print view
2007/09/05 10:16:25 mod 1.1.2.30: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code
2007/09/03 15:06:26 mod 1.1.2.29: SwAnnotationShell, MultiLineEdit for meta information
2007/09/01 13:06:07 mod 1.1.2.28: new colors,bugfix for delete note
2007/07/09 13:07:51 mod 1.1.2.27: work on SwAnnotationShell continues
2007/07/05 18:47:31 mod 1.1.2.26: Bugfixes: spellchecking works again as well as some crashes fixed
2007/07/05 12:20:28 mba 1.1.2.25: bWaitingForCalcRects stayed true if no PostIts are added
2007/07/04 15:42:22 mba 1.1.2.24: new shell for editing notes
2007/07/01 16:22:33 mod 1.1.2.23: no relayout in Paint(), but seperately in appropiate places
2007/06/29 19:02:15 mod 1.1.2.22: Fix for Undo/Redo of Insert Field and Modify Field
2007/06/26 16:34:51 mod 1.1.2.21: navigation for notes
2007/06/24 17:39:58 mod 1.1.2.20: new improved layout algorithm, no lower border
2007/06/23 02:49:10 mod 1.1.2.19: beauty update: round corners, bold meta text
2007/06/22 20:59:28 mba 1.1.2.18: never call CalcRects directly if you don't know for sure that it doesn't create problems
2007/06/21 07:43:12 mod 1.1.2.17: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:20 mod 1.1.2.16: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:49:52 mba 1.1.2.15: EventId should be kept for removal in case view is destroyed before event is called
2007/06/17 10:32:43 mba 1.1.2.14: better default for mbWaitingForCalcRects
2007/06/16 19:16:18 mba 1.1.2.13: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.12: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:30 mod 1.1.2.11: #16193# move LayoutPostIts() in application event
2007/06/14 08:31:34 mod 1.1.2.10: spelling
2007/06/13 10:39:46 mod 1.1.2.9: spelling
2007/06/13 08:56:10 mod 1.1.2.8: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:29 mod 1.1.2.7: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:18 mod 1.1.2.6: Hiding and deleting of notes #i6193#
2007/05/31 07:54:58 mod 1.1.2.5: #i6193# Use of overlayobject for ankor
2007/05/29 08:24:32 mod 1.1.2.4: Collecting notes in notify, positioning in paint
2007/05/25 06:54:01 fme 1.1.2.3: #i6193# New notes - forward declarations
2007/05/24 09:19:56 mod 1.1.2.2: *** empty log message ***
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:53:54 +00:00
|
|
|
}
|
|
|
|
|