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

1648 lines
63 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
re-base on ALv2 code. Includes: Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2011-03-31 10:05:04 +02:00
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <com/sun/star/i18n/WordType.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <comphelper/processfactory.hxx>
2000-09-18 16:15:01 +00:00
#include <hintids.hxx>
#include <cmdid.h>
#include <helpid.h>
#include <i18npool/languagetag.hxx>
#include <svl/languageoptions.hxx>
#include <editeng/langitem.hxx>
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
#include <svtools/langtab.hxx>
#include <svl/slstitm.hxx>
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
#include <string.h>
#include <svl/stritem.hxx>
2000-09-18 16:15:01 +00:00
#include <svx/htmlmode.hxx>
#include <svl/whiter.hxx>
2000-09-18 16:15:01 +00:00
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/objitem.hxx>
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
#include <vcl/unohelp2.hxx>
2000-09-18 16:15:01 +00:00
#include <sfx2/request.hxx>
#include <svl/eitem.hxx>
#include <svl/macitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/svxacorr.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <IDocumentSettingAccess.hxx>
2002-07-04 13:55:54 +00:00
#include <charfmt.hxx>
#include <editeng/fontitem.hxx>
#include <svx/SmartTagItem.hxx>
2000-09-18 16:15:01 +00:00
#include <fmtinfmt.hxx>
#include <swwait.hxx>
#include <wrtsh.hxx>
#include <wview.hxx>
#include <swmodule.hxx>
#include <viewopt.hxx>
#include <uitool.hxx>
#include <swevent.hxx>
#include <pagedesc.hxx>
2000-09-18 16:15:01 +00:00
#include <textsh.hxx>
CWS-TOOLING: integrate CWS swrefactormarks2 2009-04-09 12:51:41 +0200 b_michaelsen r270689 : #i94949# cleaned up assertions after rebasing 2009-04-08 17:37:08 +0200 b_michaelsen r270658 : fixing sw/source/ui/utlui/makefile.mk 2009-04-07 17:56:54 +0200 b_michaelsen r270606 : added bookctrl.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-07 17:05:20 +0200 b_michaelsen r270603 : added crbm.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-02 23:44:38 +0200 b_michaelsen r270436 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@270033 (milestone: DEV300:m45) 2009-02-27 16:25:31 +0100 b_michaelsen r268606 : #i94949# fixed Windows buildbreaker 2009-02-25 18:01:13 +0100 b_michaelsen r268464 : #i94949# Bookmarktest document filter roundtrips 2009-02-24 18:23:55 +0100 b_michaelsen r268404 : #i94949# Bookmark unittests 2009-02-23 19:47:44 +0100 b_michaelsen r268370 : #i94949# added unittest for bookmarks 2009-02-23 12:22:07 +0100 b_michaelsen r268348 : #i94949# fixing CheckCrossReferences testcase 2009-02-20 18:12:50 +0100 b_michaelsen r268335 : #i94949# fixing SwXTextRange 2009-02-18 18:32:57 +0100 b_michaelsen r268252 : #i94949# deregistering DdeBookmarks on delete 2009-02-18 18:29:08 +0100 b_michaelsen r268251 : fixing dbgoutsw.cxx for debug builds 2009-02-16 18:42:43 +0100 b_michaelsen r267834 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 15:32:02 +0100 b_michaelsen r267667 : #i94949 fixed crossrefbookmark naming 2009-02-11 18:30:08 +0100 b_michaelsen r267624 : #94949# fixing bookmark navigation 2009-02-11 13:55:26 +0100 b_michaelsen r267599 : #i94949# fixed bookmark naming 2009-02-10 17:53:05 +0100 b_michaelsen r267571 : #i94949# renamed HasOtherMarkPos to IsExpanded 2009-02-10 17:23:01 +0100 b_michaelsen r267564 : #i94949# renamed ::sw::bookmark namespace to more fitting ::sw::mark 2009-02-10 16:16:32 +0100 b_michaelsen r267553 : #i94949# creating only CrossRefBookmark per Txtnode 2009-02-10 12:14:05 +0100 b_michaelsen r267547 : #i94949# fixed bookmark count in navigator 2009-02-09 19:12:18 +0100 b_michaelsen r267532 : #i94949# lcl_CopyBookmarks(..) - handle marks on boundaries correctly 2009-02-09 17:32:45 +0100 b_michaelsen r267524 : #i94949# setting the refobject of the DdeBookmark in Sin SwServerObject::SetDdeBookmark(..) 2009-02-09 17:22:15 +0100 b_michaelsen r267523 : #i94949# trying to harden SwServerObject 2009-02-09 16:47:32 +0100 b_michaelsen r267521 : #i94949# lcl_CopyBookmarks(..): try to get the source mark name, if possible 2009-02-09 16:05:42 +0100 b_michaelsen r267519 : #i94949# clearing the OtherMarkPos if PaM has no mark in repositionMark(..), swapping inverted bookmarks without hissing an assertion 2009-02-09 15:55:38 +0100 b_michaelsen r267518 : #i94949# checking for out-of-bounds in SwView::ExecuteStatusLine(..) 2009-02-09 15:23:47 +0100 b_michaelsen r267517 : #i94949# using an UNO_BOOKMARK in ui/dbui/dbinsdlg.cxx 2009-02-09 14:14:47 +0100 b_michaelsen r267514 : #i94949# IDocumentMarkAccess::GetType(..) asserts on unknown type 2009-02-09 14:04:25 +0100 b_michaelsen r267513 : #i94949# using rtl strings instead of tools-strings in CrossRefBookmarks 2009-02-09 13:55:01 +0100 b_michaelsen r267510 : #i94949# using empty string for UnoMark construction 2009-02-09 13:46:46 +0100 b_michaelsen r267509 : #i94949# removed superfluous #includes, removed superfluous member DdeBookmark::bGenerateName, initialized DdeBookmark::m_aRefObj removed superfluous local _FindItem::ClearObj 2009-02-06 14:38:37 +0100 b_michaelsen r267462 : #i94949# fixing FN_STAT_BOOKMARK dispatches 2009-02-05 18:05:07 +0100 b_michaelsen r267436 : #i94949# removing superfluous #includes 2009-02-04 15:51:31 +0100 b_michaelsen r267391 : fixing resync merge error 2009-02-02 19:39:55 +0100 b_michaelsen r267294 : #i94949# bookmark performance 2009-01-30 19:30:51 +0100 b_michaelsen r267229 : #i94949# throwing IllegalArgumentException, if appropriate 2009-01-30 19:29:56 +0100 b_michaelsen r267228 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:23:49 +0100 b_michaelsen r267227 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:16:06 +0100 b_michaelsen r267226 : #i94949# refactored lcl_FillBookmarkArray 2009-01-30 17:59:27 +0100 b_michaelsen r267222 : #i94949# removed superficial #include 2009-01-30 17:50:02 +0100 b_michaelsen r267220 : #i94949# SwXTextRange remembers its UNO bookmark 2009-01-29 20:19:58 +0100 b_michaelsen r267168 : #i94949# implemented IDocumentMarkAccess::findBookmark 2009-01-29 17:22:17 +0100 b_michaelsen r267162 : #i94949# implemented renameMark in Markmanager 2009-01-29 14:17:10 +0100 b_michaelsen r267134 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:21:54 +0100 b_michaelsen r267125 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:06:10 +0100 b_michaelsen r267120 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:00:09 +0100 b_michaelsen r267118 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 10:35:10 +0100 b_michaelsen r267101 : #i94949# renamed SetCrsrToBkmk to SetCrsrToMark, moving to start/end of doc if no more bookmarks can be found 2009-01-28 17:05:36 +0100 b_michaelsen r267070 : #i94949# fixed order in aProvNamesId in unocoll.cxx 2009-01-28 15:46:13 +0100 b_michaelsen r267063 : #i94949# documentation 2009-01-28 15:36:59 +0100 b_michaelsen r267062 : #i94949# removing superficial #include 2009-01-28 15:30:36 +0100 b_michaelsen r267061 : #i94949# basic code conventions 2009-01-28 11:14:30 +0100 b_michaelsen r267039 : #i94949# comparing to the actual name of the new mark 2009-01-26 15:22:25 +0100 b_michaelsen r266927 : #i94949# performance fixes 2009-01-14 21:16:56 +0100 b_michaelsen r266332 : #i94949# fixing linux x86-64 compiler warnings 2009-01-14 19:52:06 +0100 b_michaelsen r266331 : #i94949# fixing some compiler warnings 2008-12-15 13:04:49 +0100 b_michaelsen r265474 : #i94949# fixed microsoft compiler warnings 2008-12-12 18:26:02 +0100 b_michaelsen r265434 : #i94949# fixed pro platform buildbreakers 2008-12-11 17:51:24 +0100 b_michaelsen r265342 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@264807 (milestone: DEV300:m37) 2008-12-09 18:30:59 +0100 b_michaelsen r265134 : #i94949# fixed IDocumentMarkAccess::GetType for new mark inheritance tree 2008-12-09 16:56:26 +0100 b_michaelsen r265118 : #i94949# fixed deleteMark optimization 2008-12-09 14:55:58 +0100 b_michaelsen r265092 : #i94949# DdeLink and DdeBookmark 2008-12-05 18:28:05 +0100 b_michaelsen r264914 : #i94949# fixed InitDoc in bookmarks 2008-12-02 02:23:51 +0100 b_michaelsen r264649 : #i94949# removed obsolete naming proposal code in SwXTextRange, fixed navigator reminders to forget the oldest reminder when the pool is empty 2008-12-02 02:05:19 +0100 b_michaelsen r264648 : #i94949# using bisect search for delete 2008-12-02 01:58:16 +0100 b_michaelsen r264647 : #i94949# using bisect search for delete 2008-12-02 01:37:33 +0100 b_michaelsen r264646 : #i94949# using bisect search for delete 2008-12-02 01:03:29 +0100 b_michaelsen r264645 : #i94949# fixed deleteMark crash 2008-12-01 20:55:00 +0100 b_michaelsen r264638 : #i94949# removed crossrefs from ui enumerations 2008-12-01 15:48:12 +0100 b_michaelsen r264613 : #i94949# removed superfluous local functions 2008-12-01 15:01:19 +0100 b_michaelsen r264608 : #i94949# optimized insertion of new marks 2008-12-01 14:33:21 +0100 b_michaelsen r264603 : #i94949# simplified code finding Fieldmark for a position 2008-12-01 14:05:55 +0100 b_michaelsen r264598 : #i94949# fixed reverse travelling through marks, removed obsolete getUniqueMarkName() 2008-11-27 18:48:15 +0100 b_michaelsen r264515 : #i94949# fixed _SaveCntntIdx and friends 2008-11-27 15:59:49 +0100 b_michaelsen r264500 : #i94949# fix Mark position only in ctor 2008-11-27 15:52:28 +0100 b_michaelsen r264497 : #i94949# fixed Bug in SwXBookmark, was using pDoc too early 2008-11-26 14:54:22 +0100 b_michaelsen r264396 : #i94949# fixed documentation, simplified navigator reminder code 2008-11-24 20:45:51 +0100 b_michaelsen r264266 : #i94949# removed last obsolete getUniqueMarkName calls 2008-11-24 20:21:35 +0100 b_michaelsen r264265 : #i94949# fixed typo in IDocumentMarkAccess, removed obsolete getUniqueMarkName calls 2008-11-24 18:34:32 +0100 b_michaelsen r264264 : #i94949# repositioning of Marks, removed possibility to delete marks by name in the core, refactoring of navigator reminder generation 2008-11-21 14:08:49 +0100 b_michaelsen r264137 : #i94949# simplified makeMark 2008-11-21 12:07:09 +0100 b_michaelsen r264120 : #i94949# moved ShortName and KeyCode from IMark to IBookmark 2008-11-19 12:50:49 +0100 b_michaelsen r263981 : #i94949# starting refactoring of bookmark naming 2008-11-19 11:31:08 +0100 b_michaelsen r263972 : #i94949# getting rid of obsolete dynamic casts 2008-11-18 19:06:09 +0100 b_michaelsen r263795 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 17:50:18 +0100 b_michaelsen r263792 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 16:48:20 +0100 b_michaelsen r263783 : #i94949# removed methods from crsrsh which are already available directly via IDocumentMarkAccess 2008-11-18 11:31:35 +0100 b_michaelsen r263753 : #i94949# cleaning up mark code in crsrsh 2008-11-17 10:15:25 +0100 b_michaelsen r263705 : #i94949# removed possible integer overflow 2008-11-14 18:48:45 +0100 b_michaelsen r263695 : #i94949# management of mark names in MarkManager 2008-11-14 18:23:40 +0100 b_michaelsen r263693 : #i94949# using polymorphism to do mark-specific setup in SwDoc 2008-11-14 16:27:09 +0100 b_michaelsen r263684 : #i94949# got rid of makeCrossRefBookmark 2008-11-14 13:03:32 +0100 b_michaelsen r263674 : #i94949# refactored Correction methods 2008-11-13 12:27:55 +0100 b_michaelsen r263631 : #i94949# got rid of old-style tools assertions in new code 2008-11-12 16:58:16 +0100 b_michaelsen r263608 : #i94949# added assertion for unique names 2008-11-12 16:55:18 +0100 b_michaelsen r263607 : #i94949# maked XFormField deprecated 2008-11-12 13:04:29 +0100 b_michaelsen r263587 : #i94949# replaced IDocumentMarkAccess::GetType with simple dynamic_cast where possible 2008-11-11 18:45:53 +0100 b_michaelsen r263572 : #i94949# cleaned up SwHstryBookmark 2008-11-11 13:48:18 +0100 b_michaelsen r263557 : #i94949# removed dynamic_casts to SwModify by inheriting IMark from it 2008-11-11 11:26:28 +0100 b_michaelsen r263548 : #i94949# fixed SwXBookmark 2008-11-10 17:01:19 +0100 b_michaelsen r263529 : #i94949# fixed DdeBookmarks in clipboard 2008-11-10 16:44:52 +0100 b_michaelsen r263527 : #i94949# formatting 2008-11-10 16:29:16 +0100 b_michaelsen r263526 : #i94949# fixing unoobj.cxx 2008-11-10 16:23:50 +0100 b_michaelsen r263525 : #i94949# cleaning up crossrefbookmark.cxx/.hxx 2008-11-10 16:02:08 +0100 b_michaelsen r263524 : #i94949# Pdf Export should only generate 'real' bookmarks 2008-11-10 15:33:58 +0100 b_michaelsen r263521 : #i94949# removed const_casts 2008-11-10 15:12:06 +0100 b_michaelsen r263520 : #i94949# moved _DelBookmarks into MarksManager 2008-11-07 18:48:38 +0100 b_michaelsen r263480 : #i94949# using iterator interface 2008-11-07 18:41:46 +0100 b_michaelsen r263478 : #i94949# using iterator interface 2008-11-07 18:07:41 +0100 b_michaelsen r263477 : #i94949# using iterator interface 2008-11-07 17:54:41 +0100 b_michaelsen r263476 : #i94949# using iterator interface 2008-11-07 17:44:41 +0100 b_michaelsen r263475 : #i94949# moved correction methods into MarkManager 2008-11-06 18:47:28 +0100 b_michaelsen r263404 : #i94949# getting rid of superfluous const_casts 2008-11-06 17:58:01 +0100 b_michaelsen r263403 : #i94949# no more setting of mark positions outside of the core 2008-11-06 17:08:37 +0100 b_michaelsen r263401 : #i94949# removed setters from IMark 2008-11-06 13:55:25 +0100 b_michaelsen r263383 : #i94949 SwDoc does not implement IDocumentMarkAccess anymore 2008-11-04 18:17:03 +0100 b_michaelsen r263333 : #i94949# began removing IDocumentMarkAccess from SwDoc 2008-11-04 16:48:34 +0100 b_michaelsen r263330 : removing dead code (SwBitArray) found by mst 2008-11-04 16:29:32 +0100 b_michaelsen r263329 : removing dead code (SwBitArray) found by mst 2008-11-04 14:57:48 +0100 b_michaelsen r263326 : removing dead code (SwBitArray) found by mst 2008-11-04 14:50:18 +0100 b_michaelsen r263325 : #i94949# stricter typing in IDocumentMarkAccess 2008-10-24 15:16:27 +0200 b_michaelsen r262647 : #i94949# renamed ::sw::bookmark::SimpleMark to NavigatorReminder to fit the IDocumentMarkAccess enum 2008-10-24 15:10:10 +0200 b_michaelsen r262646 : #i94949# only 'real' bookmark implement IBookmark, Marks also get removed from m_vFieldmarks on delete/clear 2008-10-24 13:06:23 +0200 b_michaelsen r262636 : #i94949# Fieldmark tabnavigation 2008-10-23 12:16:36 +0200 b_michaelsen r262619 : #i94949# Fieldmark classes and filters 2008-10-22 13:17:18 +0200 b_michaelsen r262597 : #i94949# writer import fixes 2008-10-21 11:30:38 +0200 b_michaelsen r262565 : #i94949# renamed methods containing Bookmark in the generic IMark interface 2008-10-20 14:09:02 +0200 b_michaelsen r262318 : #i94949# fixed SwDoc::CorrRel 2008-10-16 22:45:13 +0200 b_michaelsen r262273 : #i94949 simplified Before/After methods 2008-10-16 21:40:57 +0200 b_michaelsen r262271 : #i94949 renamed SimpleMark to NavigatorReminder 2008-10-16 21:15:23 +0200 b_michaelsen r262270 : #i94949 using shared_ptr only in MarkManager 2008-10-16 17:46:37 +0200 b_michaelsen r262269 : #i94949# getFieldmarkBefore and getFieldmarkAfter 2008-10-16 17:12:13 +0200 b_michaelsen r262265 : #i94949# cleanup in crbm.cxx 2008-10-16 12:49:01 +0200 b_michaelsen r262257 : #i94949# fixed usage of invalid iterator, fixed invalid cast 2008-10-15 15:34:20 +0200 b_michaelsen r262239 : #i94949# added moved files 2008-10-15 15:26:45 +0200 b_michaelsen r262237 : #i94949# initial reimplementation of Bookmarks
2009-04-21 15:40:02 +00:00
#include <IMark.hxx>
2001-02-02 16:46:27 +00:00
#include <swdtflvr.hxx>
2000-09-18 16:15:01 +00:00
#include <docstat.hxx>
#include <outline.hxx>
#include <tablemgr.hxx>
#include <swundo.hxx> // fuer Undo-IDs
#include <reffld.hxx>
#include <docsh.hxx>
#include <mdiexp.hxx>
#include <inputwin.hxx>
#include <pardlg.hxx>
#include <frmatr.hxx>
#include <fmtcol.hxx>
#include <cellatr.hxx>
#include <edtwin.hxx>
#include <redlndlg.hxx>
2002-08-15 06:53:06 +00:00
#include "fldmgr.hxx"
2000-09-18 16:15:01 +00:00
#include <globals.hrc>
#include <shells.hrc>
#include <app.hrc>
#include <web.hrc>
2002-07-04 13:55:54 +00:00
#include "paratr.hxx"
2002-07-01 08:09:41 +00:00
#include <crsskip.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/app.hxx>
#include <breakit.hxx>
#include <SwSmartTagMgr.hxx>
#include <editeng/acorrcfg.hxx>
#include "swabstdlg.hxx"
#include "misc.hrc"
#include "chrdlg.hrc"
#include <IDocumentStatistics.hxx>
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
#include <sfx2/sfxdlg.hxx>
#include <unotools/lingucfg.hxx>
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/util/XChangesBatch.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <editeng/unolingu.hxx>
#include <unotools/syslocaleoptions.hxx>
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
#include <doc.hxx>
#include <view.hxx>
#include <ndtxt.hxx>
#include <pam.hxx>
#include <sfx2/objface.hxx>
#include <langhelper.hxx>
#include <uiitems.hxx>
#include <wordcountdialog.hxx>
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
using namespace ::com::sun::star;
void sw_CharDialog( SwWrtShell &rWrtSh, bool bUseDialog, sal_uInt16 nSlot,const SfxItemSet *pArgs, SfxRequest *pReq )
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
{
FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &rWrtSh.GetView()));
SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)));
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
SfxItemSet aCoreSet( rWrtSh.GetView().GetPool(),
RES_CHRATR_BEGIN, RES_CHRATR_END-1,
RES_TXTATR_INETFMT, RES_TXTATR_INETFMT,
RES_BACKGROUND, RES_BACKGROUND,
FN_PARAM_SELECTION, FN_PARAM_SELECTION,
SID_HTML_MODE, SID_HTML_MODE,
SID_ATTR_CHAR_WIDTH_FIT_TO_LINE, SID_ATTR_CHAR_WIDTH_FIT_TO_LINE,
0 );
rWrtSh.GetCurAttr( aCoreSet );
sal_Bool bSel = rWrtSh.HasSelection();
sal_Bool bSelectionPut = sal_False;
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
if(bSel || rWrtSh.IsInWord())
{
if(!bSel)
{
rWrtSh.StartAction();
rWrtSh.Push();
if(!rWrtSh.SelectTxtAttr( RES_TXTATR_INETFMT ))
rWrtSh.SelWrd();
}
aCoreSet.Put(SfxStringItem(FN_PARAM_SELECTION, rWrtSh.GetSelTxt()));
bSelectionPut = sal_True;
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
if(!bSel)
{
rWrtSh.Pop(sal_False);
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
rWrtSh.EndAction();
}
}
aCoreSet.Put( SfxUInt16Item( SID_ATTR_CHAR_WIDTH_FIT_TO_LINE,
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
rWrtSh.GetScalingOfSelectedText() ) );
// Das CHRATR_BACKGROUND-Attribut wird fuer den Dialog in
// ein RES_BACKGROUND verwandelt und wieder zurueck ...
const SfxPoolItem *pTmpBrush;
if( SFX_ITEM_SET == aCoreSet.GetItemState( RES_CHRATR_BACKGROUND, sal_True, &pTmpBrush ) )
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
{
SvxBrushItem aTmpBrush( *((SvxBrushItem*)pTmpBrush) );
aTmpBrush.SetWhich( RES_BACKGROUND );
aCoreSet.Put( aTmpBrush );
}
aCoreSet.Put(SfxUInt16Item(SID_HTML_MODE, ::GetHtmlMode(rWrtSh.GetView().GetDocShell())));
SfxAbstractTabDialog* pDlg = NULL;
if ( bUseDialog && GetActiveView() )
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
pDlg = pFact->CreateSwCharDlg(rWrtSh.GetView().GetWindow(), rWrtSh.GetView(), aCoreSet);
OSL_ENSURE(pDlg, "Dialogdiet fail!");
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
if( FN_INSERT_HYPERLINK == nSlot )
pDlg->SetCurPageId("hyperlink");
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
}
const SfxItemSet* pSet = NULL;
if ( !bUseDialog )
pSet = pArgs;
else if ( NULL != pDlg && pDlg->Execute() == RET_OK ) /* #110771# pDlg can be NULL */
{
pSet = pDlg->GetOutputItemSet();
}
if ( pSet)
{
SfxItemSet aTmpSet( *pSet );
if( SFX_ITEM_SET == aTmpSet.GetItemState( RES_BACKGROUND, sal_False, &pTmpBrush ) )
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
{
SvxBrushItem aTmpBrush( *((SvxBrushItem*)pTmpBrush) );
aTmpBrush.SetWhich( RES_CHRATR_BACKGROUND );
aTmpSet.Put( aTmpBrush );
}
aTmpSet.ClearItem( RES_BACKGROUND );
const SfxPoolItem* pSelectionItem;
sal_Bool bInsert = sal_False;
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
xub_StrLen nInsert = 0;
// aus ungeklaerter Ursache ist das alte Item wieder im Set
if( !bSelectionPut && SFX_ITEM_SET == aTmpSet.GetItemState(FN_PARAM_SELECTION, sal_False, &pSelectionItem) )
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
{
String sInsert = ((const SfxStringItem*)pSelectionItem)->GetValue();
bInsert = sInsert.Len() != 0;
if(bInsert)
{
nInsert = sInsert.Len();
rWrtSh.StartAction();
rWrtSh.Insert( sInsert );
rWrtSh.SetMark();
rWrtSh.ExtendSelection(sal_False, sInsert.Len());
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
SfxRequest aReq( rWrtSh.GetView().GetViewFrame(), FN_INSERT_STRING );
aReq.AppendItem( SfxStringItem( FN_INSERT_STRING, sInsert ) );
aReq.Done();
SfxRequest aReq1( rWrtSh.GetView().GetViewFrame(), FN_CHAR_LEFT );
aReq1.AppendItem( SfxInt16Item(FN_PARAM_MOVE_COUNT, nInsert) );
aReq1.AppendItem( SfxBoolItem(FN_PARAM_MOVE_SELECTION, sal_True) );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
aReq1.Done();
}
}
aTmpSet.ClearItem(FN_PARAM_SELECTION);
SwTxtFmtColl* pColl = rWrtSh.GetCurTxtFmtColl();
if(bSel && rWrtSh.IsSelFullPara() && pColl && pColl->IsAutoUpdateFmt())
{
rWrtSh.AutoUpdatePara(pColl, aTmpSet);
}
else
rWrtSh.SetAttr( aTmpSet );
if (pReq)
pReq->Done(aTmpSet);
if(bInsert)
{
SfxRequest aReq1( rWrtSh.GetView().GetViewFrame(), FN_CHAR_RIGHT );
aReq1.AppendItem( SfxInt16Item(FN_PARAM_MOVE_COUNT, nInsert) );
aReq1.AppendItem( SfxBoolItem(FN_PARAM_MOVE_SELECTION, sal_False) );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
aReq1.Done();
rWrtSh.SwapPam();
rWrtSh.ClearMark();
rWrtSh.DontExpandFmt();
rWrtSh.EndAction();
}
}
delete pDlg;
}
static short lcl_AskRedlineMode(Window *pWin)
{
MessBox aQBox( pWin, 0,
String( SW_RES( STR_REDLINE_TITLE ) ),
String( SW_RES( STR_REDLINE_MSG ) ) );
aQBox.SetImage( QueryBox::GetStandardImage() );
sal_uInt16 nBtnFlags = BUTTONDIALOG_DEFBUTTON |
BUTTONDIALOG_OKBUTTON |
BUTTONDIALOG_FOCUSBUTTON;
aQBox.AddButton(String(SW_RES(STR_REDLINE_ACCEPT_ALL)), RET_OK, nBtnFlags);
aQBox.GetPushButton( RET_OK )->SetHelpId(HID_AUTOFORMAT_ACCEPT);
aQBox.AddButton(String(SW_RES(STR_REDLINE_REJECT_ALL)), RET_CANCEL, BUTTONDIALOG_CANCELBUTTON);
aQBox.GetPushButton( RET_CANCEL )->SetHelpId(HID_AUTOFORMAT_REJECT );
aQBox.AddButton(String(SW_RES(STR_REDLINE_EDIT)), 2, 0);
aQBox.GetPushButton( 2 )->SetHelpId(HID_AUTOFORMAT_EDIT_CHG);
aQBox.SetButtonHelpText( RET_OK, aEmptyStr );
return aQBox.Execute();
}
2000-09-18 16:15:01 +00:00
void SwTextShell::Execute(SfxRequest &rReq)
{
bool bUseDialog = true;
2000-09-18 16:15:01 +00:00
const SfxItemSet *pArgs = rReq.GetArgs();
SwWrtShell& rWrtSh = GetShell();
const SfxPoolItem* pItem = 0;
sal_uInt16 nSlot = rReq.GetSlot();
2000-09-18 16:15:01 +00:00
if(pArgs)
pArgs->GetItemState(GetPool().GetWhich(nSlot), sal_False, &pItem);
2000-09-18 16:15:01 +00:00
switch( nSlot )
{
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
case SID_LANGUAGE_STATUS:
{
// get the language
String aNewLangTxt;
SFX_REQUEST_ARG( rReq, pItem2, SfxStringItem, SID_LANGUAGE_STATUS , sal_False );
if (pItem2)
aNewLangTxt = pItem2->GetValue();
//!! Remember the view frame right now...
//!! (call to GetView().GetViewFrame() will break if the
//!! SwTextShell got destroyed meanwhile.)
SfxViewFrame *pViewFrame = GetView().GetViewFrame();
if (aNewLangTxt.EqualsAscii( "*" ))
{
// open the dialog "Tools/Options/Language Settings - Language"
// to set the documents default language
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
if (pFact)
{
VclAbstractDialog* pDlg = pFact->CreateVclDialog( GetView().GetWindow(), SID_LANGUAGE_OPTIONS );
pDlg->Execute();
delete pDlg;
}
}
else
{
//!! We have to use StartAction / EndAction bracketing in
//!! order to prevent possible destruction of the SwTextShell
//!! due to the selection changes coming below.
rWrtSh.StartAction();
// prevent view from jumping because of (temporary) selection changes
rWrtSh.LockView( sal_True );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
// save selection for later restoration
rWrtSh.Push();
// setting the new language...
if (aNewLangTxt.Len() > 0)
{
const rtl::OUString aSelectionLangPrefix("Current_");
const rtl::OUString aParagraphLangPrefix("Paragraph_");
const rtl::OUString aDocumentLangPrefix("Default_");
const String aStrNone( rtl::OUString("LANGUAGE_NONE") );
const String aStrResetLangs( rtl::OUString("RESET_LANGUAGES") );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
SfxItemSet aCoreSet( GetPool(),
RES_CHRATR_LANGUAGE, RES_CHRATR_LANGUAGE,
RES_CHRATR_CJK_LANGUAGE, RES_CHRATR_CJK_LANGUAGE,
RES_CHRATR_CTL_LANGUAGE, RES_CHRATR_CTL_LANGUAGE,
0 );
xub_StrLen nPos = 0;
bool bForSelection = true;
bool bForParagraph = false;
if (STRING_NOTFOUND != (nPos = aNewLangTxt.Search( aSelectionLangPrefix, 0 )))
{
// ... for the current selection
aNewLangTxt = aNewLangTxt.Erase( nPos, aSelectionLangPrefix.getLength() );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
bForSelection = true;
}
else if (STRING_NOTFOUND != (nPos = aNewLangTxt.Search( aParagraphLangPrefix , 0 )))
{
// ... for the current paragraph language
aNewLangTxt = aNewLangTxt.Erase( nPos, aParagraphLangPrefix.getLength() );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
bForSelection = true;
bForParagraph = true;
}
else if (STRING_NOTFOUND != (nPos = aNewLangTxt.Search( aDocumentLangPrefix , 0 )))
{
// ... as default document language
aNewLangTxt = aNewLangTxt.Erase( nPos, aDocumentLangPrefix.getLength() );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
bForSelection = false;
}
if (bForParagraph)
SwLangHelper::SelectCurrentPara( rWrtSh );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
if (!bForSelection) // document language to be changed...
{
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
rWrtSh.SelAll();
rWrtSh.ExtendedSelectAll();
}
2009-10-19 08:12:25 +00:00
if (aNewLangTxt == aStrNone)
SwLangHelper::SetLanguage_None( rWrtSh, bForSelection, aCoreSet );
2009-10-19 08:12:25 +00:00
else if (aNewLangTxt == aStrResetLangs)
SwLangHelper::ResetLanguages( rWrtSh, bForSelection );
else
SwLangHelper::SetLanguage( rWrtSh, aNewLangTxt, bForSelection, aCoreSet );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
}
// restore selection...
rWrtSh.Pop( sal_False );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
rWrtSh.LockView( sal_False );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
rWrtSh.EndAction();
}
// invalidate slot to get the new language displayed
pViewFrame->GetBindings().Invalidate( nSlot );
rReq.Done();
break;
}
case SID_THES:
{
// replace word/selection with text from selected sub menu entry
String aReplaceText;
SFX_REQUEST_ARG( rReq, pItem2, SfxStringItem, SID_THES , sal_False );
if (pItem2)
aReplaceText = pItem2->GetValue();
if (aReplaceText.Len() > 0)
{
SwView &rView2 = rWrtSh.GetView();
const bool bSelection = rWrtSh.HasSelection();
const String aLookUpText = rView2.GetThesaurusLookUpText( bSelection );
rView2.InsertThesaurusSynonym( aReplaceText, aLookUpText, bSelection );
}
}
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:
{
2002-07-01 08:09:41 +00:00
InsertSymbol( rReq );
}
break;
case FN_INSERT_FOOTNOTE:
case FN_INSERT_ENDNOTE:
{
String aStr;
SFX_REQUEST_ARG( rReq, pFont, SfxStringItem, FN_PARAM_1 , sal_False );
SFX_REQUEST_ARG( rReq, pNameItem, SfxStringItem, nSlot , sal_False );
if ( pNameItem )
aStr = pNameItem->GetValue();
bool bFont = pFont && !pFont->GetValue().isEmpty();
rWrtSh.StartUndo( UNDO_UI_INSERT_FOOTNOTE );
2002-07-05 11:17:02 +00:00
rWrtSh.InsertFootnote( aStr, nSlot == FN_INSERT_ENDNOTE, !bFont );
if ( bFont )
{
rWrtSh.Left( CRSR_SKIP_CHARS, sal_True, 1, sal_False );
2002-07-01 08:09:41 +00:00
SfxItemSet aSet( rWrtSh.GetAttrPool(), RES_CHRATR_FONT, RES_CHRATR_FONT );
rWrtSh.GetCurAttr( aSet );
2002-07-01 08:09:41 +00:00
SvxFontItem &rFont = (SvxFontItem &) aSet.Get( RES_CHRATR_FONT );
SvxFontItem aFont( rFont.GetFamily(), pFont->GetValue(),
rFont.GetStyleName(), rFont.GetPitch(), RTL_TEXTENCODING_DONTKNOW, RES_CHRATR_FONT );
rWrtSh.SetAttr( aSet, nsSetAttrMode::SETATTR_DONTEXPAND );
rWrtSh.ResetSelect(0, sal_False);
2002-07-05 11:17:02 +00:00
rWrtSh.EndSelect();
2002-07-01 08:09:41 +00:00
rWrtSh.GotoFtnTxt();
}
rWrtSh.EndUndo( UNDO_UI_INSERT_FOOTNOTE );
2002-07-01 08:09:41 +00:00
rReq.Done();
}
2000-09-18 16:15:01 +00:00
break;
case FN_INSERT_FOOTNOTE_DLG:
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialogdiet fail!");
AbstractInsFootNoteDlg* pDlg = pFact->CreateInsFootNoteDlg(
GetView().GetWindow(), rWrtSh, sal_False);
OSL_ENSURE(pDlg, "Dialogdiet fail!");
pDlg->SetHelpId(GetStaticInterface()->GetSlot(nSlot)->GetCommand());
2002-07-01 08:09:41 +00:00
if ( pDlg->Execute() == RET_OK )
{
sal_uInt16 nId = pDlg->IsEndNote() ? FN_INSERT_ENDNOTE : FN_INSERT_FOOTNOTE;
2002-07-01 08:09:41 +00:00
SfxRequest aReq( GetView().GetViewFrame(), nId );
if ( pDlg->GetStr().Len() )
aReq.AppendItem( SfxStringItem( nId, pDlg->GetStr() ) );
if ( pDlg->GetFontName().Len() )
aReq.AppendItem( SfxStringItem( FN_PARAM_1, pDlg->GetFontName() ) );
2002-07-01 08:09:41 +00:00
ExecuteSlot( aReq );
}
rReq.Ignore();
2000-09-18 16:15:01 +00:00
delete pDlg;
}
break;
case FN_FORMAT_FOOTNOTE_DLG:
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
VclAbstractDialog* pDlg = pFact->CreateSwFootNoteOptionDlg( GetView().GetWindow(), rWrtSh, DLG_DOC_FOOTNOTE );
OSL_ENSURE(pDlg, "Dialogdiet fail!");
2000-09-18 16:15:01 +00:00
pDlg->Execute();
delete pDlg;
break;
}
case SID_INSERTDOC:
{
GetView().ExecuteInsertDoc( rReq, pItem );
2000-09-18 16:15:01 +00:00
break;
}
2000-09-18 16:15:01 +00:00
case FN_FORMAT_RESET:
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
{
// #i78856, reset all attributes but not the language attributes
// (for this build an array of all relevant attributes and
// remove the languages from that)
std::set<sal_uInt16> aAttribs;
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 Conflicts: starmath/inc/applicat.hxx starmath/inc/dialog.hxx starmath/inc/document.hxx starmath/inc/edit.hxx starmath/inc/format.hxx starmath/inc/node.hxx starmath/inc/parse.hxx starmath/inc/rect.hxx starmath/inc/smdll.hxx starmath/inc/smmod.hxx starmath/inc/starmath.hrc starmath/inc/symbol.hxx starmath/inc/toolbox.hxx starmath/inc/utility.hxx starmath/inc/view.hxx starmath/prj/build.lst starmath/qa/cppunit/version.map starmath/sdi/smslots.sdi starmath/source/accessibility.cxx starmath/source/cfgitem.cxx starmath/source/cfgitem.hxx starmath/source/config.cxx starmath/source/dialog.cxx starmath/source/document.cxx starmath/source/edit.cxx starmath/source/format.cxx starmath/source/makefile.mk starmath/source/math_pch.cxx starmath/source/mathmlexport.cxx starmath/source/mathmlimport.cxx starmath/source/mathtype.cxx starmath/source/node.cxx starmath/source/parse.cxx starmath/source/rect.cxx starmath/source/register.cxx starmath/source/smdetect.cxx starmath/source/smdll.cxx starmath/source/smmod.cxx starmath/source/smres.src starmath/source/symbol.cxx starmath/source/toolbox.cxx starmath/source/unomodel.cxx starmath/source/utility.cxx starmath/source/view.cxx sw/JunitTest_sw_unoapi.mk sw/Library_swd.mk sw/Makefile sw/inc/IDocumentFieldsAccess.hxx sw/inc/IDocumentSettingAccess.hxx sw/inc/IDocumentUndoRedo.hxx sw/inc/IShellCursorSupplier.hxx sw/inc/SwUndoField.hxx sw/inc/acmplwrd.hxx sw/inc/authfld.hxx sw/inc/bparr.hxx sw/inc/calbck.hxx sw/inc/calc.hxx sw/inc/ccoll.hxx sw/inc/cellatr.hxx sw/inc/cellfml.hxx sw/inc/chpfld.hxx sw/inc/cmdid.h sw/inc/crsrsh.hxx sw/inc/crstate.hxx sw/inc/dbfld.hxx sw/inc/dbmgr.hxx sw/inc/dcontact.hxx sw/inc/ddefld.hxx sw/inc/doc.hxx sw/inc/docary.hxx sw/inc/docsh.hxx sw/inc/docstat.hxx sw/inc/docstyle.hxx sw/inc/docufld.hxx sw/inc/editsh.hxx sw/inc/errhdl.hxx sw/inc/expfld.hxx sw/inc/fchrfmt.hxx sw/inc/fesh.hxx sw/inc/fldbas.hxx sw/inc/flddat.hxx sw/inc/flddropdown.hxx sw/inc/flypos.hxx sw/inc/fmtanchr.hxx sw/inc/fmtautofmt.hxx sw/inc/fmtclds.hxx sw/inc/fmtcnct.hxx sw/inc/fmtcol.hxx sw/inc/fmtfsize.hxx sw/inc/fmtftn.hxx sw/inc/fmtftntx.hxx sw/inc/fmthdft.hxx sw/inc/fmtinfmt.hxx sw/inc/fmtline.hxx sw/inc/fmtornt.hxx sw/inc/fmtpdsc.hxx sw/inc/fmtruby.hxx sw/inc/fmtsrnd.hxx sw/inc/fmturl.hxx sw/inc/fmtwrapinfluenceonobjpos.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/grfatr.hxx sw/inc/helpid.h sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/htmltbl.hxx sw/inc/inetfld.hxx sw/inc/io.hxx sw/inc/iodetect.hxx sw/inc/itabenum.hxx sw/inc/ndarr.hxx sw/inc/ndgrf.hxx sw/inc/ndindex.hxx sw/inc/ndnotxt.hxx sw/inc/ndole.hxx sw/inc/ndtxt.hxx sw/inc/ndtyp.hxx sw/inc/node.hxx sw/inc/numrule.hxx sw/inc/pagedesc.hxx sw/inc/pagepreviewlayout.hxx sw/inc/pam.hxx sw/inc/paratr.hxx sw/inc/poolfmt.awk sw/inc/poolfmt.hxx sw/inc/printdata.hxx sw/inc/reffld.hxx sw/inc/shellio.hxx sw/inc/shellres.hxx sw/inc/swabstdlg.hxx sw/inc/swatrset.hxx sw/inc/swerror.h sw/inc/swprtopt.hxx sw/inc/swtable.hxx sw/inc/swtypes.hxx sw/inc/tblafmt.hxx sw/inc/tgrditem.hxx sw/inc/tox.hxx sw/inc/undobj.hxx sw/inc/unocoll.hxx sw/inc/unoframe.hxx sw/inc/unoprnms.hxx sw/inc/usrfld.hxx sw/inc/viewopt.hxx sw/inc/viewsh.hxx sw/inc/viscrs.hxx sw/prj/build.lst sw/qa/complex/accessibility/makefile.mk sw/qa/core/Test-BigPtrArray.cxx sw/qa/core/makefile.mk sw/sdi/makefile.mk sw/source/core/access/makefile.mk sw/source/core/access/textmarkuphelper.cxx sw/source/core/attr/calbck.cxx sw/source/core/attr/cellatr.cxx sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/bastyp/calc.cxx sw/source/core/bastyp/init.cxx sw/source/core/bastyp/makefile.mk sw/source/core/bastyp/swcache.cxx sw/source/core/crsr/bookmrk.cxx sw/source/core/crsr/callnk.cxx sw/source/core/crsr/crsrsh.cxx sw/source/core/crsr/crstrvl.cxx sw/source/core/crsr/findattr.cxx sw/source/core/crsr/findcoll.cxx sw/source/core/crsr/makefile.mk sw/source/core/crsr/pam.cxx sw/source/core/crsr/swcrsr.cxx sw/source/core/crsr/trvltbl.cxx sw/source/core/crsr/unocrsr.cxx sw/source/core/crsr/viscrs.cxx sw/source/core/doc/acmplwrd.cxx sw/source/core/doc/doc.cxx sw/source/core/doc/docbm.cxx sw/source/core/doc/doccomp.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docedt.cxx sw/source/core/doc/docfld.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docftn.cxx sw/source/core/doc/docglbl.cxx sw/source/core/doc/docglos.cxx sw/source/core/doc/doclay.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docnum.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/docruby.cxx sw/source/core/doc/docsort.cxx sw/source/core/doc/docstat.cxx sw/source/core/doc/doctxm.cxx sw/source/core/doc/fmtcol.cxx sw/source/core/doc/gctable.cxx sw/source/core/doc/htmltbl.cxx sw/source/core/doc/makefile.mk sw/source/core/doc/number.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/tblafmt.cxx sw/source/core/doc/tblcpy.cxx sw/source/core/doc/tblrwcl.cxx sw/source/core/docnode/makefile.mk sw/source/core/docnode/ndcopy.cxx sw/source/core/docnode/ndnum.cxx sw/source/core/docnode/ndsect.cxx sw/source/core/docnode/ndtbl.cxx sw/source/core/docnode/ndtbl1.cxx sw/source/core/docnode/node.cxx sw/source/core/docnode/node2lay.cxx sw/source/core/docnode/nodes.cxx sw/source/core/docnode/section.cxx sw/source/core/docnode/swbaslnk.cxx sw/source/core/draw/dcontact.cxx sw/source/core/draw/dflyobj.cxx sw/source/core/draw/drawdoc.cxx sw/source/core/draw/dview.cxx sw/source/core/draw/makefile.mk sw/source/core/edit/autofmt.cxx sw/source/core/edit/edattr.cxx sw/source/core/edit/eddel.cxx sw/source/core/edit/edfcol.cxx sw/source/core/edit/edfld.cxx sw/source/core/edit/edfldexp.cxx sw/source/core/edit/edfmt.cxx sw/source/core/edit/edglss.cxx sw/source/core/edit/editsh.cxx sw/source/core/edit/edlingu.cxx sw/source/core/edit/ednumber.cxx sw/source/core/edit/edsect.cxx sw/source/core/edit/edtab.cxx sw/source/core/edit/edtox.cxx sw/source/core/edit/edundo.cxx sw/source/core/edit/makefile.mk sw/source/core/except/dbgloop.cxx sw/source/core/except/errhdl.cxx sw/source/core/fields/authfld.cxx sw/source/core/fields/cellfml.cxx sw/source/core/fields/chpfld.cxx sw/source/core/fields/dbfld.cxx sw/source/core/fields/ddefld.cxx sw/source/core/fields/ddetbl.cxx sw/source/core/fields/docufld.cxx sw/source/core/fields/expfld.cxx sw/source/core/fields/fldbas.cxx sw/source/core/fields/flddat.cxx sw/source/core/fields/flddropdown.cxx sw/source/core/fields/macrofld.cxx sw/source/core/fields/makefile.mk sw/source/core/fields/reffld.cxx sw/source/core/fields/scrptfld.cxx sw/source/core/fields/tblcalc.cxx sw/source/core/fields/usrfld.cxx sw/source/core/frmedt/fecopy.cxx sw/source/core/frmedt/fedesc.cxx sw/source/core/frmedt/fefly1.cxx sw/source/core/frmedt/feshview.cxx sw/source/core/frmedt/fetab.cxx sw/source/core/frmedt/fews.cxx sw/source/core/frmedt/makefile.mk sw/source/core/frmedt/tblsel.cxx sw/source/core/graphic/grfatr.cxx sw/source/core/inc/SwUndoFmt.hxx sw/source/core/inc/SwUndoTOXChange.hxx sw/source/core/inc/anchoredobjectposition.hxx sw/source/core/inc/dbgloop.hxx sw/source/core/inc/drawfont.hxx sw/source/core/inc/flowfrm.hxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/layact.hxx sw/source/core/inc/layfrm.hxx sw/source/core/inc/notxtfrm.hxx sw/source/core/inc/rolbck.hxx sw/source/core/inc/rootfrm.hxx sw/source/core/inc/scriptinfo.hxx sw/source/core/inc/swblocks.hxx sw/source/core/inc/swcache.hxx sw/source/core/inc/tabfrm.hxx sw/source/core/inc/txmsrt.hxx sw/source/core/inc/undoflystrattr.hxx sw/source/core/inc/viewimp.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/calcmove.cxx sw/source/core/layout/dbg_lay.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/flowfrm.cxx sw/source/core/layout/fly.cxx sw/source/core/layout/flycnt.cxx sw/source/core/layout/flyincnt.cxx sw/source/core/layout/flylay.cxx sw/source/core/layout/frmtool.cxx sw/source/core/layout/ftnfrm.cxx sw/source/core/layout/layact.cxx sw/source/core/layout/laycache.cxx sw/source/core/layout/makefile.mk sw/source/core/layout/objectformatter.cxx sw/source/core/layout/pagechg.cxx sw/source/core/layout/pagedesc.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/layout/sectfrm.cxx sw/source/core/layout/tabfrm.cxx sw/source/core/layout/trvlfrm.cxx sw/source/core/layout/unusedf.cxx sw/source/core/layout/wsfrm.cxx sw/source/core/makefile.mk sw/source/core/objectpositioning/anchoredobjectposition.cxx sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx sw/source/core/objectpositioning/makefile.mk sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx sw/source/core/ole/ndole.cxx sw/source/core/para/makefile.mk sw/source/core/para/paratr.cxx sw/source/core/sw3io/makefile.mk sw/source/core/sw3io/sw3convert.cxx sw/source/core/swg/SwXMLTextBlocks.cxx sw/source/core/swg/makefile.mk sw/source/core/swg/swblocks.cxx sw/source/core/table/swnewtable.cxx sw/source/core/table/swtable.cxx sw/source/core/text/EnhancedPDFExportHelper.cxx sw/source/core/text/atrstck.cxx sw/source/core/text/frmcrsr.cxx sw/source/core/text/frmform.cxx sw/source/core/text/itrcrsr.cxx sw/source/core/text/itrform2.cxx sw/source/core/text/makefile.mk sw/source/core/text/porlay.cxx sw/source/core/text/pormulti.cxx sw/source/core/text/txtfld.cxx sw/source/core/text/txtfrm.cxx sw/source/core/text/txtio.cxx sw/source/core/tox/makefile.mk sw/source/core/tox/txmsrt.cxx sw/source/core/txtnode/fmtatr2.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/txtnode/fntcap.cxx sw/source/core/txtnode/makefile.mk sw/source/core/txtnode/ndhints.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/swfont.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/SwUndoField.cxx sw/source/core/undo/SwUndoPageDesc.cxx sw/source/core/undo/SwUndoTOXChange.cxx sw/source/core/undo/docundo.cxx sw/source/core/undo/makefile.mk sw/source/core/undo/rolbck.cxx sw/source/core/undo/unbkmk.cxx sw/source/core/undo/undel.cxx sw/source/core/undo/undobj.cxx sw/source/core/undo/undobj1.cxx sw/source/core/undo/unfmco.cxx sw/source/core/undo/unins.cxx sw/source/core/undo/unnum.cxx sw/source/core/undo/unoutl.cxx sw/source/core/undo/unredln.cxx sw/source/core/undo/unsect.cxx sw/source/core/undo/unsort.cxx sw/source/core/undo/unspnd.cxx sw/source/core/undo/untbl.cxx sw/source/core/unocore/makefile.mk sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unobkm.cxx sw/source/core/unocore/unocoll.cxx sw/source/core/unocore/unocrsrhelper.cxx sw/source/core/unocore/unodraw.cxx sw/source/core/unocore/unofield.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unoredlines.cxx sw/source/core/unocore/unosett.cxx sw/source/core/unocore/unosrch.cxx sw/source/core/unocore/unostyle.cxx sw/source/core/unocore/unotbl.cxx sw/source/core/view/vdraw.cxx sw/source/core/view/viewimp.cxx sw/source/core/view/viewpg.cxx sw/source/core/view/viewsh.cxx sw/source/core/view/vnew.cxx sw/source/core/view/vprint.cxx sw/source/filter/ascii/ascatr.cxx sw/source/filter/ascii/makefile.mk sw/source/filter/ascii/wrtasc.cxx sw/source/filter/basflt/fltini.cxx sw/source/filter/basflt/iodetect.cxx sw/source/filter/basflt/makefile.mk sw/source/filter/html/SwAppletImpl.cxx sw/source/filter/html/css1atr.cxx sw/source/filter/html/htmlatr.cxx sw/source/filter/html/htmlbas.cxx sw/source/filter/html/htmlcss1.cxx sw/source/filter/html/htmlfly.cxx sw/source/filter/html/htmlftn.cxx sw/source/filter/html/htmlgrin.cxx sw/source/filter/html/htmlnum.cxx sw/source/filter/html/htmlplug.cxx sw/source/filter/html/htmltab.cxx sw/source/filter/html/makefile.mk sw/source/filter/html/parcss1.cxx sw/source/filter/html/svxcss1.cxx sw/source/filter/html/swhtml.cxx sw/source/filter/inc/msfilter.hxx sw/source/filter/inc/wrtswtbl.hxx sw/source/filter/rtf/makefile.mk sw/source/filter/rtf/rtffly.cxx sw/source/filter/rtf/rtfnum.cxx sw/source/filter/rtf/rtftbl.cxx sw/source/filter/rtf/swparrtf.cxx sw/source/filter/rtf/swparrtf.hxx sw/source/filter/writer/makefile.mk sw/source/filter/writer/writer.cxx sw/source/filter/writer/wrt_fn.cxx sw/source/filter/writer/wrtswtbl.cxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww1/makefile.mk sw/source/filter/ww1/w1class.cxx sw/source/filter/ww1/w1class.hxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww1/w1par.cxx sw/source/filter/ww1/w1sprm.cxx sw/source/filter/ww1/w1struct.hxx sw/source/filter/ww8/README-rtf.txt sw/source/filter/ww8/attributeoutputbase.hxx sw/source/filter/ww8/docxattributeoutput.cxx sw/source/filter/ww8/docxattributeoutput.hxx sw/source/filter/ww8/docxexport.cxx sw/source/filter/ww8/docxexport.hxx sw/source/filter/ww8/docxexportfilter.cxx sw/source/filter/ww8/dump/dump8.cxx sw/source/filter/ww8/dump/dump8a.cxx sw/source/filter/ww8/dump/msvbasic.cxx sw/source/filter/ww8/dump/msvbasic.hxx sw/source/filter/ww8/dump/ww8darr.cxx sw/source/filter/ww8/dump/ww8darr.hxx sw/source/filter/ww8/dump/ww8dout.cxx sw/source/filter/ww8/dump/ww8dout.hxx sw/source/filter/ww8/dump/ww8scan.cxx sw/source/filter/ww8/dump/ww8scan.hxx sw/source/filter/ww8/dump/ww8struc.hxx sw/source/filter/ww8/makefile.mk sw/source/filter/ww8/rtfattributeoutput.cxx sw/source/filter/ww8/rtfattributeoutput.hxx sw/source/filter/ww8/rtfexport.cxx sw/source/filter/ww8/rtfexport.hxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/filter/ww8/rtfexportfilter.hxx sw/source/filter/ww8/rtfimportfilter.cxx sw/source/filter/ww8/rtfimportfilter.hxx sw/source/filter/ww8/rtfsdrexport.cxx sw/source/filter/ww8/rtfsdrexport.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/writerwordglue.cxx sw/source/filter/ww8/wrtw8esh.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/wrtw8num.cxx sw/source/filter/ww8/wrtw8sty.cxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/wrtww8.hxx sw/source/filter/ww8/wrtww8gr.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/ww8/ww8attributeoutput.hxx sw/source/filter/ww8/ww8graf.cxx sw/source/filter/ww8/ww8graf.hxx sw/source/filter/ww8/ww8graf2.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.hxx sw/source/filter/ww8/ww8par2.cxx sw/source/filter/ww8/ww8par3.cxx sw/source/filter/ww8/ww8par5.cxx sw/source/filter/ww8/ww8par6.cxx sw/source/filter/ww8/ww8scan.cxx sw/source/filter/ww8/ww8scan.hxx sw/source/filter/ww8/ww8struc.hxx sw/source/filter/xml/makefile.mk sw/source/filter/xml/xmlimpit.cxx sw/source/filter/xml/xmltble.cxx sw/source/filter/xml/xmltbli.cxx sw/source/ui/app/appenv.cxx sw/source/ui/app/apphdl.cxx sw/source/ui/app/applab.cxx sw/source/ui/app/appopt.cxx sw/source/ui/app/docsh.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/app/docstyle.cxx sw/source/ui/app/makefile.mk sw/source/ui/app/mn.src sw/source/ui/app/swmodul1.cxx sw/source/ui/cctrl/makefile.mk sw/source/ui/cctrl/swlbox.cxx sw/source/ui/chrdlg/break.cxx sw/source/ui/chrdlg/ccoll.cxx sw/source/ui/chrdlg/chardlg.cxx sw/source/ui/chrdlg/drpcps.cxx sw/source/ui/chrdlg/makefile.mk sw/source/ui/chrdlg/numpara.cxx sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/chrdlg/swuiccoll.cxx sw/source/ui/config/barcfg.cxx sw/source/ui/config/caption.cxx sw/source/ui/config/cfgitems.cxx sw/source/ui/config/fontcfg.cxx sw/source/ui/config/mailconfigpage.cxx sw/source/ui/config/makefile.mk sw/source/ui/config/modcfg.cxx sw/source/ui/config/optcomp.cxx sw/source/ui/config/optload.cxx sw/source/ui/config/optpage.cxx sw/source/ui/config/prtopt.cxx sw/source/ui/config/uinums.cxx sw/source/ui/config/usrpref.cxx sw/source/ui/config/viewopt.cxx sw/source/ui/dbui/dbinsdlg.cxx sw/source/ui/dbui/dbmgr.cxx sw/source/ui/dbui/dbtree.cxx sw/source/ui/dbui/makefile.mk sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dbui/mmdocselectpage.cxx sw/source/ui/dbui/mmoutputpage.cxx sw/source/ui/dbui/swdbtoolsclient.cxx sw/source/ui/dialog/abstract.cxx sw/source/ui/dialog/ascfldlg.cxx sw/source/ui/dialog/macassgn.cxx sw/source/ui/dialog/makefile.mk sw/source/ui/dialog/regionsw.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/dialog/swdlgfact.hxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/dochdl/gloshdl.cxx sw/source/ui/dochdl/makefile.mk sw/source/ui/dochdl/swdtflvr.cxx sw/source/ui/docvw/PostItMgr.cxx sw/source/ui/docvw/SidebarWin.cxx sw/source/ui/docvw/edtdd.cxx sw/source/ui/docvw/edtwin.cxx sw/source/ui/docvw/edtwin2.cxx sw/source/ui/docvw/edtwin3.cxx sw/source/ui/docvw/makefile.mk sw/source/ui/docvw/romenu.cxx sw/source/ui/docvw/romenu.hxx sw/source/ui/docvw/srcedtw.cxx sw/source/ui/envelp/envfmt.cxx sw/source/ui/envelp/envimg.cxx sw/source/ui/envelp/envlop1.cxx sw/source/ui/envelp/envprt.cxx sw/source/ui/envelp/label1.cxx sw/source/ui/envelp/labfmt.cxx sw/source/ui/envelp/labprt.cxx sw/source/ui/envelp/mailmrge.cxx sw/source/ui/envelp/makefile.mk sw/source/ui/fldui/flddb.cxx sw/source/ui/fldui/flddinf.cxx sw/source/ui/fldui/flddok.cxx sw/source/ui/fldui/fldedt.cxx sw/source/ui/fldui/fldfunc.cxx sw/source/ui/fldui/fldmgr.cxx sw/source/ui/fldui/fldpage.cxx sw/source/ui/fldui/fldref.cxx sw/source/ui/fldui/fldtdlg.cxx sw/source/ui/fldui/fldvar.cxx sw/source/ui/fldui/fldwrap.cxx sw/source/ui/fldui/inpdlg.cxx sw/source/ui/fldui/makefile.mk sw/source/ui/fmtui/makefile.mk sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/frmdlg/colmgr.cxx sw/source/ui/frmdlg/column.cxx sw/source/ui/frmdlg/cption.cxx sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmmgr.cxx sw/source/ui/frmdlg/frmpage.cxx sw/source/ui/frmdlg/makefile.mk sw/source/ui/frmdlg/wrap.cxx sw/source/ui/globdoc/makefile.mk sw/source/ui/inc/bmpwin.hxx sw/source/ui/inc/colmgr.hxx sw/source/ui/inc/column.hxx sw/source/ui/inc/envimg.hxx sw/source/ui/inc/envlop.hxx sw/source/ui/inc/frmpage.hxx sw/source/ui/inc/inputwin.hxx sw/source/ui/inc/javaedit.hxx sw/source/ui/inc/num.hxx sw/source/ui/inc/optpage.hxx sw/source/ui/inc/regionsw.hxx sw/source/ui/inc/split.hxx sw/source/ui/inc/swlbox.hxx sw/source/ui/inc/swmn_tmpl.hrc sw/source/ui/inc/swuiidxmrk.hxx sw/source/ui/inc/tabsh.hxx sw/source/ui/inc/toxmgr.hxx sw/source/ui/inc/uiitems.hxx sw/source/ui/inc/view.hxx sw/source/ui/inc/workctrl.hxx sw/source/ui/inc/wrap.hxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/index/cnttab.cxx sw/source/ui/index/makefile.mk sw/source/ui/index/toxmgr.cxx sw/source/ui/lingu/hhcwrp.cxx sw/source/ui/lingu/makefile.mk sw/source/ui/lingu/olmenu.cxx sw/source/ui/misc/bookmark.cxx sw/source/ui/misc/docfnote.cxx sw/source/ui/misc/glosbib.cxx sw/source/ui/misc/glosdoc.cxx sw/source/ui/misc/glshell.cxx sw/source/ui/misc/insfnote.cxx sw/source/ui/misc/linenum.cxx sw/source/ui/misc/makefile.mk sw/source/ui/misc/num.cxx sw/source/ui/misc/numberingtypelistbox.cxx sw/source/ui/misc/outline.cxx sw/source/ui/misc/pgfnote.cxx sw/source/ui/misc/pggrid.cxx sw/source/ui/misc/redlndlg.cxx sw/source/ui/misc/srtdlg.cxx sw/source/ui/misc/swmodalredlineacceptdlg.cxx sw/source/ui/ribbar/conarc.cxx sw/source/ui/ribbar/drawbase.cxx sw/source/ui/ribbar/inputwin.cxx sw/source/ui/ribbar/inputwin.src sw/source/ui/ribbar/makefile.mk sw/source/ui/ribbar/tbxanchr.cxx sw/source/ui/ribbar/workctrl.cxx sw/source/ui/ribbar/workctrl.src sw/source/ui/shells/annotsh.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/beziersh.cxx sw/source/ui/shells/drawdlg.cxx sw/source/ui/shells/drwbassh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/drwtxtsh.cxx sw/source/ui/shells/frmsh.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/grfshex.cxx sw/source/ui/shells/makefile.mk sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textfld.cxx sw/source/ui/shells/textglos.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtattr.cxx sw/source/ui/shells/txtcrsr.cxx sw/source/ui/shells/txtnum.cxx sw/source/ui/table/convert.cxx sw/source/ui/table/instable.cxx sw/source/ui/table/makefile.mk sw/source/ui/table/swtablerep.cxx sw/source/ui/table/tabledlg.cxx sw/source/ui/table/tablemgr.cxx sw/source/ui/table/tablepg.hxx sw/source/ui/table/tautofmt.cxx sw/source/ui/uiview/formatclipboard.cxx sw/source/ui/uiview/makefile.mk sw/source/ui/uiview/pview.cxx sw/source/ui/uiview/pview.src sw/source/ui/uiview/scroll.cxx sw/source/ui/uiview/srcview.cxx sw/source/ui/uiview/swcli.cxx sw/source/ui/uiview/uivwimp.cxx sw/source/ui/uiview/view.cxx sw/source/ui/uiview/view1.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/uiview/viewcoll.cxx sw/source/ui/uiview/viewdlg2.cxx sw/source/ui/uiview/viewling.cxx sw/source/ui/uiview/viewmdi.cxx sw/source/ui/uiview/viewport.cxx sw/source/ui/uiview/viewprt.cxx sw/source/ui/uiview/viewsrch.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/uno/SwXDocumentSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.hxx sw/source/ui/uno/unoatxt.cxx sw/source/ui/uno/unomod.cxx sw/source/ui/uno/unotxdoc.cxx sw/source/ui/uno/unotxvw.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/content.cxx sw/source/ui/utlui/glbltree.cxx sw/source/ui/utlui/initui.cxx sw/source/ui/utlui/makefile.mk sw/source/ui/utlui/navipi.cxx sw/source/ui/utlui/navipi.src sw/source/ui/utlui/numfmtlb.cxx sw/source/ui/utlui/prcntfld.cxx sw/source/ui/utlui/uiitems.cxx sw/source/ui/utlui/uitool.cxx sw/source/ui/utlui/unotools.cxx sw/source/ui/utlui/viewlayoutctrl.cxx sw/source/ui/utlui/zoomctrl.cxx sw/source/ui/vba/makefile.mk sw/source/ui/vba/service.cxx sw/source/ui/web/makefile.mk sw/source/ui/wrtsh/makefile.mk sw/source/ui/wrtsh/wrtsh1.cxx sw/source/ui/wrtsh/wrtsh2.cxx sw/source/ui/wrtsh/wrtsh4.cxx sw/source/ui/wrtsh/wrtundo.cxx sw/util/hidother.src sw/util/makefile.mk sw/util/msword.map
2011-03-14 16:51:14 +00:00
sal_uInt16 aResetableSetRange[] = {
RES_FRMATR_BEGIN, RES_FRMATR_END-1,
RES_CHRATR_BEGIN, RES_CHRATR_LANGUAGE - 1,
RES_CHRATR_LANGUAGE + 1, RES_CHRATR_CJK_LANGUAGE - 1,
RES_CHRATR_CJK_LANGUAGE + 1, RES_CHRATR_CTL_LANGUAGE - 1,
RES_CHRATR_CTL_LANGUAGE + 1, RES_CHRATR_END-1,
RES_PARATR_BEGIN, RES_PARATR_END-1,
RES_TXTATR_UNKNOWN_CONTAINER, RES_TXTATR_UNKNOWN_CONTAINER,
RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1,
0
};
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 Conflicts: starmath/inc/applicat.hxx starmath/inc/dialog.hxx starmath/inc/document.hxx starmath/inc/edit.hxx starmath/inc/format.hxx starmath/inc/node.hxx starmath/inc/parse.hxx starmath/inc/rect.hxx starmath/inc/smdll.hxx starmath/inc/smmod.hxx starmath/inc/starmath.hrc starmath/inc/symbol.hxx starmath/inc/toolbox.hxx starmath/inc/utility.hxx starmath/inc/view.hxx starmath/prj/build.lst starmath/qa/cppunit/version.map starmath/sdi/smslots.sdi starmath/source/accessibility.cxx starmath/source/cfgitem.cxx starmath/source/cfgitem.hxx starmath/source/config.cxx starmath/source/dialog.cxx starmath/source/document.cxx starmath/source/edit.cxx starmath/source/format.cxx starmath/source/makefile.mk starmath/source/math_pch.cxx starmath/source/mathmlexport.cxx starmath/source/mathmlimport.cxx starmath/source/mathtype.cxx starmath/source/node.cxx starmath/source/parse.cxx starmath/source/rect.cxx starmath/source/register.cxx starmath/source/smdetect.cxx starmath/source/smdll.cxx starmath/source/smmod.cxx starmath/source/smres.src starmath/source/symbol.cxx starmath/source/toolbox.cxx starmath/source/unomodel.cxx starmath/source/utility.cxx starmath/source/view.cxx sw/JunitTest_sw_unoapi.mk sw/Library_swd.mk sw/Makefile sw/inc/IDocumentFieldsAccess.hxx sw/inc/IDocumentSettingAccess.hxx sw/inc/IDocumentUndoRedo.hxx sw/inc/IShellCursorSupplier.hxx sw/inc/SwUndoField.hxx sw/inc/acmplwrd.hxx sw/inc/authfld.hxx sw/inc/bparr.hxx sw/inc/calbck.hxx sw/inc/calc.hxx sw/inc/ccoll.hxx sw/inc/cellatr.hxx sw/inc/cellfml.hxx sw/inc/chpfld.hxx sw/inc/cmdid.h sw/inc/crsrsh.hxx sw/inc/crstate.hxx sw/inc/dbfld.hxx sw/inc/dbmgr.hxx sw/inc/dcontact.hxx sw/inc/ddefld.hxx sw/inc/doc.hxx sw/inc/docary.hxx sw/inc/docsh.hxx sw/inc/docstat.hxx sw/inc/docstyle.hxx sw/inc/docufld.hxx sw/inc/editsh.hxx sw/inc/errhdl.hxx sw/inc/expfld.hxx sw/inc/fchrfmt.hxx sw/inc/fesh.hxx sw/inc/fldbas.hxx sw/inc/flddat.hxx sw/inc/flddropdown.hxx sw/inc/flypos.hxx sw/inc/fmtanchr.hxx sw/inc/fmtautofmt.hxx sw/inc/fmtclds.hxx sw/inc/fmtcnct.hxx sw/inc/fmtcol.hxx sw/inc/fmtfsize.hxx sw/inc/fmtftn.hxx sw/inc/fmtftntx.hxx sw/inc/fmthdft.hxx sw/inc/fmtinfmt.hxx sw/inc/fmtline.hxx sw/inc/fmtornt.hxx sw/inc/fmtpdsc.hxx sw/inc/fmtruby.hxx sw/inc/fmtsrnd.hxx sw/inc/fmturl.hxx sw/inc/fmtwrapinfluenceonobjpos.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/grfatr.hxx sw/inc/helpid.h sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/htmltbl.hxx sw/inc/inetfld.hxx sw/inc/io.hxx sw/inc/iodetect.hxx sw/inc/itabenum.hxx sw/inc/ndarr.hxx sw/inc/ndgrf.hxx sw/inc/ndindex.hxx sw/inc/ndnotxt.hxx sw/inc/ndole.hxx sw/inc/ndtxt.hxx sw/inc/ndtyp.hxx sw/inc/node.hxx sw/inc/numrule.hxx sw/inc/pagedesc.hxx sw/inc/pagepreviewlayout.hxx sw/inc/pam.hxx sw/inc/paratr.hxx sw/inc/poolfmt.awk sw/inc/poolfmt.hxx sw/inc/printdata.hxx sw/inc/reffld.hxx sw/inc/shellio.hxx sw/inc/shellres.hxx sw/inc/swabstdlg.hxx sw/inc/swatrset.hxx sw/inc/swerror.h sw/inc/swprtopt.hxx sw/inc/swtable.hxx sw/inc/swtypes.hxx sw/inc/tblafmt.hxx sw/inc/tgrditem.hxx sw/inc/tox.hxx sw/inc/undobj.hxx sw/inc/unocoll.hxx sw/inc/unoframe.hxx sw/inc/unoprnms.hxx sw/inc/usrfld.hxx sw/inc/viewopt.hxx sw/inc/viewsh.hxx sw/inc/viscrs.hxx sw/prj/build.lst sw/qa/complex/accessibility/makefile.mk sw/qa/core/Test-BigPtrArray.cxx sw/qa/core/makefile.mk sw/sdi/makefile.mk sw/source/core/access/makefile.mk sw/source/core/access/textmarkuphelper.cxx sw/source/core/attr/calbck.cxx sw/source/core/attr/cellatr.cxx sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/bastyp/calc.cxx sw/source/core/bastyp/init.cxx sw/source/core/bastyp/makefile.mk sw/source/core/bastyp/swcache.cxx sw/source/core/crsr/bookmrk.cxx sw/source/core/crsr/callnk.cxx sw/source/core/crsr/crsrsh.cxx sw/source/core/crsr/crstrvl.cxx sw/source/core/crsr/findattr.cxx sw/source/core/crsr/findcoll.cxx sw/source/core/crsr/makefile.mk sw/source/core/crsr/pam.cxx sw/source/core/crsr/swcrsr.cxx sw/source/core/crsr/trvltbl.cxx sw/source/core/crsr/unocrsr.cxx sw/source/core/crsr/viscrs.cxx sw/source/core/doc/acmplwrd.cxx sw/source/core/doc/doc.cxx sw/source/core/doc/docbm.cxx sw/source/core/doc/doccomp.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docedt.cxx sw/source/core/doc/docfld.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docftn.cxx sw/source/core/doc/docglbl.cxx sw/source/core/doc/docglos.cxx sw/source/core/doc/doclay.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docnum.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/docruby.cxx sw/source/core/doc/docsort.cxx sw/source/core/doc/docstat.cxx sw/source/core/doc/doctxm.cxx sw/source/core/doc/fmtcol.cxx sw/source/core/doc/gctable.cxx sw/source/core/doc/htmltbl.cxx sw/source/core/doc/makefile.mk sw/source/core/doc/number.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/tblafmt.cxx sw/source/core/doc/tblcpy.cxx sw/source/core/doc/tblrwcl.cxx sw/source/core/docnode/makefile.mk sw/source/core/docnode/ndcopy.cxx sw/source/core/docnode/ndnum.cxx sw/source/core/docnode/ndsect.cxx sw/source/core/docnode/ndtbl.cxx sw/source/core/docnode/ndtbl1.cxx sw/source/core/docnode/node.cxx sw/source/core/docnode/node2lay.cxx sw/source/core/docnode/nodes.cxx sw/source/core/docnode/section.cxx sw/source/core/docnode/swbaslnk.cxx sw/source/core/draw/dcontact.cxx sw/source/core/draw/dflyobj.cxx sw/source/core/draw/drawdoc.cxx sw/source/core/draw/dview.cxx sw/source/core/draw/makefile.mk sw/source/core/edit/autofmt.cxx sw/source/core/edit/edattr.cxx sw/source/core/edit/eddel.cxx sw/source/core/edit/edfcol.cxx sw/source/core/edit/edfld.cxx sw/source/core/edit/edfldexp.cxx sw/source/core/edit/edfmt.cxx sw/source/core/edit/edglss.cxx sw/source/core/edit/editsh.cxx sw/source/core/edit/edlingu.cxx sw/source/core/edit/ednumber.cxx sw/source/core/edit/edsect.cxx sw/source/core/edit/edtab.cxx sw/source/core/edit/edtox.cxx sw/source/core/edit/edundo.cxx sw/source/core/edit/makefile.mk sw/source/core/except/dbgloop.cxx sw/source/core/except/errhdl.cxx sw/source/core/fields/authfld.cxx sw/source/core/fields/cellfml.cxx sw/source/core/fields/chpfld.cxx sw/source/core/fields/dbfld.cxx sw/source/core/fields/ddefld.cxx sw/source/core/fields/ddetbl.cxx sw/source/core/fields/docufld.cxx sw/source/core/fields/expfld.cxx sw/source/core/fields/fldbas.cxx sw/source/core/fields/flddat.cxx sw/source/core/fields/flddropdown.cxx sw/source/core/fields/macrofld.cxx sw/source/core/fields/makefile.mk sw/source/core/fields/reffld.cxx sw/source/core/fields/scrptfld.cxx sw/source/core/fields/tblcalc.cxx sw/source/core/fields/usrfld.cxx sw/source/core/frmedt/fecopy.cxx sw/source/core/frmedt/fedesc.cxx sw/source/core/frmedt/fefly1.cxx sw/source/core/frmedt/feshview.cxx sw/source/core/frmedt/fetab.cxx sw/source/core/frmedt/fews.cxx sw/source/core/frmedt/makefile.mk sw/source/core/frmedt/tblsel.cxx sw/source/core/graphic/grfatr.cxx sw/source/core/inc/SwUndoFmt.hxx sw/source/core/inc/SwUndoTOXChange.hxx sw/source/core/inc/anchoredobjectposition.hxx sw/source/core/inc/dbgloop.hxx sw/source/core/inc/drawfont.hxx sw/source/core/inc/flowfrm.hxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/layact.hxx sw/source/core/inc/layfrm.hxx sw/source/core/inc/notxtfrm.hxx sw/source/core/inc/rolbck.hxx sw/source/core/inc/rootfrm.hxx sw/source/core/inc/scriptinfo.hxx sw/source/core/inc/swblocks.hxx sw/source/core/inc/swcache.hxx sw/source/core/inc/tabfrm.hxx sw/source/core/inc/txmsrt.hxx sw/source/core/inc/undoflystrattr.hxx sw/source/core/inc/viewimp.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/calcmove.cxx sw/source/core/layout/dbg_lay.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/flowfrm.cxx sw/source/core/layout/fly.cxx sw/source/core/layout/flycnt.cxx sw/source/core/layout/flyincnt.cxx sw/source/core/layout/flylay.cxx sw/source/core/layout/frmtool.cxx sw/source/core/layout/ftnfrm.cxx sw/source/core/layout/layact.cxx sw/source/core/layout/laycache.cxx sw/source/core/layout/makefile.mk sw/source/core/layout/objectformatter.cxx sw/source/core/layout/pagechg.cxx sw/source/core/layout/pagedesc.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/layout/sectfrm.cxx sw/source/core/layout/tabfrm.cxx sw/source/core/layout/trvlfrm.cxx sw/source/core/layout/unusedf.cxx sw/source/core/layout/wsfrm.cxx sw/source/core/makefile.mk sw/source/core/objectpositioning/anchoredobjectposition.cxx sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx sw/source/core/objectpositioning/makefile.mk sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx sw/source/core/ole/ndole.cxx sw/source/core/para/makefile.mk sw/source/core/para/paratr.cxx sw/source/core/sw3io/makefile.mk sw/source/core/sw3io/sw3convert.cxx sw/source/core/swg/SwXMLTextBlocks.cxx sw/source/core/swg/makefile.mk sw/source/core/swg/swblocks.cxx sw/source/core/table/swnewtable.cxx sw/source/core/table/swtable.cxx sw/source/core/text/EnhancedPDFExportHelper.cxx sw/source/core/text/atrstck.cxx sw/source/core/text/frmcrsr.cxx sw/source/core/text/frmform.cxx sw/source/core/text/itrcrsr.cxx sw/source/core/text/itrform2.cxx sw/source/core/text/makefile.mk sw/source/core/text/porlay.cxx sw/source/core/text/pormulti.cxx sw/source/core/text/txtfld.cxx sw/source/core/text/txtfrm.cxx sw/source/core/text/txtio.cxx sw/source/core/tox/makefile.mk sw/source/core/tox/txmsrt.cxx sw/source/core/txtnode/fmtatr2.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/txtnode/fntcap.cxx sw/source/core/txtnode/makefile.mk sw/source/core/txtnode/ndhints.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/swfont.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/SwUndoField.cxx sw/source/core/undo/SwUndoPageDesc.cxx sw/source/core/undo/SwUndoTOXChange.cxx sw/source/core/undo/docundo.cxx sw/source/core/undo/makefile.mk sw/source/core/undo/rolbck.cxx sw/source/core/undo/unbkmk.cxx sw/source/core/undo/undel.cxx sw/source/core/undo/undobj.cxx sw/source/core/undo/undobj1.cxx sw/source/core/undo/unfmco.cxx sw/source/core/undo/unins.cxx sw/source/core/undo/unnum.cxx sw/source/core/undo/unoutl.cxx sw/source/core/undo/unredln.cxx sw/source/core/undo/unsect.cxx sw/source/core/undo/unsort.cxx sw/source/core/undo/unspnd.cxx sw/source/core/undo/untbl.cxx sw/source/core/unocore/makefile.mk sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unobkm.cxx sw/source/core/unocore/unocoll.cxx sw/source/core/unocore/unocrsrhelper.cxx sw/source/core/unocore/unodraw.cxx sw/source/core/unocore/unofield.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unoredlines.cxx sw/source/core/unocore/unosett.cxx sw/source/core/unocore/unosrch.cxx sw/source/core/unocore/unostyle.cxx sw/source/core/unocore/unotbl.cxx sw/source/core/view/vdraw.cxx sw/source/core/view/viewimp.cxx sw/source/core/view/viewpg.cxx sw/source/core/view/viewsh.cxx sw/source/core/view/vnew.cxx sw/source/core/view/vprint.cxx sw/source/filter/ascii/ascatr.cxx sw/source/filter/ascii/makefile.mk sw/source/filter/ascii/wrtasc.cxx sw/source/filter/basflt/fltini.cxx sw/source/filter/basflt/iodetect.cxx sw/source/filter/basflt/makefile.mk sw/source/filter/html/SwAppletImpl.cxx sw/source/filter/html/css1atr.cxx sw/source/filter/html/htmlatr.cxx sw/source/filter/html/htmlbas.cxx sw/source/filter/html/htmlcss1.cxx sw/source/filter/html/htmlfly.cxx sw/source/filter/html/htmlftn.cxx sw/source/filter/html/htmlgrin.cxx sw/source/filter/html/htmlnum.cxx sw/source/filter/html/htmlplug.cxx sw/source/filter/html/htmltab.cxx sw/source/filter/html/makefile.mk sw/source/filter/html/parcss1.cxx sw/source/filter/html/svxcss1.cxx sw/source/filter/html/swhtml.cxx sw/source/filter/inc/msfilter.hxx sw/source/filter/inc/wrtswtbl.hxx sw/source/filter/rtf/makefile.mk sw/source/filter/rtf/rtffly.cxx sw/source/filter/rtf/rtfnum.cxx sw/source/filter/rtf/rtftbl.cxx sw/source/filter/rtf/swparrtf.cxx sw/source/filter/rtf/swparrtf.hxx sw/source/filter/writer/makefile.mk sw/source/filter/writer/writer.cxx sw/source/filter/writer/wrt_fn.cxx sw/source/filter/writer/wrtswtbl.cxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww1/makefile.mk sw/source/filter/ww1/w1class.cxx sw/source/filter/ww1/w1class.hxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww1/w1par.cxx sw/source/filter/ww1/w1sprm.cxx sw/source/filter/ww1/w1struct.hxx sw/source/filter/ww8/README-rtf.txt sw/source/filter/ww8/attributeoutputbase.hxx sw/source/filter/ww8/docxattributeoutput.cxx sw/source/filter/ww8/docxattributeoutput.hxx sw/source/filter/ww8/docxexport.cxx sw/source/filter/ww8/docxexport.hxx sw/source/filter/ww8/docxexportfilter.cxx sw/source/filter/ww8/dump/dump8.cxx sw/source/filter/ww8/dump/dump8a.cxx sw/source/filter/ww8/dump/msvbasic.cxx sw/source/filter/ww8/dump/msvbasic.hxx sw/source/filter/ww8/dump/ww8darr.cxx sw/source/filter/ww8/dump/ww8darr.hxx sw/source/filter/ww8/dump/ww8dout.cxx sw/source/filter/ww8/dump/ww8dout.hxx sw/source/filter/ww8/dump/ww8scan.cxx sw/source/filter/ww8/dump/ww8scan.hxx sw/source/filter/ww8/dump/ww8struc.hxx sw/source/filter/ww8/makefile.mk sw/source/filter/ww8/rtfattributeoutput.cxx sw/source/filter/ww8/rtfattributeoutput.hxx sw/source/filter/ww8/rtfexport.cxx sw/source/filter/ww8/rtfexport.hxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/filter/ww8/rtfexportfilter.hxx sw/source/filter/ww8/rtfimportfilter.cxx sw/source/filter/ww8/rtfimportfilter.hxx sw/source/filter/ww8/rtfsdrexport.cxx sw/source/filter/ww8/rtfsdrexport.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/writerwordglue.cxx sw/source/filter/ww8/wrtw8esh.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/wrtw8num.cxx sw/source/filter/ww8/wrtw8sty.cxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/wrtww8.hxx sw/source/filter/ww8/wrtww8gr.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/ww8/ww8attributeoutput.hxx sw/source/filter/ww8/ww8graf.cxx sw/source/filter/ww8/ww8graf.hxx sw/source/filter/ww8/ww8graf2.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.hxx sw/source/filter/ww8/ww8par2.cxx sw/source/filter/ww8/ww8par3.cxx sw/source/filter/ww8/ww8par5.cxx sw/source/filter/ww8/ww8par6.cxx sw/source/filter/ww8/ww8scan.cxx sw/source/filter/ww8/ww8scan.hxx sw/source/filter/ww8/ww8struc.hxx sw/source/filter/xml/makefile.mk sw/source/filter/xml/xmlimpit.cxx sw/source/filter/xml/xmltble.cxx sw/source/filter/xml/xmltbli.cxx sw/source/ui/app/appenv.cxx sw/source/ui/app/apphdl.cxx sw/source/ui/app/applab.cxx sw/source/ui/app/appopt.cxx sw/source/ui/app/docsh.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/app/docstyle.cxx sw/source/ui/app/makefile.mk sw/source/ui/app/mn.src sw/source/ui/app/swmodul1.cxx sw/source/ui/cctrl/makefile.mk sw/source/ui/cctrl/swlbox.cxx sw/source/ui/chrdlg/break.cxx sw/source/ui/chrdlg/ccoll.cxx sw/source/ui/chrdlg/chardlg.cxx sw/source/ui/chrdlg/drpcps.cxx sw/source/ui/chrdlg/makefile.mk sw/source/ui/chrdlg/numpara.cxx sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/chrdlg/swuiccoll.cxx sw/source/ui/config/barcfg.cxx sw/source/ui/config/caption.cxx sw/source/ui/config/cfgitems.cxx sw/source/ui/config/fontcfg.cxx sw/source/ui/config/mailconfigpage.cxx sw/source/ui/config/makefile.mk sw/source/ui/config/modcfg.cxx sw/source/ui/config/optcomp.cxx sw/source/ui/config/optload.cxx sw/source/ui/config/optpage.cxx sw/source/ui/config/prtopt.cxx sw/source/ui/config/uinums.cxx sw/source/ui/config/usrpref.cxx sw/source/ui/config/viewopt.cxx sw/source/ui/dbui/dbinsdlg.cxx sw/source/ui/dbui/dbmgr.cxx sw/source/ui/dbui/dbtree.cxx sw/source/ui/dbui/makefile.mk sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dbui/mmdocselectpage.cxx sw/source/ui/dbui/mmoutputpage.cxx sw/source/ui/dbui/swdbtoolsclient.cxx sw/source/ui/dialog/abstract.cxx sw/source/ui/dialog/ascfldlg.cxx sw/source/ui/dialog/macassgn.cxx sw/source/ui/dialog/makefile.mk sw/source/ui/dialog/regionsw.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/dialog/swdlgfact.hxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/dochdl/gloshdl.cxx sw/source/ui/dochdl/makefile.mk sw/source/ui/dochdl/swdtflvr.cxx sw/source/ui/docvw/PostItMgr.cxx sw/source/ui/docvw/SidebarWin.cxx sw/source/ui/docvw/edtdd.cxx sw/source/ui/docvw/edtwin.cxx sw/source/ui/docvw/edtwin2.cxx sw/source/ui/docvw/edtwin3.cxx sw/source/ui/docvw/makefile.mk sw/source/ui/docvw/romenu.cxx sw/source/ui/docvw/romenu.hxx sw/source/ui/docvw/srcedtw.cxx sw/source/ui/envelp/envfmt.cxx sw/source/ui/envelp/envimg.cxx sw/source/ui/envelp/envlop1.cxx sw/source/ui/envelp/envprt.cxx sw/source/ui/envelp/label1.cxx sw/source/ui/envelp/labfmt.cxx sw/source/ui/envelp/labprt.cxx sw/source/ui/envelp/mailmrge.cxx sw/source/ui/envelp/makefile.mk sw/source/ui/fldui/flddb.cxx sw/source/ui/fldui/flddinf.cxx sw/source/ui/fldui/flddok.cxx sw/source/ui/fldui/fldedt.cxx sw/source/ui/fldui/fldfunc.cxx sw/source/ui/fldui/fldmgr.cxx sw/source/ui/fldui/fldpage.cxx sw/source/ui/fldui/fldref.cxx sw/source/ui/fldui/fldtdlg.cxx sw/source/ui/fldui/fldvar.cxx sw/source/ui/fldui/fldwrap.cxx sw/source/ui/fldui/inpdlg.cxx sw/source/ui/fldui/makefile.mk sw/source/ui/fmtui/makefile.mk sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/frmdlg/colmgr.cxx sw/source/ui/frmdlg/column.cxx sw/source/ui/frmdlg/cption.cxx sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmmgr.cxx sw/source/ui/frmdlg/frmpage.cxx sw/source/ui/frmdlg/makefile.mk sw/source/ui/frmdlg/wrap.cxx sw/source/ui/globdoc/makefile.mk sw/source/ui/inc/bmpwin.hxx sw/source/ui/inc/colmgr.hxx sw/source/ui/inc/column.hxx sw/source/ui/inc/envimg.hxx sw/source/ui/inc/envlop.hxx sw/source/ui/inc/frmpage.hxx sw/source/ui/inc/inputwin.hxx sw/source/ui/inc/javaedit.hxx sw/source/ui/inc/num.hxx sw/source/ui/inc/optpage.hxx sw/source/ui/inc/regionsw.hxx sw/source/ui/inc/split.hxx sw/source/ui/inc/swlbox.hxx sw/source/ui/inc/swmn_tmpl.hrc sw/source/ui/inc/swuiidxmrk.hxx sw/source/ui/inc/tabsh.hxx sw/source/ui/inc/toxmgr.hxx sw/source/ui/inc/uiitems.hxx sw/source/ui/inc/view.hxx sw/source/ui/inc/workctrl.hxx sw/source/ui/inc/wrap.hxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/index/cnttab.cxx sw/source/ui/index/makefile.mk sw/source/ui/index/toxmgr.cxx sw/source/ui/lingu/hhcwrp.cxx sw/source/ui/lingu/makefile.mk sw/source/ui/lingu/olmenu.cxx sw/source/ui/misc/bookmark.cxx sw/source/ui/misc/docfnote.cxx sw/source/ui/misc/glosbib.cxx sw/source/ui/misc/glosdoc.cxx sw/source/ui/misc/glshell.cxx sw/source/ui/misc/insfnote.cxx sw/source/ui/misc/linenum.cxx sw/source/ui/misc/makefile.mk sw/source/ui/misc/num.cxx sw/source/ui/misc/numberingtypelistbox.cxx sw/source/ui/misc/outline.cxx sw/source/ui/misc/pgfnote.cxx sw/source/ui/misc/pggrid.cxx sw/source/ui/misc/redlndlg.cxx sw/source/ui/misc/srtdlg.cxx sw/source/ui/misc/swmodalredlineacceptdlg.cxx sw/source/ui/ribbar/conarc.cxx sw/source/ui/ribbar/drawbase.cxx sw/source/ui/ribbar/inputwin.cxx sw/source/ui/ribbar/inputwin.src sw/source/ui/ribbar/makefile.mk sw/source/ui/ribbar/tbxanchr.cxx sw/source/ui/ribbar/workctrl.cxx sw/source/ui/ribbar/workctrl.src sw/source/ui/shells/annotsh.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/beziersh.cxx sw/source/ui/shells/drawdlg.cxx sw/source/ui/shells/drwbassh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/drwtxtsh.cxx sw/source/ui/shells/frmsh.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/grfshex.cxx sw/source/ui/shells/makefile.mk sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textfld.cxx sw/source/ui/shells/textglos.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtattr.cxx sw/source/ui/shells/txtcrsr.cxx sw/source/ui/shells/txtnum.cxx sw/source/ui/table/convert.cxx sw/source/ui/table/instable.cxx sw/source/ui/table/makefile.mk sw/source/ui/table/swtablerep.cxx sw/source/ui/table/tabledlg.cxx sw/source/ui/table/tablemgr.cxx sw/source/ui/table/tablepg.hxx sw/source/ui/table/tautofmt.cxx sw/source/ui/uiview/formatclipboard.cxx sw/source/ui/uiview/makefile.mk sw/source/ui/uiview/pview.cxx sw/source/ui/uiview/pview.src sw/source/ui/uiview/scroll.cxx sw/source/ui/uiview/srcview.cxx sw/source/ui/uiview/swcli.cxx sw/source/ui/uiview/uivwimp.cxx sw/source/ui/uiview/view.cxx sw/source/ui/uiview/view1.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/uiview/viewcoll.cxx sw/source/ui/uiview/viewdlg2.cxx sw/source/ui/uiview/viewling.cxx sw/source/ui/uiview/viewmdi.cxx sw/source/ui/uiview/viewport.cxx sw/source/ui/uiview/viewprt.cxx sw/source/ui/uiview/viewsrch.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/uno/SwXDocumentSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.hxx sw/source/ui/uno/unoatxt.cxx sw/source/ui/uno/unomod.cxx sw/source/ui/uno/unotxdoc.cxx sw/source/ui/uno/unotxvw.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/content.cxx sw/source/ui/utlui/glbltree.cxx sw/source/ui/utlui/initui.cxx sw/source/ui/utlui/makefile.mk sw/source/ui/utlui/navipi.cxx sw/source/ui/utlui/navipi.src sw/source/ui/utlui/numfmtlb.cxx sw/source/ui/utlui/prcntfld.cxx sw/source/ui/utlui/uiitems.cxx sw/source/ui/utlui/uitool.cxx sw/source/ui/utlui/unotools.cxx sw/source/ui/utlui/viewlayoutctrl.cxx sw/source/ui/utlui/zoomctrl.cxx sw/source/ui/vba/makefile.mk sw/source/ui/vba/service.cxx sw/source/ui/web/makefile.mk sw/source/ui/wrtsh/makefile.mk sw/source/ui/wrtsh/wrtsh1.cxx sw/source/ui/wrtsh/wrtsh2.cxx sw/source/ui/wrtsh/wrtsh4.cxx sw/source/ui/wrtsh/wrtundo.cxx sw/util/hidother.src sw/util/makefile.mk sw/util/msword.map
2011-03-14 16:51:14 +00:00
sal_uInt16 *pUShorts = aResetableSetRange;
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
while (*pUShorts)
{
sal_uInt16 nL = pUShorts[1] - pUShorts[0] + 1;
sal_uInt16 nE = pUShorts[0];
for (sal_uInt16 i = 0; i < nL; ++i)
aAttribs.insert( aAttribs.end(), nE++ );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
pUShorts += 2;
}
rWrtSh.ResetAttr( aAttribs );
rReq.Done();
2000-09-18 16:15:01 +00:00
break;
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
}
2000-09-18 16:15:01 +00:00
case FN_INSERT_BREAK_DLG:
{
sal_uInt16 nKind=0, nPageNumber=0;
2002-07-01 08:09:41 +00:00
String aTemplateName;
if ( pItem )
{
nKind = ((SfxInt16Item*)pItem)->GetValue();
SFX_REQUEST_ARG( rReq, pTemplate, SfxStringItem, FN_PARAM_1 , sal_False );
SFX_REQUEST_ARG( rReq, pNumber, SfxUInt16Item, FN_PARAM_2 , sal_False );
if ( pTemplate )
aTemplateName = pTemplate->GetValue();
if ( pNumber )
nPageNumber = pNumber->GetValue();
}
else
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
AbstractSwBreakDlg* pDlg = pFact->CreateSwBreakDlg(GetView().GetWindow(), rWrtSh);
OSL_ENSURE(pDlg, "Dialogdiet fail!");
2002-07-01 08:09:41 +00:00
if ( pDlg->Execute() == RET_OK )
{
nKind = pDlg->GetKind();
aTemplateName = pDlg->GetTemplateName();
nPageNumber = pDlg->GetPageNumber();
rReq.AppendItem( SfxInt16Item( FN_INSERT_BREAK_DLG, nKind ) );
rReq.AppendItem( SfxUInt16Item( FN_PARAM_2, nPageNumber ) );
rReq.AppendItem( SfxStringItem( FN_PARAM_1, aTemplateName ) );
rReq.Done();
}
else
rReq.Ignore();
delete pDlg;
}
switch ( nKind )
{
case 1 :
rWrtSh.InsertLineBreak(); break;
case 2 :
rWrtSh.InsertColumnBreak(); break;
case 3 :
{
rWrtSh.StartAllAction();
if( aTemplateName.Len() )
rWrtSh.InsertPageBreak( &aTemplateName, nPageNumber );
else
rWrtSh.InsertPageBreak();
rWrtSh.EndAllAction();
}
}
2000-09-18 16:15:01 +00:00
break;
2002-07-01 08:09:41 +00:00
}
2000-09-18 16:15:01 +00:00
case FN_INSERT_BOOKMARK:
{
2002-07-01 08:09:41 +00:00
if ( pItem )
{
CWS-TOOLING: integrate CWS swrefactormarks2 2009-04-09 12:51:41 +0200 b_michaelsen r270689 : #i94949# cleaned up assertions after rebasing 2009-04-08 17:37:08 +0200 b_michaelsen r270658 : fixing sw/source/ui/utlui/makefile.mk 2009-04-07 17:56:54 +0200 b_michaelsen r270606 : added bookctrl.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-07 17:05:20 +0200 b_michaelsen r270603 : added crbm.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-02 23:44:38 +0200 b_michaelsen r270436 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@270033 (milestone: DEV300:m45) 2009-02-27 16:25:31 +0100 b_michaelsen r268606 : #i94949# fixed Windows buildbreaker 2009-02-25 18:01:13 +0100 b_michaelsen r268464 : #i94949# Bookmarktest document filter roundtrips 2009-02-24 18:23:55 +0100 b_michaelsen r268404 : #i94949# Bookmark unittests 2009-02-23 19:47:44 +0100 b_michaelsen r268370 : #i94949# added unittest for bookmarks 2009-02-23 12:22:07 +0100 b_michaelsen r268348 : #i94949# fixing CheckCrossReferences testcase 2009-02-20 18:12:50 +0100 b_michaelsen r268335 : #i94949# fixing SwXTextRange 2009-02-18 18:32:57 +0100 b_michaelsen r268252 : #i94949# deregistering DdeBookmarks on delete 2009-02-18 18:29:08 +0100 b_michaelsen r268251 : fixing dbgoutsw.cxx for debug builds 2009-02-16 18:42:43 +0100 b_michaelsen r267834 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 15:32:02 +0100 b_michaelsen r267667 : #i94949 fixed crossrefbookmark naming 2009-02-11 18:30:08 +0100 b_michaelsen r267624 : #94949# fixing bookmark navigation 2009-02-11 13:55:26 +0100 b_michaelsen r267599 : #i94949# fixed bookmark naming 2009-02-10 17:53:05 +0100 b_michaelsen r267571 : #i94949# renamed HasOtherMarkPos to IsExpanded 2009-02-10 17:23:01 +0100 b_michaelsen r267564 : #i94949# renamed ::sw::bookmark namespace to more fitting ::sw::mark 2009-02-10 16:16:32 +0100 b_michaelsen r267553 : #i94949# creating only CrossRefBookmark per Txtnode 2009-02-10 12:14:05 +0100 b_michaelsen r267547 : #i94949# fixed bookmark count in navigator 2009-02-09 19:12:18 +0100 b_michaelsen r267532 : #i94949# lcl_CopyBookmarks(..) - handle marks on boundaries correctly 2009-02-09 17:32:45 +0100 b_michaelsen r267524 : #i94949# setting the refobject of the DdeBookmark in Sin SwServerObject::SetDdeBookmark(..) 2009-02-09 17:22:15 +0100 b_michaelsen r267523 : #i94949# trying to harden SwServerObject 2009-02-09 16:47:32 +0100 b_michaelsen r267521 : #i94949# lcl_CopyBookmarks(..): try to get the source mark name, if possible 2009-02-09 16:05:42 +0100 b_michaelsen r267519 : #i94949# clearing the OtherMarkPos if PaM has no mark in repositionMark(..), swapping inverted bookmarks without hissing an assertion 2009-02-09 15:55:38 +0100 b_michaelsen r267518 : #i94949# checking for out-of-bounds in SwView::ExecuteStatusLine(..) 2009-02-09 15:23:47 +0100 b_michaelsen r267517 : #i94949# using an UNO_BOOKMARK in ui/dbui/dbinsdlg.cxx 2009-02-09 14:14:47 +0100 b_michaelsen r267514 : #i94949# IDocumentMarkAccess::GetType(..) asserts on unknown type 2009-02-09 14:04:25 +0100 b_michaelsen r267513 : #i94949# using rtl strings instead of tools-strings in CrossRefBookmarks 2009-02-09 13:55:01 +0100 b_michaelsen r267510 : #i94949# using empty string for UnoMark construction 2009-02-09 13:46:46 +0100 b_michaelsen r267509 : #i94949# removed superfluous #includes, removed superfluous member DdeBookmark::bGenerateName, initialized DdeBookmark::m_aRefObj removed superfluous local _FindItem::ClearObj 2009-02-06 14:38:37 +0100 b_michaelsen r267462 : #i94949# fixing FN_STAT_BOOKMARK dispatches 2009-02-05 18:05:07 +0100 b_michaelsen r267436 : #i94949# removing superfluous #includes 2009-02-04 15:51:31 +0100 b_michaelsen r267391 : fixing resync merge error 2009-02-02 19:39:55 +0100 b_michaelsen r267294 : #i94949# bookmark performance 2009-01-30 19:30:51 +0100 b_michaelsen r267229 : #i94949# throwing IllegalArgumentException, if appropriate 2009-01-30 19:29:56 +0100 b_michaelsen r267228 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:23:49 +0100 b_michaelsen r267227 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:16:06 +0100 b_michaelsen r267226 : #i94949# refactored lcl_FillBookmarkArray 2009-01-30 17:59:27 +0100 b_michaelsen r267222 : #i94949# removed superficial #include 2009-01-30 17:50:02 +0100 b_michaelsen r267220 : #i94949# SwXTextRange remembers its UNO bookmark 2009-01-29 20:19:58 +0100 b_michaelsen r267168 : #i94949# implemented IDocumentMarkAccess::findBookmark 2009-01-29 17:22:17 +0100 b_michaelsen r267162 : #i94949# implemented renameMark in Markmanager 2009-01-29 14:17:10 +0100 b_michaelsen r267134 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:21:54 +0100 b_michaelsen r267125 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:06:10 +0100 b_michaelsen r267120 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:00:09 +0100 b_michaelsen r267118 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 10:35:10 +0100 b_michaelsen r267101 : #i94949# renamed SetCrsrToBkmk to SetCrsrToMark, moving to start/end of doc if no more bookmarks can be found 2009-01-28 17:05:36 +0100 b_michaelsen r267070 : #i94949# fixed order in aProvNamesId in unocoll.cxx 2009-01-28 15:46:13 +0100 b_michaelsen r267063 : #i94949# documentation 2009-01-28 15:36:59 +0100 b_michaelsen r267062 : #i94949# removing superficial #include 2009-01-28 15:30:36 +0100 b_michaelsen r267061 : #i94949# basic code conventions 2009-01-28 11:14:30 +0100 b_michaelsen r267039 : #i94949# comparing to the actual name of the new mark 2009-01-26 15:22:25 +0100 b_michaelsen r266927 : #i94949# performance fixes 2009-01-14 21:16:56 +0100 b_michaelsen r266332 : #i94949# fixing linux x86-64 compiler warnings 2009-01-14 19:52:06 +0100 b_michaelsen r266331 : #i94949# fixing some compiler warnings 2008-12-15 13:04:49 +0100 b_michaelsen r265474 : #i94949# fixed microsoft compiler warnings 2008-12-12 18:26:02 +0100 b_michaelsen r265434 : #i94949# fixed pro platform buildbreakers 2008-12-11 17:51:24 +0100 b_michaelsen r265342 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@264807 (milestone: DEV300:m37) 2008-12-09 18:30:59 +0100 b_michaelsen r265134 : #i94949# fixed IDocumentMarkAccess::GetType for new mark inheritance tree 2008-12-09 16:56:26 +0100 b_michaelsen r265118 : #i94949# fixed deleteMark optimization 2008-12-09 14:55:58 +0100 b_michaelsen r265092 : #i94949# DdeLink and DdeBookmark 2008-12-05 18:28:05 +0100 b_michaelsen r264914 : #i94949# fixed InitDoc in bookmarks 2008-12-02 02:23:51 +0100 b_michaelsen r264649 : #i94949# removed obsolete naming proposal code in SwXTextRange, fixed navigator reminders to forget the oldest reminder when the pool is empty 2008-12-02 02:05:19 +0100 b_michaelsen r264648 : #i94949# using bisect search for delete 2008-12-02 01:58:16 +0100 b_michaelsen r264647 : #i94949# using bisect search for delete 2008-12-02 01:37:33 +0100 b_michaelsen r264646 : #i94949# using bisect search for delete 2008-12-02 01:03:29 +0100 b_michaelsen r264645 : #i94949# fixed deleteMark crash 2008-12-01 20:55:00 +0100 b_michaelsen r264638 : #i94949# removed crossrefs from ui enumerations 2008-12-01 15:48:12 +0100 b_michaelsen r264613 : #i94949# removed superfluous local functions 2008-12-01 15:01:19 +0100 b_michaelsen r264608 : #i94949# optimized insertion of new marks 2008-12-01 14:33:21 +0100 b_michaelsen r264603 : #i94949# simplified code finding Fieldmark for a position 2008-12-01 14:05:55 +0100 b_michaelsen r264598 : #i94949# fixed reverse travelling through marks, removed obsolete getUniqueMarkName() 2008-11-27 18:48:15 +0100 b_michaelsen r264515 : #i94949# fixed _SaveCntntIdx and friends 2008-11-27 15:59:49 +0100 b_michaelsen r264500 : #i94949# fix Mark position only in ctor 2008-11-27 15:52:28 +0100 b_michaelsen r264497 : #i94949# fixed Bug in SwXBookmark, was using pDoc too early 2008-11-26 14:54:22 +0100 b_michaelsen r264396 : #i94949# fixed documentation, simplified navigator reminder code 2008-11-24 20:45:51 +0100 b_michaelsen r264266 : #i94949# removed last obsolete getUniqueMarkName calls 2008-11-24 20:21:35 +0100 b_michaelsen r264265 : #i94949# fixed typo in IDocumentMarkAccess, removed obsolete getUniqueMarkName calls 2008-11-24 18:34:32 +0100 b_michaelsen r264264 : #i94949# repositioning of Marks, removed possibility to delete marks by name in the core, refactoring of navigator reminder generation 2008-11-21 14:08:49 +0100 b_michaelsen r264137 : #i94949# simplified makeMark 2008-11-21 12:07:09 +0100 b_michaelsen r264120 : #i94949# moved ShortName and KeyCode from IMark to IBookmark 2008-11-19 12:50:49 +0100 b_michaelsen r263981 : #i94949# starting refactoring of bookmark naming 2008-11-19 11:31:08 +0100 b_michaelsen r263972 : #i94949# getting rid of obsolete dynamic casts 2008-11-18 19:06:09 +0100 b_michaelsen r263795 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 17:50:18 +0100 b_michaelsen r263792 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 16:48:20 +0100 b_michaelsen r263783 : #i94949# removed methods from crsrsh which are already available directly via IDocumentMarkAccess 2008-11-18 11:31:35 +0100 b_michaelsen r263753 : #i94949# cleaning up mark code in crsrsh 2008-11-17 10:15:25 +0100 b_michaelsen r263705 : #i94949# removed possible integer overflow 2008-11-14 18:48:45 +0100 b_michaelsen r263695 : #i94949# management of mark names in MarkManager 2008-11-14 18:23:40 +0100 b_michaelsen r263693 : #i94949# using polymorphism to do mark-specific setup in SwDoc 2008-11-14 16:27:09 +0100 b_michaelsen r263684 : #i94949# got rid of makeCrossRefBookmark 2008-11-14 13:03:32 +0100 b_michaelsen r263674 : #i94949# refactored Correction methods 2008-11-13 12:27:55 +0100 b_michaelsen r263631 : #i94949# got rid of old-style tools assertions in new code 2008-11-12 16:58:16 +0100 b_michaelsen r263608 : #i94949# added assertion for unique names 2008-11-12 16:55:18 +0100 b_michaelsen r263607 : #i94949# maked XFormField deprecated 2008-11-12 13:04:29 +0100 b_michaelsen r263587 : #i94949# replaced IDocumentMarkAccess::GetType with simple dynamic_cast where possible 2008-11-11 18:45:53 +0100 b_michaelsen r263572 : #i94949# cleaned up SwHstryBookmark 2008-11-11 13:48:18 +0100 b_michaelsen r263557 : #i94949# removed dynamic_casts to SwModify by inheriting IMark from it 2008-11-11 11:26:28 +0100 b_michaelsen r263548 : #i94949# fixed SwXBookmark 2008-11-10 17:01:19 +0100 b_michaelsen r263529 : #i94949# fixed DdeBookmarks in clipboard 2008-11-10 16:44:52 +0100 b_michaelsen r263527 : #i94949# formatting 2008-11-10 16:29:16 +0100 b_michaelsen r263526 : #i94949# fixing unoobj.cxx 2008-11-10 16:23:50 +0100 b_michaelsen r263525 : #i94949# cleaning up crossrefbookmark.cxx/.hxx 2008-11-10 16:02:08 +0100 b_michaelsen r263524 : #i94949# Pdf Export should only generate 'real' bookmarks 2008-11-10 15:33:58 +0100 b_michaelsen r263521 : #i94949# removed const_casts 2008-11-10 15:12:06 +0100 b_michaelsen r263520 : #i94949# moved _DelBookmarks into MarksManager 2008-11-07 18:48:38 +0100 b_michaelsen r263480 : #i94949# using iterator interface 2008-11-07 18:41:46 +0100 b_michaelsen r263478 : #i94949# using iterator interface 2008-11-07 18:07:41 +0100 b_michaelsen r263477 : #i94949# using iterator interface 2008-11-07 17:54:41 +0100 b_michaelsen r263476 : #i94949# using iterator interface 2008-11-07 17:44:41 +0100 b_michaelsen r263475 : #i94949# moved correction methods into MarkManager 2008-11-06 18:47:28 +0100 b_michaelsen r263404 : #i94949# getting rid of superfluous const_casts 2008-11-06 17:58:01 +0100 b_michaelsen r263403 : #i94949# no more setting of mark positions outside of the core 2008-11-06 17:08:37 +0100 b_michaelsen r263401 : #i94949# removed setters from IMark 2008-11-06 13:55:25 +0100 b_michaelsen r263383 : #i94949 SwDoc does not implement IDocumentMarkAccess anymore 2008-11-04 18:17:03 +0100 b_michaelsen r263333 : #i94949# began removing IDocumentMarkAccess from SwDoc 2008-11-04 16:48:34 +0100 b_michaelsen r263330 : removing dead code (SwBitArray) found by mst 2008-11-04 16:29:32 +0100 b_michaelsen r263329 : removing dead code (SwBitArray) found by mst 2008-11-04 14:57:48 +0100 b_michaelsen r263326 : removing dead code (SwBitArray) found by mst 2008-11-04 14:50:18 +0100 b_michaelsen r263325 : #i94949# stricter typing in IDocumentMarkAccess 2008-10-24 15:16:27 +0200 b_michaelsen r262647 : #i94949# renamed ::sw::bookmark::SimpleMark to NavigatorReminder to fit the IDocumentMarkAccess enum 2008-10-24 15:10:10 +0200 b_michaelsen r262646 : #i94949# only 'real' bookmark implement IBookmark, Marks also get removed from m_vFieldmarks on delete/clear 2008-10-24 13:06:23 +0200 b_michaelsen r262636 : #i94949# Fieldmark tabnavigation 2008-10-23 12:16:36 +0200 b_michaelsen r262619 : #i94949# Fieldmark classes and filters 2008-10-22 13:17:18 +0200 b_michaelsen r262597 : #i94949# writer import fixes 2008-10-21 11:30:38 +0200 b_michaelsen r262565 : #i94949# renamed methods containing Bookmark in the generic IMark interface 2008-10-20 14:09:02 +0200 b_michaelsen r262318 : #i94949# fixed SwDoc::CorrRel 2008-10-16 22:45:13 +0200 b_michaelsen r262273 : #i94949 simplified Before/After methods 2008-10-16 21:40:57 +0200 b_michaelsen r262271 : #i94949 renamed SimpleMark to NavigatorReminder 2008-10-16 21:15:23 +0200 b_michaelsen r262270 : #i94949 using shared_ptr only in MarkManager 2008-10-16 17:46:37 +0200 b_michaelsen r262269 : #i94949# getFieldmarkBefore and getFieldmarkAfter 2008-10-16 17:12:13 +0200 b_michaelsen r262265 : #i94949# cleanup in crbm.cxx 2008-10-16 12:49:01 +0200 b_michaelsen r262257 : #i94949# fixed usage of invalid iterator, fixed invalid cast 2008-10-15 15:34:20 +0200 b_michaelsen r262239 : #i94949# added moved files 2008-10-15 15:26:45 +0200 b_michaelsen r262237 : #i94949# initial reimplementation of Bookmarks
2009-04-21 15:40:02 +00:00
::rtl::OUString sName = ((SfxStringItem*)pItem)->GetValue();
rWrtSh.SetBookmark( KeyCode(), sName, aEmptyStr );
2002-07-01 08:09:41 +00:00
}
else
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
VclAbstractDialog* pDlg = pFact->CreateSwInsertBookmarkDlg( GetView().GetWindow(), rWrtSh, rReq, DLG_INSERT_BOOKMARK );
OSL_ENSURE(pDlg, "Dialogdiet fail!");
2002-07-01 08:09:41 +00:00
pDlg->Execute();
delete pDlg;
}
break;
}
case FN_DELETE_BOOKMARK:
{
if ( pItem )
CWS-TOOLING: integrate CWS swrefactormarks2 2009-04-09 12:51:41 +0200 b_michaelsen r270689 : #i94949# cleaned up assertions after rebasing 2009-04-08 17:37:08 +0200 b_michaelsen r270658 : fixing sw/source/ui/utlui/makefile.mk 2009-04-07 17:56:54 +0200 b_michaelsen r270606 : added bookctrl.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-07 17:05:20 +0200 b_michaelsen r270603 : added crbm.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-02 23:44:38 +0200 b_michaelsen r270436 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@270033 (milestone: DEV300:m45) 2009-02-27 16:25:31 +0100 b_michaelsen r268606 : #i94949# fixed Windows buildbreaker 2009-02-25 18:01:13 +0100 b_michaelsen r268464 : #i94949# Bookmarktest document filter roundtrips 2009-02-24 18:23:55 +0100 b_michaelsen r268404 : #i94949# Bookmark unittests 2009-02-23 19:47:44 +0100 b_michaelsen r268370 : #i94949# added unittest for bookmarks 2009-02-23 12:22:07 +0100 b_michaelsen r268348 : #i94949# fixing CheckCrossReferences testcase 2009-02-20 18:12:50 +0100 b_michaelsen r268335 : #i94949# fixing SwXTextRange 2009-02-18 18:32:57 +0100 b_michaelsen r268252 : #i94949# deregistering DdeBookmarks on delete 2009-02-18 18:29:08 +0100 b_michaelsen r268251 : fixing dbgoutsw.cxx for debug builds 2009-02-16 18:42:43 +0100 b_michaelsen r267834 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 15:32:02 +0100 b_michaelsen r267667 : #i94949 fixed crossrefbookmark naming 2009-02-11 18:30:08 +0100 b_michaelsen r267624 : #94949# fixing bookmark navigation 2009-02-11 13:55:26 +0100 b_michaelsen r267599 : #i94949# fixed bookmark naming 2009-02-10 17:53:05 +0100 b_michaelsen r267571 : #i94949# renamed HasOtherMarkPos to IsExpanded 2009-02-10 17:23:01 +0100 b_michaelsen r267564 : #i94949# renamed ::sw::bookmark namespace to more fitting ::sw::mark 2009-02-10 16:16:32 +0100 b_michaelsen r267553 : #i94949# creating only CrossRefBookmark per Txtnode 2009-02-10 12:14:05 +0100 b_michaelsen r267547 : #i94949# fixed bookmark count in navigator 2009-02-09 19:12:18 +0100 b_michaelsen r267532 : #i94949# lcl_CopyBookmarks(..) - handle marks on boundaries correctly 2009-02-09 17:32:45 +0100 b_michaelsen r267524 : #i94949# setting the refobject of the DdeBookmark in Sin SwServerObject::SetDdeBookmark(..) 2009-02-09 17:22:15 +0100 b_michaelsen r267523 : #i94949# trying to harden SwServerObject 2009-02-09 16:47:32 +0100 b_michaelsen r267521 : #i94949# lcl_CopyBookmarks(..): try to get the source mark name, if possible 2009-02-09 16:05:42 +0100 b_michaelsen r267519 : #i94949# clearing the OtherMarkPos if PaM has no mark in repositionMark(..), swapping inverted bookmarks without hissing an assertion 2009-02-09 15:55:38 +0100 b_michaelsen r267518 : #i94949# checking for out-of-bounds in SwView::ExecuteStatusLine(..) 2009-02-09 15:23:47 +0100 b_michaelsen r267517 : #i94949# using an UNO_BOOKMARK in ui/dbui/dbinsdlg.cxx 2009-02-09 14:14:47 +0100 b_michaelsen r267514 : #i94949# IDocumentMarkAccess::GetType(..) asserts on unknown type 2009-02-09 14:04:25 +0100 b_michaelsen r267513 : #i94949# using rtl strings instead of tools-strings in CrossRefBookmarks 2009-02-09 13:55:01 +0100 b_michaelsen r267510 : #i94949# using empty string for UnoMark construction 2009-02-09 13:46:46 +0100 b_michaelsen r267509 : #i94949# removed superfluous #includes, removed superfluous member DdeBookmark::bGenerateName, initialized DdeBookmark::m_aRefObj removed superfluous local _FindItem::ClearObj 2009-02-06 14:38:37 +0100 b_michaelsen r267462 : #i94949# fixing FN_STAT_BOOKMARK dispatches 2009-02-05 18:05:07 +0100 b_michaelsen r267436 : #i94949# removing superfluous #includes 2009-02-04 15:51:31 +0100 b_michaelsen r267391 : fixing resync merge error 2009-02-02 19:39:55 +0100 b_michaelsen r267294 : #i94949# bookmark performance 2009-01-30 19:30:51 +0100 b_michaelsen r267229 : #i94949# throwing IllegalArgumentException, if appropriate 2009-01-30 19:29:56 +0100 b_michaelsen r267228 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:23:49 +0100 b_michaelsen r267227 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:16:06 +0100 b_michaelsen r267226 : #i94949# refactored lcl_FillBookmarkArray 2009-01-30 17:59:27 +0100 b_michaelsen r267222 : #i94949# removed superficial #include 2009-01-30 17:50:02 +0100 b_michaelsen r267220 : #i94949# SwXTextRange remembers its UNO bookmark 2009-01-29 20:19:58 +0100 b_michaelsen r267168 : #i94949# implemented IDocumentMarkAccess::findBookmark 2009-01-29 17:22:17 +0100 b_michaelsen r267162 : #i94949# implemented renameMark in Markmanager 2009-01-29 14:17:10 +0100 b_michaelsen r267134 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:21:54 +0100 b_michaelsen r267125 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:06:10 +0100 b_michaelsen r267120 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:00:09 +0100 b_michaelsen r267118 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 10:35:10 +0100 b_michaelsen r267101 : #i94949# renamed SetCrsrToBkmk to SetCrsrToMark, moving to start/end of doc if no more bookmarks can be found 2009-01-28 17:05:36 +0100 b_michaelsen r267070 : #i94949# fixed order in aProvNamesId in unocoll.cxx 2009-01-28 15:46:13 +0100 b_michaelsen r267063 : #i94949# documentation 2009-01-28 15:36:59 +0100 b_michaelsen r267062 : #i94949# removing superficial #include 2009-01-28 15:30:36 +0100 b_michaelsen r267061 : #i94949# basic code conventions 2009-01-28 11:14:30 +0100 b_michaelsen r267039 : #i94949# comparing to the actual name of the new mark 2009-01-26 15:22:25 +0100 b_michaelsen r266927 : #i94949# performance fixes 2009-01-14 21:16:56 +0100 b_michaelsen r266332 : #i94949# fixing linux x86-64 compiler warnings 2009-01-14 19:52:06 +0100 b_michaelsen r266331 : #i94949# fixing some compiler warnings 2008-12-15 13:04:49 +0100 b_michaelsen r265474 : #i94949# fixed microsoft compiler warnings 2008-12-12 18:26:02 +0100 b_michaelsen r265434 : #i94949# fixed pro platform buildbreakers 2008-12-11 17:51:24 +0100 b_michaelsen r265342 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@264807 (milestone: DEV300:m37) 2008-12-09 18:30:59 +0100 b_michaelsen r265134 : #i94949# fixed IDocumentMarkAccess::GetType for new mark inheritance tree 2008-12-09 16:56:26 +0100 b_michaelsen r265118 : #i94949# fixed deleteMark optimization 2008-12-09 14:55:58 +0100 b_michaelsen r265092 : #i94949# DdeLink and DdeBookmark 2008-12-05 18:28:05 +0100 b_michaelsen r264914 : #i94949# fixed InitDoc in bookmarks 2008-12-02 02:23:51 +0100 b_michaelsen r264649 : #i94949# removed obsolete naming proposal code in SwXTextRange, fixed navigator reminders to forget the oldest reminder when the pool is empty 2008-12-02 02:05:19 +0100 b_michaelsen r264648 : #i94949# using bisect search for delete 2008-12-02 01:58:16 +0100 b_michaelsen r264647 : #i94949# using bisect search for delete 2008-12-02 01:37:33 +0100 b_michaelsen r264646 : #i94949# using bisect search for delete 2008-12-02 01:03:29 +0100 b_michaelsen r264645 : #i94949# fixed deleteMark crash 2008-12-01 20:55:00 +0100 b_michaelsen r264638 : #i94949# removed crossrefs from ui enumerations 2008-12-01 15:48:12 +0100 b_michaelsen r264613 : #i94949# removed superfluous local functions 2008-12-01 15:01:19 +0100 b_michaelsen r264608 : #i94949# optimized insertion of new marks 2008-12-01 14:33:21 +0100 b_michaelsen r264603 : #i94949# simplified code finding Fieldmark for a position 2008-12-01 14:05:55 +0100 b_michaelsen r264598 : #i94949# fixed reverse travelling through marks, removed obsolete getUniqueMarkName() 2008-11-27 18:48:15 +0100 b_michaelsen r264515 : #i94949# fixed _SaveCntntIdx and friends 2008-11-27 15:59:49 +0100 b_michaelsen r264500 : #i94949# fix Mark position only in ctor 2008-11-27 15:52:28 +0100 b_michaelsen r264497 : #i94949# fixed Bug in SwXBookmark, was using pDoc too early 2008-11-26 14:54:22 +0100 b_michaelsen r264396 : #i94949# fixed documentation, simplified navigator reminder code 2008-11-24 20:45:51 +0100 b_michaelsen r264266 : #i94949# removed last obsolete getUniqueMarkName calls 2008-11-24 20:21:35 +0100 b_michaelsen r264265 : #i94949# fixed typo in IDocumentMarkAccess, removed obsolete getUniqueMarkName calls 2008-11-24 18:34:32 +0100 b_michaelsen r264264 : #i94949# repositioning of Marks, removed possibility to delete marks by name in the core, refactoring of navigator reminder generation 2008-11-21 14:08:49 +0100 b_michaelsen r264137 : #i94949# simplified makeMark 2008-11-21 12:07:09 +0100 b_michaelsen r264120 : #i94949# moved ShortName and KeyCode from IMark to IBookmark 2008-11-19 12:50:49 +0100 b_michaelsen r263981 : #i94949# starting refactoring of bookmark naming 2008-11-19 11:31:08 +0100 b_michaelsen r263972 : #i94949# getting rid of obsolete dynamic casts 2008-11-18 19:06:09 +0100 b_michaelsen r263795 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 17:50:18 +0100 b_michaelsen r263792 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 16:48:20 +0100 b_michaelsen r263783 : #i94949# removed methods from crsrsh which are already available directly via IDocumentMarkAccess 2008-11-18 11:31:35 +0100 b_michaelsen r263753 : #i94949# cleaning up mark code in crsrsh 2008-11-17 10:15:25 +0100 b_michaelsen r263705 : #i94949# removed possible integer overflow 2008-11-14 18:48:45 +0100 b_michaelsen r263695 : #i94949# management of mark names in MarkManager 2008-11-14 18:23:40 +0100 b_michaelsen r263693 : #i94949# using polymorphism to do mark-specific setup in SwDoc 2008-11-14 16:27:09 +0100 b_michaelsen r263684 : #i94949# got rid of makeCrossRefBookmark 2008-11-14 13:03:32 +0100 b_michaelsen r263674 : #i94949# refactored Correction methods 2008-11-13 12:27:55 +0100 b_michaelsen r263631 : #i94949# got rid of old-style tools assertions in new code 2008-11-12 16:58:16 +0100 b_michaelsen r263608 : #i94949# added assertion for unique names 2008-11-12 16:55:18 +0100 b_michaelsen r263607 : #i94949# maked XFormField deprecated 2008-11-12 13:04:29 +0100 b_michaelsen r263587 : #i94949# replaced IDocumentMarkAccess::GetType with simple dynamic_cast where possible 2008-11-11 18:45:53 +0100 b_michaelsen r263572 : #i94949# cleaned up SwHstryBookmark 2008-11-11 13:48:18 +0100 b_michaelsen r263557 : #i94949# removed dynamic_casts to SwModify by inheriting IMark from it 2008-11-11 11:26:28 +0100 b_michaelsen r263548 : #i94949# fixed SwXBookmark 2008-11-10 17:01:19 +0100 b_michaelsen r263529 : #i94949# fixed DdeBookmarks in clipboard 2008-11-10 16:44:52 +0100 b_michaelsen r263527 : #i94949# formatting 2008-11-10 16:29:16 +0100 b_michaelsen r263526 : #i94949# fixing unoobj.cxx 2008-11-10 16:23:50 +0100 b_michaelsen r263525 : #i94949# cleaning up crossrefbookmark.cxx/.hxx 2008-11-10 16:02:08 +0100 b_michaelsen r263524 : #i94949# Pdf Export should only generate 'real' bookmarks 2008-11-10 15:33:58 +0100 b_michaelsen r263521 : #i94949# removed const_casts 2008-11-10 15:12:06 +0100 b_michaelsen r263520 : #i94949# moved _DelBookmarks into MarksManager 2008-11-07 18:48:38 +0100 b_michaelsen r263480 : #i94949# using iterator interface 2008-11-07 18:41:46 +0100 b_michaelsen r263478 : #i94949# using iterator interface 2008-11-07 18:07:41 +0100 b_michaelsen r263477 : #i94949# using iterator interface 2008-11-07 17:54:41 +0100 b_michaelsen r263476 : #i94949# using iterator interface 2008-11-07 17:44:41 +0100 b_michaelsen r263475 : #i94949# moved correction methods into MarkManager 2008-11-06 18:47:28 +0100 b_michaelsen r263404 : #i94949# getting rid of superfluous const_casts 2008-11-06 17:58:01 +0100 b_michaelsen r263403 : #i94949# no more setting of mark positions outside of the core 2008-11-06 17:08:37 +0100 b_michaelsen r263401 : #i94949# removed setters from IMark 2008-11-06 13:55:25 +0100 b_michaelsen r263383 : #i94949 SwDoc does not implement IDocumentMarkAccess anymore 2008-11-04 18:17:03 +0100 b_michaelsen r263333 : #i94949# began removing IDocumentMarkAccess from SwDoc 2008-11-04 16:48:34 +0100 b_michaelsen r263330 : removing dead code (SwBitArray) found by mst 2008-11-04 16:29:32 +0100 b_michaelsen r263329 : removing dead code (SwBitArray) found by mst 2008-11-04 14:57:48 +0100 b_michaelsen r263326 : removing dead code (SwBitArray) found by mst 2008-11-04 14:50:18 +0100 b_michaelsen r263325 : #i94949# stricter typing in IDocumentMarkAccess 2008-10-24 15:16:27 +0200 b_michaelsen r262647 : #i94949# renamed ::sw::bookmark::SimpleMark to NavigatorReminder to fit the IDocumentMarkAccess enum 2008-10-24 15:10:10 +0200 b_michaelsen r262646 : #i94949# only 'real' bookmark implement IBookmark, Marks also get removed from m_vFieldmarks on delete/clear 2008-10-24 13:06:23 +0200 b_michaelsen r262636 : #i94949# Fieldmark tabnavigation 2008-10-23 12:16:36 +0200 b_michaelsen r262619 : #i94949# Fieldmark classes and filters 2008-10-22 13:17:18 +0200 b_michaelsen r262597 : #i94949# writer import fixes 2008-10-21 11:30:38 +0200 b_michaelsen r262565 : #i94949# renamed methods containing Bookmark in the generic IMark interface 2008-10-20 14:09:02 +0200 b_michaelsen r262318 : #i94949# fixed SwDoc::CorrRel 2008-10-16 22:45:13 +0200 b_michaelsen r262273 : #i94949 simplified Before/After methods 2008-10-16 21:40:57 +0200 b_michaelsen r262271 : #i94949 renamed SimpleMark to NavigatorReminder 2008-10-16 21:15:23 +0200 b_michaelsen r262270 : #i94949 using shared_ptr only in MarkManager 2008-10-16 17:46:37 +0200 b_michaelsen r262269 : #i94949# getFieldmarkBefore and getFieldmarkAfter 2008-10-16 17:12:13 +0200 b_michaelsen r262265 : #i94949# cleanup in crbm.cxx 2008-10-16 12:49:01 +0200 b_michaelsen r262257 : #i94949# fixed usage of invalid iterator, fixed invalid cast 2008-10-15 15:34:20 +0200 b_michaelsen r262239 : #i94949# added moved files 2008-10-15 15:26:45 +0200 b_michaelsen r262237 : #i94949# initial reimplementation of Bookmarks
2009-04-21 15:40:02 +00:00
{
IDocumentMarkAccess* const pMarkAccess = rWrtSh.getIDocumentMarkAccess();
pMarkAccess->deleteMark( pMarkAccess->findMark(((SfxStringItem*)pItem)->GetValue()) );
}
2002-07-01 08:09:41 +00:00
break;
2000-09-18 16:15:01 +00:00
}
case FN_AUTOFORMAT_REDLINE_APPLY:
{
2011-05-20 09:06:56 +01:00
SvxSwAutoFmtFlags aFlags(SvxAutoCorrCfg::Get().GetAutoCorrect()->GetSwFlags());
// das muss fuer die Nachbearbeitung immer sal_False sein
aFlags.bAFmtByInput = sal_False;
aFlags.bWithRedlining = sal_True;
2000-09-18 16:15:01 +00:00
rWrtSh.AutoFormat( &aFlags );
aFlags.bWithRedlining = sal_False;
2000-09-18 16:15:01 +00:00
SfxViewFrame* pVFrame = GetView().GetViewFrame();
if (pVFrame->HasChildWindow(FN_REDLINE_ACCEPT))
pVFrame->ToggleChildWindow(FN_REDLINE_ACCEPT);
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
AbstractSwModalRedlineAcceptDlg* pDlg = pFact->CreateSwModalRedlineAcceptDlg(&GetView().GetEditWin());
OSL_ENSURE(pDlg, "Dialogdiet fail!");
2000-09-18 16:15:01 +00:00
switch (lcl_AskRedlineMode(&GetView().GetEditWin()))
{
case RET_OK:
2002-06-27 07:47:17 +00:00
{
pDlg->AcceptAll(sal_True);
2002-06-27 07:47:17 +00:00
SfxRequest aReq( pVFrame, FN_AUTOFORMAT_APPLY );
aReq.Done();
rReq.Ignore();
2000-09-18 16:15:01 +00:00
break;
2002-06-27 07:47:17 +00:00
}
2000-09-18 16:15:01 +00:00
case RET_CANCEL:
pDlg->AcceptAll(sal_False);
2002-06-27 07:47:17 +00:00
rReq.Ignore();
2000-09-18 16:15:01 +00:00
break;
case 2:
pDlg->Execute();
2002-06-27 07:47:17 +00:00
rReq.Done();
2000-09-18 16:15:01 +00:00
break;
}
delete pDlg;
2000-09-18 16:15:01 +00:00
}
break;
case FN_AUTOFORMAT_APPLY:
{
2011-05-20 09:06:56 +01:00
SvxSwAutoFmtFlags aFlags(SvxAutoCorrCfg::Get().GetAutoCorrect()->GetSwFlags());
// das muss fuer die Nachbearbeitung immer sal_False sein
aFlags.bAFmtByInput = sal_False;
2000-09-18 16:15:01 +00:00
rWrtSh.AutoFormat( &aFlags );
2002-06-27 07:47:17 +00:00
rReq.Done();
2000-09-18 16:15:01 +00:00
}
break;
case FN_AUTOFORMAT_AUTO:
{
2011-05-20 09:06:56 +01:00
SvxAutoCorrCfg& rACfg = SvxAutoCorrCfg::Get();
sal_Bool bSet = pItem ? ((const SfxBoolItem*)pItem)->GetValue() : !rACfg.IsAutoFmtByInput();
if( bSet != rACfg.IsAutoFmtByInput() )
{
2011-05-20 09:06:56 +01:00
rACfg.SetAutoFmtByInput( bSet );
GetView().GetViewFrame()->GetBindings().Invalidate( nSlot );
2002-06-27 07:47:17 +00:00
if ( !pItem )
rReq.AppendItem( SfxBoolItem( GetPool().GetWhich(nSlot), bSet ) );
rReq.Done();
}
2000-09-18 16:15:01 +00:00
}
break;
case FN_AUTO_CORRECT:
{
// erstmal auf Blank defaulten
sal_Unicode cChar = ' ';
2011-05-20 09:06:56 +01:00
rWrtSh.AutoCorrect( *SvxAutoCorrCfg::Get().GetAutoCorrect(), cChar );
rReq.Done();
2000-09-18 16:15:01 +00:00
}
break;
case FN_TABLE_SORT_DIALOG:
2000-09-18 16:15:01 +00:00
case FN_SORTING_DLG:
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
VclAbstractDialog* pDlg = pFact->CreateVclAbstractDialog( GetView().GetWindow(), rWrtSh, DLG_SORTING );
OSL_ENSURE(pDlg, "Dialogdiet fail!");
2000-09-18 16:15:01 +00:00
pDlg->Execute();
delete pDlg;
rReq.Done();
2000-09-18 16:15:01 +00:00
}
break;
case FN_NUMBERING_OUTLINE_DLG:
{
SfxItemSet aTmp(GetPool(), FN_PARAM_1, FN_PARAM_1);
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialogdiet fail!");
SfxAbstractTabDialog* pDlg = pFact->CreateSwTabDialog( DLG_TAB_OUTLINE,
GetView().GetWindow(), &aTmp, rWrtSh);
OSL_ENSURE(pDlg, "Dialogdiet fail!");
2000-09-18 16:15:01 +00:00
pDlg->Execute();
delete pDlg;
rReq.Done();
2000-09-18 16:15:01 +00:00
}
break;
case FN_CALCULATE:
2001-02-02 16:46:27 +00:00
{
SwTransferable* pTransfer = new SwTransferable( rWrtSh );
/*??*/ uno::Reference<
datatransfer::XTransferable > xRef(
2001-02-02 16:46:27 +00:00
pTransfer );
pTransfer->CalculateAndCopy();
rReq.Done();
2001-02-02 16:46:27 +00:00
}
2000-09-18 16:15:01 +00:00
break;
case FN_GOTO_REFERENCE:
{
SwField *pFld = rWrtSh.GetCurFld();
if(pFld && pFld->GetTypeId() == TYP_GETREFFLD)
{
rWrtSh.StartAllAction();
rWrtSh.SwCrsrShell::GotoRefMark( ((SwGetRefField*)pFld)->GetSetRefName(),
((SwGetRefField*)pFld)->GetSubType(),
((SwGetRefField*)pFld)->GetSeqNo() );
rWrtSh.EndAllAction();
rReq.Done();
2000-09-18 16:15:01 +00:00
}
}
break;
case FN_EDIT_FORMULA:
{
const sal_uInt16 nId = SwInputChild::GetChildWindowId();
2002-08-15 06:53:06 +00:00
SfxViewFrame* pVFrame = GetView().GetViewFrame();
if(pItem)
{
//if the ChildWindow is active it has to be removed
if( pVFrame->HasChildWindow( nId ) )
{
pVFrame->ToggleChildWindow( nId );
pVFrame->GetBindings().InvalidateAll( sal_True );
2002-08-15 06:53:06 +00:00
}
String sFormula(((const SfxStringItem*)pItem)->GetValue());
SwFldMgr aFldMgr;
rWrtSh.StartAllAction();
sal_Bool bDelSel;
2002-08-15 06:53:06 +00:00
if( 0 != (bDelSel = rWrtSh.HasSelection()) )
{
rWrtSh.StartUndo( UNDO_START );
rWrtSh.DelRight();
}
else
{
rWrtSh.EnterStdMode();
}
if( !bDelSel && aFldMgr.GetCurFld() && TYP_FORMELFLD == aFldMgr.GetCurTypeId() )
aFldMgr.UpdateCurFld( aFldMgr.GetCurFld()->GetFormat(), aEmptyStr, sFormula );
else if( sFormula.Len() )
{
if( rWrtSh.IsCrsrInTbl() )
{
SfxItemSet aSet( rWrtSh.GetAttrPool(), RES_BOXATR_FORMULA, RES_BOXATR_FORMULA );
aSet.Put( SwTblBoxFormula( sFormula ));
rWrtSh.SetTblBoxFormulaAttrs( aSet );
rWrtSh.UpdateTable();
}
else
{
SvNumberFormatter* pFormatter = rWrtSh.GetNumberFormatter();
sal_uLong nSysNumFmt = pFormatter->GetFormatIndex( NF_NUMBER_STANDARD, LANGUAGE_SYSTEM);
SwInsertFld_Data aData(TYP_FORMELFLD, nsSwGetSetExpType::GSE_FORMULA, aEmptyStr, sFormula, nSysNumFmt);
2002-08-15 06:53:06 +00:00
aFldMgr.InsertFld(aData);
}
}
if( bDelSel )
rWrtSh.EndUndo( UNDO_END );
rWrtSh.EndAllAction();
rReq.Done();
}
else
{
rWrtSh.EndAllTblBoxEdit();
pVFrame->ToggleChildWindow( nId );
if( !pVFrame->HasChildWindow( nId ) )
pVFrame->GetBindings().InvalidateAll( sal_True );
2002-08-15 06:53:06 +00:00
rReq.Ignore();
}
2000-09-18 16:15:01 +00:00
}
break;
case FN_TABLE_UNSET_READ_ONLY:
{
rWrtSh.UnProtectTbls();
}
break;
case FN_EDIT_HYPERLINK:
GetView().GetViewFrame()->ToggleChildWindow(SID_HYPERLINK_DIALOG);
break;
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
case FN_REMOVE_HYPERLINK:
{
sal_Bool bSel = rWrtSh.HasSelection();
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
if(!bSel)
{
rWrtSh.StartAction();
rWrtSh.Push();
if(!rWrtSh.SelectTxtAttr( RES_TXTATR_INETFMT ))
rWrtSh.SelWrd();
}
//now remove the attribute
std::set<sal_uInt16> aAttribs;
aAttribs.insert( RES_TXTATR_INETFMT );
rWrtSh.ResetAttr( aAttribs );
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
if(!bSel)
{
rWrtSh.Pop(sal_False);
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
rWrtSh.EndAction();
}
}
break;
2002-06-27 07:47:17 +00:00
case SID_ATTR_BRUSH_CHAR :
case SID_ATTR_CHAR_SCALEWIDTH :
case SID_ATTR_CHAR_ROTATED :
case FN_TXTATR_INET :
case FN_INSERT_HYPERLINK:
2002-06-27 07:47:17 +00:00
{
sal_uInt16 nWhich = GetPool().GetWhich( nSlot );
2002-06-27 07:47:17 +00:00
if ( pArgs && pArgs->GetItemState( nWhich ) == SFX_ITEM_SET )
bUseDialog = false;
2002-06-27 07:47:17 +00:00
// intentionally no break
}
2000-09-18 16:15:01 +00:00
case SID_CHAR_DLG:
{
sw_CharDialog( rWrtSh, bUseDialog, nSlot, pArgs, &rReq );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
}
break;
case SID_CHAR_DLG_FOR_PARAGRAPH:
{
rWrtSh.Push(); //save current cursor
SwLangHelper::SelectCurrentPara( rWrtSh );
sw_CharDialog( rWrtSh, bUseDialog, nSlot, pArgs, &rReq );
rWrtSh.Pop( sal_False ); //restore old cursor
2000-09-18 16:15:01 +00:00
}
break;
case SID_ATTR_LRSPACE :
case SID_ATTR_ULSPACE :
2002-06-27 07:47:17 +00:00
case SID_ATTR_BRUSH :
case SID_PARA_VERTALIGN :
case SID_ATTR_PARA_NUMRULE :
case SID_ATTR_PARA_REGISTER :
case SID_ATTR_PARA_PAGENUM :
case FN_FORMAT_LINENUMBER :
case FN_NUMBER_NEWSTART :
case FN_NUMBER_NEWSTART_AT :
2002-06-19 16:28:49 +00:00
case FN_FORMAT_DROPCAPS :
2002-07-04 13:55:54 +00:00
case FN_DROP_TEXT:
{
sal_uInt16 nWhich = GetPool().GetWhich( nSlot );
if ( pArgs && pArgs->GetItemState( nWhich ) == SFX_ITEM_SET )
bUseDialog = false;
// intentionally no break
}
2000-09-18 16:15:01 +00:00
case SID_PARA_DLG:
{
SwPaM* pPaM = NULL;
if ( pArgs )
{
const SfxPoolItem* pPaMItem = 0;
pArgs->GetItemState( GetPool().GetWhich( FN_PARAM_PAM ), sal_False, &pPaMItem );
if ( pPaMItem )
pPaM = static_cast< const SwPaMItem* >( pPaMItem )->GetValue( );
}
if ( !pPaM )
pPaM = rWrtSh.GetCrsr();
bool bUseCurCrsr = true;
2002-07-04 13:55:54 +00:00
FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &GetView()));
SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)));
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 Conflicts: starmath/inc/applicat.hxx starmath/inc/dialog.hxx starmath/inc/document.hxx starmath/inc/edit.hxx starmath/inc/format.hxx starmath/inc/node.hxx starmath/inc/parse.hxx starmath/inc/rect.hxx starmath/inc/smdll.hxx starmath/inc/smmod.hxx starmath/inc/starmath.hrc starmath/inc/symbol.hxx starmath/inc/toolbox.hxx starmath/inc/utility.hxx starmath/inc/view.hxx starmath/prj/build.lst starmath/qa/cppunit/version.map starmath/sdi/smslots.sdi starmath/source/accessibility.cxx starmath/source/cfgitem.cxx starmath/source/cfgitem.hxx starmath/source/config.cxx starmath/source/dialog.cxx starmath/source/document.cxx starmath/source/edit.cxx starmath/source/format.cxx starmath/source/makefile.mk starmath/source/math_pch.cxx starmath/source/mathmlexport.cxx starmath/source/mathmlimport.cxx starmath/source/mathtype.cxx starmath/source/node.cxx starmath/source/parse.cxx starmath/source/rect.cxx starmath/source/register.cxx starmath/source/smdetect.cxx starmath/source/smdll.cxx starmath/source/smmod.cxx starmath/source/smres.src starmath/source/symbol.cxx starmath/source/toolbox.cxx starmath/source/unomodel.cxx starmath/source/utility.cxx starmath/source/view.cxx sw/JunitTest_sw_unoapi.mk sw/Library_swd.mk sw/Makefile sw/inc/IDocumentFieldsAccess.hxx sw/inc/IDocumentSettingAccess.hxx sw/inc/IDocumentUndoRedo.hxx sw/inc/IShellCursorSupplier.hxx sw/inc/SwUndoField.hxx sw/inc/acmplwrd.hxx sw/inc/authfld.hxx sw/inc/bparr.hxx sw/inc/calbck.hxx sw/inc/calc.hxx sw/inc/ccoll.hxx sw/inc/cellatr.hxx sw/inc/cellfml.hxx sw/inc/chpfld.hxx sw/inc/cmdid.h sw/inc/crsrsh.hxx sw/inc/crstate.hxx sw/inc/dbfld.hxx sw/inc/dbmgr.hxx sw/inc/dcontact.hxx sw/inc/ddefld.hxx sw/inc/doc.hxx sw/inc/docary.hxx sw/inc/docsh.hxx sw/inc/docstat.hxx sw/inc/docstyle.hxx sw/inc/docufld.hxx sw/inc/editsh.hxx sw/inc/errhdl.hxx sw/inc/expfld.hxx sw/inc/fchrfmt.hxx sw/inc/fesh.hxx sw/inc/fldbas.hxx sw/inc/flddat.hxx sw/inc/flddropdown.hxx sw/inc/flypos.hxx sw/inc/fmtanchr.hxx sw/inc/fmtautofmt.hxx sw/inc/fmtclds.hxx sw/inc/fmtcnct.hxx sw/inc/fmtcol.hxx sw/inc/fmtfsize.hxx sw/inc/fmtftn.hxx sw/inc/fmtftntx.hxx sw/inc/fmthdft.hxx sw/inc/fmtinfmt.hxx sw/inc/fmtline.hxx sw/inc/fmtornt.hxx sw/inc/fmtpdsc.hxx sw/inc/fmtruby.hxx sw/inc/fmtsrnd.hxx sw/inc/fmturl.hxx sw/inc/fmtwrapinfluenceonobjpos.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/grfatr.hxx sw/inc/helpid.h sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/htmltbl.hxx sw/inc/inetfld.hxx sw/inc/io.hxx sw/inc/iodetect.hxx sw/inc/itabenum.hxx sw/inc/ndarr.hxx sw/inc/ndgrf.hxx sw/inc/ndindex.hxx sw/inc/ndnotxt.hxx sw/inc/ndole.hxx sw/inc/ndtxt.hxx sw/inc/ndtyp.hxx sw/inc/node.hxx sw/inc/numrule.hxx sw/inc/pagedesc.hxx sw/inc/pagepreviewlayout.hxx sw/inc/pam.hxx sw/inc/paratr.hxx sw/inc/poolfmt.awk sw/inc/poolfmt.hxx sw/inc/printdata.hxx sw/inc/reffld.hxx sw/inc/shellio.hxx sw/inc/shellres.hxx sw/inc/swabstdlg.hxx sw/inc/swatrset.hxx sw/inc/swerror.h sw/inc/swprtopt.hxx sw/inc/swtable.hxx sw/inc/swtypes.hxx sw/inc/tblafmt.hxx sw/inc/tgrditem.hxx sw/inc/tox.hxx sw/inc/undobj.hxx sw/inc/unocoll.hxx sw/inc/unoframe.hxx sw/inc/unoprnms.hxx sw/inc/usrfld.hxx sw/inc/viewopt.hxx sw/inc/viewsh.hxx sw/inc/viscrs.hxx sw/prj/build.lst sw/qa/complex/accessibility/makefile.mk sw/qa/core/Test-BigPtrArray.cxx sw/qa/core/makefile.mk sw/sdi/makefile.mk sw/source/core/access/makefile.mk sw/source/core/access/textmarkuphelper.cxx sw/source/core/attr/calbck.cxx sw/source/core/attr/cellatr.cxx sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/bastyp/calc.cxx sw/source/core/bastyp/init.cxx sw/source/core/bastyp/makefile.mk sw/source/core/bastyp/swcache.cxx sw/source/core/crsr/bookmrk.cxx sw/source/core/crsr/callnk.cxx sw/source/core/crsr/crsrsh.cxx sw/source/core/crsr/crstrvl.cxx sw/source/core/crsr/findattr.cxx sw/source/core/crsr/findcoll.cxx sw/source/core/crsr/makefile.mk sw/source/core/crsr/pam.cxx sw/source/core/crsr/swcrsr.cxx sw/source/core/crsr/trvltbl.cxx sw/source/core/crsr/unocrsr.cxx sw/source/core/crsr/viscrs.cxx sw/source/core/doc/acmplwrd.cxx sw/source/core/doc/doc.cxx sw/source/core/doc/docbm.cxx sw/source/core/doc/doccomp.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docedt.cxx sw/source/core/doc/docfld.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docftn.cxx sw/source/core/doc/docglbl.cxx sw/source/core/doc/docglos.cxx sw/source/core/doc/doclay.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docnum.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/docruby.cxx sw/source/core/doc/docsort.cxx sw/source/core/doc/docstat.cxx sw/source/core/doc/doctxm.cxx sw/source/core/doc/fmtcol.cxx sw/source/core/doc/gctable.cxx sw/source/core/doc/htmltbl.cxx sw/source/core/doc/makefile.mk sw/source/core/doc/number.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/tblafmt.cxx sw/source/core/doc/tblcpy.cxx sw/source/core/doc/tblrwcl.cxx sw/source/core/docnode/makefile.mk sw/source/core/docnode/ndcopy.cxx sw/source/core/docnode/ndnum.cxx sw/source/core/docnode/ndsect.cxx sw/source/core/docnode/ndtbl.cxx sw/source/core/docnode/ndtbl1.cxx sw/source/core/docnode/node.cxx sw/source/core/docnode/node2lay.cxx sw/source/core/docnode/nodes.cxx sw/source/core/docnode/section.cxx sw/source/core/docnode/swbaslnk.cxx sw/source/core/draw/dcontact.cxx sw/source/core/draw/dflyobj.cxx sw/source/core/draw/drawdoc.cxx sw/source/core/draw/dview.cxx sw/source/core/draw/makefile.mk sw/source/core/edit/autofmt.cxx sw/source/core/edit/edattr.cxx sw/source/core/edit/eddel.cxx sw/source/core/edit/edfcol.cxx sw/source/core/edit/edfld.cxx sw/source/core/edit/edfldexp.cxx sw/source/core/edit/edfmt.cxx sw/source/core/edit/edglss.cxx sw/source/core/edit/editsh.cxx sw/source/core/edit/edlingu.cxx sw/source/core/edit/ednumber.cxx sw/source/core/edit/edsect.cxx sw/source/core/edit/edtab.cxx sw/source/core/edit/edtox.cxx sw/source/core/edit/edundo.cxx sw/source/core/edit/makefile.mk sw/source/core/except/dbgloop.cxx sw/source/core/except/errhdl.cxx sw/source/core/fields/authfld.cxx sw/source/core/fields/cellfml.cxx sw/source/core/fields/chpfld.cxx sw/source/core/fields/dbfld.cxx sw/source/core/fields/ddefld.cxx sw/source/core/fields/ddetbl.cxx sw/source/core/fields/docufld.cxx sw/source/core/fields/expfld.cxx sw/source/core/fields/fldbas.cxx sw/source/core/fields/flddat.cxx sw/source/core/fields/flddropdown.cxx sw/source/core/fields/macrofld.cxx sw/source/core/fields/makefile.mk sw/source/core/fields/reffld.cxx sw/source/core/fields/scrptfld.cxx sw/source/core/fields/tblcalc.cxx sw/source/core/fields/usrfld.cxx sw/source/core/frmedt/fecopy.cxx sw/source/core/frmedt/fedesc.cxx sw/source/core/frmedt/fefly1.cxx sw/source/core/frmedt/feshview.cxx sw/source/core/frmedt/fetab.cxx sw/source/core/frmedt/fews.cxx sw/source/core/frmedt/makefile.mk sw/source/core/frmedt/tblsel.cxx sw/source/core/graphic/grfatr.cxx sw/source/core/inc/SwUndoFmt.hxx sw/source/core/inc/SwUndoTOXChange.hxx sw/source/core/inc/anchoredobjectposition.hxx sw/source/core/inc/dbgloop.hxx sw/source/core/inc/drawfont.hxx sw/source/core/inc/flowfrm.hxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/layact.hxx sw/source/core/inc/layfrm.hxx sw/source/core/inc/notxtfrm.hxx sw/source/core/inc/rolbck.hxx sw/source/core/inc/rootfrm.hxx sw/source/core/inc/scriptinfo.hxx sw/source/core/inc/swblocks.hxx sw/source/core/inc/swcache.hxx sw/source/core/inc/tabfrm.hxx sw/source/core/inc/txmsrt.hxx sw/source/core/inc/undoflystrattr.hxx sw/source/core/inc/viewimp.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/calcmove.cxx sw/source/core/layout/dbg_lay.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/flowfrm.cxx sw/source/core/layout/fly.cxx sw/source/core/layout/flycnt.cxx sw/source/core/layout/flyincnt.cxx sw/source/core/layout/flylay.cxx sw/source/core/layout/frmtool.cxx sw/source/core/layout/ftnfrm.cxx sw/source/core/layout/layact.cxx sw/source/core/layout/laycache.cxx sw/source/core/layout/makefile.mk sw/source/core/layout/objectformatter.cxx sw/source/core/layout/pagechg.cxx sw/source/core/layout/pagedesc.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/layout/sectfrm.cxx sw/source/core/layout/tabfrm.cxx sw/source/core/layout/trvlfrm.cxx sw/source/core/layout/unusedf.cxx sw/source/core/layout/wsfrm.cxx sw/source/core/makefile.mk sw/source/core/objectpositioning/anchoredobjectposition.cxx sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx sw/source/core/objectpositioning/makefile.mk sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx sw/source/core/ole/ndole.cxx sw/source/core/para/makefile.mk sw/source/core/para/paratr.cxx sw/source/core/sw3io/makefile.mk sw/source/core/sw3io/sw3convert.cxx sw/source/core/swg/SwXMLTextBlocks.cxx sw/source/core/swg/makefile.mk sw/source/core/swg/swblocks.cxx sw/source/core/table/swnewtable.cxx sw/source/core/table/swtable.cxx sw/source/core/text/EnhancedPDFExportHelper.cxx sw/source/core/text/atrstck.cxx sw/source/core/text/frmcrsr.cxx sw/source/core/text/frmform.cxx sw/source/core/text/itrcrsr.cxx sw/source/core/text/itrform2.cxx sw/source/core/text/makefile.mk sw/source/core/text/porlay.cxx sw/source/core/text/pormulti.cxx sw/source/core/text/txtfld.cxx sw/source/core/text/txtfrm.cxx sw/source/core/text/txtio.cxx sw/source/core/tox/makefile.mk sw/source/core/tox/txmsrt.cxx sw/source/core/txtnode/fmtatr2.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/txtnode/fntcap.cxx sw/source/core/txtnode/makefile.mk sw/source/core/txtnode/ndhints.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/swfont.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/SwUndoField.cxx sw/source/core/undo/SwUndoPageDesc.cxx sw/source/core/undo/SwUndoTOXChange.cxx sw/source/core/undo/docundo.cxx sw/source/core/undo/makefile.mk sw/source/core/undo/rolbck.cxx sw/source/core/undo/unbkmk.cxx sw/source/core/undo/undel.cxx sw/source/core/undo/undobj.cxx sw/source/core/undo/undobj1.cxx sw/source/core/undo/unfmco.cxx sw/source/core/undo/unins.cxx sw/source/core/undo/unnum.cxx sw/source/core/undo/unoutl.cxx sw/source/core/undo/unredln.cxx sw/source/core/undo/unsect.cxx sw/source/core/undo/unsort.cxx sw/source/core/undo/unspnd.cxx sw/source/core/undo/untbl.cxx sw/source/core/unocore/makefile.mk sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unobkm.cxx sw/source/core/unocore/unocoll.cxx sw/source/core/unocore/unocrsrhelper.cxx sw/source/core/unocore/unodraw.cxx sw/source/core/unocore/unofield.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unoredlines.cxx sw/source/core/unocore/unosett.cxx sw/source/core/unocore/unosrch.cxx sw/source/core/unocore/unostyle.cxx sw/source/core/unocore/unotbl.cxx sw/source/core/view/vdraw.cxx sw/source/core/view/viewimp.cxx sw/source/core/view/viewpg.cxx sw/source/core/view/viewsh.cxx sw/source/core/view/vnew.cxx sw/source/core/view/vprint.cxx sw/source/filter/ascii/ascatr.cxx sw/source/filter/ascii/makefile.mk sw/source/filter/ascii/wrtasc.cxx sw/source/filter/basflt/fltini.cxx sw/source/filter/basflt/iodetect.cxx sw/source/filter/basflt/makefile.mk sw/source/filter/html/SwAppletImpl.cxx sw/source/filter/html/css1atr.cxx sw/source/filter/html/htmlatr.cxx sw/source/filter/html/htmlbas.cxx sw/source/filter/html/htmlcss1.cxx sw/source/filter/html/htmlfly.cxx sw/source/filter/html/htmlftn.cxx sw/source/filter/html/htmlgrin.cxx sw/source/filter/html/htmlnum.cxx sw/source/filter/html/htmlplug.cxx sw/source/filter/html/htmltab.cxx sw/source/filter/html/makefile.mk sw/source/filter/html/parcss1.cxx sw/source/filter/html/svxcss1.cxx sw/source/filter/html/swhtml.cxx sw/source/filter/inc/msfilter.hxx sw/source/filter/inc/wrtswtbl.hxx sw/source/filter/rtf/makefile.mk sw/source/filter/rtf/rtffly.cxx sw/source/filter/rtf/rtfnum.cxx sw/source/filter/rtf/rtftbl.cxx sw/source/filter/rtf/swparrtf.cxx sw/source/filter/rtf/swparrtf.hxx sw/source/filter/writer/makefile.mk sw/source/filter/writer/writer.cxx sw/source/filter/writer/wrt_fn.cxx sw/source/filter/writer/wrtswtbl.cxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww1/makefile.mk sw/source/filter/ww1/w1class.cxx sw/source/filter/ww1/w1class.hxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww1/w1par.cxx sw/source/filter/ww1/w1sprm.cxx sw/source/filter/ww1/w1struct.hxx sw/source/filter/ww8/README-rtf.txt sw/source/filter/ww8/attributeoutputbase.hxx sw/source/filter/ww8/docxattributeoutput.cxx sw/source/filter/ww8/docxattributeoutput.hxx sw/source/filter/ww8/docxexport.cxx sw/source/filter/ww8/docxexport.hxx sw/source/filter/ww8/docxexportfilter.cxx sw/source/filter/ww8/dump/dump8.cxx sw/source/filter/ww8/dump/dump8a.cxx sw/source/filter/ww8/dump/msvbasic.cxx sw/source/filter/ww8/dump/msvbasic.hxx sw/source/filter/ww8/dump/ww8darr.cxx sw/source/filter/ww8/dump/ww8darr.hxx sw/source/filter/ww8/dump/ww8dout.cxx sw/source/filter/ww8/dump/ww8dout.hxx sw/source/filter/ww8/dump/ww8scan.cxx sw/source/filter/ww8/dump/ww8scan.hxx sw/source/filter/ww8/dump/ww8struc.hxx sw/source/filter/ww8/makefile.mk sw/source/filter/ww8/rtfattributeoutput.cxx sw/source/filter/ww8/rtfattributeoutput.hxx sw/source/filter/ww8/rtfexport.cxx sw/source/filter/ww8/rtfexport.hxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/filter/ww8/rtfexportfilter.hxx sw/source/filter/ww8/rtfimportfilter.cxx sw/source/filter/ww8/rtfimportfilter.hxx sw/source/filter/ww8/rtfsdrexport.cxx sw/source/filter/ww8/rtfsdrexport.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/writerwordglue.cxx sw/source/filter/ww8/wrtw8esh.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/wrtw8num.cxx sw/source/filter/ww8/wrtw8sty.cxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/wrtww8.hxx sw/source/filter/ww8/wrtww8gr.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/ww8/ww8attributeoutput.hxx sw/source/filter/ww8/ww8graf.cxx sw/source/filter/ww8/ww8graf.hxx sw/source/filter/ww8/ww8graf2.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.hxx sw/source/filter/ww8/ww8par2.cxx sw/source/filter/ww8/ww8par3.cxx sw/source/filter/ww8/ww8par5.cxx sw/source/filter/ww8/ww8par6.cxx sw/source/filter/ww8/ww8scan.cxx sw/source/filter/ww8/ww8scan.hxx sw/source/filter/ww8/ww8struc.hxx sw/source/filter/xml/makefile.mk sw/source/filter/xml/xmlimpit.cxx sw/source/filter/xml/xmltble.cxx sw/source/filter/xml/xmltbli.cxx sw/source/ui/app/appenv.cxx sw/source/ui/app/apphdl.cxx sw/source/ui/app/applab.cxx sw/source/ui/app/appopt.cxx sw/source/ui/app/docsh.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/app/docstyle.cxx sw/source/ui/app/makefile.mk sw/source/ui/app/mn.src sw/source/ui/app/swmodul1.cxx sw/source/ui/cctrl/makefile.mk sw/source/ui/cctrl/swlbox.cxx sw/source/ui/chrdlg/break.cxx sw/source/ui/chrdlg/ccoll.cxx sw/source/ui/chrdlg/chardlg.cxx sw/source/ui/chrdlg/drpcps.cxx sw/source/ui/chrdlg/makefile.mk sw/source/ui/chrdlg/numpara.cxx sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/chrdlg/swuiccoll.cxx sw/source/ui/config/barcfg.cxx sw/source/ui/config/caption.cxx sw/source/ui/config/cfgitems.cxx sw/source/ui/config/fontcfg.cxx sw/source/ui/config/mailconfigpage.cxx sw/source/ui/config/makefile.mk sw/source/ui/config/modcfg.cxx sw/source/ui/config/optcomp.cxx sw/source/ui/config/optload.cxx sw/source/ui/config/optpage.cxx sw/source/ui/config/prtopt.cxx sw/source/ui/config/uinums.cxx sw/source/ui/config/usrpref.cxx sw/source/ui/config/viewopt.cxx sw/source/ui/dbui/dbinsdlg.cxx sw/source/ui/dbui/dbmgr.cxx sw/source/ui/dbui/dbtree.cxx sw/source/ui/dbui/makefile.mk sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dbui/mmdocselectpage.cxx sw/source/ui/dbui/mmoutputpage.cxx sw/source/ui/dbui/swdbtoolsclient.cxx sw/source/ui/dialog/abstract.cxx sw/source/ui/dialog/ascfldlg.cxx sw/source/ui/dialog/macassgn.cxx sw/source/ui/dialog/makefile.mk sw/source/ui/dialog/regionsw.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/dialog/swdlgfact.hxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/dochdl/gloshdl.cxx sw/source/ui/dochdl/makefile.mk sw/source/ui/dochdl/swdtflvr.cxx sw/source/ui/docvw/PostItMgr.cxx sw/source/ui/docvw/SidebarWin.cxx sw/source/ui/docvw/edtdd.cxx sw/source/ui/docvw/edtwin.cxx sw/source/ui/docvw/edtwin2.cxx sw/source/ui/docvw/edtwin3.cxx sw/source/ui/docvw/makefile.mk sw/source/ui/docvw/romenu.cxx sw/source/ui/docvw/romenu.hxx sw/source/ui/docvw/srcedtw.cxx sw/source/ui/envelp/envfmt.cxx sw/source/ui/envelp/envimg.cxx sw/source/ui/envelp/envlop1.cxx sw/source/ui/envelp/envprt.cxx sw/source/ui/envelp/label1.cxx sw/source/ui/envelp/labfmt.cxx sw/source/ui/envelp/labprt.cxx sw/source/ui/envelp/mailmrge.cxx sw/source/ui/envelp/makefile.mk sw/source/ui/fldui/flddb.cxx sw/source/ui/fldui/flddinf.cxx sw/source/ui/fldui/flddok.cxx sw/source/ui/fldui/fldedt.cxx sw/source/ui/fldui/fldfunc.cxx sw/source/ui/fldui/fldmgr.cxx sw/source/ui/fldui/fldpage.cxx sw/source/ui/fldui/fldref.cxx sw/source/ui/fldui/fldtdlg.cxx sw/source/ui/fldui/fldvar.cxx sw/source/ui/fldui/fldwrap.cxx sw/source/ui/fldui/inpdlg.cxx sw/source/ui/fldui/makefile.mk sw/source/ui/fmtui/makefile.mk sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/frmdlg/colmgr.cxx sw/source/ui/frmdlg/column.cxx sw/source/ui/frmdlg/cption.cxx sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmmgr.cxx sw/source/ui/frmdlg/frmpage.cxx sw/source/ui/frmdlg/makefile.mk sw/source/ui/frmdlg/wrap.cxx sw/source/ui/globdoc/makefile.mk sw/source/ui/inc/bmpwin.hxx sw/source/ui/inc/colmgr.hxx sw/source/ui/inc/column.hxx sw/source/ui/inc/envimg.hxx sw/source/ui/inc/envlop.hxx sw/source/ui/inc/frmpage.hxx sw/source/ui/inc/inputwin.hxx sw/source/ui/inc/javaedit.hxx sw/source/ui/inc/num.hxx sw/source/ui/inc/optpage.hxx sw/source/ui/inc/regionsw.hxx sw/source/ui/inc/split.hxx sw/source/ui/inc/swlbox.hxx sw/source/ui/inc/swmn_tmpl.hrc sw/source/ui/inc/swuiidxmrk.hxx sw/source/ui/inc/tabsh.hxx sw/source/ui/inc/toxmgr.hxx sw/source/ui/inc/uiitems.hxx sw/source/ui/inc/view.hxx sw/source/ui/inc/workctrl.hxx sw/source/ui/inc/wrap.hxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/index/cnttab.cxx sw/source/ui/index/makefile.mk sw/source/ui/index/toxmgr.cxx sw/source/ui/lingu/hhcwrp.cxx sw/source/ui/lingu/makefile.mk sw/source/ui/lingu/olmenu.cxx sw/source/ui/misc/bookmark.cxx sw/source/ui/misc/docfnote.cxx sw/source/ui/misc/glosbib.cxx sw/source/ui/misc/glosdoc.cxx sw/source/ui/misc/glshell.cxx sw/source/ui/misc/insfnote.cxx sw/source/ui/misc/linenum.cxx sw/source/ui/misc/makefile.mk sw/source/ui/misc/num.cxx sw/source/ui/misc/numberingtypelistbox.cxx sw/source/ui/misc/outline.cxx sw/source/ui/misc/pgfnote.cxx sw/source/ui/misc/pggrid.cxx sw/source/ui/misc/redlndlg.cxx sw/source/ui/misc/srtdlg.cxx sw/source/ui/misc/swmodalredlineacceptdlg.cxx sw/source/ui/ribbar/conarc.cxx sw/source/ui/ribbar/drawbase.cxx sw/source/ui/ribbar/inputwin.cxx sw/source/ui/ribbar/inputwin.src sw/source/ui/ribbar/makefile.mk sw/source/ui/ribbar/tbxanchr.cxx sw/source/ui/ribbar/workctrl.cxx sw/source/ui/ribbar/workctrl.src sw/source/ui/shells/annotsh.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/beziersh.cxx sw/source/ui/shells/drawdlg.cxx sw/source/ui/shells/drwbassh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/drwtxtsh.cxx sw/source/ui/shells/frmsh.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/grfshex.cxx sw/source/ui/shells/makefile.mk sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textfld.cxx sw/source/ui/shells/textglos.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtattr.cxx sw/source/ui/shells/txtcrsr.cxx sw/source/ui/shells/txtnum.cxx sw/source/ui/table/convert.cxx sw/source/ui/table/instable.cxx sw/source/ui/table/makefile.mk sw/source/ui/table/swtablerep.cxx sw/source/ui/table/tabledlg.cxx sw/source/ui/table/tablemgr.cxx sw/source/ui/table/tablepg.hxx sw/source/ui/table/tautofmt.cxx sw/source/ui/uiview/formatclipboard.cxx sw/source/ui/uiview/makefile.mk sw/source/ui/uiview/pview.cxx sw/source/ui/uiview/pview.src sw/source/ui/uiview/scroll.cxx sw/source/ui/uiview/srcview.cxx sw/source/ui/uiview/swcli.cxx sw/source/ui/uiview/uivwimp.cxx sw/source/ui/uiview/view.cxx sw/source/ui/uiview/view1.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/uiview/viewcoll.cxx sw/source/ui/uiview/viewdlg2.cxx sw/source/ui/uiview/viewling.cxx sw/source/ui/uiview/viewmdi.cxx sw/source/ui/uiview/viewport.cxx sw/source/ui/uiview/viewprt.cxx sw/source/ui/uiview/viewsrch.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/uno/SwXDocumentSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.hxx sw/source/ui/uno/unoatxt.cxx sw/source/ui/uno/unomod.cxx sw/source/ui/uno/unotxdoc.cxx sw/source/ui/uno/unotxvw.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/content.cxx sw/source/ui/utlui/glbltree.cxx sw/source/ui/utlui/initui.cxx sw/source/ui/utlui/makefile.mk sw/source/ui/utlui/navipi.cxx sw/source/ui/utlui/navipi.src sw/source/ui/utlui/numfmtlb.cxx sw/source/ui/utlui/prcntfld.cxx sw/source/ui/utlui/uiitems.cxx sw/source/ui/utlui/uitool.cxx sw/source/ui/utlui/unotools.cxx sw/source/ui/utlui/viewlayoutctrl.cxx sw/source/ui/utlui/zoomctrl.cxx sw/source/ui/vba/makefile.mk sw/source/ui/vba/service.cxx sw/source/ui/web/makefile.mk sw/source/ui/wrtsh/makefile.mk sw/source/ui/wrtsh/wrtsh1.cxx sw/source/ui/wrtsh/wrtsh2.cxx sw/source/ui/wrtsh/wrtsh4.cxx sw/source/ui/wrtsh/wrtundo.cxx sw/util/hidother.src sw/util/makefile.mk sw/util/msword.map
2011-03-14 16:51:14 +00:00
sal_Bool bApplyCharUnit = ::HasCharUnit(0 != PTR_CAST(SwWebView, &GetView()));
SW_MOD()->PutItem(SfxBoolItem(SID_ATTR_APPLYCHARUNIT, bApplyCharUnit));
2002-07-04 13:55:54 +00:00
SfxItemSet aCoreSet( GetPool(),
RES_PARATR_BEGIN, RES_PARATR_END - 1,
RES_PARATR_LIST_BEGIN, RES_PARATR_LIST_END - 1,
2002-07-04 13:55:54 +00:00
RES_FRMATR_BEGIN, RES_FRMATR_END - 1,
SID_ATTR_TABSTOP_POS, SID_ATTR_TABSTOP_POS,
SID_ATTR_TABSTOP_DEFAULTS, SID_ATTR_TABSTOP_DEFAULTS,
SID_ATTR_TABSTOP_OFFSET, SID_ATTR_TABSTOP_OFFSET,
SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
SID_ATTR_PARA_MODEL, SID_ATTR_PARA_KEEP,
SID_ATTR_PARA_PAGENUM, SID_ATTR_PARA_PAGENUM,
SID_HTML_MODE, SID_HTML_MODE,
FN_PARAM_1, FN_PARAM_1,
FN_NUMBER_NEWSTART, FN_NUMBER_NEWSTART_AT,
FN_DROP_TEXT, FN_DROP_CHAR_STYLE_NAME,
0);
// get also the list level indent values merged as LR-SPACE item, if needed.
rWrtSh.GetPaMAttr( pPaM, aCoreSet, true );
2002-07-04 13:55:54 +00:00
aCoreSet.Put(SfxUInt16Item(SID_HTML_MODE,
::GetHtmlMode(GetView().GetDocShell())));
// Tabulatoren, DefaultTabs ins ItemSet Stecken
const SvxTabStopItem& rDefTabs = (const SvxTabStopItem&)
GetPool().GetDefaultItem(RES_PARATR_TABSTOP);
sal_uInt16 nDefDist = ::GetTabDist( rDefTabs );
2002-07-04 13:55:54 +00:00
SfxUInt16Item aDefDistItem( SID_ATTR_TABSTOP_DEFAULTS, nDefDist );
aCoreSet.Put( aDefDistItem );
// Aktueller Tab
SfxUInt16Item aTabPos( SID_ATTR_TABSTOP_POS, 0 );
aCoreSet.Put( aTabPos );
// linker Rand als Offset
//#i24363# tab stops relative to indent
const long nOff = rWrtSh.getIDocumentSettingAccess()->get(IDocumentSettingAccess::TABS_RELATIVE_TO_INDENT) ?
((SvxLRSpaceItem&)aCoreSet.Get( RES_LR_SPACE )).GetTxtLeft() : 0;
2002-07-04 13:55:54 +00:00
SfxInt32Item aOff( SID_ATTR_TABSTOP_OFFSET, nOff );
aCoreSet.Put( aOff );
// Setting the BoxInfo if based on the current cursor
if ( bUseCurCrsr )
::PrepareBoxInfo( aCoreSet, rWrtSh );
2002-07-04 13:55:54 +00:00
//aktuelles Seitenformat
::SwToSfxPageDescAttr( aCoreSet );
sal_uInt16 nDefPage = 0;
2002-07-04 13:55:54 +00:00
if( pItem )
nDefPage = ((SfxUInt16Item *)pItem)->GetValue();
// Numerierungseigenschaften
if( rWrtSh.GetDoc()->GetCurrNumRule( *pPaM->GetPoint() ) )
2002-07-04 13:55:54 +00:00
{
SfxBoolItem aStart( FN_NUMBER_NEWSTART, rWrtSh.IsNumRuleStart( pPaM ) );
aCoreSet.Put(aStart);
SfxUInt16Item aStartAt( FN_NUMBER_NEWSTART_AT,
rWrtSh.GetNodeNumStart( pPaM ) );
aCoreSet.Put(aStartAt);
2002-07-04 13:55:54 +00:00
}
SfxAbstractTabDialog* pDlg = NULL;
2002-07-04 13:55:54 +00:00
if ( bUseDialog && GetActiveView() )
{
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
pDlg = pFact->CreateSwParaDlg( GetView().GetWindow(),GetView(), aCoreSet,DLG_STD, DLG_PARA,NULL, sal_False, nDefPage );
OSL_ENSURE(pDlg, "Dialogdiet fail!");
}
2002-07-04 13:55:54 +00:00
SfxItemSet* pSet = NULL;
if ( !bUseDialog )
2000-09-18 16:15:01 +00:00
{
2002-07-04 13:55:54 +00:00
pSet = (SfxItemSet*) pArgs;
}
else if ( NULL != pDlg && pDlg->Execute() == RET_OK )
2002-07-04 13:55:54 +00:00
{
// Defaults evtl umsetzen
pSet = (SfxItemSet*)pDlg->GetOutputItemSet();
sal_uInt16 nNewDist;
if( SFX_ITEM_SET == pSet->GetItemState( SID_ATTR_TABSTOP_DEFAULTS, sal_False, &pItem ) &&
2002-07-04 13:55:54 +00:00
nDefDist != (nNewDist = ((SfxUInt16Item*)pItem)->GetValue()) )
{
SvxTabStopItem aDefTabs( 0, 0, SVX_TAB_ADJUST_DEFAULT, RES_PARATR_TABSTOP );
2002-07-04 13:55:54 +00:00
MakeDefTabs( nNewDist, aDefTabs );
rWrtSh.SetDefault( aDefTabs );
pSet->ClearItem( SID_ATTR_TABSTOP_DEFAULTS );
}
if ( SFX_ITEM_SET == pSet->GetItemState(FN_PARAM_1,sal_False,&pItem) )
2000-09-18 16:15:01 +00:00
{
2002-07-04 13:55:54 +00:00
pSet->Put(SfxStringItem(FN_DROP_TEXT, ((const SfxStringItem*)pItem)->GetValue()));
pSet->ClearItem(FN_PARAM_1);
}
2000-09-18 16:15:01 +00:00
if( SFX_ITEM_SET == pSet->GetItemState( RES_PARATR_DROP, sal_False, &pItem ))
2002-07-04 13:55:54 +00:00
{
String sCharStyleName;
if(((const SwFmtDrop*)pItem)->GetCharFmt())
sCharStyleName = ((const SwFmtDrop*)pItem)->GetCharFmt()->GetName();
pSet->Put(SfxStringItem(FN_DROP_CHAR_STYLE_NAME, sCharStyleName));
}
2002-07-04 13:55:54 +00:00
}
2000-09-18 16:15:01 +00:00
2002-07-04 13:55:54 +00:00
if ( pSet )
{
rReq.Done( *pSet );
::SfxToSwPageDescAttr( rWrtSh, *pSet );
// #i56253#
// enclose all undos.
// Thus, check conditions, if actions will be performed.
const bool bUndoNeeded( pSet->Count() ||
SFX_ITEM_SET == pSet->GetItemState(FN_NUMBER_NEWSTART) ||
SFX_ITEM_SET == pSet->GetItemState(FN_NUMBER_NEWSTART_AT) );
if ( bUndoNeeded )
{
rWrtSh.StartUndo( UNDO_INSATTR );
}
2002-07-04 13:55:54 +00:00
if( pSet->Count() )
{
2002-07-04 13:55:54 +00:00
rWrtSh.StartAction();
if ( SFX_ITEM_SET == pSet->GetItemState(FN_DROP_TEXT, sal_False, &pItem) )
2000-09-18 16:15:01 +00:00
{
if ( !((SfxStringItem*)pItem)->GetValue().isEmpty() )
rWrtSh.ReplaceDropTxt(((SfxStringItem*)pItem)->GetValue(), pPaM);
2000-09-18 16:15:01 +00:00
}
rWrtSh.SetAttr( *pSet, 0, pPaM );
2002-07-04 13:55:54 +00:00
rWrtSh.EndAction();
SwTxtFmtColl* pColl = rWrtSh.GetPaMTxtFmtColl( pPaM );
2002-07-04 13:55:54 +00:00
if(pColl && pColl->IsAutoUpdateFmt())
2000-09-18 16:15:01 +00:00
{
rWrtSh.AutoUpdatePara(pColl, *pSet, pPaM);
}
2002-07-04 13:55:54 +00:00
}
if( SFX_ITEM_SET == pSet->GetItemState(FN_NUMBER_NEWSTART) )
{
//SetNumRuleStart(sal_True) restarts the numbering at the value
//that is defined at the starting point of the numbering level
//otherwise the SetNodeNumStart() value determines the start
//if it's set to something different than USHRT_MAX
sal_Bool bStart = ((SfxBoolItem&)pSet->Get(FN_NUMBER_NEWSTART)).GetValue();
//
// Default value for restart value has to be USHRT_MAX
// in order to indicate that the restart value of the list
// style has to be used on restart.
sal_uInt16 nNumStart = USHRT_MAX;
2002-07-04 13:55:54 +00:00
if( SFX_ITEM_SET == pSet->GetItemState(FN_NUMBER_NEWSTART_AT) )
{
nNumStart = ((SfxUInt16Item&)pSet->Get(FN_NUMBER_NEWSTART_AT)).GetValue();
2000-09-18 16:15:01 +00:00
}
rWrtSh.SetNumRuleStart(bStart, pPaM);
rWrtSh.SetNodeNumStart(nNumStart);
2002-07-04 13:55:54 +00:00
}
else if( SFX_ITEM_SET == pSet->GetItemState(FN_NUMBER_NEWSTART_AT) )
{
sal_uInt16 nNumStart = ((SfxUInt16Item&)pSet->Get(FN_NUMBER_NEWSTART_AT)).GetValue();
2002-07-04 13:55:54 +00:00
rWrtSh.SetNodeNumStart(nNumStart);
rWrtSh.SetNumRuleStart(sal_False, pPaM);
2000-09-18 16:15:01 +00:00
}
// #i56253#
if ( bUndoNeeded )
{
rWrtSh.EndUndo( UNDO_INSATTR );
}
2000-09-18 16:15:01 +00:00
}
2002-07-04 13:55:54 +00:00
delete pDlg;
2000-09-18 16:15:01 +00:00
}
break;
case FN_NUM_CONTINUE:
{
String sContinuedListId;
const SwNumRule* pRule =
CWS-TOOLING: integrate CWS sw32numbf01 2009-09-04 10:01:07 +0200 od r275780 : #i95907# method <SwWrtShell::NumOfBulletOn(..)> - adjust indentation of newly created automatic list style --> due to MRU add actual paragraph indentation to created automatic list style's indentation 2009-09-02 11:57:40 +0200 od r275703 : #i95907# method <SwTxtMargin::CtorInitTxtMargin(..)> - correct handling of paragraph indents, when list level indents are applicable. 2009-09-01 16:59:47 +0200 od r275671 : CWS-TOOLING: rebase CWS sw32numbf01 to trunk@275331 (milestone: DEV300:m56) 2009-08-28 16:42:34 +0200 od r275540 : #i102458# method <SwFlowFrm::CalcUpperSpace(..)> - correct handling of leading line spacing method <GetSpacingValuesOfFrm(..)> - add output parameter <obIsLineSpacingProportional> 2009-08-27 17:03:07 +0200 od r275496 : #i101516# method <SwTxtNode::SwTxtNode(..)> - in case that the paragraph is add to a list, apply paragraph style's assigned outline style list level as list level, if paragraph has no list level set already. 2009-08-27 15:23:34 +0200 od r275489 : #i101234# method <SwWrtShell::NumOrBulletOn(..)> - check before activation of certain list level of outline numbering, a numbering format is already set. In this only continue the outline numbering. 2009-08-27 14:15:07 +0200 od r275483 : #i95907# method <SwWrtShell::NumOrBulletOn(..)> - consider leading tab stops and intentation of paragraph first text line, when a new list style is created for its application to the selection. 2009-08-26 09:51:39 +0200 od r275401 : #i86492# Adjust copy of text nodes regarding lists - copy of part of paragraph in list does not copy list style and list id - copy of paragraphs in list into another list continues destination list - copy of paragraphs (at least one not in a list) at empty paragraph following a list does not continue the destination list. 2009-08-25 10:30:53 +0200 od r275339 : #i101349# method <XMLTextImportHelper::SetStyleAndAttrs(..) - assure that list style of automatic paragraph style is applied at paragraph.
2009-09-08 13:44:38 +00:00
rWrtSh.SearchNumRule( false, true, false, -1, sContinuedListId );
// #i86492#
CWS-TOOLING: integrate CWS sw32numbf01 2009-09-04 10:01:07 +0200 od r275780 : #i95907# method <SwWrtShell::NumOfBulletOn(..)> - adjust indentation of newly created automatic list style --> due to MRU add actual paragraph indentation to created automatic list style's indentation 2009-09-02 11:57:40 +0200 od r275703 : #i95907# method <SwTxtMargin::CtorInitTxtMargin(..)> - correct handling of paragraph indents, when list level indents are applicable. 2009-09-01 16:59:47 +0200 od r275671 : CWS-TOOLING: rebase CWS sw32numbf01 to trunk@275331 (milestone: DEV300:m56) 2009-08-28 16:42:34 +0200 od r275540 : #i102458# method <SwFlowFrm::CalcUpperSpace(..)> - correct handling of leading line spacing method <GetSpacingValuesOfFrm(..)> - add output parameter <obIsLineSpacingProportional> 2009-08-27 17:03:07 +0200 od r275496 : #i101516# method <SwTxtNode::SwTxtNode(..)> - in case that the paragraph is add to a list, apply paragraph style's assigned outline style list level as list level, if paragraph has no list level set already. 2009-08-27 15:23:34 +0200 od r275489 : #i101234# method <SwWrtShell::NumOrBulletOn(..)> - check before activation of certain list level of outline numbering, a numbering format is already set. In this only continue the outline numbering. 2009-08-27 14:15:07 +0200 od r275483 : #i95907# method <SwWrtShell::NumOrBulletOn(..)> - consider leading tab stops and intentation of paragraph first text line, when a new list style is created for its application to the selection. 2009-08-26 09:51:39 +0200 od r275401 : #i86492# Adjust copy of text nodes regarding lists - copy of part of paragraph in list does not copy list style and list id - copy of paragraphs in list into another list continues destination list - copy of paragraphs (at least one not in a list) at empty paragraph following a list does not continue the destination list. 2009-08-25 10:30:53 +0200 od r275339 : #i101349# method <XMLTextImportHelper::SetStyleAndAttrs(..) - assure that list style of automatic paragraph style is applied at paragraph.
2009-09-08 13:44:38 +00:00
// Search also for bullet list
if ( !pRule )
{
pRule = rWrtSh.SearchNumRule( false, false, false, -1, sContinuedListId );
}
if ( pRule )
{
rWrtSh.SetCurNumRule( *pRule, false, sContinuedListId );
}
}
break;
2000-09-18 16:15:01 +00:00
case FN_SELECT_PARA:
{
if(!rWrtSh.IsSttOfPara())
rWrtSh.SttPara(sal_False);
2000-09-18 16:15:01 +00:00
else
rWrtSh.EnterStdMode();
rWrtSh.EndPara(sal_True);
2000-09-18 16:15:01 +00:00
}
break;
case SID_DEC_INDENT:
case SID_INC_INDENT:
rWrtSh.MoveLeftMargin( SID_INC_INDENT == nSlot,
rReq.GetModifier() != KEY_MOD1 );
rReq.Done();
2000-09-18 16:15:01 +00:00
break;
case FN_DEC_INDENT_OFFSET:
case FN_INC_INDENT_OFFSET:
rWrtSh.MoveLeftMargin( FN_INC_INDENT_OFFSET == nSlot,
rReq.GetModifier() == KEY_MOD1 );
rReq.Done();
2000-09-18 16:15:01 +00:00
break;
case SID_ATTR_CHAR_COLOR2:
{
if(pItem)
{
Color aSet = ((const SvxColorItem*)pItem)->GetValue();
SwEditWin& rEditWin = GetView().GetEditWin();
2000-09-18 16:15:01 +00:00
rEditWin.SetTextColor(aSet);
SwApplyTemplate* pApply = rEditWin.GetApplyTemplate();
// If there is a selection, then set the color on it
// otherwise, it'll be the color for the next text to be typed
if(!pApply || pApply->nColor != SID_ATTR_CHAR_COLOR_EXT)
2000-09-18 16:15:01 +00:00
{
rWrtSh.SetAttr(SvxColorItem (aSet, RES_CHRATR_COLOR));
2000-09-18 16:15:01 +00:00
}
2002-07-19 10:16:36 +00:00
rReq.Done();
2000-09-18 16:15:01 +00:00
}
}
break;
case SID_ATTR_CHAR_COLOR_BACKGROUND:
{
SwEditWin& rEdtWin = GetView().GetEditWin();
2000-09-18 16:15:01 +00:00
SwApplyTemplate* pApply = rEdtWin.GetApplyTemplate();
rEdtWin.SetTextBackColorTransparent(0 == pItem);
Color aSet;
if(pItem)
{
aSet = ((const SvxColorItem*)pItem)->GetValue();
rEdtWin.SetTextBackColor(aSet); //select last color
2000-09-18 16:15:01 +00:00
}
else
rEdtWin.SetTextBackColor(Color(COL_TRANSPARENT)); //if last was "no fill"
2000-09-18 16:15:01 +00:00
if(!pApply && (rWrtSh.HasSelection() || rReq.IsAPI()))
{
SvxBrushItem aBrushItem(RES_CHRATR_BACKGROUND);
if(pItem)
aBrushItem.SetColor(aSet); //set the selected color
2000-09-18 16:15:01 +00:00
else
aBrushItem.SetColor(Color(COL_TRANSPARENT));//set "no fill" color
2000-09-18 16:15:01 +00:00
rWrtSh.SetAttr( aBrushItem );
}
else if(!pApply || pApply->nColor != SID_ATTR_CHAR_COLOR_BACKGROUND_EXT)
{
GetView().GetViewFrame()->GetDispatcher()->Execute(SID_ATTR_CHAR_COLOR_BACKGROUND_EXT);
2000-09-18 16:15:01 +00:00
}
2002-07-19 10:16:36 +00:00
rReq.Done();
2000-09-18 16:15:01 +00:00
}
break;
case SID_ATTR_CHAR_COLOR_BACKGROUND_EXT:
case SID_ATTR_CHAR_COLOR_EXT:
{
SwEditWin& rEdtWin = GetView().GetEditWin();
SwApplyTemplate* pApply = rEdtWin.GetApplyTemplate();
SwApplyTemplate aTempl;
sal_Bool bSelection = rWrtSh.HasSelection();
2000-09-18 16:15:01 +00:00
if(bSelection)
{
if(nSlot == SID_ATTR_CHAR_COLOR_BACKGROUND_EXT)
{
rWrtSh.SetAttr( SvxBrushItem(
rEdtWin.GetTextBackColor(), RES_CHRATR_BACKGROUND) );
}
else
rWrtSh.SetAttr( SvxColorItem( rEdtWin.GetTextColor(),
RES_CHRATR_COLOR) );
}
else
{
if(!pApply || pApply->nColor != nSlot)
aTempl.nColor = nSlot;
rEdtWin.SetApplyTemplate(aTempl);
}
rReq.Done();
2000-09-18 16:15:01 +00:00
}
break;
case FN_NUM_BULLET_MOVEDOWN:
if (!rWrtSh.IsAddMode())
rWrtSh.MoveParagraph(1);
rReq.Done();
2000-09-18 16:15:01 +00:00
break;
case FN_NUM_BULLET_MOVEUP:
if (!rWrtSh.IsAddMode())
rWrtSh.MoveParagraph(-1);
rReq.Done();
2000-09-18 16:15:01 +00:00
break;
2001-01-10 15:14:47 +00:00
case SID_RUBY_DIALOG:
2000-09-18 16:15:01 +00:00
case SID_HYPERLINK_DIALOG:
{
2001-01-10 15:14:47 +00:00
SfxRequest aReq(nSlot, SFX_CALLMODE_SLOT, SFX_APP()->GetPool());
2000-09-18 16:15:01 +00:00
GetView().GetViewFrame()->ExecuteSlot( aReq);
2002-07-01 08:09:41 +00:00
rReq.Ignore();
2000-09-18 16:15:01 +00:00
}
break;
case FN_INSERT_PAGEHEADER:
case FN_INSERT_PAGEFOOTER:
if(pArgs && pArgs->Count())
{
String sStyleName;
if(pItem)
sStyleName = ((const SfxStringItem*)pItem)->GetValue();
sal_Bool bOn = sal_True;
if( SFX_ITEM_SET == pArgs->GetItemState(FN_PARAM_1, sal_False, &pItem))
bOn = ((const SfxBoolItem*)pItem)->GetValue();
rWrtSh.ChangeHeaderOrFooter(sStyleName, FN_INSERT_PAGEHEADER == nSlot, bOn, !rReq.IsAPI());
rReq.Done();
}
break;
case FN_READONLY_SELECTION_MODE :
if(GetView().GetDocShell()->IsReadOnly())
{
rWrtSh.SetReadonlySelectionOption(
!rWrtSh.GetViewOptions()->IsSelectionInReadonly());
rWrtSh.ShowCrsr();
}
break;
case FN_SELECTION_MODE_DEFAULT:
case FN_SELECTION_MODE_BLOCK :
{
bool bSetBlockMode = !rWrtSh.IsBlockMode();
if( pArgs && SFX_ITEM_SET == pArgs->GetItemState(nSlot, sal_False, &pItem))
bSetBlockMode = ((const SfxBoolItem*)pItem)->GetValue();
if( ( nSlot == FN_SELECTION_MODE_DEFAULT ) ^ bSetBlockMode )
rWrtSh.EnterBlockMode();
else
rWrtSh.EnterStdMode();
SfxBindings &rBnd = GetView().GetViewFrame()->GetBindings();
rBnd.Invalidate(FN_STAT_SELMODE);
rBnd.Update(FN_STAT_SELMODE);
}
break;
case SID_OPEN_HYPERLINK:
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
case FN_COPY_HYPERLINK_LOCATION:
{
SfxItemSet aSet(GetPool(),
RES_TXTATR_INETFMT,
RES_TXTATR_INETFMT);
rWrtSh.GetCurAttr(aSet);
if(SFX_ITEM_SET <= aSet.GetItemState( RES_TXTATR_INETFMT, sal_True ))
{
const SwFmtINetFmt& rINetFmt = dynamic_cast<const SwFmtINetFmt&>( aSet.Get(RES_TXTATR_INETFMT, sal_True) );
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
if( nSlot == FN_COPY_HYPERLINK_LOCATION )
{
::uno::Reference< datatransfer::clipboard::XClipboard > xClipboard = GetView().GetEditWin().GetClipboard();
vcl::unohelper::TextDataObject::CopyStringTo(
rINetFmt.GetValue(),
xClipboard );
}
else
rWrtSh.ClickToINetAttr(rINetFmt, URLLOAD_NOFILTER);
}
}
break;
case SID_OPEN_XML_FILTERSETTINGS:
{
try
{
2010-10-27 11:38:46 +01:00
uno::Reference < ui::dialogs::XExecutableDialog > xDialog(::comphelper::getProcessServiceFactory()->createInstance(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.ui.XSLTFilterDialog"))), uno::UNO_QUERY);
if( xDialog.is() )
{
xDialog->execute();
}
}
2011-11-22 09:06:06 +00:00
catch (const uno::Exception&)
{
}
rReq.Ignore ();
}
break;
case FN_FORMAT_APPLY_HEAD1:
{
}
break;
case FN_FORMAT_APPLY_HEAD2:
{
}
break;
case FN_FORMAT_APPLY_HEAD3:
{
}
break;
case FN_FORMAT_APPLY_DEFAULT:
{
}
break;
case FN_FORMAT_APPLY_TEXTBODY:
{
}
break;
case FN_WORDCOUNT_DIALOG:
{
SfxViewFrame* pVFrame = GetView().GetViewFrame();
if (pVFrame != NULL)
{
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
Invalidate(rReq.GetSlot());
SwWordCountWrapper *pWrdCnt = (SwWordCountWrapper*)pVFrame->GetChildWindow(SwWordCountWrapper::GetChildWindowId());
if (pWrdCnt)
pWrdCnt->UpdateCounts();
}
}
break;
2000-09-18 16:15:01 +00:00
default:
OSL_ENSURE(!this, "wrong dispatcher");
2000-09-18 16:15:01 +00:00
return;
}
}
void SwTextShell::GetState( SfxItemSet &rSet )
{
SwWrtShell &rSh = GetShell();
SfxWhichIter aIter( rSet );
sal_uInt16 nWhich = aIter.FirstWhich();
2000-09-18 16:15:01 +00:00
while ( nWhich )
{
switch ( nWhich )
{
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
case SID_LANGUAGE_STATUS:
{
// the value of used script types
String aScriptTypesInUse( OUString::number( rSh.GetScriptType() ) );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
SvtLanguageTable aLangTable;
// get keyboard language
String aKeyboardLang;
LanguageType nLang = LANGUAGE_DONTKNOW;
SwEditWin& rEditWin = GetView().GetEditWin();
nLang = rEditWin.GetInputLanguage();
if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_SYSTEM)
aKeyboardLang = aLangTable.GetString( nLang );
// get the language that is in use
String aCurrentLang = rtl::OUString("*");
nLang = SwLangHelper::GetCurrentLanguage( rSh );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
if (nLang != LANGUAGE_DONTKNOW)
aCurrentLang = aLangTable.GetString( nLang );
// build sequence for status value
uno::Sequence< ::rtl::OUString > aSeq( 4 );
aSeq[0] = aCurrentLang;
aSeq[1] = aScriptTypesInUse;
aSeq[2] = aKeyboardLang;
aSeq[3] = SwLangHelper::GetTextForLanguageGuessing( rSh );
INTEGRATION: CWS langstatusbar (1.54.112); FILE MERGED 2007/11/19 11:37:21 tl 1.54.112.29: RESYNC: (1.59-1.60); FILE MERGED 2007/10/25 14:54:04 tl 1.54.112.28: #i77208# new language status-bar control 2007/10/24 09:03:29 tl 1.54.112.27: #i77208# new language status-bar control 2007/10/22 12:39:25 tl 1.54.112.26: #i77208# language status bar control 2007/10/19 10:15:42 tl 1.54.112.25: #i77208# language status bar control 2007/10/18 14:30:28 tl 1.54.112.24: #i77208# language status bar control for Writer 2007/10/16 12:30:35 tl 1.54.112.23: warning in non-pro build fixed 2007/10/10 07:25:36 tl 1.54.112.22: warning free code change 2007/10/01 17:17:21 tl 1.54.112.21: RESYNC: (1.56-1.59); FILE MERGED 2007/08/09 08:07:32 tl 1.54.112.20: #i77208# new language status-bar control 2007/07/31 08:02:39 tl 1.54.112.19: #i77208# new language status-bar control 2007/07/27 11:18:33 tl 1.54.112.18: #i77208# new language status-bar control 2007/07/26 09:23:20 tl 1.54.112.17: #i77208# new language status-bar control 2007/07/26 08:47:45 tl 1.54.112.16: #i77208# new language status-bar control 2007/07/24 10:16:12 tl 1.54.112.15: #i77208# new language status-bar control 2007/07/24 10:15:18 tl 1.54.112.14: #i77208# new language status-bar control 2007/07/20 10:39:44 tl 1.54.112.13: #i77208# new language status bar control 2007/07/20 10:20:20 tl 1.54.112.12: #i77208# new language status bar control 2007/07/12 09:13:51 tl 1.54.112.11: #i77208# new language status bar control 2007/07/11 13:15:31 tl 1.54.112.10: #i77208# new language status bar control 2007/07/11 13:02:46 tl 1.54.112.9: #i77208# new language status bar control 2007/06/29 08:15:07 tl 1.54.112.8: #i78856# Format/Default should keep language attributes 2007/06/25 17:26:17 tl 1.54.112.7: RESYNC: (1.54-1.56); FILE MERGED 2007/06/25 08:03:22 tl 1.54.112.6: #i77208# new language status bar control 2007/06/21 11:12:27 tl 1.54.112.5: #i77208# new language status-bar control 2007/06/08 14:01:17 tl 1.54.112.4: #i77208# new language status-bar control 2007/06/08 10:55:50 tl 1.54.112.3: #i77208# new language status-bar control 2007/06/08 10:03:13 tl 1.54.112.2: #i77208# new language status-bar control 2007/05/25 12:54:27 tl 1.54.112.1: #i77208# adding language statusbar control
2007-11-23 15:27:22 +00:00
// set sequence as status value
SfxStringListItem aItem( SID_LANGUAGE_STATUS );
aItem.SetStringList( aSeq );
rSet.Put( aItem, SID_LANGUAGE_STATUS );
}
break;
case SID_THES:
{
// is there a valid selection to get text from?
String aText;
bool bValid = !rSh.HasSelection() ||
(rSh.IsSelOnePara() && !rSh.IsMultiSelection());
// prevent context menu from showing when cursor is not in or at the end of a word
// (GetCurWord will return the next word if there is none at the current position...)
const sal_Int16 nWordType = ::i18n::WordType::DICTIONARY_WORD;
bool bWord = rSh.IsInWord( nWordType ) || rSh.IsStartWord( nWordType ) || rSh.IsEndWord( nWordType );
if (bValid && bWord)
aText = rSh.HasSelection()? rSh.GetSelTxt() : rSh.GetCurWord();
LanguageType nLang = rSh.GetCurLang();
LanguageTag aLanguageTag( nLang);
lang::Locale aLocale( aLanguageTag.getLocale());
String aLangText( aLanguageTag.getBcp47() );
// set word and locale to look up as status value
String aStatusVal( aText );
aStatusVal.AppendAscii( "#" );
aStatusVal += aLangText;
rSet.Put( SfxStringItem( SID_THES, aStatusVal ) );
// disable "Thesaurus" context menu entry if there is nothing to look up
uno::Reference< linguistic2::XThesaurus > xThes( ::GetThesaurus() );
if (aText.Len() == 0 ||
!xThes.is() || nLang == LANGUAGE_NONE || !xThes->hasLocale( aLocale ))
rSet.DisableItem( SID_THES );
}
break;
case FN_NUMBER_NEWSTART :
if(!rSh.GetCurNumRule())
rSet.DisableItem(nWhich);
else
rSet.Put(SfxBoolItem(FN_NUMBER_NEWSTART,
rSh.IsNumRuleStart()));
break;
2000-09-18 16:15:01 +00:00
case FN_EDIT_FORMULA:
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:
2000-09-18 16:15:01 +00:00
{
const int nType = rSh.GetSelectionType();
if (!(nType & nsSelectionType::SEL_TXT) &&
!(nType & nsSelectionType::SEL_TBL) &&
!(nType & nsSelectionType::SEL_NUM))
2000-09-18 16:15:01 +00:00
rSet.DisableItem(nWhich);
}
break;
case FN_INSERT_ENDNOTE:
case FN_INSERT_FOOTNOTE:
case FN_INSERT_FOOTNOTE_DLG:
{
const sal_uInt16 nNoType = FRMTYPE_FLY_ANY | FRMTYPE_HEADER |
2000-09-18 16:15:01 +00:00
FRMTYPE_FOOTER | FRMTYPE_FOOTNOTE;
if ( (rSh.GetFrmType(0,sal_True) & nNoType) )
2000-09-18 16:15:01 +00:00
rSet.DisableItem(nWhich);
}
break;
case FN_INSERT_TABLE:
if ( rSh.GetTableFmt() ||
(rSh.GetFrmType(0,sal_True) & FRMTYPE_FOOTNOTE) )
2000-09-18 16:15:01 +00:00
rSet.DisableItem( nWhich );
break;
case FN_CALCULATE:
if ( !rSh.IsSelection() )
rSet.DisableItem(nWhich);
break;
case FN_GOTO_REFERENCE:
{
SwField *pFld = rSh.GetCurFld();
if ( !pFld || (pFld && pFld->GetTypeId() != TYP_GETREFFLD) )
rSet.DisableItem(nWhich);
}
break;
case FN_AUTOFORMAT_AUTO:
{
2011-05-20 09:06:56 +01:00
rSet.Put( SfxBoolItem( nWhich, SvxAutoCorrCfg::Get().IsAutoFmtByInput() ));
2000-09-18 16:15:01 +00:00
}
break;
case SID_DEC_INDENT:
case SID_INC_INDENT:
{
sal_uInt16 nHtmlMode = ::GetHtmlMode(GetView().GetDocShell());
2000-09-18 16:15:01 +00:00
nHtmlMode &= HTMLMODE_ON|HTMLMODE_SOME_STYLES;
if( (nHtmlMode == HTMLMODE_ON) || !rSh.IsMoveLeftMargin(
SID_INC_INDENT == nWhich, true ))
2000-09-18 16:15:01 +00:00
rSet.DisableItem( nWhich );
}
break;
case FN_DEC_INDENT_OFFSET:
case FN_INC_INDENT_OFFSET:
{
sal_uInt16 nHtmlMode = ::GetHtmlMode(GetView().GetDocShell());
2000-09-18 16:15:01 +00:00
nHtmlMode &= HTMLMODE_ON|HTMLMODE_SOME_STYLES;
if( (nHtmlMode == HTMLMODE_ON) ||
!rSh.IsMoveLeftMargin( FN_INC_INDENT_OFFSET == nWhich,
false ))
2000-09-18 16:15:01 +00:00
rSet.DisableItem( nWhich );
}
break;
case SID_ATTR_CHAR_COLOR2:
{
rSet.Put(SvxColorItem(GetView().GetEditWin().GetTextColor(), SID_ATTR_CHAR_COLOR2));
}
break;
case SID_ATTR_CHAR_COLOR_BACKGROUND:
{
if(GetView().GetEditWin().IsTextBackColorTransparent())
rSet.Put(SvxColorItem(Color(COL_TRANSPARENT), SID_ATTR_CHAR_COLOR_BACKGROUND));
else
2000-09-18 16:15:01 +00:00
rSet.Put(SvxColorItem(GetView().GetEditWin().GetTextBackColor(), SID_ATTR_CHAR_COLOR_BACKGROUND));
}
break;
case SID_ATTR_CHAR_COLOR_BACKGROUND_EXT:
case SID_ATTR_CHAR_COLOR_EXT:
{
SwEditWin& rEdtWin = GetView().GetEditWin();
SwApplyTemplate* pApply = rEdtWin.GetApplyTemplate();
rSet.Put(SfxBoolItem(nWhich, pApply && pApply->nColor == nWhich));
}
break;
case FN_INSERT_BOOKMARK:
if( rSh.IsTableMode() )
rSet.DisableItem( nWhich );
break;
case FN_INSERT_PAGEHEADER:
case FN_INSERT_PAGEFOOTER:
{
rSet.Put( SfxObjectShellItem( nWhich, GetView().GetDocShell() ));
2000-09-18 16:15:01 +00:00
}
break;
case FN_TABLE_SORT_DIALOG:
2000-09-18 16:15:01 +00:00
case FN_SORTING_DLG:
if(!rSh.HasSelection() ||
(FN_TABLE_SORT_DIALOG == nWhich && !rSh.GetTableFmt()))
2000-09-18 16:15:01 +00:00
rSet.DisableItem( nWhich );
break;
2001-01-10 15:14:47 +00:00
case SID_RUBY_DIALOG:
2001-04-18 08:08:49 +00:00
{
SvtCJKOptions aCJKOptions;
if(!aCJKOptions.IsRubyEnabled())
{
GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_False );
2001-04-18 08:08:49 +00:00
rSet.DisableItem(nWhich);
}
else
GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_True );
break;
2001-04-18 08:08:49 +00:00
}
//no break!
2000-09-18 16:15:01 +00:00
case SID_HYPERLINK_DIALOG:
if( GetView().GetDocShell()->IsReadOnly() ||
(!GetView().GetViewFrame()->HasChildWindow(nWhich) &&
rSh.HasReadonlySel()) )
2001-01-10 15:14:47 +00:00
rSet.DisableItem(nWhich);
else
rSet.Put(SfxBoolItem( nWhich, 0 != GetView().
GetViewFrame()->GetChildWindow( nWhich ) ));
break;
2000-09-18 16:15:01 +00:00
case FN_EDIT_HYPERLINK:
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
case FN_COPY_HYPERLINK_LOCATION:
2000-09-18 16:15:01 +00:00
{
SfxItemSet aSet(GetPool(),
RES_TXTATR_INETFMT,
RES_TXTATR_INETFMT);
rSh.GetCurAttr(aSet);
if(SFX_ITEM_SET > aSet.GetItemState( RES_TXTATR_INETFMT, sal_True ) || rSh.HasReadonlySel())
2000-09-18 16:15:01 +00:00
{
CWS-TOOLING: integrate CWS os121 2008-11-28 13:44:51 +0100 os r264551 : Copy Hyperlink Location added 2008-11-28 13:36:20 +0100 os r264547 : Copy Hyperlink Location added 2008-11-25 15:43:53 +0100 os r264311 : label of EditHyperlink fixed 2008-11-25 15:42:42 +0100 os r264310 : use ResetAttr to remove hyperlink 2008-11-25 10:08:02 +0100 os r264276 : edit/remove hyperlink names fixed 2008-11-11 15:47:22 +0100 os r263565 : typo fixed 2008-11-10 18:46:00 +0100 os r263536 : CWS-TOOLING: rebase CWS os121 to trunk@263288 (milestone: DEV300:m35) 2008-11-07 15:34:41 +0100 os r263422 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-07 15:34:05 +0100 os r263421 : #i6191# accept/reject changes;#i7311# remove hyperlink 2008-11-06 17:26:18 +0100 os r263402 : #i43971# words from online help documents must not be added to AutoCompletion 2008-11-06 16:08:27 +0100 os r263397 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:49 +0100 os r263396 : #i6191# accept/reject changes added to context menu 2008-11-06 16:07:16 +0100 os r263395 : #i6191# accept/reject changes added to context menu 2008-11-06 16:06:18 +0100 os r263394 : #i6191# accept/reject changes added to context menu 2008-10-30 14:31:32 +0100 os r262826 : #i84980# less options changed to fewer options 2008-10-30 11:44:41 +0100 os r262824 : #i95624# don't add paragraph numbering in getString() 2008-10-27 10:46:04 +0100 os r262665 : #i88235# SvCheckListBox::SelectEntryPos() paints a CheckBox to the wrong device if page is not visible, yet - call moved to ::Reset() 2008-10-24 15:49:27 +0200 os r262648 : #i77230# make repeating headers the default 2008-10-23 16:49:42 +0200 os r262625 : #i95350# RTL output of table window fixed 2008-10-23 15:37:40 +0200 os r262623 : #i76723# RTL related patch removed - it is now done by vcl 2008-10-22 14:05:58 +0200 os r262601 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-22 14:05:17 +0200 os r262600 : #b6297019#,#i49754# LoadStyles: restore outline settings 2008-10-20 15:39:18 +0200 os r262323 : #i95059# border attribute: which id of SID_ATTR_BORDER_INNER fixed 2008-10-20 09:30:28 +0200 os r262305 : #i95123# conflict css::util::Color and ::Color solved 2008-10-17 11:44:16 +0200 os r262280 : #i93714# merge to PDF: convert fields to text before export 2008-10-17 10:30:11 +0200 os r262275 : #i94364# 2008-10-17 10:11:56 +0200 os r262274 : +i94536# default font ListBoxes: prevent entry duplication if 'Back' button is pressed
2008-12-09 07:49:49 +00:00
rSet.DisableItem(nWhich);
2000-09-18 16:15:01 +00:00
}
}
break;
case FN_REMOVE_HYPERLINK:
{
SfxItemSet aSet(GetPool(),
RES_TXTATR_INETFMT,
RES_TXTATR_INETFMT);
rSh.GetCurAttr(aSet);
// If a hyperlink is selected, either alone or along with other text...
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 Conflicts: starmath/inc/applicat.hxx starmath/inc/dialog.hxx starmath/inc/document.hxx starmath/inc/edit.hxx starmath/inc/format.hxx starmath/inc/node.hxx starmath/inc/parse.hxx starmath/inc/rect.hxx starmath/inc/smdll.hxx starmath/inc/smmod.hxx starmath/inc/starmath.hrc starmath/inc/symbol.hxx starmath/inc/toolbox.hxx starmath/inc/utility.hxx starmath/inc/view.hxx starmath/prj/build.lst starmath/qa/cppunit/version.map starmath/sdi/smslots.sdi starmath/source/accessibility.cxx starmath/source/cfgitem.cxx starmath/source/cfgitem.hxx starmath/source/config.cxx starmath/source/dialog.cxx starmath/source/document.cxx starmath/source/edit.cxx starmath/source/format.cxx starmath/source/makefile.mk starmath/source/math_pch.cxx starmath/source/mathmlexport.cxx starmath/source/mathmlimport.cxx starmath/source/mathtype.cxx starmath/source/node.cxx starmath/source/parse.cxx starmath/source/rect.cxx starmath/source/register.cxx starmath/source/smdetect.cxx starmath/source/smdll.cxx starmath/source/smmod.cxx starmath/source/smres.src starmath/source/symbol.cxx starmath/source/toolbox.cxx starmath/source/unomodel.cxx starmath/source/utility.cxx starmath/source/view.cxx sw/JunitTest_sw_unoapi.mk sw/Library_swd.mk sw/Makefile sw/inc/IDocumentFieldsAccess.hxx sw/inc/IDocumentSettingAccess.hxx sw/inc/IDocumentUndoRedo.hxx sw/inc/IShellCursorSupplier.hxx sw/inc/SwUndoField.hxx sw/inc/acmplwrd.hxx sw/inc/authfld.hxx sw/inc/bparr.hxx sw/inc/calbck.hxx sw/inc/calc.hxx sw/inc/ccoll.hxx sw/inc/cellatr.hxx sw/inc/cellfml.hxx sw/inc/chpfld.hxx sw/inc/cmdid.h sw/inc/crsrsh.hxx sw/inc/crstate.hxx sw/inc/dbfld.hxx sw/inc/dbmgr.hxx sw/inc/dcontact.hxx sw/inc/ddefld.hxx sw/inc/doc.hxx sw/inc/docary.hxx sw/inc/docsh.hxx sw/inc/docstat.hxx sw/inc/docstyle.hxx sw/inc/docufld.hxx sw/inc/editsh.hxx sw/inc/errhdl.hxx sw/inc/expfld.hxx sw/inc/fchrfmt.hxx sw/inc/fesh.hxx sw/inc/fldbas.hxx sw/inc/flddat.hxx sw/inc/flddropdown.hxx sw/inc/flypos.hxx sw/inc/fmtanchr.hxx sw/inc/fmtautofmt.hxx sw/inc/fmtclds.hxx sw/inc/fmtcnct.hxx sw/inc/fmtcol.hxx sw/inc/fmtfsize.hxx sw/inc/fmtftn.hxx sw/inc/fmtftntx.hxx sw/inc/fmthdft.hxx sw/inc/fmtinfmt.hxx sw/inc/fmtline.hxx sw/inc/fmtornt.hxx sw/inc/fmtpdsc.hxx sw/inc/fmtruby.hxx sw/inc/fmtsrnd.hxx sw/inc/fmturl.hxx sw/inc/fmtwrapinfluenceonobjpos.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/grfatr.hxx sw/inc/helpid.h sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/htmltbl.hxx sw/inc/inetfld.hxx sw/inc/io.hxx sw/inc/iodetect.hxx sw/inc/itabenum.hxx sw/inc/ndarr.hxx sw/inc/ndgrf.hxx sw/inc/ndindex.hxx sw/inc/ndnotxt.hxx sw/inc/ndole.hxx sw/inc/ndtxt.hxx sw/inc/ndtyp.hxx sw/inc/node.hxx sw/inc/numrule.hxx sw/inc/pagedesc.hxx sw/inc/pagepreviewlayout.hxx sw/inc/pam.hxx sw/inc/paratr.hxx sw/inc/poolfmt.awk sw/inc/poolfmt.hxx sw/inc/printdata.hxx sw/inc/reffld.hxx sw/inc/shellio.hxx sw/inc/shellres.hxx sw/inc/swabstdlg.hxx sw/inc/swatrset.hxx sw/inc/swerror.h sw/inc/swprtopt.hxx sw/inc/swtable.hxx sw/inc/swtypes.hxx sw/inc/tblafmt.hxx sw/inc/tgrditem.hxx sw/inc/tox.hxx sw/inc/undobj.hxx sw/inc/unocoll.hxx sw/inc/unoframe.hxx sw/inc/unoprnms.hxx sw/inc/usrfld.hxx sw/inc/viewopt.hxx sw/inc/viewsh.hxx sw/inc/viscrs.hxx sw/prj/build.lst sw/qa/complex/accessibility/makefile.mk sw/qa/core/Test-BigPtrArray.cxx sw/qa/core/makefile.mk sw/sdi/makefile.mk sw/source/core/access/makefile.mk sw/source/core/access/textmarkuphelper.cxx sw/source/core/attr/calbck.cxx sw/source/core/attr/cellatr.cxx sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/bastyp/calc.cxx sw/source/core/bastyp/init.cxx sw/source/core/bastyp/makefile.mk sw/source/core/bastyp/swcache.cxx sw/source/core/crsr/bookmrk.cxx sw/source/core/crsr/callnk.cxx sw/source/core/crsr/crsrsh.cxx sw/source/core/crsr/crstrvl.cxx sw/source/core/crsr/findattr.cxx sw/source/core/crsr/findcoll.cxx sw/source/core/crsr/makefile.mk sw/source/core/crsr/pam.cxx sw/source/core/crsr/swcrsr.cxx sw/source/core/crsr/trvltbl.cxx sw/source/core/crsr/unocrsr.cxx sw/source/core/crsr/viscrs.cxx sw/source/core/doc/acmplwrd.cxx sw/source/core/doc/doc.cxx sw/source/core/doc/docbm.cxx sw/source/core/doc/doccomp.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docedt.cxx sw/source/core/doc/docfld.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docftn.cxx sw/source/core/doc/docglbl.cxx sw/source/core/doc/docglos.cxx sw/source/core/doc/doclay.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docnum.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/docruby.cxx sw/source/core/doc/docsort.cxx sw/source/core/doc/docstat.cxx sw/source/core/doc/doctxm.cxx sw/source/core/doc/fmtcol.cxx sw/source/core/doc/gctable.cxx sw/source/core/doc/htmltbl.cxx sw/source/core/doc/makefile.mk sw/source/core/doc/number.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/tblafmt.cxx sw/source/core/doc/tblcpy.cxx sw/source/core/doc/tblrwcl.cxx sw/source/core/docnode/makefile.mk sw/source/core/docnode/ndcopy.cxx sw/source/core/docnode/ndnum.cxx sw/source/core/docnode/ndsect.cxx sw/source/core/docnode/ndtbl.cxx sw/source/core/docnode/ndtbl1.cxx sw/source/core/docnode/node.cxx sw/source/core/docnode/node2lay.cxx sw/source/core/docnode/nodes.cxx sw/source/core/docnode/section.cxx sw/source/core/docnode/swbaslnk.cxx sw/source/core/draw/dcontact.cxx sw/source/core/draw/dflyobj.cxx sw/source/core/draw/drawdoc.cxx sw/source/core/draw/dview.cxx sw/source/core/draw/makefile.mk sw/source/core/edit/autofmt.cxx sw/source/core/edit/edattr.cxx sw/source/core/edit/eddel.cxx sw/source/core/edit/edfcol.cxx sw/source/core/edit/edfld.cxx sw/source/core/edit/edfldexp.cxx sw/source/core/edit/edfmt.cxx sw/source/core/edit/edglss.cxx sw/source/core/edit/editsh.cxx sw/source/core/edit/edlingu.cxx sw/source/core/edit/ednumber.cxx sw/source/core/edit/edsect.cxx sw/source/core/edit/edtab.cxx sw/source/core/edit/edtox.cxx sw/source/core/edit/edundo.cxx sw/source/core/edit/makefile.mk sw/source/core/except/dbgloop.cxx sw/source/core/except/errhdl.cxx sw/source/core/fields/authfld.cxx sw/source/core/fields/cellfml.cxx sw/source/core/fields/chpfld.cxx sw/source/core/fields/dbfld.cxx sw/source/core/fields/ddefld.cxx sw/source/core/fields/ddetbl.cxx sw/source/core/fields/docufld.cxx sw/source/core/fields/expfld.cxx sw/source/core/fields/fldbas.cxx sw/source/core/fields/flddat.cxx sw/source/core/fields/flddropdown.cxx sw/source/core/fields/macrofld.cxx sw/source/core/fields/makefile.mk sw/source/core/fields/reffld.cxx sw/source/core/fields/scrptfld.cxx sw/source/core/fields/tblcalc.cxx sw/source/core/fields/usrfld.cxx sw/source/core/frmedt/fecopy.cxx sw/source/core/frmedt/fedesc.cxx sw/source/core/frmedt/fefly1.cxx sw/source/core/frmedt/feshview.cxx sw/source/core/frmedt/fetab.cxx sw/source/core/frmedt/fews.cxx sw/source/core/frmedt/makefile.mk sw/source/core/frmedt/tblsel.cxx sw/source/core/graphic/grfatr.cxx sw/source/core/inc/SwUndoFmt.hxx sw/source/core/inc/SwUndoTOXChange.hxx sw/source/core/inc/anchoredobjectposition.hxx sw/source/core/inc/dbgloop.hxx sw/source/core/inc/drawfont.hxx sw/source/core/inc/flowfrm.hxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/layact.hxx sw/source/core/inc/layfrm.hxx sw/source/core/inc/notxtfrm.hxx sw/source/core/inc/rolbck.hxx sw/source/core/inc/rootfrm.hxx sw/source/core/inc/scriptinfo.hxx sw/source/core/inc/swblocks.hxx sw/source/core/inc/swcache.hxx sw/source/core/inc/tabfrm.hxx sw/source/core/inc/txmsrt.hxx sw/source/core/inc/undoflystrattr.hxx sw/source/core/inc/viewimp.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/calcmove.cxx sw/source/core/layout/dbg_lay.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/flowfrm.cxx sw/source/core/layout/fly.cxx sw/source/core/layout/flycnt.cxx sw/source/core/layout/flyincnt.cxx sw/source/core/layout/flylay.cxx sw/source/core/layout/frmtool.cxx sw/source/core/layout/ftnfrm.cxx sw/source/core/layout/layact.cxx sw/source/core/layout/laycache.cxx sw/source/core/layout/makefile.mk sw/source/core/layout/objectformatter.cxx sw/source/core/layout/pagechg.cxx sw/source/core/layout/pagedesc.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/layout/sectfrm.cxx sw/source/core/layout/tabfrm.cxx sw/source/core/layout/trvlfrm.cxx sw/source/core/layout/unusedf.cxx sw/source/core/layout/wsfrm.cxx sw/source/core/makefile.mk sw/source/core/objectpositioning/anchoredobjectposition.cxx sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx sw/source/core/objectpositioning/makefile.mk sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx sw/source/core/ole/ndole.cxx sw/source/core/para/makefile.mk sw/source/core/para/paratr.cxx sw/source/core/sw3io/makefile.mk sw/source/core/sw3io/sw3convert.cxx sw/source/core/swg/SwXMLTextBlocks.cxx sw/source/core/swg/makefile.mk sw/source/core/swg/swblocks.cxx sw/source/core/table/swnewtable.cxx sw/source/core/table/swtable.cxx sw/source/core/text/EnhancedPDFExportHelper.cxx sw/source/core/text/atrstck.cxx sw/source/core/text/frmcrsr.cxx sw/source/core/text/frmform.cxx sw/source/core/text/itrcrsr.cxx sw/source/core/text/itrform2.cxx sw/source/core/text/makefile.mk sw/source/core/text/porlay.cxx sw/source/core/text/pormulti.cxx sw/source/core/text/txtfld.cxx sw/source/core/text/txtfrm.cxx sw/source/core/text/txtio.cxx sw/source/core/tox/makefile.mk sw/source/core/tox/txmsrt.cxx sw/source/core/txtnode/fmtatr2.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/txtnode/fntcap.cxx sw/source/core/txtnode/makefile.mk sw/source/core/txtnode/ndhints.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/swfont.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/SwUndoField.cxx sw/source/core/undo/SwUndoPageDesc.cxx sw/source/core/undo/SwUndoTOXChange.cxx sw/source/core/undo/docundo.cxx sw/source/core/undo/makefile.mk sw/source/core/undo/rolbck.cxx sw/source/core/undo/unbkmk.cxx sw/source/core/undo/undel.cxx sw/source/core/undo/undobj.cxx sw/source/core/undo/undobj1.cxx sw/source/core/undo/unfmco.cxx sw/source/core/undo/unins.cxx sw/source/core/undo/unnum.cxx sw/source/core/undo/unoutl.cxx sw/source/core/undo/unredln.cxx sw/source/core/undo/unsect.cxx sw/source/core/undo/unsort.cxx sw/source/core/undo/unspnd.cxx sw/source/core/undo/untbl.cxx sw/source/core/unocore/makefile.mk sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unobkm.cxx sw/source/core/unocore/unocoll.cxx sw/source/core/unocore/unocrsrhelper.cxx sw/source/core/unocore/unodraw.cxx sw/source/core/unocore/unofield.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unoredlines.cxx sw/source/core/unocore/unosett.cxx sw/source/core/unocore/unosrch.cxx sw/source/core/unocore/unostyle.cxx sw/source/core/unocore/unotbl.cxx sw/source/core/view/vdraw.cxx sw/source/core/view/viewimp.cxx sw/source/core/view/viewpg.cxx sw/source/core/view/viewsh.cxx sw/source/core/view/vnew.cxx sw/source/core/view/vprint.cxx sw/source/filter/ascii/ascatr.cxx sw/source/filter/ascii/makefile.mk sw/source/filter/ascii/wrtasc.cxx sw/source/filter/basflt/fltini.cxx sw/source/filter/basflt/iodetect.cxx sw/source/filter/basflt/makefile.mk sw/source/filter/html/SwAppletImpl.cxx sw/source/filter/html/css1atr.cxx sw/source/filter/html/htmlatr.cxx sw/source/filter/html/htmlbas.cxx sw/source/filter/html/htmlcss1.cxx sw/source/filter/html/htmlfly.cxx sw/source/filter/html/htmlftn.cxx sw/source/filter/html/htmlgrin.cxx sw/source/filter/html/htmlnum.cxx sw/source/filter/html/htmlplug.cxx sw/source/filter/html/htmltab.cxx sw/source/filter/html/makefile.mk sw/source/filter/html/parcss1.cxx sw/source/filter/html/svxcss1.cxx sw/source/filter/html/swhtml.cxx sw/source/filter/inc/msfilter.hxx sw/source/filter/inc/wrtswtbl.hxx sw/source/filter/rtf/makefile.mk sw/source/filter/rtf/rtffly.cxx sw/source/filter/rtf/rtfnum.cxx sw/source/filter/rtf/rtftbl.cxx sw/source/filter/rtf/swparrtf.cxx sw/source/filter/rtf/swparrtf.hxx sw/source/filter/writer/makefile.mk sw/source/filter/writer/writer.cxx sw/source/filter/writer/wrt_fn.cxx sw/source/filter/writer/wrtswtbl.cxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww1/makefile.mk sw/source/filter/ww1/w1class.cxx sw/source/filter/ww1/w1class.hxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww1/w1par.cxx sw/source/filter/ww1/w1sprm.cxx sw/source/filter/ww1/w1struct.hxx sw/source/filter/ww8/README-rtf.txt sw/source/filter/ww8/attributeoutputbase.hxx sw/source/filter/ww8/docxattributeoutput.cxx sw/source/filter/ww8/docxattributeoutput.hxx sw/source/filter/ww8/docxexport.cxx sw/source/filter/ww8/docxexport.hxx sw/source/filter/ww8/docxexportfilter.cxx sw/source/filter/ww8/dump/dump8.cxx sw/source/filter/ww8/dump/dump8a.cxx sw/source/filter/ww8/dump/msvbasic.cxx sw/source/filter/ww8/dump/msvbasic.hxx sw/source/filter/ww8/dump/ww8darr.cxx sw/source/filter/ww8/dump/ww8darr.hxx sw/source/filter/ww8/dump/ww8dout.cxx sw/source/filter/ww8/dump/ww8dout.hxx sw/source/filter/ww8/dump/ww8scan.cxx sw/source/filter/ww8/dump/ww8scan.hxx sw/source/filter/ww8/dump/ww8struc.hxx sw/source/filter/ww8/makefile.mk sw/source/filter/ww8/rtfattributeoutput.cxx sw/source/filter/ww8/rtfattributeoutput.hxx sw/source/filter/ww8/rtfexport.cxx sw/source/filter/ww8/rtfexport.hxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/filter/ww8/rtfexportfilter.hxx sw/source/filter/ww8/rtfimportfilter.cxx sw/source/filter/ww8/rtfimportfilter.hxx sw/source/filter/ww8/rtfsdrexport.cxx sw/source/filter/ww8/rtfsdrexport.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/writerwordglue.cxx sw/source/filter/ww8/wrtw8esh.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/wrtw8num.cxx sw/source/filter/ww8/wrtw8sty.cxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/wrtww8.hxx sw/source/filter/ww8/wrtww8gr.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/ww8/ww8attributeoutput.hxx sw/source/filter/ww8/ww8graf.cxx sw/source/filter/ww8/ww8graf.hxx sw/source/filter/ww8/ww8graf2.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.hxx sw/source/filter/ww8/ww8par2.cxx sw/source/filter/ww8/ww8par3.cxx sw/source/filter/ww8/ww8par5.cxx sw/source/filter/ww8/ww8par6.cxx sw/source/filter/ww8/ww8scan.cxx sw/source/filter/ww8/ww8scan.hxx sw/source/filter/ww8/ww8struc.hxx sw/source/filter/xml/makefile.mk sw/source/filter/xml/xmlimpit.cxx sw/source/filter/xml/xmltble.cxx sw/source/filter/xml/xmltbli.cxx sw/source/ui/app/appenv.cxx sw/source/ui/app/apphdl.cxx sw/source/ui/app/applab.cxx sw/source/ui/app/appopt.cxx sw/source/ui/app/docsh.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/app/docstyle.cxx sw/source/ui/app/makefile.mk sw/source/ui/app/mn.src sw/source/ui/app/swmodul1.cxx sw/source/ui/cctrl/makefile.mk sw/source/ui/cctrl/swlbox.cxx sw/source/ui/chrdlg/break.cxx sw/source/ui/chrdlg/ccoll.cxx sw/source/ui/chrdlg/chardlg.cxx sw/source/ui/chrdlg/drpcps.cxx sw/source/ui/chrdlg/makefile.mk sw/source/ui/chrdlg/numpara.cxx sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/chrdlg/swuiccoll.cxx sw/source/ui/config/barcfg.cxx sw/source/ui/config/caption.cxx sw/source/ui/config/cfgitems.cxx sw/source/ui/config/fontcfg.cxx sw/source/ui/config/mailconfigpage.cxx sw/source/ui/config/makefile.mk sw/source/ui/config/modcfg.cxx sw/source/ui/config/optcomp.cxx sw/source/ui/config/optload.cxx sw/source/ui/config/optpage.cxx sw/source/ui/config/prtopt.cxx sw/source/ui/config/uinums.cxx sw/source/ui/config/usrpref.cxx sw/source/ui/config/viewopt.cxx sw/source/ui/dbui/dbinsdlg.cxx sw/source/ui/dbui/dbmgr.cxx sw/source/ui/dbui/dbtree.cxx sw/source/ui/dbui/makefile.mk sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dbui/mmdocselectpage.cxx sw/source/ui/dbui/mmoutputpage.cxx sw/source/ui/dbui/swdbtoolsclient.cxx sw/source/ui/dialog/abstract.cxx sw/source/ui/dialog/ascfldlg.cxx sw/source/ui/dialog/macassgn.cxx sw/source/ui/dialog/makefile.mk sw/source/ui/dialog/regionsw.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/dialog/swdlgfact.hxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/dochdl/gloshdl.cxx sw/source/ui/dochdl/makefile.mk sw/source/ui/dochdl/swdtflvr.cxx sw/source/ui/docvw/PostItMgr.cxx sw/source/ui/docvw/SidebarWin.cxx sw/source/ui/docvw/edtdd.cxx sw/source/ui/docvw/edtwin.cxx sw/source/ui/docvw/edtwin2.cxx sw/source/ui/docvw/edtwin3.cxx sw/source/ui/docvw/makefile.mk sw/source/ui/docvw/romenu.cxx sw/source/ui/docvw/romenu.hxx sw/source/ui/docvw/srcedtw.cxx sw/source/ui/envelp/envfmt.cxx sw/source/ui/envelp/envimg.cxx sw/source/ui/envelp/envlop1.cxx sw/source/ui/envelp/envprt.cxx sw/source/ui/envelp/label1.cxx sw/source/ui/envelp/labfmt.cxx sw/source/ui/envelp/labprt.cxx sw/source/ui/envelp/mailmrge.cxx sw/source/ui/envelp/makefile.mk sw/source/ui/fldui/flddb.cxx sw/source/ui/fldui/flddinf.cxx sw/source/ui/fldui/flddok.cxx sw/source/ui/fldui/fldedt.cxx sw/source/ui/fldui/fldfunc.cxx sw/source/ui/fldui/fldmgr.cxx sw/source/ui/fldui/fldpage.cxx sw/source/ui/fldui/fldref.cxx sw/source/ui/fldui/fldtdlg.cxx sw/source/ui/fldui/fldvar.cxx sw/source/ui/fldui/fldwrap.cxx sw/source/ui/fldui/inpdlg.cxx sw/source/ui/fldui/makefile.mk sw/source/ui/fmtui/makefile.mk sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/frmdlg/colmgr.cxx sw/source/ui/frmdlg/column.cxx sw/source/ui/frmdlg/cption.cxx sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmmgr.cxx sw/source/ui/frmdlg/frmpage.cxx sw/source/ui/frmdlg/makefile.mk sw/source/ui/frmdlg/wrap.cxx sw/source/ui/globdoc/makefile.mk sw/source/ui/inc/bmpwin.hxx sw/source/ui/inc/colmgr.hxx sw/source/ui/inc/column.hxx sw/source/ui/inc/envimg.hxx sw/source/ui/inc/envlop.hxx sw/source/ui/inc/frmpage.hxx sw/source/ui/inc/inputwin.hxx sw/source/ui/inc/javaedit.hxx sw/source/ui/inc/num.hxx sw/source/ui/inc/optpage.hxx sw/source/ui/inc/regionsw.hxx sw/source/ui/inc/split.hxx sw/source/ui/inc/swlbox.hxx sw/source/ui/inc/swmn_tmpl.hrc sw/source/ui/inc/swuiidxmrk.hxx sw/source/ui/inc/tabsh.hxx sw/source/ui/inc/toxmgr.hxx sw/source/ui/inc/uiitems.hxx sw/source/ui/inc/view.hxx sw/source/ui/inc/workctrl.hxx sw/source/ui/inc/wrap.hxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/index/cnttab.cxx sw/source/ui/index/makefile.mk sw/source/ui/index/toxmgr.cxx sw/source/ui/lingu/hhcwrp.cxx sw/source/ui/lingu/makefile.mk sw/source/ui/lingu/olmenu.cxx sw/source/ui/misc/bookmark.cxx sw/source/ui/misc/docfnote.cxx sw/source/ui/misc/glosbib.cxx sw/source/ui/misc/glosdoc.cxx sw/source/ui/misc/glshell.cxx sw/source/ui/misc/insfnote.cxx sw/source/ui/misc/linenum.cxx sw/source/ui/misc/makefile.mk sw/source/ui/misc/num.cxx sw/source/ui/misc/numberingtypelistbox.cxx sw/source/ui/misc/outline.cxx sw/source/ui/misc/pgfnote.cxx sw/source/ui/misc/pggrid.cxx sw/source/ui/misc/redlndlg.cxx sw/source/ui/misc/srtdlg.cxx sw/source/ui/misc/swmodalredlineacceptdlg.cxx sw/source/ui/ribbar/conarc.cxx sw/source/ui/ribbar/drawbase.cxx sw/source/ui/ribbar/inputwin.cxx sw/source/ui/ribbar/inputwin.src sw/source/ui/ribbar/makefile.mk sw/source/ui/ribbar/tbxanchr.cxx sw/source/ui/ribbar/workctrl.cxx sw/source/ui/ribbar/workctrl.src sw/source/ui/shells/annotsh.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/beziersh.cxx sw/source/ui/shells/drawdlg.cxx sw/source/ui/shells/drwbassh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/drwtxtsh.cxx sw/source/ui/shells/frmsh.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/grfshex.cxx sw/source/ui/shells/makefile.mk sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textfld.cxx sw/source/ui/shells/textglos.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtattr.cxx sw/source/ui/shells/txtcrsr.cxx sw/source/ui/shells/txtnum.cxx sw/source/ui/table/convert.cxx sw/source/ui/table/instable.cxx sw/source/ui/table/makefile.mk sw/source/ui/table/swtablerep.cxx sw/source/ui/table/tabledlg.cxx sw/source/ui/table/tablemgr.cxx sw/source/ui/table/tablepg.hxx sw/source/ui/table/tautofmt.cxx sw/source/ui/uiview/formatclipboard.cxx sw/source/ui/uiview/makefile.mk sw/source/ui/uiview/pview.cxx sw/source/ui/uiview/pview.src sw/source/ui/uiview/scroll.cxx sw/source/ui/uiview/srcview.cxx sw/source/ui/uiview/swcli.cxx sw/source/ui/uiview/uivwimp.cxx sw/source/ui/uiview/view.cxx sw/source/ui/uiview/view1.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/uiview/viewcoll.cxx sw/source/ui/uiview/viewdlg2.cxx sw/source/ui/uiview/viewling.cxx sw/source/ui/uiview/viewmdi.cxx sw/source/ui/uiview/viewport.cxx sw/source/ui/uiview/viewprt.cxx sw/source/ui/uiview/viewsrch.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/uno/SwXDocumentSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.hxx sw/source/ui/uno/unoatxt.cxx sw/source/ui/uno/unomod.cxx sw/source/ui/uno/unotxdoc.cxx sw/source/ui/uno/unotxvw.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/content.cxx sw/source/ui/utlui/glbltree.cxx sw/source/ui/utlui/initui.cxx sw/source/ui/utlui/makefile.mk sw/source/ui/utlui/navipi.cxx sw/source/ui/utlui/navipi.src sw/source/ui/utlui/numfmtlb.cxx sw/source/ui/utlui/prcntfld.cxx sw/source/ui/utlui/uiitems.cxx sw/source/ui/utlui/uitool.cxx sw/source/ui/utlui/unotools.cxx sw/source/ui/utlui/viewlayoutctrl.cxx sw/source/ui/utlui/zoomctrl.cxx sw/source/ui/vba/makefile.mk sw/source/ui/vba/service.cxx sw/source/ui/web/makefile.mk sw/source/ui/wrtsh/makefile.mk sw/source/ui/wrtsh/wrtsh1.cxx sw/source/ui/wrtsh/wrtsh2.cxx sw/source/ui/wrtsh/wrtsh4.cxx sw/source/ui/wrtsh/wrtundo.cxx sw/util/hidother.src sw/util/makefile.mk sw/util/msword.map
2011-03-14 16:51:14 +00:00
if( ((SFX_ITEM_DONTCARE & aSet.GetItemState( RES_TXTATR_INETFMT, sal_True )) == 0) || rSh.HasReadonlySel())
{
rSet.DisableItem(nWhich);
}
}
break;
2001-04-18 08:08:49 +00:00
case SID_TRANSLITERATE_HALFWIDTH:
case SID_TRANSLITERATE_FULLWIDTH:
case SID_TRANSLITERATE_HIRAGANA:
case SID_TRANSLITERATE_KATAGANA:
{
SvtCJKOptions aCJKOptions;
if(!aCJKOptions.IsChangeCaseMapEnabled())
{
GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_False );
2001-04-18 08:08:49 +00:00
rSet.DisableItem(nWhich);
}
else
GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, sal_True );
2001-04-18 08:08:49 +00:00
}
break;
case FN_READONLY_SELECTION_MODE :
if(!GetView().GetDocShell()->IsReadOnly())
rSet.DisableItem( nWhich );
else
{
rSet.Put(SfxBoolItem(nWhich, rSh.GetViewOptions()->IsSelectionInReadonly()));
}
break;
case FN_SELECTION_MODE_DEFAULT:
case FN_SELECTION_MODE_BLOCK :
rSet.Put(SfxBoolItem(nWhich, (nWhich == FN_SELECTION_MODE_DEFAULT) != rSh.IsBlockMode()));
break;
case SID_OPEN_HYPERLINK:
{
SfxItemSet aSet(GetPool(),
RES_TXTATR_INETFMT,
RES_TXTATR_INETFMT);
rSh.GetCurAttr(aSet);
if(SFX_ITEM_SET > aSet.GetItemState( RES_TXTATR_INETFMT, sal_False ))
rSet.DisableItem(nWhich);
}
break;
case SID_OPEN_SMARTTAGMENU:
{
uno::Sequence< rtl::OUString > aSmartTagTypes;
uno::Sequence< uno::Reference< container::XStringKeyMap > > aStringKeyMaps;
uno::Reference<text::XTextRange> xRange;
rSh.GetSmartTagTerm( aSmartTagTypes, aStringKeyMaps, xRange );
if ( xRange.is() && aSmartTagTypes.getLength() )
{
uno::Sequence < uno::Sequence< uno::Reference< smarttags::XSmartTagAction > > > aActionComponentsSequence;
uno::Sequence < uno::Sequence< sal_Int32 > > aActionIndicesSequence;
const SmartTagMgr& rSmartTagMgr = SwSmartTagMgr::Get();
rSmartTagMgr.GetActionSequences( aSmartTagTypes,
aActionComponentsSequence,
aActionIndicesSequence );
uno::Reference <frame::XController> xController = GetView().GetController();
const lang::Locale aLocale( SW_BREAKITER()->GetLocale( GetAppLanguageTag() ) );
const rtl::OUString aApplicationName( rSmartTagMgr.GetApplicationName() );
const rtl::OUString aRangeText = xRange->getString();
const SvxSmartTagItem aItem( nWhich,
aActionComponentsSequence,
aActionIndicesSequence,
aStringKeyMaps,
xRange,
xController,
aLocale,
aApplicationName,
aRangeText );
rSet.Put( aItem );
}
else
rSet.DisableItem(nWhich);
}
break;
case FN_NUM_CONTINUE:
{
{
// #i86492#
CWS-TOOLING: integrate CWS sw32numbf01 2009-09-04 10:01:07 +0200 od r275780 : #i95907# method <SwWrtShell::NumOfBulletOn(..)> - adjust indentation of newly created automatic list style --> due to MRU add actual paragraph indentation to created automatic list style's indentation 2009-09-02 11:57:40 +0200 od r275703 : #i95907# method <SwTxtMargin::CtorInitTxtMargin(..)> - correct handling of paragraph indents, when list level indents are applicable. 2009-09-01 16:59:47 +0200 od r275671 : CWS-TOOLING: rebase CWS sw32numbf01 to trunk@275331 (milestone: DEV300:m56) 2009-08-28 16:42:34 +0200 od r275540 : #i102458# method <SwFlowFrm::CalcUpperSpace(..)> - correct handling of leading line spacing method <GetSpacingValuesOfFrm(..)> - add output parameter <obIsLineSpacingProportional> 2009-08-27 17:03:07 +0200 od r275496 : #i101516# method <SwTxtNode::SwTxtNode(..)> - in case that the paragraph is add to a list, apply paragraph style's assigned outline style list level as list level, if paragraph has no list level set already. 2009-08-27 15:23:34 +0200 od r275489 : #i101234# method <SwWrtShell::NumOrBulletOn(..)> - check before activation of certain list level of outline numbering, a numbering format is already set. In this only continue the outline numbering. 2009-08-27 14:15:07 +0200 od r275483 : #i95907# method <SwWrtShell::NumOrBulletOn(..)> - consider leading tab stops and intentation of paragraph first text line, when a new list style is created for its application to the selection. 2009-08-26 09:51:39 +0200 od r275401 : #i86492# Adjust copy of text nodes regarding lists - copy of part of paragraph in list does not copy list style and list id - copy of paragraphs in list into another list continues destination list - copy of paragraphs (at least one not in a list) at empty paragraph following a list does not continue the destination list. 2009-08-25 10:30:53 +0200 od r275339 : #i101349# method <XMLTextImportHelper::SetStyleAndAttrs(..) - assure that list style of automatic paragraph style is applied at paragraph.
2009-09-08 13:44:38 +00:00
// Search also for bullet list
String aDummy;
const SwNumRule* pRule =
CWS-TOOLING: integrate CWS sw32numbf01 2009-09-04 10:01:07 +0200 od r275780 : #i95907# method <SwWrtShell::NumOfBulletOn(..)> - adjust indentation of newly created automatic list style --> due to MRU add actual paragraph indentation to created automatic list style's indentation 2009-09-02 11:57:40 +0200 od r275703 : #i95907# method <SwTxtMargin::CtorInitTxtMargin(..)> - correct handling of paragraph indents, when list level indents are applicable. 2009-09-01 16:59:47 +0200 od r275671 : CWS-TOOLING: rebase CWS sw32numbf01 to trunk@275331 (milestone: DEV300:m56) 2009-08-28 16:42:34 +0200 od r275540 : #i102458# method <SwFlowFrm::CalcUpperSpace(..)> - correct handling of leading line spacing method <GetSpacingValuesOfFrm(..)> - add output parameter <obIsLineSpacingProportional> 2009-08-27 17:03:07 +0200 od r275496 : #i101516# method <SwTxtNode::SwTxtNode(..)> - in case that the paragraph is add to a list, apply paragraph style's assigned outline style list level as list level, if paragraph has no list level set already. 2009-08-27 15:23:34 +0200 od r275489 : #i101234# method <SwWrtShell::NumOrBulletOn(..)> - check before activation of certain list level of outline numbering, a numbering format is already set. In this only continue the outline numbering. 2009-08-27 14:15:07 +0200 od r275483 : #i95907# method <SwWrtShell::NumOrBulletOn(..)> - consider leading tab stops and intentation of paragraph first text line, when a new list style is created for its application to the selection. 2009-08-26 09:51:39 +0200 od r275401 : #i86492# Adjust copy of text nodes regarding lists - copy of part of paragraph in list does not copy list style and list id - copy of paragraphs in list into another list continues destination list - copy of paragraphs (at least one not in a list) at empty paragraph following a list does not continue the destination list. 2009-08-25 10:30:53 +0200 od r275339 : #i101349# method <XMLTextImportHelper::SetStyleAndAttrs(..) - assure that list style of automatic paragraph style is applied at paragraph.
2009-09-08 13:44:38 +00:00
rSh.SearchNumRule( false, true, false, -1, aDummy );
if ( !pRule )
{
pRule = rSh.SearchNumRule( false, false, false, -1, aDummy );
}
if ( !pRule )
rSet.DisableItem(nWhich);
}
}
break;
case SID_INSERT_RLM :
case SID_INSERT_LRM :
case SID_INSERT_ZWNBSP :
case SID_INSERT_ZWSP:
{
SvtCTLOptions aCTLOptions;
sal_Bool bEnabled = aCTLOptions.IsCTLFontEnabled();
GetView().GetViewFrame()->GetBindings().SetVisibleState( nWhich, bEnabled );
if(!bEnabled)
rSet.DisableItem(nWhich);
}
break;
2000-09-18 16:15:01 +00:00
}
nWhich = aIter.NextWhich();
}
}
2010-10-12 21:30:25 +01:00
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */