2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2011-03-31 10:05:04 +02:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2013-11-05 02:17:53 +01:00
|
|
|
#ifndef INCLUDED_SW_INC_POSTITMGR_HXX
|
|
|
|
#define INCLUDED_SW_INC_POSTITMGR_HXX
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
|
|
|
#include <list>
|
|
|
|
#include <vector>
|
2010-01-08 18:32:51 +01:00
|
|
|
#include <editeng/outlobj.hxx>
|
2013-08-19 01:57:24 +02:00
|
|
|
#include <rtl/ustring.hxx>
|
2015-04-22 09:42:28 +02:00
|
|
|
#include <sal/log.hxx>
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
#include <tools/link.hxx>
|
|
|
|
#include <swrect.hxx>
|
2009-02-13 14:09:50 +00:00
|
|
|
#include <unotools/configitem.hxx>
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <unotools/options.hxx>
|
2016-02-24 22:37:57 +01:00
|
|
|
#include <com/sun/star/util/SearchOptions2.hpp>
|
2009-03-09 14:07:33 +00:00
|
|
|
#include <com/sun/star/uno/Any.hxx>
|
2010-01-12 10:43:45 +01:00
|
|
|
#include <SidebarWindowsTypes.hxx>
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/lstner.hxx>
|
2015-03-09 14:29:30 +02:00
|
|
|
#include <vcl/vclptr.hxx>
|
2015-11-12 16:56:45 +01:00
|
|
|
#include <LibreOfficeKit/LibreOfficeKitTypes.h>
|
2009-01-02 15:51:45 +00:00
|
|
|
|
2014-04-15 09:42:32 +01:00
|
|
|
class OutputDevice;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
class SwWrtShell;
|
|
|
|
class SwDoc;
|
|
|
|
class SwView;
|
|
|
|
class SwPostItField;
|
2015-05-20 13:05:49 +02:00
|
|
|
class SwFormatField;
|
2008-05-30 08:27:33 +00:00
|
|
|
class SwField;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
class SfxBroadcaster;
|
|
|
|
class SfxHint;
|
|
|
|
class SwEditWin;
|
|
|
|
class Color;
|
2014-04-22 17:06:26 +01:00
|
|
|
class SfxItemPool;
|
|
|
|
class SfxItemSet;
|
2008-04-11 12:59:18 +00:00
|
|
|
class SvxSearchItem;
|
2008-06-16 07:13:25 +00:00
|
|
|
class SvxLanguageItem;
|
2010-01-12 10:43:45 +01:00
|
|
|
namespace sw { namespace annotation {
|
|
|
|
class SwAnnotationWin;
|
|
|
|
}}
|
|
|
|
namespace sw { namespace sidebarwindows {
|
|
|
|
class SwSidebarWin;
|
2015-11-25 06:03:10 -05:00
|
|
|
class SwFrameSidebarWinContainer;
|
2010-01-12 10:43:45 +01:00
|
|
|
}}
|
|
|
|
class SwSidebarItem;
|
2015-11-25 06:03:10 -05:00
|
|
|
class SwFrame;
|
2014-09-23 11:20:40 +02:00
|
|
|
namespace vcl { class Window; }
|
2014-05-07 11:49:46 +02:00
|
|
|
struct ImplSVEvent;
|
2016-01-14 14:20:40 +01:00
|
|
|
class OutlinerSearchable;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
|
|
|
#define COL_NOTES_SIDEPANE_ARROW_ENABLED RGB_COLORDATA(0,0,0)
|
|
|
|
#define COL_NOTES_SIDEPANE_ARROW_DISABLED RGB_COLORDATA(172,168,153)
|
|
|
|
|
2010-01-12 10:43:45 +01:00
|
|
|
typedef std::list<SwSidebarItem*> SwSidebarItem_list;
|
|
|
|
typedef std::list<SwSidebarItem*>::iterator SwSidebarItem_iterator;
|
2009-02-13 14:09:50 +00:00
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
struct SwPostItPageItem
|
|
|
|
{
|
|
|
|
bool bScrollbar;
|
2010-01-12 10:43:45 +01:00
|
|
|
sw::sidebarwindows::SidebarPosition eSidebarPosition;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
long lOffset;
|
|
|
|
SwRect mPageRect;
|
2010-01-12 10:43:45 +01:00
|
|
|
SwSidebarItem_list* mList;
|
2015-03-12 08:33:40 +02:00
|
|
|
SwPostItPageItem(): bScrollbar(false), eSidebarPosition( sw::sidebarwindows::SidebarPosition::LEFT ), lOffset(0)
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
{
|
2010-01-12 10:43:45 +01:00
|
|
|
mList = new SwSidebarItem_list;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
}
|
|
|
|
~SwPostItPageItem()
|
|
|
|
{
|
|
|
|
mList->clear();
|
|
|
|
delete mList;
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2008-05-30 08:27:33 +00:00
|
|
|
struct FieldShadowState
|
|
|
|
{
|
2015-05-20 13:05:49 +02:00
|
|
|
const SwPostItField* mpShadowField;
|
2008-05-30 08:27:33 +00:00
|
|
|
bool bCursor;
|
|
|
|
bool bMouse;
|
2015-11-10 10:25:48 +01:00
|
|
|
FieldShadowState(): mpShadowField(nullptr),bCursor(false),bMouse(false)
|
2008-06-16 07:13:25 +00:00
|
|
|
{
|
|
|
|
}
|
2008-05-30 08:27:33 +00:00
|
|
|
};
|
|
|
|
|
2009-02-13 14:09:50 +00:00
|
|
|
class SwNoteProps: public utl::ConfigItem
|
|
|
|
{
|
|
|
|
private:
|
2010-02-02 15:11:26 +01:00
|
|
|
bool bIsShowAnchor;
|
2015-03-11 16:14:47 +01:00
|
|
|
|
2015-10-12 16:04:04 +02:00
|
|
|
virtual void ImplCommit() override;
|
2015-03-11 16:14:47 +01:00
|
|
|
|
2009-02-13 14:09:50 +00:00
|
|
|
public:
|
2010-01-12 10:43:45 +01:00
|
|
|
SwNoteProps()
|
2013-04-07 12:06:47 +02:00
|
|
|
: ConfigItem(OUString("Office.Writer/Notes"))
|
2010-02-02 15:11:26 +01:00
|
|
|
, bIsShowAnchor(false)
|
2009-02-13 14:09:50 +00:00
|
|
|
{
|
2015-11-05 15:55:58 +02:00
|
|
|
const css::uno::Sequence< OUString >& rNames = GetPropertyNames();
|
|
|
|
css::uno::Sequence< css::uno::Any > aValues = GetProperties(rNames);
|
|
|
|
const css::uno::Any* pValues = aValues.getConstArray();
|
|
|
|
SAL_WARN_IF(aValues.getLength() != rNames.getLength(), "sw", "GetProperties failed");
|
|
|
|
if (aValues.getLength())
|
2013-07-27 03:14:27 +02:00
|
|
|
pValues[0]>>=bIsShowAnchor;
|
2009-02-13 14:09:50 +00:00
|
|
|
}
|
|
|
|
|
2010-02-02 15:11:26 +01:00
|
|
|
bool IsShowAnchor()
|
2009-02-13 14:09:50 +00:00
|
|
|
{
|
2010-02-02 15:11:26 +01:00
|
|
|
return bIsShowAnchor;
|
2009-02-13 14:09:50 +00:00
|
|
|
}
|
2015-11-05 15:55:58 +02:00
|
|
|
static css::uno::Sequence< OUString >& GetPropertyNames()
|
2010-10-27 11:38:46 +01:00
|
|
|
{
|
2015-11-05 15:55:58 +02:00
|
|
|
static css::uno::Sequence< OUString > aNames;
|
2010-10-27 11:38:46 +01:00
|
|
|
if(!aNames.getLength())
|
|
|
|
{
|
|
|
|
aNames.realloc(1);
|
2013-04-07 12:06:47 +02:00
|
|
|
OUString* pNames = aNames.getArray();
|
2014-12-18 13:35:13 +01:00
|
|
|
pNames[0] = "ShowAnkor";
|
2009-02-13 14:09:50 +00:00
|
|
|
}
|
2010-10-27 11:38:46 +01:00
|
|
|
return aNames;
|
|
|
|
}
|
2009-10-16 00:05:16 +02:00
|
|
|
|
2015-11-05 15:55:58 +02:00
|
|
|
virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
|
2009-02-13 14:09:50 +00:00
|
|
|
};
|
2009-01-02 15:51:45 +00:00
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
class SwPostItMgr: public SfxListener
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
SwView* mpView;
|
|
|
|
SwWrtShell* mpWrtShell;
|
2015-03-09 14:29:30 +02:00
|
|
|
VclPtr<SwEditWin> mpEditWin;
|
2015-05-20 13:05:49 +02:00
|
|
|
std::list< SwSidebarItem*> mvPostItFields;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
std::vector<SwPostItPageItem*> mPages;
|
2014-05-07 11:49:46 +02:00
|
|
|
ImplSVEvent * mnEventId;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
bool mbWaitingForCalcRects;
|
2015-03-09 14:29:30 +02:00
|
|
|
VclPtr<sw::sidebarwindows::SwSidebarWin> mpActivePostIt;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
bool mbLayout;
|
|
|
|
long mbLayoutHeight;
|
2014-01-17 17:11:45 +01:00
|
|
|
bool mbLayouting;
|
2008-04-11 12:59:18 +00:00
|
|
|
bool mbReadOnly;
|
|
|
|
bool mbDeleteNote;
|
2008-05-30 08:27:33 +00:00
|
|
|
FieldShadowState mShadowState;
|
2009-01-02 15:51:45 +00:00
|
|
|
OutlinerParaObject* mpAnswer;
|
2010-02-02 15:11:26 +01:00
|
|
|
bool mbIsShowAnchor;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-11-25 06:03:10 -05:00
|
|
|
// data structure to collect the <SwSidebarWin> instances for certain <SwFrame> instances.
|
|
|
|
sw::sidebarwindows::SwFrameSidebarWinContainer* mpFrameSidebarWinContainer;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2010-01-12 10:43:45 +01:00
|
|
|
typedef std::list<sw::sidebarwindows::SwSidebarWin*>::iterator SwSidebarWin_iterator;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
|
|
|
void AddPostIts(bool bCheckExistance = true,bool bFocus = true);
|
2010-01-12 10:43:45 +01:00
|
|
|
void RemoveSidebarWin();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
void PreparePageContainer();
|
|
|
|
void Scroll(const long lScroll,const unsigned long aPage );
|
2010-01-12 10:43:45 +01:00
|
|
|
void AutoScroll(const sw::sidebarwindows::SwSidebarWin* pPostIt,const unsigned long aPage );
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
bool ScrollbarHit(const unsigned long aPage,const Point &aPoint);
|
2010-01-12 10:43:45 +01:00
|
|
|
bool LayoutByPage( std::list<sw::sidebarwindows::SwSidebarWin*> &aVisiblePostItList,
|
2015-03-04 20:27:49 +00:00
|
|
|
const Rectangle& rBorder,
|
2010-01-12 10:43:45 +01:00
|
|
|
long lNeededHeight);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
void CheckForRemovedPostIts();
|
2015-08-27 13:08:02 +02:00
|
|
|
bool ArrowEnabled(sal_uInt16 aDirection,unsigned long aPage) const;
|
|
|
|
bool BorderOverPageBorder(unsigned long aPage) const;
|
|
|
|
bool HasScrollbars() const;
|
2009-01-02 15:51:45 +00:00
|
|
|
void Focus(SfxBroadcaster& rBC);
|
2008-06-16 07:13:25 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
sal_Int32 GetInitialAnchorDistance() const;
|
|
|
|
sal_Int32 GetScrollSize() const;
|
|
|
|
sal_Int32 GetSpaceBetween() const;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
void SetReadOnlyState();
|
2016-10-05 07:56:12 +02:00
|
|
|
DECL_LINK( CalcHdl, void*, void);
|
2010-01-19 08:57:57 +01:00
|
|
|
|
|
|
|
sw::sidebarwindows::SwSidebarWin* GetSidebarWin(const SfxBroadcaster* pBroadcaster) const;
|
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void InsertItem( SfxBroadcaster* pItem, bool bCheckExistance, bool bFocus);
|
|
|
|
void RemoveItem( SfxBroadcaster* pBroadcast );
|
2010-01-19 08:57:57 +01:00
|
|
|
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
public:
|
2015-08-27 13:08:02 +02:00
|
|
|
SwPostItMgr(SwView* aDoc);
|
2016-09-13 13:09:01 +02:00
|
|
|
virtual ~SwPostItMgr() override;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
typedef std::list< SwSidebarItem* >::const_iterator const_iterator;
|
|
|
|
const_iterator begin() const { return mvPostItFields.begin(); }
|
|
|
|
const_iterator end() const { return mvPostItFields.end(); }
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-10-12 16:04:04 +02:00
|
|
|
void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void LayoutPostIts();
|
|
|
|
bool CalcRects();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2016-02-29 10:59:14 +02:00
|
|
|
void MakeVisible( const sw::sidebarwindows::SwSidebarWin* pPostIt);
|
2008-04-11 12:59:18 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
bool ShowScrollbar(const unsigned long aPage) const;
|
|
|
|
bool HasNotes() const ;
|
|
|
|
bool ShowNotes() const;
|
|
|
|
bool IsShowAnchor() { return mbIsShowAnchor;}
|
|
|
|
unsigned long GetSidebarWidth(bool bPx = false) const;
|
|
|
|
unsigned long GetSidebarBorderWidth(bool bPx = false) const;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void PrepareView(bool bIgnoreCount = false);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void CorrectPositions();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void SetLayout() { mbLayout = true; };
|
|
|
|
void Delete(const OUString& aAuthor);
|
|
|
|
void Delete();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void ExecuteFormatAllDialog(SwView& rView);
|
|
|
|
void FormatAll(const SfxItemSet &rNewAttr);
|
2014-04-22 17:06:26 +01:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void Hide( const OUString& rAuthor );
|
|
|
|
void Hide();
|
|
|
|
void Show();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void Rescale();
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
Rectangle GetBottomScrollRect(const unsigned long aPage) const;
|
|
|
|
Rectangle GetTopScrollRect(const unsigned long aPage) const;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
bool IsHit(const Point &aPointPixel);
|
2015-11-12 14:21:03 +01:00
|
|
|
/// Get the matching window that is responsible for handling mouse events of rPointLogic, if any.
|
|
|
|
vcl::Window* IsHitSidebarWindow(const Point& rPointLogic);
|
2015-08-27 13:08:02 +02:00
|
|
|
Color GetArrowColor(sal_uInt16 aDirection,unsigned long aPage) const;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
sw::annotation::SwAnnotationWin* GetAnnotationWin(const SwPostItField* pField) const;
|
2010-02-16 14:30:17 +01:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
sw::sidebarwindows::SwSidebarWin* GetNextPostIt( sal_uInt16 aDirection,
|
|
|
|
sw::sidebarwindows::SwSidebarWin* aPostIt);
|
|
|
|
long GetNextBorder();
|
2010-01-12 10:43:45 +01:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
sw::sidebarwindows::SwSidebarWin* GetActiveSidebarWin() { return mpActivePostIt; }
|
|
|
|
void SetActiveSidebarWin( sw::sidebarwindows::SwSidebarWin* p);
|
|
|
|
bool HasActiveSidebarWin() const;
|
|
|
|
bool HasActiveAnnotationWin() const;
|
|
|
|
void GrabFocusOnActiveSidebarWin();
|
|
|
|
void UpdateDataOnActiveSidebarWin();
|
|
|
|
void DeleteActiveSidebarWin();
|
|
|
|
void HideActiveSidebarWin();
|
|
|
|
void ToggleInsModeOnActiveSidebarWin();
|
2010-01-12 10:43:45 +01:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
sal_Int32 GetMinimumSizeWithMeta() const;
|
|
|
|
sal_Int32 GetSidebarScrollerHeight() const;
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void SetShadowState(const SwPostItField* pField,bool bCursor = true);
|
2008-05-30 08:27:33 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void SetSpellChecking();
|
2008-05-30 08:27:33 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
static Color GetColorDark(sal_uInt16 aAuthorIndex);
|
|
|
|
static Color GetColorLight(sal_uInt16 aAuthorIndex);
|
|
|
|
static Color GetColorAnchor(sal_uInt16 aAuthorIndex);
|
2009-01-02 15:51:45 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void RegisterAnswer(OutlinerParaObject* pAnswer) { mpAnswer = pAnswer;}
|
|
|
|
OutlinerParaObject* IsAnswer() {return mpAnswer;}
|
|
|
|
void CheckMetaText();
|
2009-01-02 15:51:45 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
sal_uInt16 Replace(SvxSearchItem* pItem);
|
2016-02-24 22:37:57 +01:00
|
|
|
sal_uInt16 SearchReplace(const SwFormatField &pField, const css::util::SearchOptions2& rSearchOptions,bool bSrchForward);
|
|
|
|
sal_uInt16 FinishSearchReplace(const css::util::SearchOptions2& rSearchOptions,bool bSrchForward);
|
2009-09-11 10:21:51 +00:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void AssureStdModeAtShell();
|
2010-02-02 15:11:26 +01:00
|
|
|
|
2015-11-25 06:03:10 -05:00
|
|
|
void ConnectSidebarWinToFrame( const SwFrame& rFrame,
|
2015-08-27 13:08:02 +02:00
|
|
|
const SwFormatField& rFormatField,
|
|
|
|
sw::sidebarwindows::SwSidebarWin& rSidebarWin );
|
2015-11-25 06:03:10 -05:00
|
|
|
void DisconnectSidebarWinFromFrame( const SwFrame& rFrame,
|
2015-08-27 13:08:02 +02:00
|
|
|
sw::sidebarwindows::SwSidebarWin& rSidebarWin );
|
2015-11-25 06:03:10 -05:00
|
|
|
bool HasFrameConnectedSidebarWins( const SwFrame& rFrame );
|
|
|
|
vcl::Window* GetSidebarWinForFrameByIndex( const SwFrame& rFrame,
|
2015-08-27 13:08:02 +02:00
|
|
|
const sal_Int32 nIndex );
|
2015-11-25 06:03:10 -05:00
|
|
|
void GetAllSidebarWinForFrame( const SwFrame& rFrame,
|
2015-08-27 13:08:02 +02:00
|
|
|
std::vector< vcl::Window* >* pChildren );
|
2014-04-15 09:42:32 +01:00
|
|
|
|
2015-08-27 13:08:02 +02:00
|
|
|
void DrawNotesForPage(OutputDevice *pOutDev, sal_uInt32 nPage);
|
2015-11-05 15:58:55 +01:00
|
|
|
void PaintTile(OutputDevice& rRenderContext, const Rectangle& rRect);
|
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED
2008/01/31 10:08:57 mod 1.1.2.56: #i6193# fix for crash, optimization included
2008/01/30 17:26:41 mod 1.1.2.55: #i6193# readonly state send to notes, swicht to next postit
2008/01/29 19:39:58 mod 1.1.2.54: spellchecking and context menu
2008/01/25 17:46:08 mod 1.1.2.53: View - Notes
2008/01/18 09:51:34 mba 1.1.2.52: fixed broken line ends
2008/01/12 09:35:18 mod 1.1.2.51: fix sidebar scrollareas
2008/01/10 17:34:00 mod 1.1.2.50: show notes always right side, do not show popup for read only notes
2008/01/09 19:37:29 mba 1.1.2.49: Complete rescaling of Postits
2008/01/09 16:36:31 mba 1.1.2.48: Complete rescaling of Postits
2008/01/09 15:52:19 mba 1.1.2.47: Complete rescaling of Postits
2008/01/07 16:08:41 mod 1.1.2.46: side of margin for each page individually, end of ankor if note is hidden at correct location
2007/12/21 16:41:52 mba 1.1.2.45: #i6193#: scale notes with zoom factor of edit window
2007/12/17 17:33:35 mba 1.1.2.44: #i6193#: solved reentrance problems in PostItMgr
2007/12/17 09:00:10 mod 1.1.2.43: fixes for web layout and seperater between sidebar
2007/11/30 15:13:35 mod 1.1.2.42: code cleanup and removing of flickering
2007/11/29 00:12:02 mod 1.1.2.41: notes grow automatically till next note or page border
2007/11/22 12:09:39 mod 1.1.2.40: relayout every time note had focus, as the size could have changed
2007/11/22 11:40:22 mod 1.1.2.39: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw
2007/11/17 22:07:12 mod 1.1.2.38: fix for layout assertions
2007/11/17 12:00:35 mod 1.1.2.37: different colors for scrollbar arrows based on scrolling offset value; fix for last note overlapping border
2007/11/16 16:06:49 mod 1.1.2.36: fixes for keyboard shortcut popup and PreparePageContainer()
2007/11/15 17:03:13 mod 1.1.2.35: improved auto scrolling of document and notes sidebar
2007/11/13 16:43:08 mod 1.1.2.34: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext
2007/11/08 08:15:50 mba 1.1.2.33: #i6193#: improved and more notifications about removed and inserted PostItFields
2007/11/05 16:21:51 mod 1.1.2.32: onyl relayout if field rect changes
2007/11/04 21:42:59 mod 1.1.2.31: completly new layout code by page
2007/10/23 15:58:21 mod 1.1.2.30: paint borders and shadows
2007/10/22 10:04:22 mod 1.1.2.29: fix for centered zoom; new buttons inside meta area
2007/10/17 15:50:57 mod 1.1.2.28: bend anchor either at frame of page
2007/10/16 15:26:21 mod 1.1.2.27: several improvements and fixes for layout algorithm
2007/10/16 10:19:59 mba 1.1.2.26: warning for missing end of file
2007/10/12 22:30:09 mod 1.1.2.25: fix for overlays, layout algorithm fix, patch for ww8 import
2007/10/10 21:32:16 mod 1.1.2.24: paint of sidebar; notes scrollbars fixed
2007/10/06 17:14:47 mod 1.1.2.23: fix for different page widths
2007/10/05 15:36:03 mod 1.1.2.22: fix for RightToLeft, fix for sidebar drawing
2007/10/04 14:23:06 mod 1.1.2.21: change fixed values to defines
2007/09/24 13:49:49 mod 1.1.2.20: notes are now collected inside SwTxtFld::SwTxtFld, IsInVisibleArea added to PostItMg, new colors for change tracking
2007/09/06 21:29:34 mod 1.1.2.19: Gradient for text, no notes for print view
2007/09/01 13:06:02 mod 1.1.2.18: new colors,bugfix for delete note
2007/07/04 15:42:21 mba 1.1.2.17: new shell for editing notes
2007/07/01 16:22:32 mod 1.1.2.16: no relayout in Paint(), but seperately in appropiate places
2007/06/26 16:34:51 mod 1.1.2.15: navigation for notes
2007/06/24 17:39:57 mod 1.1.2.14: new improved layout algorithm, no lower border
2007/06/22 20:59:56 mba 1.1.2.13: fixing some problems with dependencies
2007/06/21 07:43:12 mod 1.1.2.12: first code for layout algorithm, use of IsReadOnly and SetModified
2007/06/17 19:27:18 mod 1.1.2.11: AddPostIts only if there is a new postit, sorting of postits
2007/06/17 10:50:03 mba 1.1.2.10: EventId should be kept for removal in case view is destroyed before event is called
2007/06/16 19:16:30 mba 1.1.2.9: Force Layout after ReCalc; suppress Layout while Rects are invalid
2007/06/16 08:26:01 mod 1.1.2.8: #i6193# seperation of coordinate's rect and layout
2007/06/16 02:14:29 mod 1.1.2.7: #16193# move LayoutPostIts() in application event
2007/06/13 08:56:09 mod 1.1.2.6: #i6193# Navigator improvements, KeyHandling SwPostit
2007/06/10 15:59:28 mod 1.1.2.5: #i6193# Navigator: Hide,Show,Delete / SwPostIt: Author,Date
2007/06/08 16:48:15 mod 1.1.2.4: Hiding and deleting of notes #i6193#
2007/05/29 08:24:30 mod 1.1.2.3: Collecting notes in notify, positioning in paint
2007/05/25 06:52:10 fme 1.1.2.2: #i6193# New notes - forward declarations
2007/05/24 04:36:31 mod 1.1.2.1: Add new files
2008-02-19 12:20:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2009-09-11 10:21:51 +00:00
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|