Files
libreoffice/sw/source/ui/shells/annotsh.cxx

1634 lines
58 KiB
C++
Raw Normal View History

INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
* Copyright 2008 by Sun Microsystems, Inc.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
* $RCSfile: annotsh.cxx,v $
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
* $Revision: 1.7.82.3 $
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
* This file is part of OpenOffice.org.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
#include <hintids.hxx>
#include <tools/shl.hxx>
#include <com/sun/star/i18n/TransliterationModules.hpp>
#include <com/sun/star/i18n/TextConversionOption.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
#include <sfx2/objface.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/request.hxx>
#include <svx/spltitem.hxx>
#include <svx/orphitem.hxx>
#include <svx/brkitem.hxx>
#include <svx/widwitem.hxx>
#include <svx/kernitem.hxx>
#include <svx/escpitem.hxx>
#include <svx/lspcitem.hxx>
#include <svx/adjitem.hxx>
#include <svx/crsditem.hxx>
#include <svx/shdditem.hxx>
#include <svx/hyznitem.hxx>
#include <svx/udlnitem.hxx>
#include <svx/fontitem.hxx>
#include <svx/fhgtitem.hxx>
#include <svx/clipfmtitem.hxx>
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
#include <svtools/stritem.hxx>
#include <svtools/slstitm.hxx>
#include <svx/colritem.hxx>
#include <svx/wghtitem.hxx>
#include <svx/cntritem.hxx>
#include <svx/postitem.hxx>
#include <svx/frmdiritem.hxx>
#include <svx/svdoutl.hxx>
#include <svtools/whiter.hxx>
#include <svtools/cjkoptions.hxx>
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
#include <svtools/ctloptions.hxx>
#include <svtools/useroptions.hxx>
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
#include <vcl/msgbox.hxx>
#include <svx/flditem.hxx>
#include <svx/editstat.hxx>
#include <svx/hlnkitem.hxx>
#include <svx/htmlmode.hxx>
#include <svx/langitem.hxx>
#include <svx/unolingu.hxx>
#include <svx/scripttypeitem.hxx>
#include <svx/writingmodeitem.hxx>
#include <swundo.hxx>
#include <doc.hxx>
#include <viewopt.hxx>
#include <wrtsh.hxx>
#include <uitool.hxx>
#include <popup.hrc>
#include <pardlg.hxx>
#include <swdtflvr.hxx>
#include <drwtxtsh.hxx>
#include <swmodule.hxx>
#include <initui.hxx>
#include <edtwin.hxx>
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
#include <swwait.hxx>
#include <docstat.hxx>
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
#include <cmdid.h>
#include <globals.hrc>
#include <shells.hrc>
#include <breakit.hxx>
#include "annotsh.hxx"
#include "view.hxx"
#include "PostItMgr.hxx"
#include "postit.hxx"
#include "swtypes.hxx"
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svtools/itempool.hxx>
#include <svx/outliner.hxx>
#include <svx/editeng.hxx>
#include <svx/editview.hxx>
#include <svtools/languageoptions.hxx>
#include <svx/langitem.hxx>
#include <svtools/langtab.hxx>
#include <svtools/slstitm.hxx>
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
#include <docsh.hxx>
#include <svtools/undo.hxx>
#include "swabstdlg.hxx" //CHINA001
#include "chrdlg.hrc" //CHINA001
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
#include "misc.hrc"
#include <app.hrc>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <langhelper.hxx>
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::i18n;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
#define SwAnnotationShell
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
#include <itemdef.hxx>
#include <swslots.hxx>
SFX_IMPL_INTERFACE(SwAnnotationShell, SfxShell, SW_RES(STR_SHELLNAME_DRAW_TEXT))
{
SFX_OBJECTBAR_REGISTRATION(SFX_OBJECTBAR_OBJECT, SW_RES(RID_TEXT_TOOLBOX));
SFX_POPUPMENU_REGISTRATION(SW_RES(MN_ANNOTATION_POPUPMENU));
}
TYPEINIT1(SwAnnotationShell,SfxShell)
SwAnnotationShell::SwAnnotationShell( SwView& r )
: rView(r)
{
SwWrtShell &rSh = rView.GetWrtShell();
SetPool(rSh.GetAttrPool().GetSecondaryPool());
}
SwAnnotationShell::~SwAnnotationShell()
{
}
SfxUndoManager* SwAnnotationShell::GetUndoManager()
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
{
DBG_ASSERT(pPostItMgr,"PostItMgr::Layout(): We are looping forever");
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
return 0;
}
return &pPostItMgr->GetActivePostIt()->Engine()->GetUndoManager();
}
void SwAnnotationShell::Exec( SfxRequest &rReq )
{
//TODO: clean this up!!!!
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
SfxItemSet aEditAttr(pOLV->GetAttribs());
SfxItemSet aNewAttr(*aEditAttr.GetPool(), aEditAttr.GetRanges());
sal_uInt16 nSlot = rReq.GetSlot();
sal_uInt16 nWhich = GetPool().GetWhich(nSlot);
const SfxItemSet *pNewAttrs = rReq.GetArgs();
sal_uInt16 nEEWhich = 0;
switch (nSlot)
{
case SID_ATTR_CHAR_FONT:
case SID_ATTR_CHAR_FONTHEIGHT:
case SID_ATTR_CHAR_WEIGHT:
case SID_ATTR_CHAR_POSTURE:
{
SfxItemPool* pSecondPool = aEditAttr.GetPool()->GetSecondaryPool();
if( !pSecondPool )
pSecondPool = aEditAttr.GetPool();
SvxScriptSetItem aSetItem( nSlot, *pSecondPool );
aSetItem.PutItemForScriptType( pOLV->GetSelectedScriptType(), pNewAttrs->Get( nWhich ));
aNewAttr.Put( aSetItem.GetItemSet() );
rReq.Done();
break;
}
case SID_ATTR_CHAR_COLOR: nEEWhich = EE_CHAR_COLOR; break;
case SID_ATTR_CHAR_UNDERLINE:
{
FontUnderline eFU = ((const SvxUnderlineItem&)aEditAttr.Get(EE_CHAR_UNDERLINE)).GetLineStyle();
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
aNewAttr.Put(SvxUnderlineItem(eFU == UNDERLINE_SINGLE ? UNDERLINE_NONE : UNDERLINE_SINGLE, EE_CHAR_UNDERLINE));
break;
}
case SID_ATTR_CHAR_OVERLINE:
{
FontUnderline eFO = ((const SvxOverlineItem&)aEditAttr.Get(EE_CHAR_OVERLINE)).GetLineStyle();
aNewAttr.Put(SvxOverlineItem(eFO == UNDERLINE_SINGLE ? UNDERLINE_NONE : UNDERLINE_SINGLE, EE_CHAR_OVERLINE));
break;
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case SID_ATTR_CHAR_CONTOUR: nEEWhich = EE_CHAR_OUTLINE; break;
case SID_ATTR_CHAR_SHADOWED: nEEWhich = EE_CHAR_SHADOW; break;
case SID_ATTR_CHAR_STRIKEOUT: nEEWhich = EE_CHAR_STRIKEOUT; break;
case SID_ATTR_CHAR_WORDLINEMODE: nEEWhich = EE_CHAR_WLM; break;
case SID_ATTR_CHAR_RELIEF : nEEWhich = EE_CHAR_RELIEF; break;
case SID_ATTR_CHAR_LANGUAGE : nEEWhich = EE_CHAR_LANGUAGE;break;
case SID_ATTR_CHAR_KERNING : nEEWhich = EE_CHAR_KERNING; break;
case SID_ATTR_CHAR_SCALEWIDTH: nEEWhich = EE_CHAR_FONTWIDTH; break;
case SID_ATTR_CHAR_AUTOKERN : nEEWhich = EE_CHAR_PAIRKERNING; break;
case SID_ATTR_CHAR_ESCAPEMENT: nEEWhich = EE_CHAR_ESCAPEMENT; break;
case SID_ATTR_PARA_ADJUST_LEFT:
aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_LEFT, EE_PARA_JUST));
break;
case SID_ATTR_PARA_ADJUST_CENTER:
aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_CENTER, EE_PARA_JUST));
break;
case SID_ATTR_PARA_ADJUST_RIGHT:
aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_RIGHT, EE_PARA_JUST));
break;
case SID_ATTR_PARA_ADJUST_BLOCK:
aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_BLOCK, EE_PARA_JUST));
break;
case SID_ATTR_PARA_LINESPACE_10:
{
SvxLineSpacingItem aItem(SVX_LINESPACE_ONE_LINE, EE_PARA_SBL);
aItem.SetPropLineSpace(100);
aNewAttr.Put(aItem);
}
break;
case SID_ATTR_PARA_LINESPACE_15:
{
SvxLineSpacingItem aItem(SVX_LINESPACE_ONE_POINT_FIVE_LINES, EE_PARA_SBL);
aItem.SetPropLineSpace(150);
aNewAttr.Put(aItem);
}
break;
case SID_ATTR_PARA_LINESPACE_20:
{
SvxLineSpacingItem aItem(SVX_LINESPACE_TWO_LINES, EE_PARA_SBL);
aItem.SetPropLineSpace(200);
aNewAttr.Put(aItem);
}
break;
case SID_SELECTALL:
{
Outliner * pOutliner = pOLV->GetOutliner();
if(pOutliner)
{
ULONG nParaCount = pOutliner->GetParagraphCount();
if (nParaCount > 0)
pOLV->SelectRange(0L, USHORT(nParaCount) );
}
break;
}
case FN_FORMAT_RESET:
{
pPostItMgr->GetActivePostIt()->ResetAttributes();
rReq.Done();
break;
}
case FN_SET_SUPER_SCRIPT:
{
SvxEscapementItem aItem(EE_CHAR_ESCAPEMENT);
SvxEscapement eEsc = (SvxEscapement ) ( (const SvxEscapementItem&)
aEditAttr.Get( EE_CHAR_ESCAPEMENT ) ).GetEnumValue();
if( eEsc == SVX_ESCAPEMENT_SUPERSCRIPT )
aItem.SetEscapement( SVX_ESCAPEMENT_OFF );
else
aItem.SetEscapement( SVX_ESCAPEMENT_SUPERSCRIPT );
aNewAttr.Put( aItem, EE_CHAR_ESCAPEMENT );
}
break;
case FN_SET_SUB_SCRIPT:
{
SvxEscapementItem aItem(EE_CHAR_ESCAPEMENT);
SvxEscapement eEsc = (SvxEscapement ) ( (const SvxEscapementItem&)
aEditAttr.Get( EE_CHAR_ESCAPEMENT ) ).GetEnumValue();
if( eEsc == SVX_ESCAPEMENT_SUBSCRIPT )
aItem.SetEscapement( SVX_ESCAPEMENT_OFF );
else
aItem.SetEscapement( SVX_ESCAPEMENT_SUBSCRIPT );
aNewAttr.Put( aItem, EE_CHAR_ESCAPEMENT );
}
break;
case SID_HYPERLINK_SETLINK:
{
const SfxPoolItem* pItem = 0;
if(pNewAttrs)
pNewAttrs->GetItemState(nSlot, sal_False, &pItem);
if(pItem)
{
const SvxHyperlinkItem& rHLinkItem = *(const SvxHyperlinkItem *)pItem;
SvxURLField aFld(rHLinkItem.GetURL(), rHLinkItem.GetName(), SVXURLFORMAT_APPDEFAULT);
aFld.SetTargetFrame(rHLinkItem.GetTargetFrame());
const SvxFieldItem* pFieldItem = pOLV->GetFieldAtSelection();
if (pFieldItem && pFieldItem->GetField()->ISA(SvxURLField))
{
// Feld selektieren, so dass es beim Insert geloescht wird
ESelection aSel = pOLV->GetSelection();
aSel.nEndPos++;
pOLV->SetSelection(aSel);
}
if (pPostItMgr->GetActivePostIt()->GetStatus()!=SwPostItHelper::DELETED)
pOLV->InsertField(SvxFieldItem(aFld, EE_FEATURE_FIELD));
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
break;
}
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
case FN_INSERT_SOFT_HYPHEN:
case FN_INSERT_HARDHYPHEN:
case FN_INSERT_HARD_SPACE:
case SID_INSERT_RLM :
case SID_INSERT_LRM :
case SID_INSERT_ZWNBSP :
case SID_INSERT_ZWSP:
{
sal_Unicode cIns = 0;
switch(rReq.GetSlot())
{
case FN_INSERT_SOFT_HYPHEN: cIns = CHAR_SOFTHYPHEN; break;
case FN_INSERT_HARDHYPHEN: cIns = CHAR_HARDHYPHEN; break;
case FN_INSERT_HARD_SPACE: cIns = CHAR_HARDBLANK; break;
case SID_INSERT_RLM : cIns = CHAR_RLM ; break;
case SID_INSERT_LRM : cIns = CHAR_LRM ; break;
case SID_INSERT_ZWSP : cIns = CHAR_ZWSP ; break;
case SID_INSERT_ZWNBSP: cIns = CHAR_ZWNBSP; break;
}
pOLV->InsertText( String(cIns), TRUE );
rReq.Done();
break;
}
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
case SID_CHARMAP:
{
if (pPostItMgr->GetActivePostIt()->GetStatus()!=SwPostItHelper::DELETED)
InsertSymbol(rReq);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
break;
}
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
case FN_INSERT_STRING:
{
const SfxPoolItem* pItem = 0;
if(pNewAttrs)
pNewAttrs->GetItemState(nSlot, FALSE, &pItem );
if (pPostItMgr->GetActivePostIt()->GetStatus()!=SwPostItHelper::DELETED)
pOLV->InsertText(((const SfxStringItem *)pItem)->GetValue());
break;
}
case FN_FORMAT_FOOTNOTE_DLG:
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
DBG_ASSERT(pFact, "SwAbstractDialogFactory fail!");
VclAbstractDialog* pDlg = pFact->CreateSwFootNoteOptionDlg( rView.GetWindow(), rView.GetWrtShell(), DLG_DOC_FOOTNOTE );
DBG_ASSERT(pDlg, "Dialogdiet fail!");
pDlg->Execute();
delete pDlg;
break;
}
case FN_NUMBERING_OUTLINE_DLG:
{
SfxItemSet aTmp(GetPool(), FN_PARAM_1, FN_PARAM_1);
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
DBG_ASSERT(pFact, "Dialogdiet fail!");
SfxAbstractTabDialog* pDlg = pFact->CreateSwTabDialog( DLG_TAB_OUTLINE,
rView.GetWindow(), &aTmp, rView.GetWrtShell());
DBG_ASSERT(pDlg, "Dialogdiet fail!");
pDlg->Execute();
delete pDlg;
rReq.Done();
}
break;
case SID_OPEN_XML_FILTERSETTINGS:
{
try
{
uno::Reference < ui::dialogs::XExecutableDialog > xDialog(::comphelper::getProcessServiceFactory()->createInstance(rtl::OUString::createFromAscii("com.sun.star.comp.ui.XSLTFilterDialog")), uno::UNO_QUERY);
if( xDialog.is() )
{
xDialog->execute();
}
}
catch( uno::Exception& )
{
}
rReq.Ignore ();
}
break;
case FN_WORDCOUNT_DIALOG:
{
SwWrtShell &rSh = rView.GetWrtShell();
SwDocStat aCurr;
SwDocStat aDocStat( rSh.getIDocumentStatistics()->GetDocStat() );
{
SwWait aWait( *rView.GetDocShell(), TRUE );
rSh.StartAction();
rSh.CountWords( aCurr );
rSh.UpdateDocStat( aDocStat );
rSh.EndAction();
}
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
DBG_ASSERT(pFact, "Dialogdiet fail!");
AbstractSwWordCountDialog* pDialog = pFact->CreateSwWordCountDialog( rView.GetWindow() );
pDialog->SetValues(aCurr, aDocStat );
pDialog->Execute();
delete pDialog;
}
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case SID_CHAR_DLG:
{
const SfxItemSet* pArgs = rReq.GetArgs();
if( !pArgs )
{
/* mod
SwView* pView = &GetView();
FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, pView));
SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, eMetric));
*/
SfxItemSet aDlgAttr(GetPool(), EE_ITEMS_START, EE_ITEMS_END);
// util::Language gibts an der EditEngine nicht! Daher nicht im Set.
aDlgAttr.Put( aEditAttr );
aDlgAttr.Put( SvxKerningItem(0, RES_CHRATR_KERNING) );
//CHINA001 SwCharDlg* pDlg = new SwCharDlg(pView->GetWindow(), *pView, aDlgAttr, 0, sal_True);
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();//CHINA001
DBG_ASSERT(pFact, "SwAbstractDialogFactory fail!");//CHINA001
SfxAbstractTabDialog* pDlg = pFact->CreateSwCharDlg( rView.GetWindow(), rView, aDlgAttr, DLG_CHAR,0, sal_True );
DBG_ASSERT(pDlg, "Dialogdiet fail!");//CHINA001
USHORT nRet = pDlg->Execute();
if(RET_OK == nRet )
{
rReq.Done( *( pDlg->GetOutputItemSet() ) );
aNewAttr.Put(*pDlg->GetOutputItemSet());
}
delete( pDlg );
if(RET_OK != nRet)
return ;
}
else
aNewAttr.Put(*pArgs);
break;
}
case SID_PARA_DLG:
{
const SfxItemSet* pArgs = rReq.GetArgs();
if (!pArgs)
{
/* mod todo ???
SwView* pView = &GetView();
FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, pView));
SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, eMetric));
*/
SfxItemSet aDlgAttr(GetPool(),
EE_ITEMS_START, EE_ITEMS_END,
SID_ATTR_PARA_HYPHENZONE, SID_ATTR_PARA_HYPHENZONE,
SID_ATTR_PARA_SPLIT, SID_ATTR_PARA_SPLIT,
SID_ATTR_PARA_WIDOWS, SID_ATTR_PARA_WIDOWS,
SID_ATTR_PARA_ORPHANS, SID_ATTR_PARA_ORPHANS,
0);
aDlgAttr.Put(aEditAttr);
aDlgAttr.Put( SvxHyphenZoneItem( sal_False, RES_PARATR_HYPHENZONE) );
aDlgAttr.Put( SvxFmtBreakItem( SVX_BREAK_NONE, RES_BREAK ) );
aDlgAttr.Put( SvxFmtSplitItem( sal_True, RES_PARATR_SPLIT ) );
aDlgAttr.Put( SvxWidowsItem( 0, RES_PARATR_WIDOWS ) );
aDlgAttr.Put( SvxOrphansItem( 0, RES_PARATR_ORPHANS ) );
//CHINA001 SwParaDlg* pDlg = new SwParaDlg(GetView().GetWindow(), GetView(), aDlgAttr, DLG_STD, 0, sal_True);
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();//CHINA001
DBG_ASSERT(pFact, "SwAbstractDialogFactory fail!");//CHINA001
SfxAbstractTabDialog* pDlg = pFact->CreateSwParaDlg( rView.GetWindow(), rView, aDlgAttr,DLG_STD, DLG_PARA, 0, sal_True );
DBG_ASSERT(pDlg, "Dialogdiet fail!");//CHINA001
USHORT nRet = pDlg->Execute();
if(RET_OK == nRet)
{
rReq.Done( *( pDlg->GetOutputItemSet() ) );
aNewAttr.Put(*pDlg->GetOutputItemSet());
}
delete( pDlg );
if(RET_OK != nRet)
return;
}
else
aNewAttr.Put(*pArgs);
break;
}
case SID_AUTOSPELL_CHECK:
{
rView.ExecuteSlot(rReq);
break;
}
case SID_ATTR_PARA_LEFT_TO_RIGHT:
case SID_ATTR_PARA_RIGHT_TO_LEFT:
{
sal_Bool bLeftToRight = nSlot == SID_ATTR_PARA_LEFT_TO_RIGHT;
const SfxPoolItem* pPoolItem;
if( pNewAttrs && SFX_ITEM_SET == pNewAttrs->GetItemState( nSlot, TRUE, &pPoolItem ) )
{
if( !( (SfxBoolItem*)pPoolItem)->GetValue() )
bLeftToRight = !bLeftToRight;
}
SfxItemSet aAttr( *aNewAttr.GetPool(),
EE_PARA_JUST, EE_PARA_JUST,
EE_PARA_WRITINGDIR, EE_PARA_WRITINGDIR,
0 );
USHORT nAdjust = SVX_ADJUST_LEFT;
if( SFX_ITEM_ON == aEditAttr.GetItemState(EE_PARA_JUST, TRUE, &pPoolItem ) )
nAdjust = ( (SvxAdjustItem*)pPoolItem)->GetEnumValue();
if( bLeftToRight )
{
aAttr.Put( SvxFrameDirectionItem( FRMDIR_HORI_LEFT_TOP, EE_PARA_WRITINGDIR ) );
if( nAdjust == SVX_ADJUST_RIGHT )
aAttr.Put( SvxAdjustItem( SVX_ADJUST_LEFT, EE_PARA_JUST ) );
}
else
{
aAttr.Put( SvxFrameDirectionItem( FRMDIR_HORI_RIGHT_TOP, EE_PARA_WRITINGDIR ) );
if( nAdjust == SVX_ADJUST_LEFT )
aAttr.Put( SvxAdjustItem( SVX_ADJUST_RIGHT, EE_PARA_JUST ) );
}
pOLV->SetAttribs(aAttr);
break;
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
if(nEEWhich && pNewAttrs)
aNewAttr.Put(pNewAttrs->Get(nWhich), nEEWhich);
Rectangle aNullRect;
Rectangle aOutRect = pOLV->GetOutputArea();
if (aNullRect != aOutRect)
pOLV->SetAttribs(aNewAttr);
rView.GetViewFrame()->GetBindings().InvalidateAll(sal_False);
if ( pOLV->GetOutliner()->IsModified() )
rView.GetWrtShell().SetModified();
}
void SwAnnotationShell::GetState(SfxItemSet& rSet)
{
//TODO: clean this up!!!
// FN_SET_SUPER_SCRIPT
//SID_ATTR_PARA_ADJUST
//SID_ATTR_PARA_ADJUST_BLOCK
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
SfxItemSet aEditAttr(pOLV->GetAttribs());
SfxWhichIter aIter(rSet);
sal_uInt16 nWhich = aIter.FirstWhich();
while(nWhich)
{
sal_uInt16 nEEWhich = 0;
USHORT nSlotId = GetPool().GetSlotId( nWhich );
switch( nSlotId )
{
case SID_ATTR_CHAR_FONT:
case SID_ATTR_CHAR_FONTHEIGHT:
case SID_ATTR_CHAR_WEIGHT:
case SID_ATTR_CHAR_POSTURE:
{
if ( pOLV )
{
USHORT nScriptType = pOLV->GetSelectedScriptType();
SfxItemPool* pSecondPool = aEditAttr.GetPool()->GetSecondaryPool();
if( !pSecondPool )
pSecondPool = aEditAttr.GetPool();
SvxScriptSetItem aSetItem( nSlotId, *pSecondPool );
aSetItem.GetItemSet().Put( aEditAttr, FALSE );
const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScriptType );
if( pI )
rSet.Put( *pI, nWhich );
else
rSet.InvalidateItem( nWhich );
}
else
rSet.InvalidateItem( nWhich );
}
break;
case SID_ATTR_CHAR_COLOR: nEEWhich = EE_CHAR_COLOR; break;
case SID_ATTR_CHAR_UNDERLINE: nEEWhich = EE_CHAR_UNDERLINE;break;
case SID_ATTR_CHAR_OVERLINE: nEEWhich = EE_CHAR_OVERLINE;break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case SID_ATTR_CHAR_CONTOUR: nEEWhich = EE_CHAR_OUTLINE; break;
case SID_ATTR_CHAR_SHADOWED: nEEWhich = EE_CHAR_SHADOW;break;
case SID_ATTR_CHAR_STRIKEOUT: nEEWhich = EE_CHAR_STRIKEOUT;break;
case SID_ATTR_CHAR_LANGUAGE : nEEWhich = EE_CHAR_LANGUAGE;break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case FN_SET_SUPER_SCRIPT:
case FN_SET_SUB_SCRIPT:
{
USHORT nEsc = 0;
const SfxPoolItem *pEscItem = 0;
if (nWhich==FN_SET_SUPER_SCRIPT)
nEsc = SVX_ESCAPEMENT_SUPERSCRIPT;
else
nEsc = SVX_ESCAPEMENT_SUBSCRIPT;
if( !pEscItem )
pEscItem = &aEditAttr.Get( EE_CHAR_ESCAPEMENT );
if( nEsc == ((const SvxEscapementItem*)pEscItem)->GetEnumValue() )
rSet.Put( SfxBoolItem( nWhich, sal_True ));
else
rSet.InvalidateItem( nWhich );
break;
}
case SID_ATTR_PARA_ADJUST_LEFT:
case SID_ATTR_PARA_ADJUST_RIGHT:
case SID_ATTR_PARA_ADJUST_CENTER:
case SID_ATTR_PARA_ADJUST_BLOCK:
{
const SfxPoolItem *pAdjust = 0;
int eAdjust = 0;
if (nWhich==SID_ATTR_PARA_ADJUST_LEFT)
eAdjust = SVX_ADJUST_LEFT;
else
if (nWhich==SID_ATTR_PARA_ADJUST_RIGHT)
eAdjust = SVX_ADJUST_RIGHT;
else
if (nWhich==SID_ATTR_PARA_ADJUST_CENTER)
eAdjust = SVX_ADJUST_CENTER;
else
if (nWhich==SID_ATTR_PARA_ADJUST_BLOCK)
eAdjust = SVX_ADJUST_BLOCK;
if( !pAdjust )
aEditAttr.GetItemState( EE_PARA_JUST, sal_False, &pAdjust);
if( !pAdjust || IsInvalidItem( pAdjust ))
rSet.InvalidateItem( nSlotId ), nSlotId = 0;
else
{
if ( eAdjust == ((const SvxAdjustItem*)pAdjust)->GetAdjust())
rSet.Put( SfxBoolItem( nWhich, sal_True ));
else
rSet.InvalidateItem( nWhich );
}
break;
}
case SID_ATTR_PARA_LINESPACE_10:
case SID_ATTR_PARA_LINESPACE_15:
case SID_ATTR_PARA_LINESPACE_20:
{
const SfxPoolItem *pLSpace = 0;
int nLSpace = 0;
if (nWhich==SID_ATTR_PARA_LINESPACE_10)
nLSpace = 100;
else
if (nWhich==SID_ATTR_PARA_LINESPACE_15)
nLSpace = 150;
else
if (nWhich==SID_ATTR_PARA_LINESPACE_20)
nLSpace = 200;
if( !pLSpace )
aEditAttr.GetItemState( EE_PARA_SBL, sal_False, &pLSpace );
if( !pLSpace || IsInvalidItem( pLSpace ))
rSet.InvalidateItem( nSlotId ), nSlotId = 0;
else
{
if( nLSpace == ((const SvxLineSpacingItem*)pLSpace)->GetPropLineSpace() )
rSet.Put( SfxBoolItem( nWhich, sal_True ));
else
rSet.InvalidateItem( nWhich );
}
break;
}
case SID_AUTOSPELL_CHECK:
{
const SfxPoolItem* pState = rView.GetSlotState(nWhich);
if (pState)
rSet.Put(SfxBoolItem(nWhich, ((const SfxBoolItem*)pState)->GetValue()));
else
rSet.DisableItem( nWhich );
break;
}
case SID_ATTR_PARA_LEFT_TO_RIGHT:
case SID_ATTR_PARA_RIGHT_TO_LEFT:
{
if ( !SvtLanguageOptions().IsCTLFontEnabled() )
rSet.DisableItem( nWhich );
else
{
if(pOLV->GetOutliner() && pOLV->GetOutliner()->IsVertical())
rSet.DisableItem( nWhich );
else
{
BOOL bFlag = FALSE;
switch( ( ( (SvxFrameDirectionItem&) aEditAttr.Get( EE_PARA_WRITINGDIR ) ) ).GetValue() )
{
case FRMDIR_HORI_LEFT_TOP:
{
bFlag = nWhich == SID_ATTR_PARA_LEFT_TO_RIGHT;
rSet.Put( SfxBoolItem( nWhich, bFlag ));
break;
}
case FRMDIR_HORI_RIGHT_TOP:
{
bFlag = nWhich != SID_ATTR_PARA_LEFT_TO_RIGHT;
rSet.Put( SfxBoolItem( nWhich, bFlag ));
break;
}
}
}
}
}
break;
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
case SID_INSERT_RLM :
case SID_INSERT_LRM :
case SID_INSERT_ZWNBSP :
case SID_INSERT_ZWSP:
{
SvtCTLOptions aCTLOptions;
sal_Bool bEnabled = aCTLOptions.IsCTLFontEnabled();
rView.GetViewFrame()->GetBindings().SetVisibleState( nWhich, bEnabled );
if(!bEnabled)
rSet.DisableItem(nWhich);
}
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
default:
rSet.InvalidateItem( nWhich );
break;
}
if(nEEWhich)
rSet.Put(aEditAttr.Get(nEEWhich, sal_True), nWhich);
if (pPostItMgr->GetActivePostIt()->GetStatus()==SwPostItHelper::DELETED)
rSet.DisableItem( nWhich );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
nWhich = aIter.NextWhich();
}
}
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
void SwAnnotationShell::ExecSearch(SfxRequest& rReq, BOOL bNoMessage)
{
rView.ExecSearch(rReq,bNoMessage);
}
void SwAnnotationShell::StateSearch(SfxItemSet &rSet)
{
rView.StateSearch(rSet);
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
void SwAnnotationShell::ExecClpbrd(SfxRequest &rReq)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
SfxItemSet aEditAttr(pOLV->GetAttribs());
SfxItemSet aNewAttr(*aEditAttr.GetPool(), aEditAttr.GetRanges());
long aOldHeight = pPostItMgr->GetActivePostIt()->GetPostItTextHeight();
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
sal_uInt16 nSlot = rReq.GetSlot();
switch (nSlot)
{
case SID_CUT:
pOLV->Cut();
break;
case SID_COPY:
pOLV->Copy();
break;
case SID_PASTE:
if (pPostItMgr->GetActivePostIt()->GetStatus()!=SwPostItHelper::DELETED)
pOLV->Paste();
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
break;
case FN_PASTESPECIAL:
{
if (pPostItMgr->GetActivePostIt()->GetStatus()!=SwPostItHelper::DELETED)
{
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
SfxAbstractPasteDialog* pDlg = pFact->CreatePasteDialog( &rView.GetEditWin() );
pDlg->Insert( SOT_FORMAT_STRING, aEmptyStr );
pDlg->Insert( SOT_FORMAT_RTF, aEmptyStr );
TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( &rView.GetEditWin() ) );
ULONG nFormat = pDlg->GetFormat( aDataHelper.GetTransferable() );
if (nFormat > 0)
{
if (nFormat == SOT_FORMAT_STRING)
pOLV->Paste();
else
pOLV->PasteSpecial();
}
delete pDlg;
}
break;
}
case SID_CLIPBOARD_FORMAT_ITEMS:
{
ULONG nFormat = 0;
const SfxPoolItem* pItem;
if ( rReq.GetArgs() && rReq.GetArgs()->GetItemState(nSlot, TRUE, &pItem) == SFX_ITEM_SET &&
pItem->ISA(SfxUInt32Item) )
{
nFormat = ((const SfxUInt32Item*)pItem)->GetValue();
}
if ( nFormat )
{
if (SOT_FORMAT_STRING == nFormat)
pOLV->Paste();
else
pOLV->PasteSpecial();
}
break;
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
pPostItMgr->GetActivePostIt()->ResizeIfNeccessary(aOldHeight,pPostItMgr->GetActivePostIt()->GetPostItTextHeight());
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
void SwAnnotationShell::StateClpbrd(SfxItemSet &rSet)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( &rView.GetEditWin() ) );
bool bPastePossible = ( aDataHelper.HasFormat( SOT_FORMAT_STRING ) || aDataHelper.HasFormat( SOT_FORMAT_RTF ) );
bPastePossible = bPastePossible && (pPostItMgr->GetActivePostIt()->GetStatus()!=SwPostItHelper::DELETED);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
SfxWhichIter aIter(rSet);
sal_uInt16 nWhich = aIter.FirstWhich();
while(nWhich)
{
switch(nWhich)
{
case SID_CUT:
{
if ( (pPostItMgr->GetActivePostIt()->GetStatus()==SwPostItHelper::DELETED) || !pOLV->HasSelection() )
rSet.DisableItem( nWhich );
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case SID_COPY:
{
if( !pOLV->HasSelection() )
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
rSet.DisableItem( nWhich );
break;
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case SID_PASTE:
case FN_PASTESPECIAL:
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
{
if( !bPastePossible )
rSet.DisableItem( nWhich );
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
case SID_CLIPBOARD_FORMAT_ITEMS:
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
{
if ( bPastePossible )
{
SvxClipboardFmtItem aFormats( SID_CLIPBOARD_FORMAT_ITEMS );
if ( aDataHelper.HasFormat( SOT_FORMAT_RTF ) )
aFormats.AddClipbrdFormat( SOT_FORMAT_RTF );
//if ( aDataHelper.HasFormat( SOT_FORMAT_STRING ) )
aFormats.AddClipbrdFormat( SOT_FORMAT_STRING );
rSet.Put( aFormats );
}
else
rSet.DisableItem( nWhich );
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
}
nWhich = aIter.NextWhich();
}
}
void SwAnnotationShell::StateStatusLine(SfxItemSet &rSet)
{
SfxWhichIter aIter( rSet );
USHORT nWhich = aIter.FirstWhich();
while( nWhich )
{
switch( nWhich )
{
case FN_STAT_SELMODE:
{
rSet.Put(SfxUInt16Item(FN_STAT_SELMODE, 0));
rSet.DisableItem( nWhich );
break;
}
case FN_STAT_TEMPLATE:
{
rSet.DisableItem( nWhich );
break;
}
}
nWhich = aIter.NextWhich();
}
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
void SwAnnotationShell::StateInsert(SfxItemSet &rSet)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
SfxWhichIter aIter(rSet);
sal_uInt16 nWhich = aIter.FirstWhich();
while(nWhich)
{
switch(nWhich)
{
case SID_HYPERLINK_GETLINK:
{
SvxHyperlinkItem aHLinkItem;
aHLinkItem.SetInsertMode(HLINK_FIELD);
const SvxFieldItem* pFieldItem = pOLV->GetFieldAtSelection();
if (pFieldItem)
{
const SvxFieldData* pField = pFieldItem->GetField();
if (pField->ISA(SvxURLField))
{
aHLinkItem.SetName(((const SvxURLField*) pField)->GetRepresentation());
aHLinkItem.SetURL(((const SvxURLField*) pField)->GetURL());
aHLinkItem.SetTargetFrame(((const SvxURLField*) pField)->GetTargetFrame());
}
}
else
{
String sSel(pOLV->GetSelected());
sSel.Erase(255);
sSel.EraseTrailingChars();
aHLinkItem.SetName(sSel);
}
sal_uInt16 nHtmlMode = ::GetHtmlMode(rView.GetDocShell());
aHLinkItem.SetInsertMode((SvxLinkInsertMode)(aHLinkItem.GetInsertMode() |
((nHtmlMode & HTMLMODE_ON) != 0 ? HLINK_HTMLMODE : 0)));
rSet.Put(aHLinkItem);
}
break;
}
if (pPostItMgr->GetActivePostIt()->GetStatus()==SwPostItHelper::DELETED)
rSet.DisableItem( nWhich );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
nWhich = aIter.NextWhich();
}
}
void SwAnnotationShell::NoteExec(SfxRequest &rReq)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr )
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
return;
sal_uInt16 nSlot = rReq.GetSlot();
switch (nSlot)
{
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
case FN_REPLY:
case FN_POSTIT:
case FN_DELETE_COMMENT:
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case FN_DELETE_NOTE:
if ( pPostItMgr->GetActivePostIt() )
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
pPostItMgr->GetActivePostIt()->ExecuteCommand(nSlot);
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case FN_DELETE_ALL_NOTES:
pPostItMgr->Delete();
break;
case FN_DELETE_NOTE_AUTHOR:
{
SFX_REQUEST_ARG( rReq, pItem, SfxStringItem, nSlot, FALSE);
if ( pItem )
pPostItMgr->Delete( pItem->GetValue() );
break;
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case FN_HIDE_NOTE:
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
/*
if ( Mgr()->GetActivePostIt() == this )
{
Mgr()->SetActivePostIt(0);
// put the cursor back into the document
SwitchToFieldPos();
}
Mgr()->Hide(mpFld);
*/
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case FN_HIDE_ALL_NOTES:
pPostItMgr->Hide();
break;
case FN_HIDE_NOTE_AUTHOR:
{
SFX_REQUEST_ARG( rReq, pItem, SfxStringItem, nSlot, FALSE);
if ( pItem )
pPostItMgr->Hide( pItem->GetValue() );
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
}
void SwAnnotationShell::GetNoteState(SfxItemSet &rSet)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
SfxWhichIter aIter(rSet);
sal_uInt16 nWhich = aIter.FirstWhich();
while(nWhich)
{
USHORT nSlotId = GetPool().GetSlotId( nWhich );
switch( nSlotId )
{
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
case FN_POSTIT:
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case FN_DELETE_NOTE:
case FN_DELETE_NOTE_AUTHOR:
case FN_DELETE_ALL_NOTES:
case FN_HIDE_NOTE:
case FN_HIDE_NOTE_AUTHOR:
case FN_HIDE_ALL_NOTES:
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
{
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() || !pPostItMgr->GetActivePostIt()->ISA(SwPostIt))
rSet.DisableItem(nWhich);
break;
}
case FN_DELETE_COMMENT:
{
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() ) //|| !pPostItMgr->GetActivePostIt()->ISA(SwRedComment))
rSet.DisableItem(nWhich);
break;
}
case FN_REPLY:
{
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() || !pPostItMgr->GetActivePostIt()->ISA(SwPostIt))
rSet.DisableItem(nWhich);
else
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
{
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
SvtUserOptions aUserOpt;
String sAuthor;
if( !(sAuthor = aUserOpt.GetFullName()).Len())
if( !(sAuthor = aUserOpt.GetID()).Len() )
sAuthor = String( SW_RES( STR_REDLINE_UNKNOWN_AUTHOR ));
if (sAuthor == pPostItMgr->GetActivePostIt()->GetAuthor())
rSet.DisableItem(nWhich);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
break;
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
default:
rSet.InvalidateItem( nWhich );
break;
}
if (pPostItMgr->GetActivePostIt())
{
if ( (pPostItMgr->GetActivePostIt()->IsProtected()) &&
( (nSlotId==FN_DELETE_NOTE) || (nSlotId==FN_REPLY) ) )
CWS-TOOLING: integrate CWS notes7 2008-12-29 19:45:08 +0100 mod r265824 : CWS-TOOLING: rebase CWS notes7 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 14:54:42 +0100 mod r265544 : #i97239# 2008-12-16 14:53:18 +0100 mod r265543 : #i97239# 2008-12-16 13:36:43 +0100 mod r265537 : 96602 2008-12-13 13:02:54 +0100 mba r265452 : warning fixed 2008-12-13 08:20:21 +0100 mod r265448 : search inside notes 2008-12-13 00:11:47 +0100 mod r265447 : search inside notes 2008-12-13 00:11:09 +0100 mod r265446 : search inside notes 2008-12-13 00:10:52 +0100 mod r265445 : search inside notes 2008-12-12 19:39:14 +0100 mod r265439 : search inside notes 2008-12-12 19:02:44 +0100 mod r265438 : search inside notes 2008-12-12 16:42:07 +0100 mba r265431 : #i80135#: search in notes 2008-12-12 16:11:54 +0100 mba r265429 : #i80135#: search in notes 2008-12-12 16:11:02 +0100 mba r265428 : #i80135#: search in notes 2008-12-11 20:24:20 +0100 pb r265358 : fix: #i80135# fixes for aNotesBtn 2008-12-11 20:23:19 +0100 pb r265357 : fix: #i80135# fixes for aNotesBtn 2008-12-11 07:42:17 +0100 pb r265241 : fix: #i80135# CB_NOTES added 2008-12-11 07:40:36 +0100 pb r265240 : fix: #i80135# CB_NOTES added 2008-12-11 07:32:03 +0100 pb r265239 : fix: #i80135# CheckBox aNotesBtn added 2008-12-11 07:24:45 +0100 pb r265238 : fix: #i80135# CheckBox aNotesBtn added 2008-12-10 15:41:31 +0100 mod r265198 : crash using replies 2008-12-10 15:21:23 +0100 mod r265195 : crash using replies 2008-12-10 13:45:14 +0100 mba r265181 : warning fixed 2008-12-10 13:26:45 +0100 mba r265178 : warning fixed 2008-12-10 11:48:23 +0100 mba r265162 : fixed compilation error on Linux 2008-12-03 18:39:07 +0100 mod r264806 : we don't get the Ctrl-Alt-N on mac inside a note, let's do the whole reply thing using the shell, cleaner anyway 2008-12-03 17:13:59 +0100 mod r264802 : search dialog can be started and closed when focus is inside a note 2008-12-03 00:07:08 +0100 mod r264733 : search inside notes 2008-12-02 18:06:08 +0100 mod r264729 : WaE 2008-12-02 15:01:26 +0100 mod r264703 : WaE 2008-12-02 00:20:14 +0100 mod r264644 : WaE 2008-12-01 10:06:14 +0100 mod r264587 : WaE 2008-12-01 01:28:34 +0100 mod r264585 : WaE 2008-11-30 22:51:19 +0100 mod r264584 : search inside notes 2008-11-30 17:03:04 +0100 mod r264583 : search inside notes 2008-11-28 16:30:05 +0100 mod r264560 : #i96602# 2008-11-28 16:14:50 +0100 mod r264559 : test 2008-11-28 16:11:37 +0100 mod r264558 : test 2008-11-17 17:46:10 +0100 mod r263735 : WaE 2008-11-17 17:45:56 +0100 mod r263734 : WaE 2008-11-17 17:37:35 +0100 mod r263733 : revert manual fix for icu 2008-11-17 15:03:55 +0100 mod r263726 : manual fix for icu 2008-11-17 11:17:49 +0100 mod r263707 : manual fix for icu 2008-11-14 15:51:19 +0100 mod r263679 : fix 2008-11-14 14:48:02 +0100 mod r263676 : some more cleanup, redline comments not in the margin for 3.1 2008-11-14 08:37:07 +0100 mod r263664 : end of line missing 2008-11-13 18:36:53 +0100 mod r263660 : WaE 2008-11-13 18:20:04 +0100 mod r263659 : #i94374# 2008-11-13 15:51:28 +0100 mod r263648 : CWS-TOOLING: rebase CWS notes7 to trunk@263288 (milestone: DEV300:m35) 2008-11-13 08:33:19 +0100 mod r263622 : typos 2008-11-02 23:18:19 +0100 mod r263278 : changes notes, replies 2008-11-01 11:48:35 +0100 mod r262873 : replies, comments 2008-11-01 11:44:57 +0100 mod r262872 : notes search button 2008-10-10 14:34:34 +0200 mod r262150 : migration from cvs to svn 2008-10-10 14:33:39 +0200 mod r262149 : migration from cvs to svn
2009-01-02 15:51:45 +00:00
rSet.DisableItem( nWhich );
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
nWhich = aIter.NextWhich();
}
}
void SwAnnotationShell::ExecLingu(SfxRequest &rReq)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
SfxItemSet aEditAttr(pOLV->GetAttribs());
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
sal_uInt16 nSlot = rReq.GetSlot();
SwWrtShell &rSh = rView.GetWrtShell();
bool bRestoreSelection = false;
ESelection aOldSelection;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
switch (nSlot)
{
case SID_LANGUAGE_STATUS:
{
aOldSelection = pOLV->GetSelection();
if (!pOLV->GetEditView().HasSelection())
{
bRestoreSelection = true;
pOLV->GetEditView().SelectCurrentWord();
}
bRestoreSelection = SwLangHelper::SetLanguageStatus(pOLV,rReq,rView,rSh);
break;
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
case FN_THESAURUS_DLG:
{
pOLV->StartThesaurus();
break;
}
case SID_HANGUL_HANJA_CONVERSION:
pOLV->StartTextConversion( LANGUAGE_KOREAN, LANGUAGE_KOREAN, NULL,
i18n::TextConversionOption::CHARACTER_BY_CHARACTER, sal_True, sal_False );
break;
case SID_CHINESE_CONVERSION:
{
//open ChineseTranslationDialog
Reference< XComponentContext > xContext(
::cppu::defaultBootstrap_InitialComponentContext() ); //@todo get context from calc if that has one
if(xContext.is())
{
Reference< lang::XMultiComponentFactory > xMCF( xContext->getServiceManager() );
if(xMCF.is())
{
Reference< ui::dialogs::XExecutableDialog > xDialog(
xMCF->createInstanceWithContext(
rtl::OUString::createFromAscii("com.sun.star.linguistic2.ChineseTranslationDialog")
, xContext), UNO_QUERY);
Reference< lang::XInitialization > xInit( xDialog, UNO_QUERY );
if( xInit.is() )
{
// initialize dialog
Reference< awt::XWindow > xDialogParentWindow(0);
Sequence<Any> aSeq(1);
Any* pArray = aSeq.getArray();
PropertyValue aParam;
aParam.Name = rtl::OUString::createFromAscii("ParentWindow");
aParam.Value <<= makeAny(xDialogParentWindow);
pArray[0] <<= makeAny(aParam);
xInit->initialize( aSeq );
//execute dialog
sal_Int16 nDialogRet = xDialog->execute();
if( RET_OK == nDialogRet )
{
//get some parameters from the dialog
sal_Bool bToSimplified = sal_True;
sal_Bool bUseVariants = sal_True;
sal_Bool bCommonTerms = sal_True;
Reference< beans::XPropertySet > xProp( xDialog, UNO_QUERY );
if( xProp.is() )
{
try
{
xProp->getPropertyValue( C2U("IsDirectionToSimplified") ) >>= bToSimplified;
xProp->getPropertyValue( C2U("IsUseCharacterVariants") ) >>= bUseVariants;
xProp->getPropertyValue( C2U("IsTranslateCommonTerms") ) >>= bCommonTerms;
}
catch( Exception& )
{
}
}
//execute translation
sal_Int16 nSourceLang = bToSimplified ? LANGUAGE_CHINESE_TRADITIONAL : LANGUAGE_CHINESE_SIMPLIFIED;
sal_Int16 nTargetLang = bToSimplified ? LANGUAGE_CHINESE_SIMPLIFIED : LANGUAGE_CHINESE_TRADITIONAL;
sal_Int32 nOptions = bUseVariants ? i18n::TextConversionOption::USE_CHARACTER_VARIANTS : 0;
if( !bCommonTerms )
nOptions = nOptions | i18n::TextConversionOption::CHARACTER_BY_CHARACTER;
Font aTargetFont = pOLV->GetWindow()->GetDefaultFont( DEFAULTFONT_CJK_TEXT,
nTargetLang, DEFAULTFONT_FLAGS_ONLYONE );
pOLV->StartTextConversion( nSourceLang, nTargetLang, &aTargetFont, nOptions, sal_False, sal_False );
}
}
Reference< lang::XComponent > xComponent( xDialog, UNO_QUERY );
if( xComponent.is() )
xComponent->dispose();
}
}
}
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
if (bRestoreSelection)
{
// restore selection
pOLV->GetEditView().SetSelection( aOldSelection );
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
void SwAnnotationShell::GetLinguState(SfxItemSet &rSet)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
SfxItemSet aEditAttr(pOLV->GetAttribs());
SfxWhichIter aIter(rSet);
sal_uInt16 nWhich = aIter.FirstWhich();
while(nWhich)
{
switch (nWhich)
{
case SID_LANGUAGE_STATUS:
{
SwLangHelper::GetLanguageStatus(pOLV,rSet);
break;
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
// disable "Thesaurus" if the language is not supported
case FN_THESAURUS_DLG:
{
const SfxPoolItem &rItem = rView.GetWrtShell().GetDoc()->GetDefault(
GetWhichOfScript( RES_CHRATR_LANGUAGE,
GetI18NScriptTypeOfLanguage( (USHORT)GetAppLanguage())) );
LanguageType nLang = ((const SvxLanguageItem &)
rItem).GetLanguage();
uno::Reference< linguistic2::XThesaurus > xThes( ::GetThesaurus() );
if (!xThes.is() || nLang == LANGUAGE_NONE ||
!xThes->hasLocale( SvxCreateLocale( nLang ) ))
rSet.DisableItem( FN_THESAURUS_DLG );
}
break;
case SID_HANGUL_HANJA_CONVERSION:
case SID_CHINESE_CONVERSION:
{
if (!SvtCJKOptions().IsAnyEnabled())
{
rView.GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_False );
rSet.DisableItem(nWhich);
}
else
rView.GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_True );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
break;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
if (pPostItMgr->GetActivePostIt()->GetStatus()==SwPostItHelper::DELETED)
rSet.DisableItem( nWhich );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
nWhich = aIter.NextWhich();
}
}
void SwAnnotationShell::ExecTransliteration(SfxRequest &rReq)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
using namespace ::com::sun::star::i18n;
{
sal_uInt32 nMode = 0;
switch( rReq.GetSlot() )
{
case SID_TRANSLITERATE_UPPER:
nMode = TransliterationModules_LOWERCASE_UPPERCASE;
break;
case SID_TRANSLITERATE_LOWER:
nMode = TransliterationModules_UPPERCASE_LOWERCASE;
break;
case SID_TRANSLITERATE_HALFWIDTH:
nMode = TransliterationModules_FULLWIDTH_HALFWIDTH;
break;
case SID_TRANSLITERATE_FULLWIDTH:
nMode = TransliterationModules_HALFWIDTH_FULLWIDTH;
break;
case SID_TRANSLITERATE_HIRAGANA:
nMode = TransliterationModules_KATAKANA_HIRAGANA;
break;
case SID_TRANSLITERATE_KATAGANA:
nMode = TransliterationModules_HIRAGANA_KATAKANA;
break;
default:
ASSERT(!this, "falscher Dispatcher");
}
if( nMode )
{
pOLV->TransliterateText( nMode );
}
}
}
void SwAnnotationShell::ExecUndo(SfxRequest &rReq)
{
const SfxItemSet* pArgs = rReq.GetArgs();
SfxUndoManager* pUndoManager = GetUndoManager();
SwWrtShell &rSh = rView.GetWrtShell();
long aOldHeight = rView.GetPostItMgr()->GetActivePostIt() ? rView.GetPostItMgr()->GetActivePostIt()->GetPostItTextHeight() : 0;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
USHORT nId = rReq.GetSlot();
sal_uInt16 nCnt = 1;
const SfxPoolItem* pItem=0;
if( pArgs && SFX_ITEM_SET == pArgs->GetItemState( nId, FALSE, &pItem ) )
nCnt = ((SfxUInt16Item*)pItem)->GetValue();
switch( nId )
{
case SID_UNDO:
{
if ( pUndoManager )
{
sal_uInt16 nCount = pUndoManager->GetUndoActionCount();
sal_uInt16 nSteps = nCnt;
if ( nCount < nCnt )
{
nCnt = nCnt - nCount;
nSteps = nCount;
}
else
nCnt = 0;
while( nSteps-- )
pUndoManager->Undo(0);
}
if ( nCnt )
rSh.Do( SwWrtShell::UNDO, nCnt );
break;
}
case SID_REDO:
{
if ( pUndoManager )
{
sal_uInt16 nCount = pUndoManager->GetRedoActionCount();
sal_uInt16 nSteps = nCnt;
if ( nCount < nCnt )
{
nCnt = nCnt - nCount;
nSteps = nCount;
}
else
nCnt = 0;
while( nSteps-- )
pUndoManager->Redo(0);
}
if ( nCnt )
rSh.Do( SwWrtShell::REDO, nCnt );
break;
}
}
if (rView.GetPostItMgr()->GetActivePostIt())
rView.GetPostItMgr()->GetActivePostIt()->ResizeIfNeccessary(aOldHeight,rView.GetPostItMgr()->GetActivePostIt()->GetPostItTextHeight());
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
void SwAnnotationShell::StateUndo(SfxItemSet &rSet)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
SfxWhichIter aIter(rSet);
USHORT nWhich = aIter.FirstWhich();
SfxUndoManager* pUndoManager = GetUndoManager();
SfxViewFrame *pSfxViewFrame = rView.GetViewFrame();
SwWrtShell &rSh = rView.GetWrtShell();
while( nWhich )
{
switch ( nWhich )
{
case SID_UNDO:
{
sal_uInt16 nCount = pUndoManager->GetUndoActionCount();
if ( nCount )
pSfxViewFrame->GetSlotState( nWhich, pSfxViewFrame->GetInterface(), &rSet );
else if( rSh.GetUndoIds() )
rSet.Put( SfxStringItem( nWhich, rSh.GetDoString(SwWrtShell::UNDO)) );
else
rSet.DisableItem(nWhich);
break;
}
case SID_REDO:
{
sal_uInt16 nCount = pUndoManager->GetRedoActionCount();
if ( nCount )
pSfxViewFrame->GetSlotState( nWhich, pSfxViewFrame->GetInterface(), &rSet );
else if(rSh.GetRedoIds())
rSet.Put(SfxStringItem( nWhich, rSh.GetDoString(SwWrtShell::REDO)) );
else
rSet.DisableItem(nWhich);
break;
}
case SID_GETUNDOSTRINGS:
case SID_GETREDOSTRINGS:
{
if( pUndoManager )
{
UniString (SfxUndoManager:: *fnGetComment)( USHORT ) const;
sal_uInt16 nCount;
if( SID_GETUNDOSTRINGS == nWhich )
{
nCount = pUndoManager->GetUndoActionCount();
fnGetComment = &SfxUndoManager::GetUndoActionComment;
}
else
{
nCount = pUndoManager->GetRedoActionCount();
fnGetComment = &SfxUndoManager::GetRedoActionComment;
}
String sList;
if( nCount )
{
for( sal_uInt16 n = 0; n < nCount; ++n )
( sList += (pUndoManager->*fnGetComment)( n ) )
+= '\n';
}
SfxStringListItem aItem( nWhich );
if( nWhich == SID_GETUNDOSTRINGS && rSh.GetUndoIds() )
{
rSh.GetDoStrings( SwWrtShell::UNDO, aItem );
}
else if( nWhich == SID_GETREDOSTRINGS && rSh.GetRedoIds() )
{
rSh.GetDoStrings( SwWrtShell::UNDO, aItem );
}
sList += aItem.GetString();
aItem.SetString( sList );
rSet.Put( aItem );
}
else
rSet.DisableItem( nWhich );
}
break;
default:
{
pSfxViewFrame->GetSlotState( nWhich, pSfxViewFrame->GetInterface(), &rSet );
break;
}
}
if (pPostItMgr->GetActivePostIt()->GetStatus()==SwPostItHelper::DELETED)
rSet.DisableItem( nWhich );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
nWhich = aIter.NextWhich();
}
}
void SwAnnotationShell::StateDisableItems( SfxItemSet &rSet )
{
SfxWhichIter aIter(rSet);
USHORT nWhich = aIter.FirstWhich();
while (nWhich)
{
rSet.DisableItem( nWhich );
nWhich = aIter.NextWhich();
}
}
void SwAnnotationShell::InsertSymbol(SfxRequest& rReq)
{
SwPostItMgr* pPostItMgr = rView.GetPostItMgr();
if ( !pPostItMgr || !pPostItMgr->GetActivePostIt() )
return;
OutlinerView* pOLV = pPostItMgr->GetActivePostIt()->View();
const SfxItemSet *pArgs = rReq.GetArgs();
const SfxPoolItem* pItem = 0;
if( pArgs )
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
pArgs->GetItemState(GetPool().GetWhich(SID_CHARMAP), FALSE, &pItem);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
String sSym;
String sFontName;
if ( pItem )
{
sSym = ((const SfxStringItem*)pItem)->GetValue();
const SfxPoolItem* pFtItem = NULL;
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
pArgs->GetItemState( GetPool().GetWhich(SID_ATTR_SPECIALCHAR), FALSE, &pFtItem);
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem );
if ( pFontItem )
sFontName = pFontItem->GetValue();
}
SfxItemSet aSet(pOLV->GetAttribs());
USHORT nScript = pOLV->GetSelectedScriptType();
SvxFontItem aSetDlgFont( RES_CHRATR_FONT );
{
SvxScriptSetItem aSetItem( SID_ATTR_CHAR_FONT, *aSet.GetPool() );
aSetItem.GetItemSet().Put( aSet, FALSE );
const SfxPoolItem* pI = aSetItem.GetItemOfScript( nScript );
if( pI )
aSetDlgFont = *(SvxFontItem*)pI;
else
aSetDlgFont = (SvxFontItem&)aSet.Get( GetWhichOfScript(
SID_ATTR_CHAR_FONT,
GetI18NScriptTypeOfLanguage( (USHORT)GetAppLanguage() ) ));
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
if (!sFontName.Len())
sFontName = aSetDlgFont.GetFamilyName();
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
Font aFont(sFontName, Size(1,1));
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
if( !sSym.Len() )
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
{
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
SfxAllItemSet aAllSet( GetPool() );
aAllSet.Put( SfxBoolItem( FN_PARAM_1, FALSE ) );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
SwViewOption aOpt(*rView.GetWrtShell().GetViewOptions());
String sSymbolFont = aOpt.GetSymbolFont();
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
if( sSymbolFont.Len() )
aAllSet.Put( SfxStringItem( SID_FONT_NAME, sSymbolFont ) );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
else
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
aAllSet.Put( SfxStringItem( SID_FONT_NAME, aSetDlgFont.GetFamilyName() ) );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
// Wenn Zeichen selektiert ist kann es angezeigt werden
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
SfxAbstractDialog* pDlg = pFact->CreateSfxDialog( rView.GetWindow(), aAllSet,
rView.GetViewFrame()->GetFrame()->GetFrameInterface(), RID_SVXDLG_CHARMAP );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
USHORT nResult = pDlg->Execute();
if( nResult == RET_OK )
{
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pCItem, SfxStringItem, SID_CHARMAP, FALSE );
SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFontItem, SvxFontItem, SID_ATTR_CHAR_FONT, FALSE );
if ( pFontItem )
{
aFont.SetName( pFontItem->GetFamilyName() );
aFont.SetStyleName( pFontItem->GetStyleName() );
aFont.SetCharSet( pFontItem->GetCharSet() );
aFont.SetPitch( pFontItem->GetPitch() );
}
if ( pCItem )
{
sSym = pCItem->GetValue();
aOpt.SetSymbolFont(aFont.GetName());
SW_MOD()->ApplyUsrPref(aOpt, &rView);
}
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
}
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
delete( pDlg );
}
if( sSym.Len() )
{
// nicht flackern
pOLV->HideCursor();
Outliner * pOutliner = pOLV->GetOutliner();
pOutliner->SetUpdateMode(FALSE);
SfxItemSet aOldSet( pOLV->GetAttribs() );
SfxItemSet aFontSet( *aOldSet.GetPool(),
EE_CHAR_FONTINFO, EE_CHAR_FONTINFO,
EE_CHAR_FONTINFO_CJK, EE_CHAR_FONTINFO_CJK,
EE_CHAR_FONTINFO_CTL, EE_CHAR_FONTINFO_CTL,
0 );
aFontSet.Set( aOldSet );
// String einfuegen
pOLV->InsertText( sSym, TRUE );
// attributieren (Font setzen)
SfxItemSet aSetFont( *aFontSet.GetPool(), aFontSet.GetRanges() );
SvxFontItem aFontItem (aFont.GetFamily(), aFont.GetName(),
aFont.GetStyleName(), aFont.GetPitch(),
aFont.GetCharSet(),
EE_CHAR_FONTINFO );
USHORT nScriptBreak = pBreakIt->GetAllScriptsOfText( sSym );
if( SCRIPTTYPE_LATIN & nScriptBreak )
aSetFont.Put( aFontItem, EE_CHAR_FONTINFO );
if( SCRIPTTYPE_ASIAN & nScriptBreak )
aSetFont.Put( aFontItem, EE_CHAR_FONTINFO_CJK );
if( SCRIPTTYPE_COMPLEX & nScriptBreak )
aSetFont.Put( aFontItem, EE_CHAR_FONTINFO_CTL );
pOLV->SetAttribs(aSetFont);
// Selektion loeschen
ESelection aSel(pOLV->GetSelection());
aSel.nStartPara = aSel.nEndPara;
aSel.nStartPos = aSel.nEndPos;
pOLV->SetSelection(aSel);
// Alten Font restaurieren
pOLV->SetAttribs( aFontSet );
// ab jetzt wieder anzeigen
pOutliner->SetUpdateMode(TRUE);
pOLV->ShowCursor();
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
rReq.AppendItem( SfxStringItem( GetPool().GetWhich(SID_CHARMAP), sSym ) );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
if(aFont.GetName().Len())
CWS-TOOLING: integrate CWS mba32issues01 2009-05-05 18:23:27 +0200 mba r271547 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:22:02 +0200 mba r271545 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-05-05 18:16:42 +0200 mba r271544 : apply diffs from m45->m47 for all files moved from dialog to cui 2009-04-29 19:35:58 +0200 mba r271392 : #i73672#: unify commands for inserting special characters 2009-04-29 18:01:27 +0200 mba r271391 : #i101337#: missing string resources 2009-04-29 18:01:10 +0200 mba r271390 : #i101337#: missing string resources 2009-04-29 15:42:47 +0200 mba r271380 : concurrency problem in multithreaded dmake due to missing dependency 2009-04-28 17:36:03 +0200 tbo r271336 : #i99432# 2009-04-28 13:57:52 +0200 mba r271322 : #i101302#: ctor might be called with pSet=0 2009-04-22 19:32:39 +0200 tbo r271138 : #i99432# 2009-04-09 14:46:03 +0200 mba r270709 : make sendreportw32.cxx compile with pch 2009-04-06 16:05:07 +0200 mba r270568 : #i99432#: some tweaks for build order 2009-04-06 15:38:52 +0200 mba r270558 : typo 2009-04-06 13:36:19 +0200 mba r270542 : #i99432#: split of localization also 2009-04-06 13:19:06 +0200 mba r270539 : #i99432#: split up srs files also 2009-04-03 17:57:59 +0200 mba r270513 : #i99432#: split dialog folder into two 2009-04-03 17:56:46 +0200 mba r270512 : #i99432#: split dialog folder into two 2009-04-01 22:15:00 +0200 mba r270364 : warnings on Linux 2009-04-01 22:10:44 +0200 mba r270363 : warnings on Linux 2009-04-01 21:43:54 +0200 mba r270362 : warning fixed 2009-04-01 21:41:27 +0200 mba r270361 : warning on Linux fixed 2009-04-01 21:35:44 +0200 mba r270360 : warning fixed 2009-04-01 20:19:59 +0200 mba r270358 : warning found on Linux fixed 2009-04-01 19:23:38 +0200 mba r270354 : warning due to missing eof 2009-04-01 18:56:25 +0200 mba r270352 : linking problem fixed that appeared only on mac 2009-04-01 18:41:30 +0200 mba r270350 : warnings discovered on Linux fixed 2009-04-01 18:34:28 +0200 mba r270349 : some fixes for warnings and include problems discoverd after resync and build on mac 2009-04-01 14:08:22 +0200 mba r270328 : CWS-TOOLING: rebase CWS mba32issues01 to trunk@270033 (milestone: DEV300:m45) 2009-03-04 18:13:35 +0100 mba r268858 : #i99432#: more dialogs moved to cui 2009-03-04 17:47:41 +0100 mba r268854 : #i99432#: more dialogs moved to cui 2009-03-04 17:32:39 +0100 mba r268851 : warning fixed 2009-03-04 12:59:26 +0100 mba r268814 : #i99432#: more dialogs moved to cui 2009-03-04 11:49:03 +0100 mba r268802 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:46:00 +0100 mba r268795 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:43:50 +0100 mba r268794 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:29 +0100 mba r268792 : #i99432#: CharmapDialog moved to cui 2009-03-04 10:00:03 +0100 mba r268791 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:59:43 +0100 mba r268790 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:51 +0100 mba r268789 : #i99432#: CharmapDialog moved to cui 2009-03-04 09:58:16 +0100 mba r268788 : #i99432#: CharmapDialog moved to cui 2009-03-03 16:33:14 +0100 mba r268763 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:32:28 +0100 mba r268762 : #i99432#: some tabpages moved to cui 2009-03-03 16:32:09 +0100 mba r268761 : #i99432#: some tabpages moved to cui 2009-03-03 16:29:40 +0100 mba r268760 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:29:08 +0100 mba r268759 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:41 +0100 mba r268758 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:28:18 +0100 mba r268757 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:27:36 +0100 mba r268756 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:27:02 +0100 mba r268755 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:26:23 +0100 mba r268754 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:25:30 +0100 mba r268753 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:49 +0100 mba r268752 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:24:35 +0100 mba r268751 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:23:20 +0100 mba r268750 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:23:04 +0100 mba r268749 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:21:56 +0100 mba r268748 : #i99465#: new SfxAbstractDialog interface and creation methods 2009-03-03 16:18:39 +0100 mba r268747 : #i99432#: MacroAssignment page moved to cui 2009-03-03 16:13:14 +0100 mba r268745 : #i99465#: replace FN_SYMBOL by SID_CHARMAP 2009-03-03 16:02:54 +0100 mba r268738 : #i99432#: moved MacroAssignment TabPage from sfx2 2009-03-03 14:57:58 +0100 mba r268729 : #i99465#: transport return value via ItemSet 2009-03-03 00:08:10 +0100 mba r268701 : #i99432#: move acccfg to cuilib 2009-03-03 00:07:32 +0100 mba r268700 : #i99432#: move acccfg to cuilib 2009-03-03 00:02:01 +0100 mba r268699 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:38 +0100 mba r268698 : #i99432#: move acccfg to cuilib 2009-03-03 00:01:11 +0100 mba r268697 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:40 +0100 mba r268696 : #i99432#: move acccfg to cuilib 2009-03-03 00:00:06 +0100 mba r268695 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:59:22 +0100 mba r268694 : #i99432#: move acccfg to cuilib 2009-03-02 23:57:19 +0100 mba r268693 : #i99432#: move acccfg to svx 2009-03-02 23:56:14 +0100 mba r268692 : #i99432#: replace SfxAbstractSingleTabDialog by SfxAbstractDialog 2009-03-02 23:49:37 +0100 mba r268691 : #i99785#: consolidate dialogs library 2009-03-02 17:26:40 +0100 mba r268683 : #i99785#: consolidate dialogs library 2009-03-02 17:24:28 +0100 mba r268682 : i99465#: consolidate slot for InsertSymbol command 2009-03-02 17:22:29 +0100 mba r268681 : #i99785#: consolidate dialogs library 2009-03-02 17:18:11 +0100 mba r268680 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 17:08:30 +0100 mba r268679 : #i99785#: consolidate dialogs library 2009-03-02 17:06:57 +0100 mba r268678 : #i99785#: consolidate dialogs library 2009-03-02 17:06:30 +0100 mba r268677 : #i99785#: consolidate dialogs library 2009-03-02 17:05:02 +0100 mba r268676 : #i99785#: consolidate dialogs library 2009-03-02 17:04:35 +0100 mba r268675 : #i99785#: consolidate dialogs library 2009-03-02 16:47:53 +0100 mba r268673 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:45:17 +0100 mba r268671 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:39:59 +0100 mba r268670 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:59 +0100 mba r268668 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:38:28 +0100 mba r268667 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:36:06 +0100 mba r268666 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:29:50 +0100 mba r268663 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:24:00 +0100 mba r268659 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:23:31 +0100 mba r268658 : i99432#: move accelconfig and macroassignment to cui 2009-03-02 16:22:41 +0100 mba r268657 : i99432#: move accelconfig and macroassignment to cui 2009-02-25 16:57:26 +0100 mba r268453 : obsolete 2009-02-17 10:50:51 +0100 mba r267846 : obsolete 2009-02-12 16:33:54 +0100 mba r267676 : #i96834#: warning fixed 2009-02-11 19:28:47 +0100 mba r267626 : #i91978#: unused code 2009-02-11 18:37:47 +0100 mba r267625 : metafile output, fixes for 3 layer office 2009-02-11 12:56:28 +0100 mba r267593 : selective trees; incomplete build lists; metafile output
2009-05-06 10:59:57 +00:00
rReq.AppendItem( SfxStringItem( SID_ATTR_SPECIALCHAR, aFont.GetName() ) );
INTEGRATION: CWS notes2 (1.1.2); FILE ADDED 2008/01/27 15:56:58 mba 1.1.2.25: #i84074#: improved undo implementation 2008/01/18 10:58:03 mba 1.1.2.24: build problems on Solaris 2007/12/28 11:20:08 mba 1.1.2.23: #i6193#: AnnotationShell must handle UndoManager itself as it stays as DispatcherStack when ActivePostit is changed 2007/12/27 17:55:12 mod 1.1.2.22: #i6193# bugfix 2007/12/17 17:33:51 mba 1.1.2.21: #i6193#: solved reentrance problems in PostItMgr 2007/12/17 09:00:11 mod 1.1.2.20: fixes for web layout and seperater between sidebar 2007/12/06 21:21:40 mba 1.1.2.19: resetting of attributes should retain default attributes 2007/12/02 15:13:28 mod 1.1.2.18: fix for url click and format reset 2007/11/30 15:13:36 mod 1.1.2.17: code cleanup and removing of flickering 2007/11/29 10:51:44 mba 1.1.2.16: #i84074#: use DrawText toolbar; fixed undo/redo state 2007/11/28 12:55:11 mba 1.1.2.15: undo/redo fixed 2007/11/22 11:40:25 mod 1.1.2.14: fix for scrolling behaviour in VisPortChg, register text toolbar instead of draw 2007/11/16 16:06:51 mod 1.1.2.13: fixes for keyboard shortcut popup and PreparePageContainer() 2007/11/13 16:43:10 mod 1.1.2.12: no doc context menu on sidebar, new keyboard shortcuts, improved sidebar scrolling, no richtext 2007/11/04 21:43:01 mod 1.1.2.11: completly new layout code by page 2007/10/22 10:04:24 mod 1.1.2.10: fix for centered zoom; new buttons inside meta area 2007/10/17 15:50:57 mod 1.1.2.9: bend anchor either at frame of page 2007/10/16 15:26:22 mod 1.1.2.8: several improvements and fixes for layout algorithm 2007/09/30 09:47:17 mod 1.1.2.7: fixing warnings in AnnotationShell 2007/09/25 17:48:28 mod 1.1.2.6: resize() 2007/09/05 10:16:25 mod 1.1.2.5: Options-Writer-View-Notes;EnableInput and colors for meta information, start of RTL code 2007/09/03 15:06:26 mod 1.1.2.4: SwAnnotationShell, MultiLineEdit for meta information 2007/07/09 13:07:52 mod 1.1.2.3: work on SwAnnotationShell continues 2007/07/05 18:47:32 mod 1.1.2.2: Bugfixes: spellchecking works again as well as some crashes fixed 2007/07/04 15:42:23 mba 1.1.2.1: new shell for editing notes
2008-02-19 12:57:51 +00:00
rReq.Done();
}
}