2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2006-07-26 14:50:43 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 19:42:24 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2006-07-26 14:50:43 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2006-07-26 14:50:43 +00:00
|
|
|
*
|
2008-04-10 19:42:24 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2006-07-26 14:50:43 +00:00
|
|
|
*
|
2008-04-10 19:42:24 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2006-07-26 14:50:43 +00:00
|
|
|
*
|
2008-04-10 19:42:24 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2006-07-26 14:50:43 +00:00
|
|
|
*
|
2008-04-10 19:42:24 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2006-07-26 14:50:43 +00:00
|
|
|
*
|
2008-04-10 19:42:24 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2006-07-26 14:50:43 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef _SWVIEW_HXX
|
|
|
|
#define _SWVIEW_HXX
|
|
|
|
|
|
|
|
#include <vcl/timer.hxx>
|
|
|
|
#include <vcl/field.hxx>
|
2011-02-10 11:21:11 +01:00
|
|
|
#include <vcl/floatwin.hxx>
|
2010-01-13 22:25:07 +01:00
|
|
|
#include <svtools/htmlcfg.hxx>
|
2006-07-26 14:50:43 +00:00
|
|
|
#include <sfx2/viewfac.hxx>
|
|
|
|
#include <sfx2/viewsh.hxx>
|
2011-01-03 13:40:23 +01:00
|
|
|
#include <sfx2/objsh.hxx>
|
2010-01-08 18:32:51 +01:00
|
|
|
#include <editeng/svxenum.hxx>
|
2006-07-26 14:50:43 +00:00
|
|
|
#include <svx/zoomitem.hxx>
|
2010-01-08 18:32:51 +01:00
|
|
|
#include <editeng/editstat.hxx>
|
2006-07-26 14:50:43 +00:00
|
|
|
#include "swdllapi.h"
|
|
|
|
#include <swtypes.hxx>
|
|
|
|
#include <shellid.hxx>
|
CWS-TOOLING: integrate CWS layoutdialogs2
2009-04-09 10:11:14 +0200 mba r270680 : defective merge sets seem to have brought config_office back
2009-04-02 18:00:52 +0200 mba r270429 : #i100503#: make tralay work without LD_LIBRARY_PATH
2009-04-01 13:27:58 +0200 mba r270320 : warning on Solaris fixed
2009-03-31 22:15:03 +0200 mba r270293 : CWS-TOOLING: rebase CWS layoutdialogs2 to trunk@270033 (milestone: DEV300:m45)
2009-03-16 13:05:08 +0100 mba r269526 : fixed some compiler warnings of the Sun compiler
2009-03-11 15:32:42 +0100 mba r269337 : some problems for ENABLE_LAYOUT fixed
2009-03-09 16:05:32 +0100 mba r269197 : merge conflict solved
2009-03-09 15:09:55 +0100 mba r269194 : merge conflict solved
2009-03-09 15:09:35 +0100 mba r269193 : merge conflict solved
2009-03-06 22:12:47 +0100 mba r269052 : compilation error fixed
2009-03-06 17:36:37 +0100 mba r269033 : integer warning fixed
2009-03-06 10:31:19 +0100 mba r268983 : CWS-TOOLING: rebase CWS layoutdialogs2 to trunk@268395 (milestone: DEV300:m42)
2009-03-03 20:03:59 +0100 jcn r268777 : Add Notes checkbox to find-and-replace dialog in anticipation of m40 resync.
2009-03-03 15:56:20 +0100 jcn r268737 : Apply layout-find-dialog-crash-fix.diff -- fixes crasher.
From http://svn.gnome.org/viewvc/ooo-build?view=revision&revision=15378
2009-02-06 17:41:24 +0100 mba r267479 : arrrrgh - svx headers must be included behind the magic define
2009-02-05 19:44:42 +0100 mba r267439 : seems that msvc preprocessor is thick as a brick
2009-02-05 15:15:16 +0100 mba r267425 : pch added
2009-02-05 08:14:01 +0100 mba r267409 : double defined symbols fixed
2009-02-05 08:13:14 +0100 mba r267408 : compile Languagebox and FontListbox with ENABLE_LAYOUT
2009-02-05 08:07:35 +0100 mba r267406 : warning fixed
2009-02-05 08:06:42 +0100 mba r267405 : warnings and errors fixed
2009-01-30 15:51:52 +0100 mba r267206 : export Container class to compile code in sfx2
2009-01-30 15:51:14 +0100 mba r267205 : remove LAYOUT_EXPERIMENTAL from sfx2, everything now compiles with ENABLE_LAYOUT
2009-01-28 17:01:27 +0100 mba r267069 : fixed namespace problems in sfx2
2009-01-28 16:59:48 +0100 mba r267068 : fixed namespace problems
2009-01-24 13:57:06 +0100 mba r266877 : move svx stuff to experimental
2009-01-24 13:56:11 +0100 mba r266876 : move svx stuff to experimental
2009-01-24 13:52:09 +0100 mba r266875 : put sfx stuff into experimental
2009-01-24 13:28:08 +0100 mba r266874 : put sfx stuff into experimental
2009-01-24 13:26:38 +0100 mba r266873 : help msvc++ compiler a bit
2009-01-24 13:24:43 +0100 mba r266872 : warning removed
2009-01-24 13:23:21 +0100 mba r266871 : moved svx stuff to svx; put sfx stuff into experimental
2009-01-24 13:22:04 +0100 mba r266870 : moved svx stuff to svx
2009-01-05 16:35:34 +0100 jcn r265879 : config_office/configure: Regenerate. Fixes naive builds.
2008-12-17 16:06:25 +0100 jcn r265638 : Wordcount: minor HIG tweaks.
2008-12-17 16:06:21 +0100 jcn r265637 : Zoom: minor HIG spacing tweaks.
2008-12-17 16:06:16 +0100 jcn r265636 : Zoom: fix align-test and update zoom.xml.
2008-12-17 16:06:12 +0100 jcn r265635 : Zoom: add align-test.xml to illustrate zoom alignment bug.
2008-12-17 16:06:07 +0100 jcn r265634 : Find-and-Replace: request font-style-name="Bold", does not seem to work.
2008-12-17 16:06:03 +0100 jcn r265633 : Find-and-Replace: Add alignment for combobox labels.
2008-12-17 16:05:59 +0100 jcn r265632 : Find-and-Replace: Replace pairs of <flow> with <align>. Fixes ugly non-emptiness of more-<hbox>.
2008-12-17 16:05:56 +0100 jcn r265631 : Find-and-Replace: add nice 12pt border.
2008-12-17 16:05:51 +0100 jcn r265630 : Find-and-Replace: also add rowsep at lower fixedline.
2008-12-17 16:05:47 +0100 jcn r265629 : Find-and-Replace: Add poor man's colsep and rowsep substitute spaces.
2008-12-17 16:05:43 +0100 jcn r265628 : Find-and-Replace: use <vbox cnt:x-expand="false"> for buttons.
2008-12-17 16:05:40 +0100 jcn r265627 : Find-and-Replace: add <vbox>s and use cnt:expand="false" to stop vertical button expansion.
2008-12-17 16:05:36 +0100 jcn r265626 : Find-and-Replace: use sc icon. Fixes FIND button height.
2008-12-17 16:05:31 +0100 jcn r265625 : Bugfix have empty/invisible containers not take up space.
2008-12-17 16:05:27 +0100 jcn r265624 : Find-and-replace: Fix/remove most property errors.
2008-12-17 16:05:23 +0100 jcn r265623 : Table: make x, y expand default.
2008-12-17 16:05:18 +0100 jcn r265622 : Use OSL_TRACE rather than printf. Fixes warning visibility.
2008-12-17 16:05:14 +0100 jcn r265621 : Boxtest: add <vbox><table x-expand="true"> pair to trigger property errors.
2008-12-17 16:05:10 +0100 jcn r265620 : Junk extra <table> from boxtest. Fixes visual output.
2008-12-17 16:05:05 +0100 jcn r265619 : Eradicate PROPHELPER_SET_INFO: junk static caching.
2008-12-17 16:05:01 +0100 jcn r265618 : Update awk+sed localize generation rules. Fixes multiple (wrong) titles in Find & Replace.
2008-12-17 16:04:56 +0100 jcn r265617 : Use dash (-) instead of underscore (_) to separate language modifiers. Fixes en_GB etc.
2008-12-17 16:04:51 +0100 jcn r265616 : Add "defbutton=true" to dialogs. Fixes ENTER doing default action: n#439222.
2008-12-17 16:04:45 +0100 jcn r265615 : Michael's new table-based find and replace.
2008-12-17 16:04:40 +0100 jcn r265614 : Apply Michael's boxtest patch.
2008-12-17 16:04:36 +0100 jcn r265613 : Make sort-options experimental. Part II. Fixes crasher n-44.patch. Fixes crasher: n#442036.
2008-12-17 16:04:31 +0100 jcn r265612 : Make sort-options experimental. Part I.
2008-12-17 16:04:26 +0100 jcn r265611 : Add --enable-layout-experimental configure switch. Part II. Typo in configure.in, add set_soenv entry.
2008-12-17 16:04:21 +0100 jcn r265610 : Add --enable-layout-experimental configure switch. Default off.
2008-11-26 16:25:18 +0100 mba r264417 : fixed compiler warnings
2008-11-26 15:52:02 +0100 mba r264407 : fixed compiler warnings
2008-11-26 15:40:44 +0100 mba r264402 : fixed compiler warnings
2008-11-26 14:50:47 +0100 mba r264395 : fixed compiler warnings
2008-11-26 14:39:12 +0100 mba r264393 : fixed compiler warnings
2008-11-26 14:38:49 +0100 mba r264392 : fixed compiler warnings
2008-11-26 14:38:31 +0100 mba r264391 : fixed compiler warnings
2008-11-26 14:38:13 +0100 mba r264390 : fixed compiler warnings
2008-11-26 14:37:38 +0100 mba r264389 : fixed compiler warnings
2008-11-26 10:11:17 +0100 mba r264352 : fixed compiler warnings
2008-11-26 10:06:12 +0100 mba r264351 : fixed compiler warnings
2008-11-26 09:58:28 +0100 mba r264347 : fixed compiler warnings
2008-11-26 09:50:41 +0100 mba r264345 : fixed compiler warnings
2008-11-26 09:46:10 +0100 mba r264343 : fixed compiler warnings
2008-10-22 10:57:09 +0200 mba r262584 : fixed small error resulting from resolved merged conflicts
2008-10-22 10:56:21 +0200 mba r262583 : fixed some small errors resulting from resolved merged conflicts
2008-10-20 19:29:27 +0200 jcn r262557 : layoutdialogs2: Remove stray patches.
2008-10-20 19:29:22 +0200 jcn r262556 : layoutdialogs2: Force resize also on second show after hiding.
2008-10-20 19:29:17 +0200 jcn r262555 : layoutdialogs2: Do not trigger handlers for api calls.
2008-10-20 19:29:13 +0200 jcn r262554 : layoutdialogs2: Use disable/enable instead of hide/show for currency box. Fixes monster lisbox.
2008-10-20 19:29:09 +0200 jcn r262553 : layoutdialogs2: Use line-count instead of linecount. Fixes sizing of listboxes.
2008-10-20 19:29:04 +0200 jcn r262552 : layoutdialogs2: vcl: respect line-count also for non-dropdown listbox.
2008-10-20 19:28:59 +0200 jcn r262551 : layoutdialogs2: Update to svn:r14142 patched.
2008-10-20 19:28:51 +0200 jcn r262550 : layoutdialogs2: Manual tweaks in number-format.xml.
2008-10-20 19:28:45 +0200 jcn r262549 : layoutdialogs2: Integrate Number Format tabpage into Format Cell dialog.
2008-10-20 19:28:36 +0200 jcn r262548 : layoutdialogs2: Windows build fixes. Thanks Noel.
2008-10-20 19:28:31 +0200 jcn r262547 : layoutdialogs2: Layout Format Cells/Number Format tabpage.
2008-10-20 19:28:24 +0200 jcn r262546 : layoutdialogs2: Remove sc/uiconfig/layout/localize.sdf.
2008-10-20 19:28:20 +0200 jcn r262545 : layoutdialogs2: --enable-debug link fix
2008-10-20 19:28:16 +0200 jcn r262544 : layoutdialogs2: Add missing localize.sdf dependency. Thanks, Petr.
2008-10-20 19:28:12 +0200 jcn r262543 : layoutdialogs2: svx linx fixlet.
2008-10-20 19:28:06 +0200 jcn r262542 : layoutdialogs2: Move layout/* to layout/core, vclcompat to layout/vcl. Distribute layout headers. Fixes sfx2 layout core includes.
2008-10-20 19:27:58 +0200 jcn r262541 : layoutdialogs2: Build fix for --enable-layout.
2008-10-20 19:27:54 +0200 jcn r262540 : layoutdialogs2: Generate localize.sdf files in uiconfig.
2008-10-20 19:27:47 +0200 jcn r262539 : layoutdialogs2: Minimalize deprecated String use further by using OUString.
2008-10-20 19:27:42 +0200 jcn r262538 : layoutdialogs2: Implement LocalizedString.GetToken and use it for aCalcBtn. Fixes empty label.
2008-10-20 19:27:36 +0200 jcn r262537 : layoutdialogs2: Add layout::Sfx*Dialog wrapper.
2008-10-20 19:27:29 +0200 jcn r262536 : layoutdialogs2: Introduce Closing*Dialog wrappers fixing closing with ESC.
2008-10-20 19:27:24 +0200 jcn r262535 : layoutdialogs2: Support <sfxmodelessdialog> from sfx2.
2008-10-20 19:27:17 +0200 jcn r262534 : layoutdialogs2: Rename find-&-replace.xml to find-and-replace.xml. Fixes split build with failing solenv patch.
2008-10-20 19:27:12 +0200 jcn r262533 : layoutdialogs2: Do not build sfx2 when --disable-layout.
2008-10-20 19:27:08 +0200 jcn r262532 : layoutdialogs2: Ignore ja/ too.
2008-10-20 19:27:04 +0200 jcn r262531 : layoutdialogs2: Add destructors for VCLXButton, VCLXComboBox.
2008-10-20 19:26:58 +0200 jcn r262530 : layoutdialogs2: Make dialogs closable with ESC: wordcount, zoom, message-box, move-copy-sheet, insert-sheet.
2008-10-20 19:26:52 +0200 jcn r262529 : layoutdialogs2: Move some implementations to .cxx.
2008-10-20 19:26:47 +0200 jcn r262528 : layoutdialogs2: Fix simple editor crasher.
2008-10-20 19:26:43 +0200 jcn r262527 : layoutdialogs2: Further cleanup: remove clean & delete from wrapperGone.
2008-10-20 19:26:38 +0200 jcn r262526 : layoutdialogs2: Add reset logic to ~WindowImpl, plugs ComboBox and Dialog leaks.
2008-10-20 19:26:34 +0200 jcn r262525 : layoutdialogs2: Interesting hack: only leaks ::ComboBox and ::Dialog.
2008-10-20 19:26:29 +0200 jcn r262524 : layoutdialogs2: Build fix.
2008-10-20 19:26:24 +0200 jcn r262523 : layoutdialogs2: Find&Replace duplicate disposal workaround inside layout.
2008-10-20 19:26:19 +0200 jcn r262522 : layoutdialogs2: Revert "Terrible crasher-fix hack. Do not dispose Dialog or any FocusHandler owners."
This reverts commit 5222b5b123a2e6c88494983bd875de574f365bae.
2008-10-20 19:26:14 +0200 jcn r262521 : layoutdialogs2: Terrible crasher-fix hack. Do not dispose Dialog or any FocusHandler owners.
2008-10-20 19:26:08 +0200 jcn r262520 : layoutdialogs2: Revert "ComboBox: crash down to (Dialog's) VCLXWindowImpl::DestroyOutputDevice();"
This reverts commit b423129aca295e84ef5986149b6ee71eb7ba0aa3.
2008-10-20 19:26:03 +0200 jcn r262519 : layoutdialogs2: ComboBox: crash down to (Dialog's) VCLXWindowImpl::DestroyOutputDevice();
2008-10-20 19:25:57 +0200 jcn r262518 : layoutdialogs2: Handler and debug cleanup.
2008-10-20 19:25:52 +0200 jcn r262517 : layoutdialogs2: Minimally remove FixedText workaround.
2008-10-20 19:25:47 +0200 jcn r262516 : layoutdialogs2: Preparations for FocusHdl fix.
2008-10-20 19:25:42 +0200 jcn r262515 : layoutdialogs2: Remove vclxwindows patch by using handler hackery.
2008-10-20 19:25:38 +0200 jcn r262514 : layoutdialogs2: Don't call deleted dialog. Hdler reset tweaks. Fixes Find&Replace.
2008-10-20 19:25:34 +0200 jcn r262513 : layoutdialogs2: Hdler and disposing cleanups.
2008-10-20 19:25:29 +0200 jcn r262512 : layoutdialogs2: Prevent Find&Replace window from being deleted twice.
2008-10-20 19:25:24 +0200 jcn r262511 : layoutdialogs2: Add destructor to SvxSearchDialogWrapper. Fixes second invocation crasher.
2008-10-20 19:25:19 +0200 jcn r262510 : layoutdialogs2: Make Find&Replace work (once) with minimal client code changes.
2008-10-20 19:25:13 +0200 jcn r262509 : layoutdialogs2: Add ComboBox/FixedText debug switching.
2008-10-20 19:25:08 +0200 jcn r262508 : layoutdialogs2: Add destructors resetting handlers.
2008-10-20 19:25:03 +0200 jcn r262507 : layoutdialogs2: Static cast fixes.
2008-10-20 19:24:59 +0200 jcn r262506 : layoutdialogs2: Always set button handler. Fixes pushbuttons.
2008-10-20 19:24:55 +0200 jcn r262505 : layoutdialogs2: Revert "Move FocusHandlers from Control down to ListBox, ComboBox, FixedText."
This reverts commit 8bc4b991539a74373bfb1ef8792276ada8c958e4.
2008-10-20 19:24:50 +0200 jcn r262504 : layoutdialogs2: Disable Timer for ENABLE_LAYOUT.
2008-10-20 19:24:45 +0200 jcn r262503 : layoutdialogs2: Move FocusHandlers from Control down to ListBox, ComboBox, FixedText.
2008-10-20 19:24:40 +0200 jcn r262502 : layoutdialogs2: Wider small symbol.
2008-10-20 19:24:36 +0200 jcn r262501 : layoutdialogs2: Listener and SetHandler cleanup.
2008-10-20 19:24:31 +0200 jcn r262500 : layoutdialogs2: Clear mxWindow upon deletion. Fixes Find&Replace crasher.
2008-10-20 19:24:27 +0200 jcn r262499 : layoutdialogs2: Typo, fixes build.
2008-10-20 19:24:22 +0200 jcn r262498 : layoutdialogs2: Ignore .log files too.
2008-10-20 19:24:19 +0200 jcn r262497 : layoutdialogs2: By default, work around #define protected public Resource hack.
2008-10-20 19:24:15 +0200 jcn r262496 : layoutdialogs2: Sw:Find&Replace: Remove wrong static cast. Fixes crasher.
2008-10-20 19:24:10 +0200 jcn r262495 : layoutdialogs2: Find&Replace: do not vertically expand buttons, add title.
2008-10-20 19:24:06 +0200 jcn r262494 : layoutdialogs2: Find&Replace: Remove need for ResId, set help id.
2008-10-20 19:24:01 +0200 jcn r262493 : layoutdialogs2: MoreButton: redraw upon resize, fix labels, use small symbol.
2008-10-20 19:23:57 +0200 jcn r262492 : layoutdialogs2: Support setting and querying small symbol on vcl:button.
2008-10-20 19:23:52 +0200 jcn r262491 : layoutdialogs2: Support redrawing of only this, make parent optional.
2008-10-20 19:23:48 +0200 jcn r262490 : layoutdialogs2: Add Kohei's wfield patch https://bugzilla.novell.com/attachment.cgi?id=235398. Fixes n#417840.
2008-10-20 19:23:44 +0200 jcn r262489 : layoutdialogs2: Redraw [parent] upon first time visibility.
Fixes weird listbox dropdown sizing in Find & Replace.
2008-10-20 19:23:39 +0200 jcn r262488 : layoutdialogs2: Add manual layouting for Find & Replace.
2008-10-20 19:23:35 +0200 jcn r262487 : layoutdialogs2: src2xml: use label instead of text for buttons.
Run on Find & Replace; fixes button texts.
2008-10-20 19:23:31 +0200 jcn r262486 : layoutdialogs2: Add initial auto-translated find-&-replace-.xml.
2008-10-20 19:23:26 +0200 jcn r262485 : layoutdialogs2: layout importer: handle ModelessDialog.
Fixes Find & Replace parsing error.
2008-10-20 19:23:22 +0200 jcn r262484 : layoutdialogs2: src2xml: Handle multiple widgets at same x,y.
Fixes silent removal of widgets in Find & Replace dialog.
2008-10-20 19:23:18 +0200 jcn r262483 : layoutdialogs2: src2xml: Handle hide= attribute, translate to show=.
2008-10-20 19:23:14 +0200 jcn r262482 : layoutdialogs2: Only use __PRETTY_FUNCTION__ on gcc. Fixes Windows build. Thanks Tor!
2008-10-20 19:23:10 +0200 jcn r262481 : layoutdialogs2: Add two missing SAL_CALL decorations. Fixes Windows build. Thanks Tor!
2008-10-20 19:23:05 +0200 jcn r262480 : layoutdialogs2: Build fixes for layout'ed Find & Replace dialog.
2008-10-20 19:22:54 +0200 jcn r262479 : layoutdialogs2: Do not use layout::SfxTabDialog for now.
2008-10-20 19:22:47 +0200 jcn r262478 : layoutdialogs2: Crufty sizing tweaks.
2008-10-20 19:22:42 +0200 jcn r262477 : layoutdialogs2: More debugging cleanups.
2008-10-20 19:22:37 +0200 jcn r262476 : layoutdialogs2: More cleanups that result in constant manual resizing...
2008-10-20 19:22:33 +0200 jcn r262475 : layoutdialogs2: Tabdlg cleanups.
2008-10-20 19:22:28 +0200 jcn r262474 : layoutdialogs2: Add GetOptimalSize () to InPlug. Fixes auto-sizing of tabcontrol.
2008-10-20 19:22:21 +0200 jcn r262473 : layoutdialogs2: Get VCLXTabControl to resize automatically (too tall), not mousable.
2008-10-20 19:22:13 +0200 jcn r262472 : layoutdialogs2: Respect show=false property; do not show everything.
2008-10-20 19:22:09 +0200 jcn r262471 : layoutdialogs2: Add show=false on buttons. Fixes displaying everything.
2008-10-20 19:22:05 +0200 jcn r262470 : layoutdialogs2: Move some code to reduce namespace and #if hacking.
2008-10-20 19:22:00 +0200 jcn r262469 : layoutdialogs2: Cleanup, remove unneeded #defines.
2008-10-20 19:21:56 +0200 jcn r262468 : layoutdialogs2: Replace static casts with dynamic_cast, fixes layout::SfxTabDialog.
Explicitly add 2 tabpages while adding tabpages, instead of relying on ResId.
2008-10-20 19:21:51 +0200 jcn r262467 : layoutdialogs2: Use cpp hacking to remove layout-tabdialog.hxx duplication.
2008-10-20 19:21:45 +0200 jcn r262466 : layoutdialogs2: Minimize diff between layout-tabdialog.hxx and tabdlg.hxx.
2008-10-20 19:21:41 +0200 jcn r262465 : layoutdialogs2: Remove copy of SfxTabDialog; use cpp logic to create both flavours.
2008-10-20 19:21:36 +0200 jcn r262464 : layoutdialogs2: Minimize diff between layout/sfxtabdialog.cxx and source/tabdlg.cxx.
This enables the next step: use cpp logic instead of code duplication.
2008-10-20 19:21:31 +0200 jcn r262463 : layoutdialogs2: Hello world on layout::SfxTabDialog.
2008-10-20 19:21:24 +0200 jcn r262462 : layoutdialogs2: Nice `Compiling:' message that shows the file being compiled.
2008-10-20 19:21:20 +0200 jcn r262461 : layoutdialogs2: Use layout::SfxTabDialog for sort options.
2008-10-20 19:21:15 +0200 jcn r262460 : layoutdialogs2: Update sort options tab.
2008-10-20 19:21:10 +0200 jcn r262459 : layoutdialogs2: Add layout::SfxTabDialog.
2008-10-20 19:21:04 +0200 jcn r262458 : layoutdialogs2: Cleanup previous attempt using layout::SfxTabPage == layout::TabPage.
2008-10-20 19:20:57 +0200 jcn r262457 : layoutdialogs2: Windows 2003 compile fixes, i#92397.
2008-10-20 19:20:52 +0200 jcn r262456 : layoutdialogs2: Set default radiogroup when none provided.
2008-10-20 19:20:48 +0200 jcn r262455 : layoutdialogs2: Add radiogroup to sort-options. Fixes crasher.
2008-10-20 19:20:43 +0200 jcn r262454 : layoutdialogs2: Cleanup ParentSet fix.
2008-10-20 19:20:36 +0200 jcn r262453 : layoutdialogs2: Add debugging in ParentSet. Works standalone, not integrated.
2008-10-20 19:20:31 +0200 jcn r262452 : layoutdialogs2: Revert "Have InPlug not derive from Window, but have as member."
This reverts commit 50ea26eec3fe14943f24900081ad923e72550345.
2008-10-20 19:20:25 +0200 jcn r262451 : layoutdialogs2: Have InPlug not derive from Window, but have as member.
2008-10-20 19:20:20 +0200 jcn r262450 : layoutdialogs2: Move layout plugin implementation from layout::SfxTabPage to InPlug.
2008-10-20 19:20:14 +0200 jcn r262449 : layoutdialogs2: Get all widgets to display in sfxtabpage plugin with Window::SetParent hack.
2008-10-20 19:20:09 +0200 jcn r262448 : layoutdialogs2: Two-button manual hello world with sfxtabpage plugin.
2008-10-20 19:20:03 +0200 jcn r262447 : layoutdialogs2: WIP: layout::SfxTabPage derived from SfxTabPage.
2008-10-20 19:19:55 +0200 jcn r262446 : layoutdialogs2: Always set parent after construction, fixes listbox dropdown.
2008-10-20 19:19:51 +0200 jcn r262445 : layoutdialogs2: Fix radio button crasher.
2008-10-20 19:19:47 +0200 jcn r262444 : layoutdialogs2: Implement ListBox method wrappers. Fixes filling of listbox.
2008-10-20 19:19:42 +0200 jcn r262443 : layoutdialogs2: Convert Move/Copy sheet to layout engine.
2008-10-20 19:19:35 +0200 jcn r262442 : layoutdialogs2: Also hide yes/no buttons if not used.
2008-10-20 19:19:31 +0200 jcn r262441 : layoutdialogs2: Elaborate on changing client code.
2008-10-20 19:19:26 +0200 jcn r262440 : layoutdialogs2: Implement winbits client-code compatibility for Message Boxes.
2008-10-20 19:19:21 +0200 jcn r262439 : layoutdialogs2: Add localize.sdf to toolkit uiconfig. Fixes build.
2008-10-20 19:19:17 +0200 jcn r262438 : layoutdialogs2: Do not use ti_layout twice in toolkit build.lst. Fixes build.
2008-10-20 19:19:13 +0200 jcn r262437 : layoutdialogs2: Oops, also dist toolkit-layout.zip.
2008-10-20 19:19:09 +0200 jcn r262436 : layoutdialogs2: Move layout.mk to solenv.
2008-10-20 19:19:03 +0200 jcn r262435 : layoutdialogs2: Add handy TEST file.
2008-10-20 19:18:58 +0200 jcn r262434 : layoutdialogs2: Implement MessageBox and wrappers ErrorBox, InfoBox, QueryBox, WarningBox.
2008-10-20 19:18:52 +0200 jcn r262433 : layoutdialogs2: QueryBox without image used for Delete Sheet dialog.
2008-10-20 19:18:46 +0200 jcn r262432 : layoutdialogs2: WIP QueryBox.
2008-10-20 19:18:39 +0200 jcn r262431 : layoutdialogs2: Add insert-sheet localization.
2008-10-20 19:18:34 +0200 jcn r262430 : layoutdialogs2: Run indent-region on zoom.xml, distribute it.
2008-10-20 19:18:30 +0200 jcn r262429 : layoutdialogs2: Dist xml files too.
2008-10-20 19:18:26 +0200 jcn r262428 : layoutdialogs2: Add insert-sheet.xml to workben.
2008-10-20 19:18:22 +0200 jcn r262427 : layoutdialogs2: Update layout TODO.
2008-10-20 19:18:18 +0200 jcn r262426 : layoutdialogs2: Cleanups and add comments.
2008-10-20 19:18:13 +0200 jcn r262425 : layoutdialogs2: Keep RadioButtons::RadioButton callback at HEAD of list.
Fixes radiobutton grouping.
2008-10-20 19:18:07 +0200 jcn r262424 : layoutdialogs2: Remove IMPORT_RADIOGROUP cruft.
2008-10-20 19:18:02 +0200 jcn r262423 : layoutdialogs2: Have code check fire event for radio button.
Fixes radio button grouping.
2008-10-20 19:17:58 +0200 jcn r262422 : layoutdialogs2: Enable IMPORT_RADIOGROUP flag.
2008-10-20 19:17:54 +0200 jcn r262421 : layoutdialogs2: Add radio groups to zoom.xml.
2008-10-20 19:17:50 +0200 jcn r262420 : layoutdialogs2: Move RadioGroup implementation to cxx file.
2008-10-20 19:17:45 +0200 jcn r262419 : layoutdialogs2: Manually set help id for insert table.
2008-10-20 19:17:41 +0200 jcn r262418 : layoutdialogs2: Cosmetic fixes for insert-sheet.
2008-10-20 19:17:37 +0200 jcn r262417 : layoutdialogs2: FindAndRemove now also skips translation prefix.
Fixes setting of title etc. from nontranslated xml.
2008-10-20 19:17:32 +0200 jcn r262416 : layoutdialogs2: Manually set help id for zoom and wordcount dialogs.
2008-10-20 19:17:27 +0200 jcn r262415 : layoutdialogs2: Set help-id from xml.
2008-10-20 19:17:21 +0200 jcn r262414 : layoutdialogs2: Move -DENABLE_LAYOUT from stray makefiles to settings.mk.
2008-10-20 19:17:13 +0200 jcn r262413 : layoutdialogs2: Initial conversion of insert-sheet dialog.
2008-10-20 19:17:08 +0200 jcn r262412 : layoutdialogs2: Add wrappers for {Get,Set}{Pointer,Text}.
2008-10-20 19:17:04 +0200 jcn r262411 : layoutdialogs2: Toolkit layout dialog copy updates.
2008-10-20 19:16:59 +0200 jcn r262410 : layoutdialogs2: Cleanup #include <layout*> disaster.
Fixes multiple inclusions of layout-pre, layout-post.
2008-10-20 19:16:53 +0200 jcn r262409 : layoutdialogs2: Implement Get,Set{,Smart}HelpId ().
2008-10-20 19:16:49 +0200 jcn r262408 : layoutdialogs2: Make some getters const.
2008-10-20 19:16:45 +0200 jcn r262407 : layoutdialogs2: Manual tweaks for string-input.xml.
2008-10-20 19:16:40 +0200 jcn r262406 : layoutdialogs2: Add string-input.xml.
2008-10-20 19:16:36 +0200 jcn r262405 : layoutdialogs2: Add dummy implementation for SetHelpId etc.
2008-10-20 19:16:32 +0200 jcn r262404 : layoutdialogs2: Actually say *what* file cannot be copied *where*. Sigh.
2008-10-20 19:16:27 +0200 jcn r262403 : layoutdialogs2: Thinko in macro name. Fixes compilation of strindlg.cxx.
2008-10-20 19:16:22 +0200 jcn r262402 : layoutdialogs2: Add layout includes to stringdlg and makefile.
2008-10-20 19:16:17 +0200 jcn r262401 : layoutdialogs2: Add sc/uiconfig/layout/localize.sdf
2008-10-20 19:16:13 +0200 jcn r262400 : layoutdialogs2: Oops, build sc/uiconfig/layout.
2008-10-20 19:16:09 +0200 jcn r262399 : layoutdialogs2: Have virtual destructor on Context, delete TabPage when deleting TabDialog.
2008-10-20 19:16:04 +0200 jcn r262398 : layoutdialogs2: Actually delete layout::TabPage objects when deleting SfxTabdialog.
2008-10-20 19:16:00 +0200 jcn r262397 : layoutdialogs2: Workaround for second invocation crash of sort dialog options tab.
2008-10-20 19:15:56 +0200 jcn r262396 : layoutdialogs2: Handle Reset button.
2008-10-20 19:15:51 +0200 jcn r262395 : layoutdialogs2: Also install sc xml zip file.
2008-10-20 19:15:46 +0200 jcn r262394 : layoutdialogs2: Integrate sort-options into sc.
2008-10-20 19:15:41 +0200 jcn r262393 : layoutdialogs2: Revert "Fix sfx2 compile warnings."
This reverts commit 8b55d402af7bd217db35f67b02dc92f93f3ada5d.
2008-10-20 19:15:34 +0200 jcn r262392 : layoutdialogs2: Remove debuging.
2008-10-20 19:15:30 +0200 jcn r262391 : layoutdialogs2: Pass set argument to layout::TabPage. Fixes OO.o integration crasher.
2008-10-20 19:15:24 +0200 jcn r262390 : layoutdialogs2: Ignore more.
2008-10-20 19:15:20 +0200 jcn r262389 : layoutdialogs2: Oops, make just one (1) sort-options tab.
2008-10-20 19:15:15 +0200 jcn r262388 : layoutdialogs2: Revert macroconf compile warnings.
2008-10-20 19:15:09 +0200 jcn r262387 : layoutdialogs2: Fix sfx2 compile warnings.
2008-10-20 19:15:01 +0200 jcn r262386 : layoutdialogs2: Collapsed tabpage and sort-options development.
2008-10-20 19:14:51 +0200 jcn r262385 : layoutdialogs2: Make dev300/src680 install layout switchable at compile time.
2008-10-20 19:14:47 +0200 jcn r262384 : layoutdialogs2: Update README, add README.
2008-10-20 19:14:43 +0200 jcn r262383 : layoutdialogs2: Repainting, hiding stuff.
2008-10-20 19:14:38 +0200 jcn r262382 : layoutdialogs2: Add allocateArea to VCLXTabPage.
2008-10-20 19:14:34 +0200 jcn r262381 : layoutdialogs2: Revert "Use VCLXContainer as base for VCLXTabPage."
This reverts commit 06a984434d0d2c356fd0cdaf96d6d613d5147b7c.
2008-10-20 19:14:30 +0200 jcn r262380 : layoutdialogs2: Use VCLXContainer as base for VCLXTabPage.
2008-10-20 19:14:26 +0200 jcn r262379 : layoutdialogs2: Revert "Derive VCLXTabPage from VBox."
This reverts commit 8ab66364bdc08151ce2c982c1aa03f7881d86b84.
2008-10-20 19:14:22 +0200 jcn r262378 : layoutdialogs2: Derive VCLXTabPage from VBox.
2008-10-20 19:14:17 +0200 jcn r262377 : layoutdialogs2: More cleanups and testing.
2008-10-20 19:14:12 +0200 jcn r262376 : layoutdialogs2: Get layout tabpage to nicely select. No content visible, though.
2008-10-20 19:14:07 +0200 jcn r262375 : layoutdialogs2: Support ScTabPageSortOptions in standalone test.
2008-10-20 19:14:02 +0200 jcn r262374 : layoutdialogs2: Support tabpage creation from xml.
2008-10-20 19:13:56 +0200 jcn r262373 : layoutdialogs2: Remove most TEST_LAYOUT conditionals.
2008-10-20 19:13:52 +0200 jcn r262372 : layoutdialogs2: Remove Args effort.
2008-10-20 19:13:48 +0200 jcn r262371 : layoutdialogs2: Attempt to create ArgSet.
2008-10-20 19:13:44 +0200 jcn r262370 : layoutdialogs2: Compile more.
2008-10-20 19:13:39 +0200 jcn r262369 : layoutdialogs2: Add sortdlg.
2008-10-20 19:13:35 +0200 jcn r262368 : layoutdialogs2: Oops, ID fix.
2008-10-20 19:13:30 +0200 jcn r262367 : layoutdialogs2: Build fix.
2008-10-20 19:13:26 +0200 jcn r262366 : layoutdialogs2: Revert "Use ::Window for plugin base iso ::Control."
This reverts commit 919ddaf2f52ad5e4df877a094cd1e336888d6210.
2008-10-20 19:13:21 +0200 jcn r262365 : layoutdialogs2: Plugin dialog cleanups.
2008-10-20 19:13:17 +0200 jcn r262364 : layoutdialogs2: Use ::Window for plugin base iso ::Control.
2008-10-20 19:13:12 +0200 jcn r262363 : layoutdialogs2: Use cstdio, remove cruft.
2008-10-20 19:13:07 +0200 jcn r262362 : layoutdialogs2: Remove cruft.
2008-10-20 19:13:02 +0200 jcn r262361 : layoutdialogs2: Remove sizing mess.
2008-10-20 19:12:57 +0200 jcn r262360 : layoutdialogs2: Trigger [re]draw of DialControl.
2008-10-20 19:12:53 +0200 jcn r262359 : layoutdialogs2: DialControl window behaves nicely and invisible.
2008-10-20 19:12:48 +0200 jcn r262358 : layoutdialogs2: Revert adding of setparent.
2008-10-20 19:12:43 +0200 jcn r262357 : layoutdialogs2: Add dialog::setparent to plugin.
2008-10-20 19:12:39 +0200 jcn r262356 : layoutdialogs2: Add a setProperty for VCLXPlugin.
2008-10-20 19:12:34 +0200 jcn r262355 : layoutdialogs2: Unhide plugin.
2008-10-20 19:12:30 +0200 jcn r262354 : layoutdialogs2: Revert.
2008-10-20 19:12:25 +0200 jcn r262353 : layoutdialogs2: Use window instead of control.
2008-10-20 19:12:20 +0200 jcn r262352 : layoutdialogs2: Lots of plugin settings.
2008-10-20 19:12:16 +0200 jcn r262351 : layoutdialogs2: More hacks.
2008-10-20 19:12:11 +0200 jcn r262350 : layoutdialogs2: Compile fixes.
2008-10-20 19:12:05 +0200 jcn r262349 : layoutdialogs2: Use c++ includes.
2008-10-20 19:12:00 +0200 jcn r262348 : layoutdialogs2: Junk UnoTunnel nonsense.
2008-10-20 19:11:55 +0200 jcn r262347 : layoutdialogs2: Remove more cruft.
2008-10-20 19:11:50 +0200 jcn r262346 : layoutdialogs2: Remove cruft.
2008-10-20 19:11:44 +0200 jcn r262345 : layoutdialogs2: Rename wrap to plugin.
2008-10-20 19:11:39 +0200 jcn r262344 : layoutdialogs2: All sorry tries.
2008-10-20 19:11:33 +0200 jcn r262343 : layoutdialogs2: Rename plugin to wrap.
2008-10-20 19:11:28 +0200 jcn r262342 : layoutdialogs2: Add ifdefs, no UNOTUNNEL, no crash on exit.
2008-10-20 19:11:23 +0200 jcn r262341 : layoutdialogs2: Redo all kind of Uno and XIface weirdness.
2008-10-20 19:11:17 +0200 jcn r262340 : layoutdialogs2: Remove extra UnoTunnel.
2008-10-20 19:11:12 +0200 jcn r262339 : layoutdialogs2: Plugin hello world. TODO: parenting/owning/sizing, ... etc.
2008-10-20 19:11:06 +0200 jcn r262338 : layoutdialogs2: Zoom updates.
2008-10-20 19:11:01 +0200 jcn r262337 : layoutdialogs2: Add missing controls.
2008-10-20 19:10:56 +0200 jcn r262336 : layoutdialogs2: Add .gitignore.
2009-04-21 16:06:18 +00:00
|
|
|
#include <layout/layout.hxx>
|
2009-11-17 12:33:55 +01:00
|
|
|
#include <IMark.hxx>
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
class SwBaseShell;
|
|
|
|
class Button;
|
|
|
|
class ImageButton;
|
|
|
|
class SwTxtFmtColl;
|
|
|
|
class SwPageDesc;
|
|
|
|
class SwFrmFmt;
|
|
|
|
class SwCharFmt;
|
|
|
|
class SwNumRule;
|
|
|
|
class SwViewOption;
|
|
|
|
class SwGlossaryHdl;
|
|
|
|
class SwDrawBase;
|
|
|
|
class SvxRuler;
|
|
|
|
class SvxLRSpaceItem;
|
|
|
|
class SwDocShell;
|
|
|
|
class SwScrollbar;
|
|
|
|
class SvxVCBrowser;
|
|
|
|
class SvBorder;
|
|
|
|
class Ruler;
|
|
|
|
class OutlinerView;
|
|
|
|
class SvxSearchItem;
|
|
|
|
class SearchAttrItemList;
|
|
|
|
class SvxSearchDialog;
|
|
|
|
class SdrView;
|
|
|
|
class Dialog;
|
|
|
|
class SdrObject;
|
|
|
|
class SdrPageView;
|
|
|
|
class SwNaviImageButton;
|
|
|
|
class SwHlpImageButton;
|
|
|
|
class Outliner;
|
|
|
|
class SwView;
|
|
|
|
class SwEditWin;
|
|
|
|
class SwWrtShell;
|
|
|
|
class SwView_Impl;
|
|
|
|
class XSelectionObject;
|
|
|
|
struct SwSearchOptions;
|
|
|
|
class FmFormShell;
|
|
|
|
class CommandEvent;
|
|
|
|
class InsCaptionOpt;
|
|
|
|
class SvGlobalName;
|
|
|
|
class SvtAccessibilityOptions;
|
|
|
|
class SwTransferable;
|
|
|
|
class SwMailMergeConfigItem;
|
|
|
|
class SwTxtNode; // #i23726#
|
2009-08-14 13:56:56 +00:00
|
|
|
class SwPrintData;
|
2006-07-26 14:50:43 +00:00
|
|
|
class SwFormatClipboard;
|
|
|
|
struct SwConversionArgs;
|
|
|
|
class Graphic;
|
|
|
|
class GraphicFilter;
|
2008-02-19 12:57:20 +00:00
|
|
|
class SwPostItMgr;
|
2009-11-17 12:33:55 +01:00
|
|
|
class SwFieldBookmark;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
namespace com{ namespace sun { namespace star {
|
|
|
|
namespace view{ class XSelectionSupplier; }
|
|
|
|
}}}
|
2006-11-22 09:27:41 +00:00
|
|
|
namespace sfx2 { class FileDialogHelper; }
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
const long nLeftOfst = -370;
|
|
|
|
const long nScrollX = 30;
|
|
|
|
const long nScrollY = 30;
|
|
|
|
|
|
|
|
#define MINZOOM 20
|
|
|
|
#define MAXZOOM 600
|
|
|
|
|
|
|
|
#define MAX_MARKS 5
|
|
|
|
|
|
|
|
#define CHILDWIN_LABEL 1
|
|
|
|
#define CHILDWIN_MAILMERGE 2
|
|
|
|
|
|
|
|
enum ShellModes
|
|
|
|
{
|
2007-09-27 11:14:01 +00:00
|
|
|
SHELL_MODE_TEXT,
|
|
|
|
SHELL_MODE_FRAME,
|
|
|
|
SHELL_MODE_GRAPHIC,
|
|
|
|
SHELL_MODE_OBJECT,
|
|
|
|
SHELL_MODE_DRAW,
|
|
|
|
SHELL_MODE_DRAW_CTRL,
|
|
|
|
SHELL_MODE_DRAW_FORM,
|
|
|
|
SHELL_MODE_DRAWTEXT,
|
|
|
|
SHELL_MODE_BEZIER,
|
|
|
|
SHELL_MODE_LIST_TEXT,
|
|
|
|
SHELL_MODE_TABLE_TEXT,
|
|
|
|
SHELL_MODE_TABLE_LIST_TEXT,
|
|
|
|
SHELL_MODE_MEDIA,
|
|
|
|
SHELL_MODE_EXTRUDED_CUSTOMSHAPE,
|
2008-02-19 12:57:20 +00:00
|
|
|
SHELL_MODE_FONTWORK,
|
2011-01-06 12:08:48 +01:00
|
|
|
SHELL_MODE_POSTIT,
|
|
|
|
SHELL_MODE_NAVIGATION
|
2006-07-26 14:50:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------
|
2011-04-21 21:52:58 +02:00
|
|
|
Description: apply a template
|
2006-07-26 14:50:43 +00:00
|
|
|
--------------------------------------------------------------------*/
|
|
|
|
struct SwApplyTemplate
|
|
|
|
{
|
|
|
|
union
|
|
|
|
{
|
|
|
|
SwTxtFmtColl* pTxtColl;
|
|
|
|
SwPageDesc* pPageDesc;
|
|
|
|
SwFrmFmt* pFrmFmt;
|
|
|
|
SwCharFmt* pCharFmt;
|
|
|
|
SwNumRule* pNumRule;
|
|
|
|
} aColl;
|
|
|
|
|
|
|
|
int eType;
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nColor;
|
2006-07-26 14:50:43 +00:00
|
|
|
SwFormatClipboard* pFormatClipboard;
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool bUndo;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
SwApplyTemplate() :
|
|
|
|
eType(0),
|
|
|
|
nColor(0),
|
|
|
|
pFormatClipboard(0),
|
2011-01-17 15:06:54 +01:00
|
|
|
bUndo(sal_False)
|
2006-07-26 14:50:43 +00:00
|
|
|
{
|
|
|
|
aColl.pTxtColl = 0;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------
|
2011-04-21 21:52:58 +02:00
|
|
|
Description: view of a document
|
2006-07-26 14:50:43 +00:00
|
|
|
--------------------------------------------------------------------*/
|
|
|
|
class SW_DLLPUBLIC SwView: public SfxViewShell
|
|
|
|
{
|
2011-04-21 21:52:58 +02:00
|
|
|
// exhibition hack (MA,MBA)
|
2006-07-26 14:50:43 +00:00
|
|
|
friend void lcl_SelectShellForDrop( SwView &rView );
|
|
|
|
|
|
|
|
friend class TestTemplateItem;
|
|
|
|
friend class SwHHCWrapper;
|
|
|
|
friend class SwHyphWrapper;
|
|
|
|
friend class SwView_Impl;
|
|
|
|
friend class SwClipboardChangeListener;
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// search & replace
|
2006-07-26 14:50:43 +00:00
|
|
|
static SvxSearchDialog *pSrchDlg;
|
|
|
|
static SvxSearchItem *pSrchItem;
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
static sal_uInt16 nInsertCtrlState;
|
|
|
|
static sal_uInt16 nWebInsertCtrlState;
|
|
|
|
static sal_uInt16 nInsertObjectCtrlState;
|
|
|
|
static sal_uInt16 nInsertFieldCtrlState;
|
2011-04-21 21:52:58 +02:00
|
|
|
static sal_uInt16 nMoveType; // for buttons below the scrollbar (viewmdi)
|
|
|
|
static sal_Int32 nActMark; // current jump mark for unknown mark
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
static sal_Bool bExtra;
|
|
|
|
static sal_Bool bFound;
|
|
|
|
static sal_Bool bJustOpened;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
static SearchAttrItemList* pSrchList;
|
|
|
|
static SearchAttrItemList* pReplList;
|
|
|
|
|
|
|
|
|
2010-01-13 22:25:07 +01:00
|
|
|
SvxHtmlOptions aHTMLOpt;
|
2011-04-21 21:52:58 +02:00
|
|
|
Timer aTimer; // for delayed ChgLnks during an action
|
|
|
|
String aPageStr; // status view, current page
|
2006-07-26 14:50:43 +00:00
|
|
|
String sSwViewData,
|
|
|
|
//and the new cursor position if the user double click in the PagePreView
|
|
|
|
sNewCrsrPos;
|
|
|
|
// to support keyboard the number of the page to go to can be set too
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nNewPage;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
Point aTabColFromDocPos; // moving table colmns out of the document
|
2006-07-26 14:50:43 +00:00
|
|
|
SwTxtNode * pNumRuleNodeFromDoc; // Moving indent of numrule #i23726#
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
Size aDocSz; // current document size
|
|
|
|
Rectangle aVisArea; // visible region
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
SwEditWin *pEditWin;
|
|
|
|
SwWrtShell *pWrtShell;
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
SfxShell *pShell; // current SubShell at the dispatcher
|
2006-07-26 14:50:43 +00:00
|
|
|
FmFormShell *pFormShell; // DB-FormShell
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
SwView_Impl *pViewImpl; // Impl-data for UNO + Basic
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
SwScrollbar *pHScrollbar, // MDI control elements
|
2006-07-26 14:50:43 +00:00
|
|
|
*pVScrollbar;
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
Window *pScrollFill; // dummy window for filling the lower right edge
|
|
|
|
// when both scrollbars are active
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
SvxRuler *pHRuler,
|
|
|
|
*pVRuler;
|
|
|
|
ImageButton *pTogglePageBtn;
|
|
|
|
|
|
|
|
SwHlpImageButton *pPageUpBtn,
|
|
|
|
*pPageDownBtn;
|
|
|
|
|
|
|
|
SwNaviImageButton *pNaviBtn;
|
2011-04-21 21:52:58 +02:00
|
|
|
SwGlossaryHdl *pGlosHdl; // handle text block
|
2006-07-26 14:50:43 +00:00
|
|
|
SwDrawBase *pDrawActual;
|
|
|
|
|
|
|
|
const SwFrmFmt *pLastTableFormat;
|
|
|
|
|
|
|
|
SwFormatClipboard *pFormatClipboard; //holds data for format paintbrush
|
|
|
|
|
2008-02-19 12:57:20 +00:00
|
|
|
SwPostItMgr *mpPostItMgr;
|
|
|
|
|
2006-07-26 14:50:43 +00:00
|
|
|
int nSelectionType;
|
2011-02-10 11:21:11 +01:00
|
|
|
FloatingWindow *mpFieldPopup;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
static const int MASTERENUMCOMMANDS = 6;
|
|
|
|
|
|
|
|
String aCurrShapeEnumCommand[ MASTERENUMCOMMANDS ];
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nPageCnt;
|
2009-02-18 13:14:22 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// current draw mode
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nDrawSfxId;
|
2006-07-26 14:50:43 +00:00
|
|
|
String sDrawCustom; //some drawing types are marked with strings!
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nFormSfxId;
|
|
|
|
sal_uInt16 nLastPasteDestination;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
// save the border distance status from SwView::StateTabWin to re-use it in SwView::ExecTabWin()
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nLeftBorderDistance;
|
|
|
|
sal_uInt16 nRightBorderDistance;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool bCenterCrsr : 1,
|
2006-07-26 14:50:43 +00:00
|
|
|
bTopCrsr : 1,
|
|
|
|
bAllwaysShowSel : 1,
|
|
|
|
bTabColFromDoc : 1,
|
|
|
|
bNumIndentFromDoc : 1, // #i23726#
|
|
|
|
bTabRowFromDoc : 1,
|
|
|
|
bSetTabColFromDoc : 1 ,
|
|
|
|
bSetTabRowFromDoc : 1,
|
|
|
|
bAttrChgNotified : 1,
|
|
|
|
bAttrChgNotifiedWithRegistrations : 1,
|
|
|
|
bVerbsActive : 1,
|
|
|
|
bDrawRotate : 1,
|
|
|
|
bDrawSelMode : 1,
|
|
|
|
bShowAtResize : 1,
|
|
|
|
bInOuterResizePixel : 1,
|
|
|
|
bInInnerResizePixel : 1,
|
|
|
|
bPasteState : 1,
|
|
|
|
bPasteSpecialState : 1,
|
|
|
|
bInMailMerge : 1,
|
|
|
|
bInDtor : 1, //detect destructor to prevent creating of sub shells while closing
|
|
|
|
bOldShellWasPagePreView : 1,
|
2011-03-23 07:52:55 +01:00
|
|
|
bIsPreviewDoubleClick : 1, // #i114045#
|
2011-06-29 10:31:24 +02:00
|
|
|
bMakeSelectionVisible : 1; // transport the bookmark selection
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// methods for searching
|
|
|
|
// set search context
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE sal_Bool SearchAndWrap(sal_Bool bApi = sal_False);
|
|
|
|
SW_DLLPRIVATE sal_Bool SearchAll(sal_uInt16* pFound = 0);
|
|
|
|
SW_DLLPRIVATE sal_uLong FUNC_Search( const SwSearchOptions& rOptions );
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE void Replace();
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool IsDocumentBorder();
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE sal_Bool IsTextTool() const;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// create control elements
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE void CreateBtns();
|
|
|
|
SW_DLLPRIVATE DECL_LINK( BtnPage, Button * );
|
|
|
|
|
|
|
|
SW_DLLPRIVATE DECL_LINK( TimeoutHdl, Timer * );
|
|
|
|
SW_DLLPRIVATE DECL_LINK( UpdatePercentHdl, GraphicFilter* );
|
|
|
|
|
2010-01-13 22:25:07 +01:00
|
|
|
SW_DLLPRIVATE DECL_LINK( HtmlOptionsHdl, void * );
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-02-10 11:21:11 +01:00
|
|
|
SW_DLLPRIVATE DECL_LINK( FieldPopupModeEndHdl, FloatingWindow * );
|
|
|
|
|
2006-07-26 14:50:43 +00:00
|
|
|
inline long GetXScroll() const;
|
|
|
|
inline long GetYScroll() const;
|
|
|
|
SW_DLLPRIVATE Point AlignToPixel(const Point& rPt) const;
|
|
|
|
SW_DLLPRIVATE void CalcPt( Point* pPt,const Rectangle& rRect,
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nRangeX = USHRT_MAX,
|
|
|
|
sal_uInt16 nRangeY = USHRT_MAX);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE sal_Bool GetPageScrollUpOffset(SwTwips& rOff) const;
|
|
|
|
SW_DLLPRIVATE sal_Bool GetPageScrollDownOffset(SwTwips& rOff) const;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// scrollbar movements
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE long PageUp();
|
|
|
|
SW_DLLPRIVATE long PageDown();
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE long PageUpCrsr(sal_Bool bSelect);
|
|
|
|
SW_DLLPRIVATE long PageDownCrsr(sal_Bool bSelect);
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE long PhyPageUp();
|
|
|
|
SW_DLLPRIVATE long PhyPageDown();
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE int _CreateScrollbar( sal_Bool bHori );
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE DECL_LINK( ScrollHdl, SwScrollbar * );
|
|
|
|
SW_DLLPRIVATE DECL_LINK( EndScrollHdl, SwScrollbar * );
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE sal_Bool UpdateScrollbars();
|
2010-09-15 11:03:16 +02:00
|
|
|
SW_DLLPRIVATE DECL_LINK( WindowChildEventListener, VclSimpleEvent* );
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE void CalcVisArea( const Size &rPixelSz );
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE void CreatePageButtons(sal_Bool bShow);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// linguistics functions
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE void HyphenateDocument();
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE sal_Bool IsDrawTextHyphenate();
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE void HyphenateDrawText();
|
|
|
|
SW_DLLPRIVATE void StartThesaurus();
|
|
|
|
|
|
|
|
// text conversion
|
|
|
|
SW_DLLPRIVATE void StartTextConversion( LanguageType nSourceLang, LanguageType nTargetLang, const Font *pTargetFont, sal_Int32 nOptions, sal_Bool bIsInteractive );
|
|
|
|
|
|
|
|
// used for spell checking and text conversion
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE void SpellStart( SvxSpellArea eSpell, sal_Bool bStartDone,
|
|
|
|
sal_Bool bEndDone, SwConversionArgs *pConvArgs = 0 );
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE void SpellEnd( SwConversionArgs *pConvArgs = 0 );
|
|
|
|
|
|
|
|
SW_DLLPRIVATE void HyphStart( SvxSpellArea eSpell );
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE sal_Bool CheckSpecialCntnt();
|
|
|
|
SW_DLLPRIVATE void SpellKontext(sal_Bool bOn = sal_True)
|
2006-07-26 14:50:43 +00:00
|
|
|
{ bCenterCrsr = bOn; bAllwaysShowSel = bOn; }
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// methods for printing
|
2011-01-24 17:22:01 +01:00
|
|
|
SW_DLLPRIVATE virtual SfxPrinter* GetPrinter( sal_Bool bCreate = sal_False );
|
2006-07-26 14:50:43 +00:00
|
|
|
SfxTabPage* CreatePrintOptionsPage( Window* pParent,
|
|
|
|
const SfxItemSet& rSet);
|
2011-04-21 21:52:58 +02:00
|
|
|
// for readonly switching
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
|
|
|
|
SW_DLLPRIVATE void _CheckReadonlyState();
|
|
|
|
SW_DLLPRIVATE void _CheckReadonlySelection();
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// method for rotating PageDesc
|
2006-07-26 14:50:43 +00:00
|
|
|
SW_DLLPRIVATE void SwapPageMargin(const SwPageDesc&, SvxLRSpaceItem& rLR);
|
|
|
|
|
|
|
|
SW_DLLPRIVATE void _SetZoom( const Size &rEditSz,
|
|
|
|
SvxZoomType eZoomType,
|
|
|
|
short nFactor = 100,
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool bViewOnly = sal_False);
|
|
|
|
SW_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool bInner );
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
SW_DLLPRIVATE void ShowAtResize();
|
|
|
|
|
|
|
|
SW_DLLPRIVATE virtual void Move();
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
SW_DLLPRIVATE sal_Bool InsertGraphicDlg( SfxRequest& );
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
SwView_Impl* GetViewImpl() {return pViewImpl;}
|
|
|
|
|
|
|
|
void ImpSetVerb( int nSelType );
|
|
|
|
|
|
|
|
int GetSelectionType() const { return nSelectionType; }
|
|
|
|
void SetSelectionType(int nSet) { nSelectionType = nSet;}
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// for SwWebView
|
2006-07-26 14:50:43 +00:00
|
|
|
void SetShell( SfxShell* pS ) { pShell = pS; }
|
|
|
|
void SetFormShell( FmFormShell* pSh ) { pFormShell = pSh; }
|
|
|
|
|
|
|
|
virtual void SelectShell();
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
virtual void Activate(sal_Bool);
|
|
|
|
virtual void Deactivate(sal_Bool);
|
2006-07-26 14:50:43 +00:00
|
|
|
virtual void InnerResizePixel( const Point &rOfs, const Size &rSize );
|
|
|
|
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize );
|
|
|
|
virtual Size GetOptimalSizePixel() const;
|
|
|
|
|
|
|
|
void SetImageButtonColor(Color& rColor);
|
|
|
|
|
|
|
|
const SwFrmFmt* GetLastTblFrmFmt() const {return pLastTableFormat;}
|
|
|
|
void SetLastTblFrmFmt(const SwFrmFmt* pSet) {pLastTableFormat = pSet;}
|
|
|
|
|
|
|
|
// form letter execution
|
2011-01-17 15:06:54 +01:00
|
|
|
void GenerateFormLetter(sal_Bool bUseCurrentDocument);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2007-10-22 14:24:56 +00:00
|
|
|
using SfxShell::GetDispatcher;
|
|
|
|
|
2006-07-26 14:50:43 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
SFX_DECL_VIEWFACTORY(SwView);
|
2007-09-27 11:14:01 +00:00
|
|
|
SFX_DECL_INTERFACE(SW_VIEWSHELL)
|
2006-07-26 14:50:43 +00:00
|
|
|
TYPEINFO();
|
|
|
|
|
|
|
|
SfxDispatcher &GetDispatcher();
|
|
|
|
|
|
|
|
void GotFocus() const;
|
|
|
|
virtual SdrView* GetDrawView() const;
|
2007-04-25 13:48:32 +00:00
|
|
|
virtual sal_Bool HasUIFeature( sal_uInt32 nFeature );
|
2011-03-14 16:51:14 +00:00
|
|
|
virtual void ShowCursor( bool bOn = sal_True );
|
2006-07-26 14:50:43 +00:00
|
|
|
virtual ErrCode DoVerb( long nVerb );
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
virtual sal_uInt16 SetPrinter( SfxPrinter* pNew,
|
|
|
|
sal_uInt16 nDiff = SFX_PRINTER_ALL, bool bIsAPI=false);
|
2006-07-26 14:50:43 +00:00
|
|
|
ShellModes GetShellMode();
|
|
|
|
|
|
|
|
com::sun::star::view::XSelectionSupplier* GetUNOObject();
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
String GetSelectionTextParam( sal_Bool bCompleteWords,
|
|
|
|
sal_Bool bEraseTrail );
|
|
|
|
virtual sal_Bool HasSelection( sal_Bool bText ) const;
|
|
|
|
virtual String GetSelectionText( sal_Bool bCompleteWords = sal_False );
|
|
|
|
virtual sal_uInt16 PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False );
|
2006-07-26 14:50:43 +00:00
|
|
|
virtual void MarginChanged();
|
|
|
|
|
2009-11-25 16:52:25 +00:00
|
|
|
// replace word/selection with text from the thesaurus
|
|
|
|
// (this code has special handling for "in word" character)
|
|
|
|
void InsertThesaurusSynonym( const String &rSynonmText, const String &rLookUpText, bool bValidSelection );
|
|
|
|
bool IsValidSelectionForThesaurus() const;
|
|
|
|
String GetThesaurusLookUpText( bool bSelection ) const;
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// immediately switch shell -> for GetSelectionObject
|
2006-07-26 14:50:43 +00:00
|
|
|
void StopShellTimer();
|
|
|
|
|
|
|
|
inline SwWrtShell& GetWrtShell () const { return *pWrtShell; }
|
|
|
|
inline SwWrtShell* GetWrtShellPtr() const { return pWrtShell; }
|
|
|
|
|
|
|
|
inline SwEditWin &GetEditWin() { return *pEditWin; }
|
|
|
|
inline const SwEditWin &GetEditWin () const { return *pEditWin; }
|
|
|
|
|
2010-06-25 13:15:03 +02:00
|
|
|
#if defined WNT || defined UNX
|
2006-07-26 14:50:43 +00:00
|
|
|
void ScannerEventHdl( const ::com::sun::star::lang::EventObject& rEventObject );
|
|
|
|
#endif
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// hand the handler for text blocks to the shell; create if applicable
|
2006-07-26 14:50:43 +00:00
|
|
|
SwGlossaryHdl* GetGlosHdl();
|
|
|
|
|
|
|
|
inline const Rectangle& GetVisArea() const { return aVisArea; }
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool IsScroll(const Rectangle& rRect) const;
|
2006-07-26 14:50:43 +00:00
|
|
|
void Scroll( const Rectangle& rRect,
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_uInt16 nRangeX = USHRT_MAX,
|
|
|
|
sal_uInt16 nRangeY = USHRT_MAX);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
long SetVScrollMax(long lMax);
|
|
|
|
long SetHScrollMax(long lMax);
|
|
|
|
|
2007-09-27 11:14:01 +00:00
|
|
|
DECL_LINK( SpellError, LanguageType * );
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool ExecSpellPopup( const Point& rPt );
|
2011-03-14 16:51:14 +00:00
|
|
|
void ExecFieldPopup( const Point& rPt, sw::mark::IFieldmark *fieldBM );
|
|
|
|
|
2007-01-02 15:53:33 +00:00
|
|
|
// SMARTTAGS
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool ExecSmartTagPopup( const Point& rPt );
|
2007-01-02 15:53:33 +00:00
|
|
|
|
2008-05-30 08:29:45 +00:00
|
|
|
DECL_LINK( OnlineSpellCallback, SpellCallbackInfo*);
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool ExecDrwTxtSpellPopup(const Point& rPt);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
void SetTabColFromDocPos( const Point &rPt ) { aTabColFromDocPos = rPt; }
|
2011-01-17 15:06:54 +01:00
|
|
|
void SetTabColFromDoc( sal_Bool b ) { bTabColFromDoc = b; }
|
|
|
|
sal_Bool IsTabColFromDoc() const { return bTabColFromDoc; }
|
|
|
|
void SetTabRowFromDoc( sal_Bool b ) { bTabRowFromDoc = b; }
|
|
|
|
sal_Bool IsTabRowFromDoc() const { return bTabRowFromDoc; }
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
// -> #i23726#
|
|
|
|
void SetNumRuleNodeFromDoc( SwTxtNode * pNumRuleNode )
|
|
|
|
{ pNumRuleNodeFromDoc = pNumRuleNode; }
|
2011-01-17 15:06:54 +01:00
|
|
|
void SetNumIndentFromDoc(sal_Bool b) { bNumIndentFromDoc = b; }
|
|
|
|
sal_Bool IsNumIndentFromDoc() const { return NULL != pNumRuleNodeFromDoc; }
|
2006-07-26 14:50:43 +00:00
|
|
|
// <- #i23726#
|
|
|
|
|
|
|
|
void DocSzChgd( const Size& rNewSize );
|
|
|
|
const Size& GetDocSz() const { return aDocSz; }
|
2011-01-17 15:06:54 +01:00
|
|
|
virtual void SetVisArea( const Rectangle&, sal_Bool bUpdateScrollbar = sal_True);
|
|
|
|
void SetVisArea( const Point&, sal_Bool bUpdateScrollbar = sal_True);
|
2006-07-26 14:50:43 +00:00
|
|
|
void CheckVisArea();
|
|
|
|
|
2010-06-13 15:22:56 +02:00
|
|
|
void RecheckBrowseMode();
|
CWS-TOOLING: integrate CWS layoutdialogs2
2009-04-09 10:11:14 +0200 mba r270680 : defective merge sets seem to have brought config_office back
2009-04-02 18:00:52 +0200 mba r270429 : #i100503#: make tralay work without LD_LIBRARY_PATH
2009-04-01 13:27:58 +0200 mba r270320 : warning on Solaris fixed
2009-03-31 22:15:03 +0200 mba r270293 : CWS-TOOLING: rebase CWS layoutdialogs2 to trunk@270033 (milestone: DEV300:m45)
2009-03-16 13:05:08 +0100 mba r269526 : fixed some compiler warnings of the Sun compiler
2009-03-11 15:32:42 +0100 mba r269337 : some problems for ENABLE_LAYOUT fixed
2009-03-09 16:05:32 +0100 mba r269197 : merge conflict solved
2009-03-09 15:09:55 +0100 mba r269194 : merge conflict solved
2009-03-09 15:09:35 +0100 mba r269193 : merge conflict solved
2009-03-06 22:12:47 +0100 mba r269052 : compilation error fixed
2009-03-06 17:36:37 +0100 mba r269033 : integer warning fixed
2009-03-06 10:31:19 +0100 mba r268983 : CWS-TOOLING: rebase CWS layoutdialogs2 to trunk@268395 (milestone: DEV300:m42)
2009-03-03 20:03:59 +0100 jcn r268777 : Add Notes checkbox to find-and-replace dialog in anticipation of m40 resync.
2009-03-03 15:56:20 +0100 jcn r268737 : Apply layout-find-dialog-crash-fix.diff -- fixes crasher.
From http://svn.gnome.org/viewvc/ooo-build?view=revision&revision=15378
2009-02-06 17:41:24 +0100 mba r267479 : arrrrgh - svx headers must be included behind the magic define
2009-02-05 19:44:42 +0100 mba r267439 : seems that msvc preprocessor is thick as a brick
2009-02-05 15:15:16 +0100 mba r267425 : pch added
2009-02-05 08:14:01 +0100 mba r267409 : double defined symbols fixed
2009-02-05 08:13:14 +0100 mba r267408 : compile Languagebox and FontListbox with ENABLE_LAYOUT
2009-02-05 08:07:35 +0100 mba r267406 : warning fixed
2009-02-05 08:06:42 +0100 mba r267405 : warnings and errors fixed
2009-01-30 15:51:52 +0100 mba r267206 : export Container class to compile code in sfx2
2009-01-30 15:51:14 +0100 mba r267205 : remove LAYOUT_EXPERIMENTAL from sfx2, everything now compiles with ENABLE_LAYOUT
2009-01-28 17:01:27 +0100 mba r267069 : fixed namespace problems in sfx2
2009-01-28 16:59:48 +0100 mba r267068 : fixed namespace problems
2009-01-24 13:57:06 +0100 mba r266877 : move svx stuff to experimental
2009-01-24 13:56:11 +0100 mba r266876 : move svx stuff to experimental
2009-01-24 13:52:09 +0100 mba r266875 : put sfx stuff into experimental
2009-01-24 13:28:08 +0100 mba r266874 : put sfx stuff into experimental
2009-01-24 13:26:38 +0100 mba r266873 : help msvc++ compiler a bit
2009-01-24 13:24:43 +0100 mba r266872 : warning removed
2009-01-24 13:23:21 +0100 mba r266871 : moved svx stuff to svx; put sfx stuff into experimental
2009-01-24 13:22:04 +0100 mba r266870 : moved svx stuff to svx
2009-01-05 16:35:34 +0100 jcn r265879 : config_office/configure: Regenerate. Fixes naive builds.
2008-12-17 16:06:25 +0100 jcn r265638 : Wordcount: minor HIG tweaks.
2008-12-17 16:06:21 +0100 jcn r265637 : Zoom: minor HIG spacing tweaks.
2008-12-17 16:06:16 +0100 jcn r265636 : Zoom: fix align-test and update zoom.xml.
2008-12-17 16:06:12 +0100 jcn r265635 : Zoom: add align-test.xml to illustrate zoom alignment bug.
2008-12-17 16:06:07 +0100 jcn r265634 : Find-and-Replace: request font-style-name="Bold", does not seem to work.
2008-12-17 16:06:03 +0100 jcn r265633 : Find-and-Replace: Add alignment for combobox labels.
2008-12-17 16:05:59 +0100 jcn r265632 : Find-and-Replace: Replace pairs of <flow> with <align>. Fixes ugly non-emptiness of more-<hbox>.
2008-12-17 16:05:56 +0100 jcn r265631 : Find-and-Replace: add nice 12pt border.
2008-12-17 16:05:51 +0100 jcn r265630 : Find-and-Replace: also add rowsep at lower fixedline.
2008-12-17 16:05:47 +0100 jcn r265629 : Find-and-Replace: Add poor man's colsep and rowsep substitute spaces.
2008-12-17 16:05:43 +0100 jcn r265628 : Find-and-Replace: use <vbox cnt:x-expand="false"> for buttons.
2008-12-17 16:05:40 +0100 jcn r265627 : Find-and-Replace: add <vbox>s and use cnt:expand="false" to stop vertical button expansion.
2008-12-17 16:05:36 +0100 jcn r265626 : Find-and-Replace: use sc icon. Fixes FIND button height.
2008-12-17 16:05:31 +0100 jcn r265625 : Bugfix have empty/invisible containers not take up space.
2008-12-17 16:05:27 +0100 jcn r265624 : Find-and-replace: Fix/remove most property errors.
2008-12-17 16:05:23 +0100 jcn r265623 : Table: make x, y expand default.
2008-12-17 16:05:18 +0100 jcn r265622 : Use OSL_TRACE rather than printf. Fixes warning visibility.
2008-12-17 16:05:14 +0100 jcn r265621 : Boxtest: add <vbox><table x-expand="true"> pair to trigger property errors.
2008-12-17 16:05:10 +0100 jcn r265620 : Junk extra <table> from boxtest. Fixes visual output.
2008-12-17 16:05:05 +0100 jcn r265619 : Eradicate PROPHELPER_SET_INFO: junk static caching.
2008-12-17 16:05:01 +0100 jcn r265618 : Update awk+sed localize generation rules. Fixes multiple (wrong) titles in Find & Replace.
2008-12-17 16:04:56 +0100 jcn r265617 : Use dash (-) instead of underscore (_) to separate language modifiers. Fixes en_GB etc.
2008-12-17 16:04:51 +0100 jcn r265616 : Add "defbutton=true" to dialogs. Fixes ENTER doing default action: n#439222.
2008-12-17 16:04:45 +0100 jcn r265615 : Michael's new table-based find and replace.
2008-12-17 16:04:40 +0100 jcn r265614 : Apply Michael's boxtest patch.
2008-12-17 16:04:36 +0100 jcn r265613 : Make sort-options experimental. Part II. Fixes crasher n-44.patch. Fixes crasher: n#442036.
2008-12-17 16:04:31 +0100 jcn r265612 : Make sort-options experimental. Part I.
2008-12-17 16:04:26 +0100 jcn r265611 : Add --enable-layout-experimental configure switch. Part II. Typo in configure.in, add set_soenv entry.
2008-12-17 16:04:21 +0100 jcn r265610 : Add --enable-layout-experimental configure switch. Default off.
2008-11-26 16:25:18 +0100 mba r264417 : fixed compiler warnings
2008-11-26 15:52:02 +0100 mba r264407 : fixed compiler warnings
2008-11-26 15:40:44 +0100 mba r264402 : fixed compiler warnings
2008-11-26 14:50:47 +0100 mba r264395 : fixed compiler warnings
2008-11-26 14:39:12 +0100 mba r264393 : fixed compiler warnings
2008-11-26 14:38:49 +0100 mba r264392 : fixed compiler warnings
2008-11-26 14:38:31 +0100 mba r264391 : fixed compiler warnings
2008-11-26 14:38:13 +0100 mba r264390 : fixed compiler warnings
2008-11-26 14:37:38 +0100 mba r264389 : fixed compiler warnings
2008-11-26 10:11:17 +0100 mba r264352 : fixed compiler warnings
2008-11-26 10:06:12 +0100 mba r264351 : fixed compiler warnings
2008-11-26 09:58:28 +0100 mba r264347 : fixed compiler warnings
2008-11-26 09:50:41 +0100 mba r264345 : fixed compiler warnings
2008-11-26 09:46:10 +0100 mba r264343 : fixed compiler warnings
2008-10-22 10:57:09 +0200 mba r262584 : fixed small error resulting from resolved merged conflicts
2008-10-22 10:56:21 +0200 mba r262583 : fixed some small errors resulting from resolved merged conflicts
2008-10-20 19:29:27 +0200 jcn r262557 : layoutdialogs2: Remove stray patches.
2008-10-20 19:29:22 +0200 jcn r262556 : layoutdialogs2: Force resize also on second show after hiding.
2008-10-20 19:29:17 +0200 jcn r262555 : layoutdialogs2: Do not trigger handlers for api calls.
2008-10-20 19:29:13 +0200 jcn r262554 : layoutdialogs2: Use disable/enable instead of hide/show for currency box. Fixes monster lisbox.
2008-10-20 19:29:09 +0200 jcn r262553 : layoutdialogs2: Use line-count instead of linecount. Fixes sizing of listboxes.
2008-10-20 19:29:04 +0200 jcn r262552 : layoutdialogs2: vcl: respect line-count also for non-dropdown listbox.
2008-10-20 19:28:59 +0200 jcn r262551 : layoutdialogs2: Update to svn:r14142 patched.
2008-10-20 19:28:51 +0200 jcn r262550 : layoutdialogs2: Manual tweaks in number-format.xml.
2008-10-20 19:28:45 +0200 jcn r262549 : layoutdialogs2: Integrate Number Format tabpage into Format Cell dialog.
2008-10-20 19:28:36 +0200 jcn r262548 : layoutdialogs2: Windows build fixes. Thanks Noel.
2008-10-20 19:28:31 +0200 jcn r262547 : layoutdialogs2: Layout Format Cells/Number Format tabpage.
2008-10-20 19:28:24 +0200 jcn r262546 : layoutdialogs2: Remove sc/uiconfig/layout/localize.sdf.
2008-10-20 19:28:20 +0200 jcn r262545 : layoutdialogs2: --enable-debug link fix
2008-10-20 19:28:16 +0200 jcn r262544 : layoutdialogs2: Add missing localize.sdf dependency. Thanks, Petr.
2008-10-20 19:28:12 +0200 jcn r262543 : layoutdialogs2: svx linx fixlet.
2008-10-20 19:28:06 +0200 jcn r262542 : layoutdialogs2: Move layout/* to layout/core, vclcompat to layout/vcl. Distribute layout headers. Fixes sfx2 layout core includes.
2008-10-20 19:27:58 +0200 jcn r262541 : layoutdialogs2: Build fix for --enable-layout.
2008-10-20 19:27:54 +0200 jcn r262540 : layoutdialogs2: Generate localize.sdf files in uiconfig.
2008-10-20 19:27:47 +0200 jcn r262539 : layoutdialogs2: Minimalize deprecated String use further by using OUString.
2008-10-20 19:27:42 +0200 jcn r262538 : layoutdialogs2: Implement LocalizedString.GetToken and use it for aCalcBtn. Fixes empty label.
2008-10-20 19:27:36 +0200 jcn r262537 : layoutdialogs2: Add layout::Sfx*Dialog wrapper.
2008-10-20 19:27:29 +0200 jcn r262536 : layoutdialogs2: Introduce Closing*Dialog wrappers fixing closing with ESC.
2008-10-20 19:27:24 +0200 jcn r262535 : layoutdialogs2: Support <sfxmodelessdialog> from sfx2.
2008-10-20 19:27:17 +0200 jcn r262534 : layoutdialogs2: Rename find-&-replace.xml to find-and-replace.xml. Fixes split build with failing solenv patch.
2008-10-20 19:27:12 +0200 jcn r262533 : layoutdialogs2: Do not build sfx2 when --disable-layout.
2008-10-20 19:27:08 +0200 jcn r262532 : layoutdialogs2: Ignore ja/ too.
2008-10-20 19:27:04 +0200 jcn r262531 : layoutdialogs2: Add destructors for VCLXButton, VCLXComboBox.
2008-10-20 19:26:58 +0200 jcn r262530 : layoutdialogs2: Make dialogs closable with ESC: wordcount, zoom, message-box, move-copy-sheet, insert-sheet.
2008-10-20 19:26:52 +0200 jcn r262529 : layoutdialogs2: Move some implementations to .cxx.
2008-10-20 19:26:47 +0200 jcn r262528 : layoutdialogs2: Fix simple editor crasher.
2008-10-20 19:26:43 +0200 jcn r262527 : layoutdialogs2: Further cleanup: remove clean & delete from wrapperGone.
2008-10-20 19:26:38 +0200 jcn r262526 : layoutdialogs2: Add reset logic to ~WindowImpl, plugs ComboBox and Dialog leaks.
2008-10-20 19:26:34 +0200 jcn r262525 : layoutdialogs2: Interesting hack: only leaks ::ComboBox and ::Dialog.
2008-10-20 19:26:29 +0200 jcn r262524 : layoutdialogs2: Build fix.
2008-10-20 19:26:24 +0200 jcn r262523 : layoutdialogs2: Find&Replace duplicate disposal workaround inside layout.
2008-10-20 19:26:19 +0200 jcn r262522 : layoutdialogs2: Revert "Terrible crasher-fix hack. Do not dispose Dialog or any FocusHandler owners."
This reverts commit 5222b5b123a2e6c88494983bd875de574f365bae.
2008-10-20 19:26:14 +0200 jcn r262521 : layoutdialogs2: Terrible crasher-fix hack. Do not dispose Dialog or any FocusHandler owners.
2008-10-20 19:26:08 +0200 jcn r262520 : layoutdialogs2: Revert "ComboBox: crash down to (Dialog's) VCLXWindowImpl::DestroyOutputDevice();"
This reverts commit b423129aca295e84ef5986149b6ee71eb7ba0aa3.
2008-10-20 19:26:03 +0200 jcn r262519 : layoutdialogs2: ComboBox: crash down to (Dialog's) VCLXWindowImpl::DestroyOutputDevice();
2008-10-20 19:25:57 +0200 jcn r262518 : layoutdialogs2: Handler and debug cleanup.
2008-10-20 19:25:52 +0200 jcn r262517 : layoutdialogs2: Minimally remove FixedText workaround.
2008-10-20 19:25:47 +0200 jcn r262516 : layoutdialogs2: Preparations for FocusHdl fix.
2008-10-20 19:25:42 +0200 jcn r262515 : layoutdialogs2: Remove vclxwindows patch by using handler hackery.
2008-10-20 19:25:38 +0200 jcn r262514 : layoutdialogs2: Don't call deleted dialog. Hdler reset tweaks. Fixes Find&Replace.
2008-10-20 19:25:34 +0200 jcn r262513 : layoutdialogs2: Hdler and disposing cleanups.
2008-10-20 19:25:29 +0200 jcn r262512 : layoutdialogs2: Prevent Find&Replace window from being deleted twice.
2008-10-20 19:25:24 +0200 jcn r262511 : layoutdialogs2: Add destructor to SvxSearchDialogWrapper. Fixes second invocation crasher.
2008-10-20 19:25:19 +0200 jcn r262510 : layoutdialogs2: Make Find&Replace work (once) with minimal client code changes.
2008-10-20 19:25:13 +0200 jcn r262509 : layoutdialogs2: Add ComboBox/FixedText debug switching.
2008-10-20 19:25:08 +0200 jcn r262508 : layoutdialogs2: Add destructors resetting handlers.
2008-10-20 19:25:03 +0200 jcn r262507 : layoutdialogs2: Static cast fixes.
2008-10-20 19:24:59 +0200 jcn r262506 : layoutdialogs2: Always set button handler. Fixes pushbuttons.
2008-10-20 19:24:55 +0200 jcn r262505 : layoutdialogs2: Revert "Move FocusHandlers from Control down to ListBox, ComboBox, FixedText."
This reverts commit 8bc4b991539a74373bfb1ef8792276ada8c958e4.
2008-10-20 19:24:50 +0200 jcn r262504 : layoutdialogs2: Disable Timer for ENABLE_LAYOUT.
2008-10-20 19:24:45 +0200 jcn r262503 : layoutdialogs2: Move FocusHandlers from Control down to ListBox, ComboBox, FixedText.
2008-10-20 19:24:40 +0200 jcn r262502 : layoutdialogs2: Wider small symbol.
2008-10-20 19:24:36 +0200 jcn r262501 : layoutdialogs2: Listener and SetHandler cleanup.
2008-10-20 19:24:31 +0200 jcn r262500 : layoutdialogs2: Clear mxWindow upon deletion. Fixes Find&Replace crasher.
2008-10-20 19:24:27 +0200 jcn r262499 : layoutdialogs2: Typo, fixes build.
2008-10-20 19:24:22 +0200 jcn r262498 : layoutdialogs2: Ignore .log files too.
2008-10-20 19:24:19 +0200 jcn r262497 : layoutdialogs2: By default, work around #define protected public Resource hack.
2008-10-20 19:24:15 +0200 jcn r262496 : layoutdialogs2: Sw:Find&Replace: Remove wrong static cast. Fixes crasher.
2008-10-20 19:24:10 +0200 jcn r262495 : layoutdialogs2: Find&Replace: do not vertically expand buttons, add title.
2008-10-20 19:24:06 +0200 jcn r262494 : layoutdialogs2: Find&Replace: Remove need for ResId, set help id.
2008-10-20 19:24:01 +0200 jcn r262493 : layoutdialogs2: MoreButton: redraw upon resize, fix labels, use small symbol.
2008-10-20 19:23:57 +0200 jcn r262492 : layoutdialogs2: Support setting and querying small symbol on vcl:button.
2008-10-20 19:23:52 +0200 jcn r262491 : layoutdialogs2: Support redrawing of only this, make parent optional.
2008-10-20 19:23:48 +0200 jcn r262490 : layoutdialogs2: Add Kohei's wfield patch https://bugzilla.novell.com/attachment.cgi?id=235398. Fixes n#417840.
2008-10-20 19:23:44 +0200 jcn r262489 : layoutdialogs2: Redraw [parent] upon first time visibility.
Fixes weird listbox dropdown sizing in Find & Replace.
2008-10-20 19:23:39 +0200 jcn r262488 : layoutdialogs2: Add manual layouting for Find & Replace.
2008-10-20 19:23:35 +0200 jcn r262487 : layoutdialogs2: src2xml: use label instead of text for buttons.
Run on Find & Replace; fixes button texts.
2008-10-20 19:23:31 +0200 jcn r262486 : layoutdialogs2: Add initial auto-translated find-&-replace-.xml.
2008-10-20 19:23:26 +0200 jcn r262485 : layoutdialogs2: layout importer: handle ModelessDialog.
Fixes Find & Replace parsing error.
2008-10-20 19:23:22 +0200 jcn r262484 : layoutdialogs2: src2xml: Handle multiple widgets at same x,y.
Fixes silent removal of widgets in Find & Replace dialog.
2008-10-20 19:23:18 +0200 jcn r262483 : layoutdialogs2: src2xml: Handle hide= attribute, translate to show=.
2008-10-20 19:23:14 +0200 jcn r262482 : layoutdialogs2: Only use __PRETTY_FUNCTION__ on gcc. Fixes Windows build. Thanks Tor!
2008-10-20 19:23:10 +0200 jcn r262481 : layoutdialogs2: Add two missing SAL_CALL decorations. Fixes Windows build. Thanks Tor!
2008-10-20 19:23:05 +0200 jcn r262480 : layoutdialogs2: Build fixes for layout'ed Find & Replace dialog.
2008-10-20 19:22:54 +0200 jcn r262479 : layoutdialogs2: Do not use layout::SfxTabDialog for now.
2008-10-20 19:22:47 +0200 jcn r262478 : layoutdialogs2: Crufty sizing tweaks.
2008-10-20 19:22:42 +0200 jcn r262477 : layoutdialogs2: More debugging cleanups.
2008-10-20 19:22:37 +0200 jcn r262476 : layoutdialogs2: More cleanups that result in constant manual resizing...
2008-10-20 19:22:33 +0200 jcn r262475 : layoutdialogs2: Tabdlg cleanups.
2008-10-20 19:22:28 +0200 jcn r262474 : layoutdialogs2: Add GetOptimalSize () to InPlug. Fixes auto-sizing of tabcontrol.
2008-10-20 19:22:21 +0200 jcn r262473 : layoutdialogs2: Get VCLXTabControl to resize automatically (too tall), not mousable.
2008-10-20 19:22:13 +0200 jcn r262472 : layoutdialogs2: Respect show=false property; do not show everything.
2008-10-20 19:22:09 +0200 jcn r262471 : layoutdialogs2: Add show=false on buttons. Fixes displaying everything.
2008-10-20 19:22:05 +0200 jcn r262470 : layoutdialogs2: Move some code to reduce namespace and #if hacking.
2008-10-20 19:22:00 +0200 jcn r262469 : layoutdialogs2: Cleanup, remove unneeded #defines.
2008-10-20 19:21:56 +0200 jcn r262468 : layoutdialogs2: Replace static casts with dynamic_cast, fixes layout::SfxTabDialog.
Explicitly add 2 tabpages while adding tabpages, instead of relying on ResId.
2008-10-20 19:21:51 +0200 jcn r262467 : layoutdialogs2: Use cpp hacking to remove layout-tabdialog.hxx duplication.
2008-10-20 19:21:45 +0200 jcn r262466 : layoutdialogs2: Minimize diff between layout-tabdialog.hxx and tabdlg.hxx.
2008-10-20 19:21:41 +0200 jcn r262465 : layoutdialogs2: Remove copy of SfxTabDialog; use cpp logic to create both flavours.
2008-10-20 19:21:36 +0200 jcn r262464 : layoutdialogs2: Minimize diff between layout/sfxtabdialog.cxx and source/tabdlg.cxx.
This enables the next step: use cpp logic instead of code duplication.
2008-10-20 19:21:31 +0200 jcn r262463 : layoutdialogs2: Hello world on layout::SfxTabDialog.
2008-10-20 19:21:24 +0200 jcn r262462 : layoutdialogs2: Nice `Compiling:' message that shows the file being compiled.
2008-10-20 19:21:20 +0200 jcn r262461 : layoutdialogs2: Use layout::SfxTabDialog for sort options.
2008-10-20 19:21:15 +0200 jcn r262460 : layoutdialogs2: Update sort options tab.
2008-10-20 19:21:10 +0200 jcn r262459 : layoutdialogs2: Add layout::SfxTabDialog.
2008-10-20 19:21:04 +0200 jcn r262458 : layoutdialogs2: Cleanup previous attempt using layout::SfxTabPage == layout::TabPage.
2008-10-20 19:20:57 +0200 jcn r262457 : layoutdialogs2: Windows 2003 compile fixes, i#92397.
2008-10-20 19:20:52 +0200 jcn r262456 : layoutdialogs2: Set default radiogroup when none provided.
2008-10-20 19:20:48 +0200 jcn r262455 : layoutdialogs2: Add radiogroup to sort-options. Fixes crasher.
2008-10-20 19:20:43 +0200 jcn r262454 : layoutdialogs2: Cleanup ParentSet fix.
2008-10-20 19:20:36 +0200 jcn r262453 : layoutdialogs2: Add debugging in ParentSet. Works standalone, not integrated.
2008-10-20 19:20:31 +0200 jcn r262452 : layoutdialogs2: Revert "Have InPlug not derive from Window, but have as member."
This reverts commit 50ea26eec3fe14943f24900081ad923e72550345.
2008-10-20 19:20:25 +0200 jcn r262451 : layoutdialogs2: Have InPlug not derive from Window, but have as member.
2008-10-20 19:20:20 +0200 jcn r262450 : layoutdialogs2: Move layout plugin implementation from layout::SfxTabPage to InPlug.
2008-10-20 19:20:14 +0200 jcn r262449 : layoutdialogs2: Get all widgets to display in sfxtabpage plugin with Window::SetParent hack.
2008-10-20 19:20:09 +0200 jcn r262448 : layoutdialogs2: Two-button manual hello world with sfxtabpage plugin.
2008-10-20 19:20:03 +0200 jcn r262447 : layoutdialogs2: WIP: layout::SfxTabPage derived from SfxTabPage.
2008-10-20 19:19:55 +0200 jcn r262446 : layoutdialogs2: Always set parent after construction, fixes listbox dropdown.
2008-10-20 19:19:51 +0200 jcn r262445 : layoutdialogs2: Fix radio button crasher.
2008-10-20 19:19:47 +0200 jcn r262444 : layoutdialogs2: Implement ListBox method wrappers. Fixes filling of listbox.
2008-10-20 19:19:42 +0200 jcn r262443 : layoutdialogs2: Convert Move/Copy sheet to layout engine.
2008-10-20 19:19:35 +0200 jcn r262442 : layoutdialogs2: Also hide yes/no buttons if not used.
2008-10-20 19:19:31 +0200 jcn r262441 : layoutdialogs2: Elaborate on changing client code.
2008-10-20 19:19:26 +0200 jcn r262440 : layoutdialogs2: Implement winbits client-code compatibility for Message Boxes.
2008-10-20 19:19:21 +0200 jcn r262439 : layoutdialogs2: Add localize.sdf to toolkit uiconfig. Fixes build.
2008-10-20 19:19:17 +0200 jcn r262438 : layoutdialogs2: Do not use ti_layout twice in toolkit build.lst. Fixes build.
2008-10-20 19:19:13 +0200 jcn r262437 : layoutdialogs2: Oops, also dist toolkit-layout.zip.
2008-10-20 19:19:09 +0200 jcn r262436 : layoutdialogs2: Move layout.mk to solenv.
2008-10-20 19:19:03 +0200 jcn r262435 : layoutdialogs2: Add handy TEST file.
2008-10-20 19:18:58 +0200 jcn r262434 : layoutdialogs2: Implement MessageBox and wrappers ErrorBox, InfoBox, QueryBox, WarningBox.
2008-10-20 19:18:52 +0200 jcn r262433 : layoutdialogs2: QueryBox without image used for Delete Sheet dialog.
2008-10-20 19:18:46 +0200 jcn r262432 : layoutdialogs2: WIP QueryBox.
2008-10-20 19:18:39 +0200 jcn r262431 : layoutdialogs2: Add insert-sheet localization.
2008-10-20 19:18:34 +0200 jcn r262430 : layoutdialogs2: Run indent-region on zoom.xml, distribute it.
2008-10-20 19:18:30 +0200 jcn r262429 : layoutdialogs2: Dist xml files too.
2008-10-20 19:18:26 +0200 jcn r262428 : layoutdialogs2: Add insert-sheet.xml to workben.
2008-10-20 19:18:22 +0200 jcn r262427 : layoutdialogs2: Update layout TODO.
2008-10-20 19:18:18 +0200 jcn r262426 : layoutdialogs2: Cleanups and add comments.
2008-10-20 19:18:13 +0200 jcn r262425 : layoutdialogs2: Keep RadioButtons::RadioButton callback at HEAD of list.
Fixes radiobutton grouping.
2008-10-20 19:18:07 +0200 jcn r262424 : layoutdialogs2: Remove IMPORT_RADIOGROUP cruft.
2008-10-20 19:18:02 +0200 jcn r262423 : layoutdialogs2: Have code check fire event for radio button.
Fixes radio button grouping.
2008-10-20 19:17:58 +0200 jcn r262422 : layoutdialogs2: Enable IMPORT_RADIOGROUP flag.
2008-10-20 19:17:54 +0200 jcn r262421 : layoutdialogs2: Add radio groups to zoom.xml.
2008-10-20 19:17:50 +0200 jcn r262420 : layoutdialogs2: Move RadioGroup implementation to cxx file.
2008-10-20 19:17:45 +0200 jcn r262419 : layoutdialogs2: Manually set help id for insert table.
2008-10-20 19:17:41 +0200 jcn r262418 : layoutdialogs2: Cosmetic fixes for insert-sheet.
2008-10-20 19:17:37 +0200 jcn r262417 : layoutdialogs2: FindAndRemove now also skips translation prefix.
Fixes setting of title etc. from nontranslated xml.
2008-10-20 19:17:32 +0200 jcn r262416 : layoutdialogs2: Manually set help id for zoom and wordcount dialogs.
2008-10-20 19:17:27 +0200 jcn r262415 : layoutdialogs2: Set help-id from xml.
2008-10-20 19:17:21 +0200 jcn r262414 : layoutdialogs2: Move -DENABLE_LAYOUT from stray makefiles to settings.mk.
2008-10-20 19:17:13 +0200 jcn r262413 : layoutdialogs2: Initial conversion of insert-sheet dialog.
2008-10-20 19:17:08 +0200 jcn r262412 : layoutdialogs2: Add wrappers for {Get,Set}{Pointer,Text}.
2008-10-20 19:17:04 +0200 jcn r262411 : layoutdialogs2: Toolkit layout dialog copy updates.
2008-10-20 19:16:59 +0200 jcn r262410 : layoutdialogs2: Cleanup #include <layout*> disaster.
Fixes multiple inclusions of layout-pre, layout-post.
2008-10-20 19:16:53 +0200 jcn r262409 : layoutdialogs2: Implement Get,Set{,Smart}HelpId ().
2008-10-20 19:16:49 +0200 jcn r262408 : layoutdialogs2: Make some getters const.
2008-10-20 19:16:45 +0200 jcn r262407 : layoutdialogs2: Manual tweaks for string-input.xml.
2008-10-20 19:16:40 +0200 jcn r262406 : layoutdialogs2: Add string-input.xml.
2008-10-20 19:16:36 +0200 jcn r262405 : layoutdialogs2: Add dummy implementation for SetHelpId etc.
2008-10-20 19:16:32 +0200 jcn r262404 : layoutdialogs2: Actually say *what* file cannot be copied *where*. Sigh.
2008-10-20 19:16:27 +0200 jcn r262403 : layoutdialogs2: Thinko in macro name. Fixes compilation of strindlg.cxx.
2008-10-20 19:16:22 +0200 jcn r262402 : layoutdialogs2: Add layout includes to stringdlg and makefile.
2008-10-20 19:16:17 +0200 jcn r262401 : layoutdialogs2: Add sc/uiconfig/layout/localize.sdf
2008-10-20 19:16:13 +0200 jcn r262400 : layoutdialogs2: Oops, build sc/uiconfig/layout.
2008-10-20 19:16:09 +0200 jcn r262399 : layoutdialogs2: Have virtual destructor on Context, delete TabPage when deleting TabDialog.
2008-10-20 19:16:04 +0200 jcn r262398 : layoutdialogs2: Actually delete layout::TabPage objects when deleting SfxTabdialog.
2008-10-20 19:16:00 +0200 jcn r262397 : layoutdialogs2: Workaround for second invocation crash of sort dialog options tab.
2008-10-20 19:15:56 +0200 jcn r262396 : layoutdialogs2: Handle Reset button.
2008-10-20 19:15:51 +0200 jcn r262395 : layoutdialogs2: Also install sc xml zip file.
2008-10-20 19:15:46 +0200 jcn r262394 : layoutdialogs2: Integrate sort-options into sc.
2008-10-20 19:15:41 +0200 jcn r262393 : layoutdialogs2: Revert "Fix sfx2 compile warnings."
This reverts commit 8b55d402af7bd217db35f67b02dc92f93f3ada5d.
2008-10-20 19:15:34 +0200 jcn r262392 : layoutdialogs2: Remove debuging.
2008-10-20 19:15:30 +0200 jcn r262391 : layoutdialogs2: Pass set argument to layout::TabPage. Fixes OO.o integration crasher.
2008-10-20 19:15:24 +0200 jcn r262390 : layoutdialogs2: Ignore more.
2008-10-20 19:15:20 +0200 jcn r262389 : layoutdialogs2: Oops, make just one (1) sort-options tab.
2008-10-20 19:15:15 +0200 jcn r262388 : layoutdialogs2: Revert macroconf compile warnings.
2008-10-20 19:15:09 +0200 jcn r262387 : layoutdialogs2: Fix sfx2 compile warnings.
2008-10-20 19:15:01 +0200 jcn r262386 : layoutdialogs2: Collapsed tabpage and sort-options development.
2008-10-20 19:14:51 +0200 jcn r262385 : layoutdialogs2: Make dev300/src680 install layout switchable at compile time.
2008-10-20 19:14:47 +0200 jcn r262384 : layoutdialogs2: Update README, add README.
2008-10-20 19:14:43 +0200 jcn r262383 : layoutdialogs2: Repainting, hiding stuff.
2008-10-20 19:14:38 +0200 jcn r262382 : layoutdialogs2: Add allocateArea to VCLXTabPage.
2008-10-20 19:14:34 +0200 jcn r262381 : layoutdialogs2: Revert "Use VCLXContainer as base for VCLXTabPage."
This reverts commit 06a984434d0d2c356fd0cdaf96d6d613d5147b7c.
2008-10-20 19:14:30 +0200 jcn r262380 : layoutdialogs2: Use VCLXContainer as base for VCLXTabPage.
2008-10-20 19:14:26 +0200 jcn r262379 : layoutdialogs2: Revert "Derive VCLXTabPage from VBox."
This reverts commit 8ab66364bdc08151ce2c982c1aa03f7881d86b84.
2008-10-20 19:14:22 +0200 jcn r262378 : layoutdialogs2: Derive VCLXTabPage from VBox.
2008-10-20 19:14:17 +0200 jcn r262377 : layoutdialogs2: More cleanups and testing.
2008-10-20 19:14:12 +0200 jcn r262376 : layoutdialogs2: Get layout tabpage to nicely select. No content visible, though.
2008-10-20 19:14:07 +0200 jcn r262375 : layoutdialogs2: Support ScTabPageSortOptions in standalone test.
2008-10-20 19:14:02 +0200 jcn r262374 : layoutdialogs2: Support tabpage creation from xml.
2008-10-20 19:13:56 +0200 jcn r262373 : layoutdialogs2: Remove most TEST_LAYOUT conditionals.
2008-10-20 19:13:52 +0200 jcn r262372 : layoutdialogs2: Remove Args effort.
2008-10-20 19:13:48 +0200 jcn r262371 : layoutdialogs2: Attempt to create ArgSet.
2008-10-20 19:13:44 +0200 jcn r262370 : layoutdialogs2: Compile more.
2008-10-20 19:13:39 +0200 jcn r262369 : layoutdialogs2: Add sortdlg.
2008-10-20 19:13:35 +0200 jcn r262368 : layoutdialogs2: Oops, ID fix.
2008-10-20 19:13:30 +0200 jcn r262367 : layoutdialogs2: Build fix.
2008-10-20 19:13:26 +0200 jcn r262366 : layoutdialogs2: Revert "Use ::Window for plugin base iso ::Control."
This reverts commit 919ddaf2f52ad5e4df877a094cd1e336888d6210.
2008-10-20 19:13:21 +0200 jcn r262365 : layoutdialogs2: Plugin dialog cleanups.
2008-10-20 19:13:17 +0200 jcn r262364 : layoutdialogs2: Use ::Window for plugin base iso ::Control.
2008-10-20 19:13:12 +0200 jcn r262363 : layoutdialogs2: Use cstdio, remove cruft.
2008-10-20 19:13:07 +0200 jcn r262362 : layoutdialogs2: Remove cruft.
2008-10-20 19:13:02 +0200 jcn r262361 : layoutdialogs2: Remove sizing mess.
2008-10-20 19:12:57 +0200 jcn r262360 : layoutdialogs2: Trigger [re]draw of DialControl.
2008-10-20 19:12:53 +0200 jcn r262359 : layoutdialogs2: DialControl window behaves nicely and invisible.
2008-10-20 19:12:48 +0200 jcn r262358 : layoutdialogs2: Revert adding of setparent.
2008-10-20 19:12:43 +0200 jcn r262357 : layoutdialogs2: Add dialog::setparent to plugin.
2008-10-20 19:12:39 +0200 jcn r262356 : layoutdialogs2: Add a setProperty for VCLXPlugin.
2008-10-20 19:12:34 +0200 jcn r262355 : layoutdialogs2: Unhide plugin.
2008-10-20 19:12:30 +0200 jcn r262354 : layoutdialogs2: Revert.
2008-10-20 19:12:25 +0200 jcn r262353 : layoutdialogs2: Use window instead of control.
2008-10-20 19:12:20 +0200 jcn r262352 : layoutdialogs2: Lots of plugin settings.
2008-10-20 19:12:16 +0200 jcn r262351 : layoutdialogs2: More hacks.
2008-10-20 19:12:11 +0200 jcn r262350 : layoutdialogs2: Compile fixes.
2008-10-20 19:12:05 +0200 jcn r262349 : layoutdialogs2: Use c++ includes.
2008-10-20 19:12:00 +0200 jcn r262348 : layoutdialogs2: Junk UnoTunnel nonsense.
2008-10-20 19:11:55 +0200 jcn r262347 : layoutdialogs2: Remove more cruft.
2008-10-20 19:11:50 +0200 jcn r262346 : layoutdialogs2: Remove cruft.
2008-10-20 19:11:44 +0200 jcn r262345 : layoutdialogs2: Rename wrap to plugin.
2008-10-20 19:11:39 +0200 jcn r262344 : layoutdialogs2: All sorry tries.
2008-10-20 19:11:33 +0200 jcn r262343 : layoutdialogs2: Rename plugin to wrap.
2008-10-20 19:11:28 +0200 jcn r262342 : layoutdialogs2: Add ifdefs, no UNOTUNNEL, no crash on exit.
2008-10-20 19:11:23 +0200 jcn r262341 : layoutdialogs2: Redo all kind of Uno and XIface weirdness.
2008-10-20 19:11:17 +0200 jcn r262340 : layoutdialogs2: Remove extra UnoTunnel.
2008-10-20 19:11:12 +0200 jcn r262339 : layoutdialogs2: Plugin hello world. TODO: parenting/owning/sizing, ... etc.
2008-10-20 19:11:06 +0200 jcn r262338 : layoutdialogs2: Zoom updates.
2008-10-20 19:11:01 +0200 jcn r262337 : layoutdialogs2: Add missing controls.
2008-10-20 19:10:56 +0200 jcn r262336 : layoutdialogs2: Add .gitignore.
2009-04-21 16:06:18 +00:00
|
|
|
static LAYOUT_NS Dialog* GetSearchDialog();
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
static sal_uInt16 GetMoveType();
|
|
|
|
static void SetMoveType(sal_uInt16 nSet);
|
2007-07-12 09:50:55 +00:00
|
|
|
DECL_STATIC_LINK( SwView, MoveNavigationHdl, bool* ); // #i75416#
|
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
|
|
|
static void SetActMark(sal_Int32 nSet);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool HandleWheelCommands( const CommandEvent& );
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// insert frames
|
2011-01-17 15:06:54 +01:00
|
|
|
void InsFrmMode(sal_uInt16 nCols);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
void SetZoom( SvxZoomType eZoomType, short nFactor = 100, sal_Bool bViewOnly = sal_False);
|
2006-07-26 14:50:43 +00:00
|
|
|
virtual void SetZoomFactor( const Fraction &rX, const Fraction & );
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
void SetViewLayout( sal_uInt16 nColumns, bool bBookMode, sal_Bool bViewOnly = sal_False );
|
2008-03-07 14:05:15 +00:00
|
|
|
|
2006-07-26 14:50:43 +00:00
|
|
|
void ShowHScrollbar(sal_Bool bShow);
|
|
|
|
sal_Bool IsHScrollbarVisible()const;
|
|
|
|
|
|
|
|
void ShowVScrollbar(sal_Bool bShow);
|
|
|
|
sal_Bool IsVScrollbarVisible()const;
|
|
|
|
|
|
|
|
int CreateVLineal();
|
|
|
|
int KillVLineal();
|
|
|
|
int CreateTab();
|
|
|
|
int KillTab();
|
|
|
|
|
|
|
|
int StatVLineal() const { return ((Window*)pVRuler)->IsVisible(); }
|
|
|
|
void ChangeVLinealMetric(FieldUnit eUnit);
|
2009-01-06 16:42:28 +00:00
|
|
|
void GetVLinealMetric(FieldUnit& rToFill) const;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
int StatTab() const { return ((Window*)pHRuler)->IsVisible(); }
|
|
|
|
SvxRuler& GetHLineal() { return *pHRuler; }
|
|
|
|
SvxRuler& GetVLineal() { return *pVRuler; }
|
|
|
|
void InvalidateRulerPos();
|
|
|
|
void ChangeTabMetric(FieldUnit eUnit);
|
2009-01-06 16:42:28 +00:00
|
|
|
void GetHLinealMetric(FieldUnit& rToFill) const;
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
// Handler
|
|
|
|
void Execute(SfxRequest&);
|
|
|
|
void ExecPageMove(SfxRequest&);
|
|
|
|
void ExecStyle(SfxRequest&);
|
|
|
|
void ExecLingu(SfxRequest&);
|
|
|
|
void ExecDataBase(SfxRequest&);
|
|
|
|
void ExecDlg(SfxRequest&);
|
|
|
|
void ExecDlgExt(SfxRequest&);
|
|
|
|
void ExecDBDlg(SfxRequest &);
|
|
|
|
void ExecColl(SfxRequest&);
|
|
|
|
void ExecutePrint(SfxRequest&);
|
|
|
|
void ExecDraw(SfxRequest&);
|
|
|
|
void ExecTabWin(SfxRequest&);
|
|
|
|
void ExecuteStatusLine(SfxRequest&);
|
|
|
|
DECL_LINK( ExecRulerClick, Ruler * );
|
2011-01-17 15:06:54 +01:00
|
|
|
void ExecSearch(SfxRequest&, sal_Bool bNoMessage = sal_False);
|
2006-07-26 14:50:43 +00:00
|
|
|
void ExecViewOptions(SfxRequest &);
|
|
|
|
|
|
|
|
void StateViewOptions(SfxItemSet &);
|
|
|
|
void StateSearch(SfxItemSet &);
|
|
|
|
void GetState(SfxItemSet&);
|
|
|
|
void StateStatusLine(SfxItemSet&);
|
|
|
|
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// functions for drawing
|
2006-07-26 14:50:43 +00:00
|
|
|
void SetDrawFuncPtr(SwDrawBase* pFuncPtr);
|
2011-01-17 15:06:54 +01:00
|
|
|
inline SwDrawBase* GetDrawFuncPtr(/*sal_Bool bBuf = sal_False*/) const { return pDrawActual; }
|
2006-07-26 14:50:43 +00:00
|
|
|
void GetDrawState(SfxItemSet &rSet);
|
|
|
|
void ExitDraw();
|
2011-01-17 15:06:54 +01:00
|
|
|
inline sal_Bool IsDrawRotate() { return bDrawRotate; }
|
2006-07-26 14:50:43 +00:00
|
|
|
inline void FlipDrawRotate() { bDrawRotate = !bDrawRotate; }
|
2011-01-17 15:06:54 +01:00
|
|
|
inline sal_Bool IsDrawSelMode() { return bDrawSelMode; }
|
2006-07-26 14:50:43 +00:00
|
|
|
void SetSelDrawSlot();
|
|
|
|
inline void FlipDrawSelMode() { bDrawSelMode = !bDrawSelMode; }
|
2011-04-21 21:52:58 +02:00
|
|
|
void NoRotate(); // turn off rotate mode
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool EnterDrawTextMode(const Point& aDocPos);
|
2006-07-26 14:50:43 +00:00
|
|
|
void LeaveDrawCreate() { nDrawSfxId = nFormSfxId = USHRT_MAX; sDrawCustom.Erase();}
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool IsDrawMode() { return (nDrawSfxId != USHRT_MAX || nFormSfxId != USHRT_MAX); }
|
|
|
|
sal_Bool IsFormMode() const;
|
|
|
|
sal_Bool IsBezierEditMode();
|
|
|
|
sal_Bool AreOnlyFormsSelected() const;
|
|
|
|
sal_Bool HasDrwObj(SdrObject *pSdrObj) const;
|
|
|
|
sal_Bool HasOnlyObj(SdrObject *pSdrObj, sal_uInt32 eObjInventor) const;
|
|
|
|
sal_Bool BeginTextEdit( SdrObject* pObj, SdrPageView* pPV=NULL,
|
2010-04-22 13:08:19 +02:00
|
|
|
Window* pWin=NULL, bool bIsNewObj=false, bool bSetSelectionToStart=false );
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
void StateTabWin(SfxItemSet&);
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// attributes have changed
|
2006-07-26 14:50:43 +00:00
|
|
|
DECL_LINK( AttrChangedNotify, SwWrtShell * );
|
|
|
|
|
|
|
|
// form control has been activated
|
|
|
|
DECL_LINK( FormControlActivated, FmFormShell* );
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// edit links
|
2006-07-26 14:50:43 +00:00
|
|
|
void EditLinkDlg();
|
2011-01-17 15:06:54 +01:00
|
|
|
void AutoCaption(const sal_uInt16 nType, const SvGlobalName *pOleId = 0);
|
2006-07-26 14:50:43 +00:00
|
|
|
void InsertCaption(const InsCaptionOpt *pOpt);
|
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// Async call by Core
|
2011-01-17 15:06:54 +01:00
|
|
|
void UpdatePageNums(sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const String& rPgStr);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
String GetPageStr(sal_uInt16 nPhyNum, sal_uInt16 nVirtNum, const String& rPgStr);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// hand over Shell
|
2006-07-26 14:50:43 +00:00
|
|
|
SfxShell *GetCurShell() { return pShell; }
|
|
|
|
SwDocShell *GetDocShell();
|
|
|
|
inline const SwDocShell *GetDocShell() const;
|
|
|
|
inline FmFormShell *GetFormShell() { return pFormShell; }
|
2010-02-19 22:40:09 +01:00
|
|
|
inline const FmFormShell *GetFormShell() const { return pFormShell; }
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-04-21 21:52:58 +02:00
|
|
|
// so that in the SubShells' DTors pShell can be reset if applicable
|
2006-07-26 14:50:43 +00:00
|
|
|
void ResetSubShell() { pShell = 0; }
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
virtual void WriteUserData(String &, sal_Bool bBrowse = sal_False );
|
|
|
|
virtual void ReadUserData(const String &, sal_Bool bBrowse = sal_False );
|
2006-07-26 14:50:43 +00:00
|
|
|
virtual void ReadUserDataSequence ( const com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >&, sal_Bool bBrowse );
|
|
|
|
virtual void WriteUserDataSequence ( com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >&, sal_Bool bBrowse );
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
void SetCrsrAtTop( sal_Bool bFlag, sal_Bool bCenter = sal_False )
|
2006-07-26 14:50:43 +00:00
|
|
|
{ bTopCrsr = bFlag, bCenterCrsr = bCenter; }
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool IsCrsrAtTop() const { return bTopCrsr; }
|
|
|
|
sal_Bool IsCrsrAtCenter() const { return bCenterCrsr; }
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool JumpToSwMark( const String& rMark );
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
long InsertDoc( sal_uInt16 nSlotId, const String& rFileName,
|
|
|
|
const String& rFilterName, sal_Int16 nVersion = 0 );
|
2006-07-26 14:50:43 +00:00
|
|
|
|
2006-11-22 09:27:41 +00:00
|
|
|
void ExecuteInsertDoc( SfxRequest& rRequest, const SfxPoolItem* pItem );
|
2011-01-17 15:06:54 +01:00
|
|
|
long InsertMedium( sal_uInt16 nSlotId, SfxMedium* pMedium, sal_Int16 nVersion );
|
2006-11-22 09:27:41 +00:00
|
|
|
DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper * );
|
|
|
|
|
2006-07-26 14:50:43 +00:00
|
|
|
// status methods for clipboard.
|
|
|
|
// Status changes now notified from the clipboard.
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool IsPasteAllowed();
|
|
|
|
sal_Bool IsPasteSpecialAllowed();
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
// Enable mail merge - mail merge field dialog enabled
|
2011-01-17 15:06:54 +01:00
|
|
|
void EnableMailMerge(sal_Bool bEnable = sal_True);
|
2006-07-26 14:50:43 +00:00
|
|
|
//apply Accessiblity options
|
|
|
|
void ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions);
|
|
|
|
|
|
|
|
SwView(SfxViewFrame* pFrame, SfxViewShell*);
|
|
|
|
~SwView();
|
|
|
|
|
|
|
|
void NotifyDBChanged();
|
|
|
|
|
2011-01-03 13:40:23 +01:00
|
|
|
SfxObjectShellLock & GetTmpSelectionDoc();
|
|
|
|
SfxObjectShellLock & GetOrCreateTmpSelectionDoc();
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
void AddTransferable(SwTransferable& rTransferable);
|
|
|
|
|
|
|
|
// store MailMerge data while "Back to Mail Merge Wizard" FloatingWindow is active
|
|
|
|
// or to support printing
|
|
|
|
void SetMailMergeConfigItem(SwMailMergeConfigItem* pConfigItem, sal_uInt16 nRestart, sal_Bool bIsSource);
|
|
|
|
SwMailMergeConfigItem* GetMailMergeConfigItem();
|
|
|
|
sal_uInt16 GetMailMergeRestartPage() const;
|
|
|
|
sal_Bool IsMailMergeSourceView() const;
|
|
|
|
|
|
|
|
void ExecFormatPaintbrush(SfxRequest &);
|
|
|
|
void StateFormatPaintbrush(SfxItemSet &);
|
|
|
|
|
|
|
|
//public fuer D&D
|
|
|
|
int InsertGraphic( const String &rPath, const String &rFilter,
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool bLink = sal_True, GraphicFilter *pFlt = 0,
|
2006-07-26 14:50:43 +00:00
|
|
|
Graphic* pPreviewGrf = 0,
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool bRule = sal_False );
|
2008-02-19 12:57:20 +00:00
|
|
|
|
2009-01-02 15:51:45 +00:00
|
|
|
void ExecuteScan( SfxRequest& rReq );
|
|
|
|
|
2008-02-19 12:57:20 +00:00
|
|
|
SwPostItMgr* GetPostItMgr() { return mpPostItMgr;}
|
2008-03-07 14:05:15 +00:00
|
|
|
const SwPostItMgr* GetPostItMgr() const { return mpPostItMgr;}
|
2006-07-26 14:50:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// ----------------- inline Methoden ----------------------
|
|
|
|
inline long SwView::GetXScroll() const
|
|
|
|
{
|
|
|
|
return aVisArea.GetWidth() * nScrollX / 100L;
|
|
|
|
}
|
|
|
|
|
|
|
|
inline long SwView::GetYScroll() const
|
|
|
|
{
|
|
|
|
return aVisArea.GetHeight() * nScrollY / 100L;
|
|
|
|
}
|
|
|
|
|
|
|
|
inline const SwDocShell *SwView::GetDocShell() const
|
|
|
|
{
|
|
|
|
return ((SwView*)this)->GetDocShell();
|
|
|
|
}
|
|
|
|
|
|
|
|
SfxTabPage* CreatePrintOptionsPage( Window *pParent,
|
|
|
|
const SfxItemSet &rOptions,
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool bPreview);
|
2006-07-26 14:50:43 +00:00
|
|
|
|
|
|
|
#endif
|
2009-09-01 16:31:53 +00:00
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|