2015-04-28 08:44:30 +09:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-11-06 12:12:33 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2013-10-23 19:10:20 +02:00
|
|
|
#ifndef INCLUDED_VCL_WINDOW_HXX
|
|
|
|
#define INCLUDED_VCL_WINDOW_HXX
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-03-02 10:43:28 +02:00
|
|
|
#include <config_features.h>
|
2012-06-10 19:26:30 +03:00
|
|
|
#include <tools/solar.h>
|
2007-04-11 17:16:53 +00:00
|
|
|
#include <vcl/dllapi.h>
|
|
|
|
#include <vcl/outdev.hxx>
|
|
|
|
#include <tools/resid.hxx>
|
|
|
|
#include <vcl/pointr.hxx>
|
2010-11-23 18:41:04 +01:00
|
|
|
#include <tools/wintypes.hxx>
|
2013-02-27 13:09:39 +02:00
|
|
|
#include <rsc/rsc-vcl-shared-types.hxx>
|
2007-04-11 17:16:53 +00:00
|
|
|
#include <vcl/apptypes.hxx>
|
2014-08-23 18:33:43 +03:00
|
|
|
#include <vcl/cursor.hxx>
|
2007-04-11 17:16:53 +00:00
|
|
|
#include <vcl/inputctx.hxx>
|
2015-04-23 11:26:44 +01:00
|
|
|
#include <vcl/keycodes.hxx>
|
2007-04-11 17:16:53 +00:00
|
|
|
#include <vcl/region.hxx>
|
|
|
|
#include <vcl/salnativewidgets.hxx>
|
|
|
|
#include <rtl/ustring.hxx>
|
2014-10-27 14:02:38 +02:00
|
|
|
#include <rtl/ref.hxx>
|
2007-04-11 17:16:53 +00:00
|
|
|
#include <cppuhelper/weakref.hxx>
|
|
|
|
#include <com/sun/star/uno/Reference.hxx>
|
2015-02-06 09:46:57 +00:00
|
|
|
#include <memory>
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
class VirtualDevice;
|
|
|
|
struct ImplDelData;
|
2014-05-07 11:49:46 +02:00
|
|
|
struct ImplSVEvent;
|
2007-04-11 17:16:53 +00:00
|
|
|
struct ImplWinData;
|
|
|
|
struct ImplFrameData;
|
|
|
|
struct ImplCalcToTopData;
|
|
|
|
struct SystemEnvData;
|
|
|
|
struct SystemParentData;
|
|
|
|
class ImplBorderWindow;
|
2015-05-05 09:59:27 +02:00
|
|
|
class Idle;
|
2007-04-11 17:16:53 +00:00
|
|
|
class Timer;
|
|
|
|
class DockingManager;
|
|
|
|
class ScrollBar;
|
|
|
|
class Bitmap;
|
2013-01-22 10:20:15 +00:00
|
|
|
class FixedText;
|
2007-04-11 17:16:53 +00:00
|
|
|
class Image;
|
|
|
|
class MouseEvent;
|
|
|
|
class KeyEvent;
|
|
|
|
class CommandEvent;
|
|
|
|
class TrackingEvent;
|
|
|
|
class HelpEvent;
|
|
|
|
class DataChangedEvent;
|
2015-04-23 11:26:44 +01:00
|
|
|
class VclSimpleEvent;
|
2007-04-11 17:16:53 +00:00
|
|
|
class NotifyEvent;
|
|
|
|
class SystemWindow;
|
|
|
|
class SalFrame;
|
|
|
|
class MenuFloatingWindow;
|
|
|
|
class VCLXWindow;
|
|
|
|
|
2015-05-17 22:56:46 +09:00
|
|
|
namespace com { namespace sun { namespace star {
|
2007-04-11 17:16:53 +00:00
|
|
|
namespace accessibility {
|
|
|
|
class XAccessible;
|
2015-05-17 22:56:46 +09:00
|
|
|
}
|
2010-04-01 16:51:09 +02:00
|
|
|
namespace beans {
|
2010-09-29 14:35:52 +02:00
|
|
|
struct PropertyValue;
|
2015-05-17 22:56:46 +09:00
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
namespace rendering {
|
|
|
|
class XCanvas;
|
2008-06-24 10:39:44 +00:00
|
|
|
class XSpriteCanvas;
|
2015-05-17 22:56:46 +09:00
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
namespace awt {
|
|
|
|
class XWindowPeer;
|
|
|
|
class XWindow;
|
|
|
|
}
|
|
|
|
namespace uno {
|
|
|
|
class Any;
|
|
|
|
class XInterface;
|
|
|
|
}
|
2015-05-17 22:56:46 +09:00
|
|
|
namespace datatransfer { namespace clipboard {
|
2007-04-11 17:16:53 +00:00
|
|
|
class XClipboard;
|
|
|
|
}
|
|
|
|
namespace dnd {
|
|
|
|
class XDragGestureRecognizer;
|
|
|
|
class XDragSource;
|
|
|
|
class XDropTarget;
|
2015-05-17 22:56:46 +09:00
|
|
|
}}}}}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2010-03-22 19:53:06 +01:00
|
|
|
namespace vcl {
|
|
|
|
struct ControlLayoutData;
|
2015-05-17 22:56:46 +09:00
|
|
|
class RenderSettings;
|
2010-03-22 19:53:06 +01:00
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2010-04-27 13:30:46 +02:00
|
|
|
namespace svt { class PopupWindowControllerImpl; }
|
|
|
|
|
2015-01-06 10:29:11 +02:00
|
|
|
template<class T> class VclPtr;
|
2014-12-04 13:50:21 +02:00
|
|
|
|
2015-05-12 08:15:34 +02:00
|
|
|
enum class TrackingEventFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Cancel = 0x0001,
|
|
|
|
Key = 0x0002,
|
|
|
|
Focus = 0x0004,
|
|
|
|
Repeat = 0x0100,
|
|
|
|
End = 0x1000,
|
|
|
|
DontCallHdl = 0x8000,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<TrackingEventFlags> : is_typed_flags<TrackingEventFlags, 0x9107> {};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
// - WindowTypes -
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Type fuer GetWindow()
|
2015-05-21 15:52:27 +02:00
|
|
|
enum class GetWindowType
|
|
|
|
{
|
|
|
|
Parent = 0,
|
|
|
|
FirstChild = 1,
|
|
|
|
LastChild = 2,
|
|
|
|
Prev = 3,
|
|
|
|
Next = 4,
|
|
|
|
FirstOverlap = 5,
|
|
|
|
LastOverlap = 6,
|
|
|
|
Overlap = 7,
|
|
|
|
ParentOverlap = 8,
|
|
|
|
Client = 9,
|
|
|
|
RealParent = 10,
|
|
|
|
Frame = 11,
|
|
|
|
Border = 12,
|
|
|
|
FirstTopWindowChild = 13,
|
|
|
|
LastTopWindowChild = 14,
|
|
|
|
PrevTopWindowSibling = 15,
|
|
|
|
NextTopWindowSibling = 16,
|
|
|
|
};
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2012-08-24 12:34:22 +01:00
|
|
|
// Flags for setPosSizePixel()
|
2015-05-22 10:37:31 +02:00
|
|
|
// These must match the definitions in css::awt::PosSize
|
|
|
|
enum class PosSizeFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
X = 0x0001,
|
|
|
|
Y = 0x0002,
|
|
|
|
Width = 0x0004,
|
|
|
|
Height = 0x0008,
|
|
|
|
Pos = X | Y,
|
|
|
|
Size = Width | Height,
|
|
|
|
PosSize = Pos | Size,
|
|
|
|
All = PosSize,
|
|
|
|
Dropdown = 0x0010,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<PosSizeFlags> : is_typed_flags<PosSizeFlags, 0x001f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for Show()
|
2015-05-22 12:49:04 +02:00
|
|
|
enum class ShowFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
NoParentUpdate = 0x0001,
|
|
|
|
NoFocusChange = 0x0002,
|
|
|
|
NoActivate = 0x0004,
|
|
|
|
ForegroundTask = 0x0008,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<ShowFlags> : is_typed_flags<ShowFlags, 0x000f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for SetZOrder()
|
2015-05-22 13:48:09 +02:00
|
|
|
enum class ZOrderFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Before = 0x0001,
|
|
|
|
Behind = 0x0002,
|
|
|
|
First = 0x0004,
|
|
|
|
Last = 0x0008,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<ZOrderFlags> : is_typed_flags<ZOrderFlags, 0x000f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Activate-Flags
|
2015-05-22 15:25:59 +02:00
|
|
|
enum class ActivateModeFlags
|
|
|
|
{
|
|
|
|
NONE = 0,
|
|
|
|
GrabFocus = 0x0001,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<ActivateModeFlags> : is_typed_flags<ActivateModeFlags, 0x0001> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// ToTop-Flags
|
2015-05-25 10:30:37 +02:00
|
|
|
enum class ToTopFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
RestoreWhenMin = 0x0001,
|
|
|
|
ForegroundTask = 0x0002,
|
|
|
|
NoGrabFocus = 0x0004,
|
|
|
|
GrabFocusOnly = 0x0008,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<ToTopFlags> : is_typed_flags<ToTopFlags, 0x000f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for Invalidate
|
2015-05-25 11:20:10 +02:00
|
|
|
// must match css::awt::InvalidateStyle
|
|
|
|
enum class InvalidateFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Children = 0x0001,
|
|
|
|
NoChildren = 0x0002,
|
|
|
|
NoErase = 0x0004,
|
|
|
|
Update = 0x0008,
|
|
|
|
Transparent = 0x0010,
|
|
|
|
NoTransparent = 0x0020,
|
|
|
|
NoClipChildren = 0x4000,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<InvalidateFlags> : is_typed_flags<InvalidateFlags, 0x403f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for Validate
|
2015-05-25 13:59:51 +02:00
|
|
|
enum class ValidateFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Children = 0x0001,
|
|
|
|
NoChildren = 0x0002
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<ValidateFlags> : is_typed_flags<ValidateFlags, 0x0003> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for Scroll
|
2015-05-26 08:29:52 +02:00
|
|
|
enum class ScrollFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Clip = 0x0001,
|
|
|
|
Children = 0x0002,
|
|
|
|
NoChildren = 0x0004,
|
|
|
|
NoErase = 0x0008,
|
|
|
|
NoInvalidate = 0x0010,
|
|
|
|
NoWindowInvalidate = 0x0020,
|
|
|
|
UseClipRegion = 0x0040,
|
|
|
|
Update = 0x0080,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<ScrollFlags> : is_typed_flags<ScrollFlags, 0x00ff> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for ParentClipMode
|
2015-05-27 16:09:43 +02:00
|
|
|
enum class ParentClipMode
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Clip = 0x0001,
|
|
|
|
NoClip = 0x0002,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<ParentClipMode> : is_typed_flags<ParentClipMode, 0x0003> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for Invert()
|
2015-05-27 16:01:34 +02:00
|
|
|
enum class InvertFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Highlight = 0x0001,
|
|
|
|
N50 = 0x0002,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<InvertFlags> : is_typed_flags<InvertFlags, 0x0003> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for ShowTracking()
|
2010-09-29 15:46:40 +08:00
|
|
|
#define SHOWTRACK_SMALL ((sal_uInt16)0x0001)
|
|
|
|
#define SHOWTRACK_BIG ((sal_uInt16)0x0002)
|
|
|
|
#define SHOWTRACK_SPLIT ((sal_uInt16)0x0003)
|
|
|
|
#define SHOWTRACK_OBJECT ((sal_uInt16)0x0004)
|
|
|
|
#define SHOWTRACK_WINDOW ((sal_uInt16)0x1000)
|
|
|
|
#define SHOWTRACK_CLIP ((sal_uInt16)0x2000)
|
|
|
|
#define SHOWTRACK_STYLE ((sal_uInt16)0x000F)
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for StartTracking()
|
2015-05-27 15:09:52 +02:00
|
|
|
enum class StartTrackingFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
KeyInput = 0x0001,
|
|
|
|
KeyMod = 0x0002,
|
|
|
|
NoKeyCancel = 0x0004,
|
|
|
|
ScrollRepeat = 0x0008,
|
|
|
|
ButtonRepeat = 0x0010,
|
|
|
|
MouseButtonDown = 0x0020,
|
|
|
|
FocusCancel = 0x0040,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<StartTrackingFlags> : is_typed_flags<StartTrackingFlags, 0x007f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for StartAutoScroll()
|
2015-05-27 14:05:45 +02:00
|
|
|
enum class StartAutoScrollFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Vert = 0x0001,
|
|
|
|
Horz = 0x0002,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<StartAutoScrollFlags> : is_typed_flags<StartAutoScrollFlags, 0x0003> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Flags for StateChanged()
|
2014-10-07 16:08:25 +02:00
|
|
|
enum class StateChangedType : sal_uInt16
|
|
|
|
{
|
2015-05-05 13:46:44 +02:00
|
|
|
InitShow = 1,
|
|
|
|
Visible = 2,
|
|
|
|
UpdateMode = 3,
|
|
|
|
Enable = 4,
|
|
|
|
Text = 5,
|
|
|
|
Image = 6,
|
|
|
|
Data = 7,
|
|
|
|
State = 8,
|
|
|
|
Style = 9,
|
|
|
|
Zoom = 10,
|
|
|
|
Border = 11,
|
2015-05-05 13:21:43 +02:00
|
|
|
Transparent = 12,
|
2015-05-05 13:46:44 +02:00
|
|
|
ControlFont = 13,
|
|
|
|
ControlForeground = 14,
|
|
|
|
ControlBackground = 15,
|
|
|
|
ReadOnly = 16,
|
|
|
|
ExtendedStyle = 17,
|
|
|
|
Mirroring = 18,
|
|
|
|
Layout = 19,
|
|
|
|
ControlFocus = 20,
|
|
|
|
User = 10000
|
2014-10-07 16:08:25 +02:00
|
|
|
};
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// GetFocusFlags
|
2015-05-27 13:47:57 +02:00
|
|
|
// must match constants in css:awt::FocusChangeReason
|
|
|
|
enum class GetFocusFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Tab = 0x0001,
|
2015-05-28 13:01:56 +02:00
|
|
|
CURSOR = 0x0002, // avoid name-clash with X11 #define
|
2015-05-27 13:47:57 +02:00
|
|
|
Mnemonic = 0x0004,
|
|
|
|
F6 = 0x0008,
|
|
|
|
Forward = 0x0010,
|
|
|
|
Backward = 0x0020,
|
|
|
|
Around = 0x0040,
|
|
|
|
UniqueMnemonic = 0x0100,
|
|
|
|
Init = 0x0200,
|
|
|
|
FloatWinPopupModeEndCancel = 0x0400,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<GetFocusFlags> : is_typed_flags<GetFocusFlags, 0x077f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-01-29 21:07:42 +01:00
|
|
|
|
2015-05-27 09:37:41 +02:00
|
|
|
// Flags for Draw()
|
|
|
|
enum class DrawFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Mono = 0x0001,
|
|
|
|
NoBorder = 0x0002,
|
|
|
|
NoControls = 0x0004,
|
|
|
|
NoDisable = 0x0008,
|
|
|
|
NoMnemonic = 0x0010,
|
|
|
|
NoSelection = 0x0020,
|
|
|
|
NoFocus = 0x0040,
|
|
|
|
NoBackground = 0x0080,
|
|
|
|
NoRollover = 0x0100,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<DrawFlags> : is_typed_flags<DrawFlags, 0x01ff> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// DialogControl-Flags
|
2015-05-26 15:22:10 +02:00
|
|
|
enum class DialogControlFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Return = 0x0001,
|
|
|
|
WantFocus = 0x0002,
|
|
|
|
Mod1Tab = 0x0004,
|
|
|
|
FloatWinPopupModeEndCancel = 0x0008,
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<DialogControlFlags> : is_typed_flags<DialogControlFlags, 0x000f> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-05-26 09:30:27 +02:00
|
|
|
// EndExtTextInput() Flags
|
|
|
|
enum class EndExtTextInputFlags
|
|
|
|
{
|
|
|
|
NONE = 0x0000,
|
|
|
|
Complete = 0x0001
|
|
|
|
};
|
|
|
|
namespace o3tl
|
|
|
|
{
|
|
|
|
template<> struct typed_flags<EndExtTextInputFlags> : is_typed_flags<EndExtTextInputFlags, 0x0001> {};
|
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
#define IMPL_MINSIZE_BUTTON_WIDTH 70
|
|
|
|
#define IMPL_MINSIZE_BUTTON_HEIGHT 22
|
|
|
|
#define IMPL_EXTRA_BUTTON_WIDTH 18
|
|
|
|
#define IMPL_EXTRA_BUTTON_HEIGHT 10
|
|
|
|
#define IMPL_SEP_BUTTON_X 5
|
|
|
|
#define IMPL_SEP_BUTTON_Y 5
|
|
|
|
#define IMPL_MINSIZE_MSGBOX_WIDTH 150
|
|
|
|
#define IMPL_DIALOG_OFFSET 5
|
|
|
|
#define IMPL_DIALOG_BAR_OFFSET 3
|
|
|
|
#define IMPL_MSGBOX_OFFSET_EXTRA_X 0
|
|
|
|
#define IMPL_MSGBOX_OFFSET_EXTRA_Y 2
|
|
|
|
#define IMPL_SEP_MSGBOX_IMAGE 8
|
|
|
|
|
2015-05-26 09:12:58 +02:00
|
|
|
// ImplGetDlgWindow()
|
|
|
|
enum class GetDlgWindowType
|
|
|
|
{
|
|
|
|
Prev, Next, First
|
|
|
|
};
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
// - Window -
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
#ifdef DBG_UTIL
|
|
|
|
const char* ImplDbgCheckWindow( const void* pObj );
|
|
|
|
#endif
|
|
|
|
|
2015-03-02 10:43:28 +02:00
|
|
|
inline bool ImplDoTiledRendering()
|
|
|
|
{
|
|
|
|
#if !HAVE_FEATURE_DESKTOP && !defined(ANDROID)
|
|
|
|
// We do tiled rendering only for iOS at the moment, actually, but
|
|
|
|
// let's see what happens if we assume it for Android, too.
|
|
|
|
// (That comment doesn't match what the code does, does it?)
|
|
|
|
return true;
|
|
|
|
#else
|
|
|
|
// We need some way to know globally if this process will use
|
|
|
|
// tiled rendering or not. Or should this be a per-window setting?
|
|
|
|
// Or what?
|
|
|
|
return false;
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-05-23 22:41:19 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
namespace vcl { class Window; }
|
|
|
|
vcl::Window* ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos );
|
|
|
|
|
|
|
|
namespace vcl { class Cursor; }
|
2011-12-01 12:00:46 +00:00
|
|
|
class Dialog;
|
2012-04-10 12:43:48 +01:00
|
|
|
class WindowImpl;
|
2014-05-12 21:41:35 +01:00
|
|
|
class PaintHelper;
|
2012-05-22 12:33:28 +01:00
|
|
|
class VclBuilder;
|
2013-01-11 10:08:20 +00:00
|
|
|
class VclSizeGroup;
|
2014-09-23 11:20:40 +02:00
|
|
|
class OutputDevice;
|
|
|
|
class Application;
|
|
|
|
class SystemWindow;
|
|
|
|
class WorkWindow;
|
|
|
|
class Dialog;
|
|
|
|
class MessBox;
|
|
|
|
class DockingWindow;
|
|
|
|
class FloatingWindow;
|
|
|
|
class GroupBox;
|
|
|
|
class PushButton;
|
|
|
|
class RadioButton;
|
|
|
|
class SystemChildWindow;
|
|
|
|
class ImplBorderWindow;
|
|
|
|
class VclBuilder;
|
|
|
|
class ImplDockingWindowWrapper;
|
|
|
|
class ImplPopupFloatWin;
|
|
|
|
class MenuFloatingWindow;
|
2014-12-31 13:30:00 +00:00
|
|
|
class LifecycleTest;
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
namespace svt { class PopupWindowControllerImpl; }
|
2011-12-01 12:00:46 +00:00
|
|
|
|
2012-08-20 09:59:16 +01:00
|
|
|
struct WindowResHeader
|
|
|
|
{
|
|
|
|
sal_uLong nObjMask;
|
2013-04-07 12:06:47 +02:00
|
|
|
OString aHelpId;
|
2012-08-20 09:59:16 +01:00
|
|
|
sal_uLong nRSStyle;
|
|
|
|
};
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
namespace vcl {
|
|
|
|
|
2015-05-12 15:15:54 +09:00
|
|
|
class VCL_DLLPUBLIC RenderTools
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// transparent background for selected or checked items in toolboxes etc.
|
|
|
|
// + selection Color with a text color complementing the selection background
|
|
|
|
// + rounded edge
|
|
|
|
static void DrawSelectionBackground(vcl::RenderContext& rRenderContext, vcl::Window& rWindow,
|
|
|
|
const Rectangle& rRect, sal_uInt16 nHighlight,
|
|
|
|
bool bChecked, bool bDrawBorder, bool bDrawExtBorderOnly,
|
|
|
|
Color* pSelectionTextColor = nullptr, long nCornerRadius = 0,
|
|
|
|
Color* pPaintColor = nullptr);
|
|
|
|
};
|
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
class VCL_DLLPUBLIC Window : public ::OutputDevice, public Resource
|
2007-04-11 17:16:53 +00:00
|
|
|
{
|
2014-09-27 14:52:40 +02:00
|
|
|
friend class ::vcl::Cursor;
|
2014-09-23 11:20:40 +02:00
|
|
|
friend class ::OutputDevice;
|
|
|
|
friend class ::Application;
|
|
|
|
friend class ::SystemWindow;
|
|
|
|
friend class ::WorkWindow;
|
|
|
|
friend class ::Dialog;
|
|
|
|
friend class ::MessBox;
|
|
|
|
friend class ::DockingWindow;
|
|
|
|
friend class ::FloatingWindow;
|
|
|
|
friend class ::GroupBox;
|
|
|
|
friend class ::PushButton;
|
|
|
|
friend class ::RadioButton;
|
|
|
|
friend class ::SystemChildWindow;
|
|
|
|
friend class ::ImplBorderWindow;
|
|
|
|
friend class ::VclBuilder;
|
|
|
|
friend class ::PaintHelper;
|
2014-12-31 13:30:00 +00:00
|
|
|
friend class ::LifecycleTest;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// TODO: improve missing functionality
|
|
|
|
// only required because of SetFloatingMode()
|
2014-09-23 11:20:40 +02:00
|
|
|
friend class ::ImplDockingWindowWrapper;
|
|
|
|
friend class ::ImplPopupFloatWin;
|
|
|
|
friend class ::MenuFloatingWindow;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
friend class ::svt::PopupWindowControllerImpl;
|
2010-04-27 13:30:46 +02:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
private:
|
|
|
|
// NOTE: to remove many dependencies of other modules
|
|
|
|
// to this central file, all members are now hidden
|
|
|
|
// in the WindowImpl class and all inline functions
|
2014-03-23 18:51:13 +11:00
|
|
|
// were removed.
|
|
|
|
// (WindowImpl is a pImpl pattern)
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
// Please do *not* add new members or inline functions to class Window,
|
|
|
|
// but use class WindowImpl instead
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
WindowImpl* mpWindowImpl;
|
|
|
|
|
|
|
|
#ifdef DBG_UTIL
|
2014-09-23 11:20:40 +02:00
|
|
|
friend const char* ::ImplDbgCheckWindow( const void* pObj );
|
2007-04-11 17:16:53 +00:00
|
|
|
#endif
|
2014-09-23 11:20:40 +02:00
|
|
|
friend vcl::Window* ::ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
public:
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2015-05-05 09:59:27 +02:00
|
|
|
DECL_DLLPRIVATE_LINK_TYPED( ImplHandlePaintHdl, Idle*, void );
|
2014-05-01 03:08:03 +10:00
|
|
|
DECL_DLLPRIVATE_LINK( ImplGenerateMouseMoveHdl, void* );
|
2015-05-04 17:28:40 +02:00
|
|
|
DECL_DLLPRIVATE_LINK_TYPED( ImplTrackTimerHdl, Timer*, void );
|
2014-05-01 03:08:03 +10:00
|
|
|
DECL_DLLPRIVATE_LINK( ImplAsyncFocusHdl, void* );
|
2015-05-05 09:59:27 +02:00
|
|
|
DECL_DLLPRIVATE_LINK_TYPED( ImplHandleResizeTimerHdl, Idle*, void );
|
2014-05-01 03:08:03 +10:00
|
|
|
DECL_DLLPRIVATE_LINK( ImplHideOwnerDrawWindowsHdl, void* );
|
|
|
|
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE static void ImplInitAppFontData( vcl::Window* pWindow );
|
2014-05-09 11:07:34 +01:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetFrameWindow() const;
|
2014-05-01 03:08:03 +10:00
|
|
|
SalFrame* ImplGetFrame() const;
|
|
|
|
SAL_DLLPRIVATE ImplFrameData* ImplGetFrameData();
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetWindow();
|
2014-05-01 03:08:03 +10:00
|
|
|
SAL_DLLPRIVATE ImplWinData* ImplGetWinData() const;
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetClientWindow() const;
|
2015-05-26 09:12:58 +02:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetDlgWindow( sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart = 0, sal_uInt16 nEnd = 0xFFFF, sal_uInt16* pIndex = NULL );
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetParent() const;
|
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplFindWindow( const Point& rFramePos );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2015-05-25 11:20:10 +02:00
|
|
|
SAL_DLLPRIVATE void ImplInvalidateFrameRegion( const vcl::Region* pRegion, InvalidateFlags nFlags );
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplInvalidateOverlapFrameRegion( const vcl::Region& rRegion );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
|
|
|
SAL_DLLPRIVATE bool ImplSetClipFlag( bool bSysObjOnlySmaller = false );
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE bool ImplIsWindowOrChild( const vcl::Window* pWindow, bool bSystemWindow = false ) const;
|
|
|
|
SAL_DLLPRIVATE bool ImplIsChild( const vcl::Window* pWindow, bool bSystemWindow = false ) const;
|
2014-05-01 03:08:03 +10:00
|
|
|
SAL_DLLPRIVATE bool ImplIsFloatingWindow() const;
|
|
|
|
SAL_DLLPRIVATE bool ImplIsPushButton() const;
|
|
|
|
SAL_DLLPRIVATE bool ImplIsSplitter() const;
|
|
|
|
SAL_DLLPRIVATE bool ImplIsOverlapWindow() const;
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplIsInTaskPaneList( bool mbIsInTaskList );
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE WindowImpl* ImplGetWindowImpl() const { return mpWindowImpl; }
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE Point ImplFrameToOutput( const Point& rPos );
|
|
|
|
|
2015-05-27 13:47:57 +02:00
|
|
|
SAL_DLLPRIVATE void ImplGrabFocus( GetFocusFlags nFlags );
|
|
|
|
SAL_DLLPRIVATE void ImplGrabFocusToDocument( GetFocusFlags nFlags );
|
2014-05-01 03:08:03 +10:00
|
|
|
SAL_DLLPRIVATE void ImplInvertFocus( const Rectangle& rRect );
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE PointerStyle ImplGetMousePointer() const;
|
|
|
|
SAL_DLLPRIVATE void ImplCallMouseMove( sal_uInt16 nMouseCode, bool bModChanged = false );
|
|
|
|
SAL_DLLPRIVATE void ImplGenerateMouseMove();
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplNotifyKeyMouseCommandEventListeners( NotifyEvent& rNEvt );
|
|
|
|
SAL_DLLPRIVATE void ImplNotifyIconifiedState( bool bIconified );
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplUpdateAll( bool bOverlapWindows = true );
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplDeleteOverlapBackground();
|
|
|
|
|
2015-05-27 13:47:57 +02:00
|
|
|
SAL_DLLPRIVATE void ImplControlFocus( GetFocusFlags nFlags = GetFocusFlags::NONE );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplMirrorFramePos( Point &pt ) const;
|
|
|
|
|
2015-05-22 10:37:31 +02:00
|
|
|
SAL_DLLPRIVATE void ImplPosSizeWindow( long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplAddDel( ImplDelData* pDel );
|
|
|
|
SAL_DLLPRIVATE void ImplRemoveDel( ImplDelData* pDel );
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplCallResize();
|
|
|
|
SAL_DLLPRIVATE void ImplCallMove();
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplIncModalCount();
|
|
|
|
SAL_DLLPRIVATE void ImplDecModalCount();
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE static void ImplCalcSymbolRect( Rectangle& rRect );
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
2014-10-27 14:02:38 +02:00
|
|
|
/** This is intended to be used to clear any locally held references to other Window-subclass objects */
|
2015-03-17 08:55:36 +02:00
|
|
|
virtual void dispose() SAL_OVERRIDE;
|
2014-10-27 14:02:38 +02:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* pSystemParentData );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
|
|
|
SAL_DLLPRIVATE Point ImplOutputToFrame( const Point& rPos );
|
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion( vcl::Region& rRegion );
|
2015-05-25 13:59:51 +02:00
|
|
|
SAL_DLLPRIVATE void ImplValidateFrameRegion( const vcl::Region* rRegion, ValidateFlags nFlags );
|
|
|
|
SAL_DLLPRIVATE void ImplValidate( const vcl::Region* rRegion, ValidateFlags nFlags );
|
2014-05-01 03:08:03 +10:00
|
|
|
SAL_DLLPRIVATE void ImplMoveInvalidateRegion( const Rectangle& rRect, long nHorzScroll, long nVertScroll, bool bChildren );
|
|
|
|
SAL_DLLPRIVATE void ImplMoveAllInvalidateRegions( const Rectangle& rRect, long nHorzScroll, long nVertScroll, bool bChildren );
|
|
|
|
|
2014-11-10 22:48:35 +11:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetBorderWindow() const;
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2015-05-25 11:20:10 +02:00
|
|
|
SAL_DLLPRIVATE void ImplInvalidate( const vcl::Region* rRegion, InvalidateFlags nFlags );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
|
|
|
SAL_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rFramePos );
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplSetMouseTransparent( bool bTransparent );
|
|
|
|
|
2015-05-26 08:29:52 +02:00
|
|
|
SAL_DLLPRIVATE void ImplScroll( const Rectangle& rRect, long nHorzScroll, long nVertScroll, ScrollFlags nFlags );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
|
|
|
SAL_DLLPRIVATE void ImplSaveOverlapBackground();
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE bool ImplRestoreOverlapBackground( vcl::Region& rInvRegion );
|
2014-05-01 03:08:03 +10:00
|
|
|
SAL_DLLPRIVATE void ImplInvalidateAllOverlapBackgrounds();
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE bool ImplSetClipFlagChildren( bool bSysObjOnlySmaller = false );
|
|
|
|
SAL_DLLPRIVATE bool ImplSetClipFlagOverlapWindows( bool bSysObjOnlySmaller = false );
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE WinBits ImplInitRes( const ResId& rResId );
|
|
|
|
SAL_DLLPRIVATE WindowResHeader ImplLoadResHeader( const ResId& rResId );
|
|
|
|
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
|
|
|
|
|
2015-05-18 11:20:48 +09:00
|
|
|
SAL_DLLPRIVATE void PushPaintHelper(PaintHelper* pHelper, vcl::RenderContext& rRenderContext);
|
|
|
|
SAL_DLLPRIVATE void PopPaintHelper(PaintHelper* pHelper);
|
2014-11-10 23:12:52 +11:00
|
|
|
|
2014-05-01 03:08:03 +10:00
|
|
|
private:
|
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplInitWindowData( WindowType nType );
|
|
|
|
|
2014-11-10 23:12:52 +11:00
|
|
|
SAL_DLLPRIVATE void getFrameDev( const Point& rPt, const Point& rDevPt, const Size& rDevSize,
|
2014-11-10 23:23:13 +11:00
|
|
|
OutputDevice& rOutDev );
|
|
|
|
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE void drawFrameDev( const Point& rPt, const Point& rDevPt, const Size& rDevSize,
|
|
|
|
const OutputDevice& rOutDev, const vcl::Region& rRegion );
|
2014-11-10 23:12:52 +11:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplSetFrameParent( const vcl::Window* pParent );
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplInsertWindow( vcl::Window* pParent );
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplRemoveWindow( bool bRemoveFrameData );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE SalGraphics* ImplGetFrameGraphics() const;
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplCallFocusChangeActivate( vcl::Window* pNewOverlapWindow, vcl::Window* pOldOverlapWindow );
|
2014-11-10 22:48:35 +11:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetFirstOverlapWindow();
|
|
|
|
SAL_DLLPRIVATE const vcl::Window* ImplGetFirstOverlapWindow() const;
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE bool ImplIsRealParentPath( const vcl::Window* pWindow ) const;
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-23 22:48:14 +10:00
|
|
|
SAL_DLLPRIVATE bool ImplTestMousePointerSet();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplResetReallyVisible();
|
|
|
|
SAL_DLLPRIVATE void ImplSetReallyVisible();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplCallInitShow();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplInitResolutionSettings();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2015-05-17 22:56:46 +09:00
|
|
|
SAL_DLLPRIVATE void ImplPointToLogic(vcl::RenderContext& rRenderContext, vcl::Font& rFont) const;
|
|
|
|
SAL_DLLPRIVATE void ImplLogicToPoint(vcl::RenderContext& rRenderContext, vcl::Font& rFont) const;
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE bool ImplSysObjClip( const vcl::Region* pOldRegion );
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplUpdateSysObjChildrenClip();
|
|
|
|
SAL_DLLPRIVATE void ImplUpdateSysObjOverlapsClip();
|
|
|
|
SAL_DLLPRIVATE void ImplUpdateSysObjClip();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplIntersectWindowClipRegion( vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplIntersectWindowRegion( vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplExcludeWindowRegion( vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplExcludeOverlapWindows( vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplExcludeOverlapWindows2( vcl::Region& rRegion );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplClipBoundaries( vcl::Region& rRegion, bool bThis, bool bOverlaps );
|
|
|
|
SAL_DLLPRIVATE bool ImplClipChildren( vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplClipAllChildren( vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplClipSiblings( vcl::Region& rRegion );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplInitWinClipRegion();
|
|
|
|
SAL_DLLPRIVATE void ImplInitWinChildClipRegion();
|
2014-11-10 22:48:35 +11:00
|
|
|
SAL_DLLPRIVATE vcl::Region* ImplGetWinChildClipRegion();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplIntersectAndUnionOverlapWindows( const vcl::Region& rInterRegion, vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplIntersectAndUnionOverlapWindows2( const vcl::Region& rInterRegion, vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplCalcOverlapRegionOverlaps( const vcl::Region& rInterRegion, vcl::Region& rRegion );
|
|
|
|
SAL_DLLPRIVATE void ImplCalcOverlapRegion( const Rectangle& rSourceRect, vcl::Region& rRegion,
|
2014-05-11 16:14:54 +10:00
|
|
|
bool bChildren, bool bParent, bool bSiblings );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2015-05-19 15:54:34 +02:00
|
|
|
/** Invoke the actual painting.
|
|
|
|
|
|
|
|
This function is kind of recursive - it may be called from the
|
|
|
|
PaintHelper destructor; and on the other hand it creates PaintHelper
|
|
|
|
that (when destructed) calls other ImplCallPaint()'s.
|
|
|
|
|
|
|
|
@param rBuffer VirtualDevice for double-buffering. It is only passed
|
|
|
|
here, the actual handling happens in the PaintHelper.
|
|
|
|
*/
|
|
|
|
SAL_DLLPRIVATE void ImplCallPaint(const VclPtr<VirtualDevice>& rBuffer, const vcl::Region* pRegion, sal_uInt16 nPaintFlags);
|
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplCallOverlapPaint();
|
|
|
|
SAL_DLLPRIVATE void ImplPostPaint();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplUpdateWindowPtr( vcl::Window* pWindow );
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplUpdateWindowPtr();
|
|
|
|
SAL_DLLPRIVATE void ImplUpdateOverlapWindowPtr( bool bNewFrame );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE bool ImplUpdatePos();
|
|
|
|
SAL_DLLPRIVATE void ImplUpdateSysObjPos();
|
2012-10-09 20:07:22 +01:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplUpdateGlobalSettings( AllSettings& rSettings, bool bCallHdl = true );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplAlignChildren();
|
|
|
|
SAL_DLLPRIVATE void ImplToBottomChild();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplCalcToTop( ImplCalcToTopData* pPrevData );
|
2015-05-25 10:30:37 +02:00
|
|
|
SAL_DLLPRIVATE void ImplToTop( ToTopFlags nFlags );
|
|
|
|
SAL_DLLPRIVATE void ImplStartToTop( ToTopFlags nFlags );
|
|
|
|
SAL_DLLPRIVATE void ImplFocusToTop( ToTopFlags nFlags, bool bReallyVisible );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplShowAllOverlaps();
|
|
|
|
SAL_DLLPRIVATE void ImplHideAllOverlaps();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE bool ImplDlgCtrl( const KeyEvent& rKEvt, bool bKeyInput );
|
|
|
|
SAL_DLLPRIVATE bool ImplHasDlgCtrl();
|
|
|
|
SAL_DLLPRIVATE void ImplDlgCtrlNextWindow();
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplDlgCtrlFocusChanged( vcl::Window* pWindow, bool bGetFocus );
|
2014-11-10 22:48:35 +11:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplFindDlgCtrlWindow( vcl::Window* pWindow );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE long ImplLogicUnitToPixelX( long nX, MapUnit eUnit );
|
|
|
|
SAL_DLLPRIVATE long ImplLogicUnitToPixelY( long nY, MapUnit eUnit );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE bool ImplIsWindowInFront( const vcl::Window* pTestWindow ) const;
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE static void ImplNewInputContext();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplCallActivateListeners(vcl::Window*);
|
|
|
|
SAL_DLLPRIVATE void ImplCallDeactivateListeners(vcl::Window*);
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplHandleScroll( ScrollBar* pHScrl, long nX, ScrollBar* pVScrl, long nY );
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE Rectangle ImplOutputToUnmirroredAbsoluteScreenPixel( const Rectangle& rRect ) const;
|
|
|
|
SAL_DLLPRIVATE long ImplGetUnmirroredOutOffX();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// retrieves the list of owner draw decorated windows for this window hiearchy
|
2015-03-09 14:29:30 +02:00
|
|
|
SAL_DLLPRIVATE ::std::vector<VclPtr<vcl::Window> >& ImplGetOwnerDrawList();
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-11-10 22:48:35 +11:00
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetTopmostFrameWindow();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE Rectangle ImplGetWindowExtentsRelative( vcl::Window *pRelativeWindow, bool bClientOnly ) const;
|
2014-05-01 03:08:03 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE bool ImplStopDnd();
|
|
|
|
SAL_DLLPRIVATE void ImplStartDnd();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
SAL_DLLPRIVATE void ImplPaintToDevice( ::OutputDevice* pTargetOutDev, const Point& rPos );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
SAL_DLLPRIVATE ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCanvas >
|
2014-05-11 16:14:54 +10:00
|
|
|
ImplGetCanvas( const Size& rFullscreenSize, bool bFullscreen, bool bSpriteCanvas ) const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-01 03:08:03 +10:00
|
|
|
public:
|
2014-11-10 22:48:35 +11:00
|
|
|
virtual vcl::Region GetActiveClipRegion() const SAL_OVERRIDE;
|
2014-04-24 21:43:16 +03:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
protected:
|
|
|
|
// Single argument ctors shall be explicit.
|
2014-05-11 16:14:54 +10:00
|
|
|
explicit Window( WindowType nType );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetCompoundControl( bool bCompound );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void CallEventListeners( sal_uLong nEvent, void* pData = NULL );
|
2015-04-01 08:33:09 +02:00
|
|
|
static void FireVclEvent( VclSimpleEvent* pEvent );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual bool AcquireGraphics() const SAL_OVERRIDE;
|
|
|
|
virtual void ReleaseGraphics( bool bRelease = true ) SAL_OVERRIDE;
|
2014-04-25 01:29:54 +10:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual void InitClipRegion() SAL_OVERRIDE;
|
2014-04-25 02:23:22 +10:00
|
|
|
|
2008-04-04 10:00:45 +00:00
|
|
|
// FIXME: this is a hack to workaround missing layout functionality
|
2014-05-11 16:14:54 +10:00
|
|
|
SAL_DLLPRIVATE void ImplAdjustNWFSizes();
|
2013-01-22 10:20:15 +00:00
|
|
|
|
2015-05-18 14:41:05 +02:00
|
|
|
virtual void CopyDeviceArea( SalTwoRect& aPosAry, bool bWindowInvalidate = false) SAL_OVERRIDE;
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual void ClipToPaintRegion( Rectangle& rDstRect ) SAL_OVERRIDE;
|
|
|
|
virtual bool UsePolyPolygonForComplexGradient() SAL_OVERRIDE;
|
2014-03-16 02:22:20 +11:00
|
|
|
|
2015-05-17 22:56:46 +09:00
|
|
|
virtual void DrawGradientWallpaper(long nX, long nY, long nWidth, long nHeight,
|
|
|
|
const Wallpaper& rWallpaper) SAL_OVERRIDE
|
|
|
|
{
|
|
|
|
OutputDevice::DrawGradientWallpaper(nX, nY, nWidth, nHeight, rWallpaper);
|
|
|
|
}
|
|
|
|
|
2015-06-09 08:55:13 +02:00
|
|
|
void DrawGradientWallpaper(vcl::RenderContext& rRenderContext, long nX, long nY,
|
2015-05-17 22:56:46 +09:00
|
|
|
long nWidth, long nHeight, const Wallpaper& rWallpaper);
|
2014-04-17 03:45:23 +10:00
|
|
|
|
2015-05-17 22:56:46 +09:00
|
|
|
virtual void ApplySettings(vcl::RenderContext& rRenderContext);
|
2014-02-07 22:32:58 +11:00
|
|
|
public:
|
2014-05-11 16:14:54 +10:00
|
|
|
bool HasMirroredGraphics() const SAL_OVERRIDE;
|
2014-02-07 22:32:58 +11:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
public:
|
|
|
|
// Single argument ctors shall be explicit.
|
2014-09-23 11:20:40 +02:00
|
|
|
explicit Window( vcl::Window* pParent, WinBits nStyle = 0 );
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
Window( vcl::Window* pParent, const ResId& rResId );
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual ~Window();
|
|
|
|
|
2015-03-24 17:52:38 +00:00
|
|
|
::OutputDevice const* GetOutDev() const;
|
|
|
|
::OutputDevice* GetOutDev();
|
2014-05-11 16:14:54 +10:00
|
|
|
|
|
|
|
virtual void EnableRTL ( bool bEnable = true ) SAL_OVERRIDE;
|
|
|
|
virtual void MouseMove( const MouseEvent& rMEvt );
|
|
|
|
virtual void MouseButtonDown( const MouseEvent& rMEvt );
|
|
|
|
virtual void MouseButtonUp( const MouseEvent& rMEvt );
|
|
|
|
virtual void KeyInput( const KeyEvent& rKEvt );
|
|
|
|
virtual void KeyUp( const KeyEvent& rKEvt );
|
2015-05-13 13:36:14 +09:00
|
|
|
virtual void PrePaint(vcl::RenderContext& rRenderContext);
|
2015-04-28 08:11:44 +09:00
|
|
|
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect);
|
2015-05-13 13:36:14 +09:00
|
|
|
virtual void PostPaint(vcl::RenderContext& rRenderContext);
|
2015-06-09 08:55:13 +02:00
|
|
|
void Erase(vcl::RenderContext& rRenderContext);
|
2015-05-17 22:56:46 +09:00
|
|
|
|
|
|
|
virtual void Erase() SAL_OVERRIDE
|
|
|
|
{
|
|
|
|
OutputDevice::Erase();
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void Erase(const Rectangle& rRect) SAL_OVERRIDE
|
|
|
|
{
|
|
|
|
OutputDevice::Erase(rRect);
|
|
|
|
}
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-05-27 09:37:41 +02:00
|
|
|
virtual void Draw( ::OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags );
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual void Move();
|
|
|
|
virtual void Resize();
|
|
|
|
virtual void Activate();
|
|
|
|
virtual void Deactivate();
|
|
|
|
virtual void GetFocus();
|
|
|
|
virtual void LoseFocus();
|
|
|
|
virtual void RequestHelp( const HelpEvent& rHEvt );
|
|
|
|
virtual void Command( const CommandEvent& rCEvt );
|
|
|
|
virtual void Tracking( const TrackingEvent& rTEvt );
|
|
|
|
virtual void StateChanged( StateChangedType nStateChange );
|
|
|
|
virtual void DataChanged( const DataChangedEvent& rDCEvt );
|
|
|
|
virtual bool PreNotify( NotifyEvent& rNEvt );
|
|
|
|
virtual bool Notify( NotifyEvent& rNEvt );
|
2014-11-10 22:48:35 +11:00
|
|
|
virtual vcl::Window* GetPreferredKeyInputWindow();
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-05-23 19:44:15 +01:00
|
|
|
// These methods call the relevant virtual method when not in/post dispose
|
|
|
|
void CompatGetFocus();
|
|
|
|
void CompatLoseFocus();
|
|
|
|
void CompatStateChanged( StateChangedType nStateChange );
|
|
|
|
void CompatDataChanged( const DataChangedEvent& rDCEvt );
|
|
|
|
bool CompatPreNotify( NotifyEvent& rNEvt );
|
|
|
|
bool CompatNotify( NotifyEvent& rNEvt );
|
|
|
|
|
2015-04-30 10:20:00 +02:00
|
|
|
void AddEventListener( const Link<>& rEventListener );
|
|
|
|
void RemoveEventListener( const Link<>& rEventListener );
|
|
|
|
void AddChildEventListener( const Link<>& rEventListener );
|
|
|
|
void RemoveChildEventListener( const Link<>& rEventListener );
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-05-07 22:08:21 +01:00
|
|
|
ImplSVEvent * PostUserEvent( const Link<>& rLink, void* pCaller = NULL, bool bReferenceLink = false );
|
2014-05-11 16:14:54 +10:00
|
|
|
void RemoveUserEvent( ImplSVEvent * nUserEvent );
|
|
|
|
|
|
|
|
void IncrementLockCount();
|
|
|
|
void DecrementLockCount();
|
|
|
|
bool IsLocked( bool bChildren = false ) const;
|
|
|
|
|
|
|
|
// returns the input language used for the last key stroke
|
|
|
|
// may be LANGUAGE_DONTKNOW if not supported by the OS
|
|
|
|
LanguageType GetInputLanguage() const;
|
|
|
|
|
|
|
|
void SetStyle( WinBits nStyle );
|
|
|
|
WinBits GetStyle() const;
|
|
|
|
WinBits GetPrevStyle() const;
|
|
|
|
void SetExtendedStyle( WinBits nExtendedStyle );
|
|
|
|
WinBits GetExtendedStyle() const;
|
|
|
|
void SetType( WindowType nType );
|
|
|
|
WindowType GetType() const;
|
|
|
|
bool IsSystemWindow() const;
|
2014-12-16 14:07:08 +00:00
|
|
|
bool IsDockingWindow() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsDialog() const;
|
|
|
|
bool IsMenuFloatingWindow() const;
|
|
|
|
bool IsToolbarFloatingWindow() const;
|
|
|
|
bool IsTopWindow() const;
|
2015-02-14 21:11:52 +00:00
|
|
|
bool IsDisposed() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
SystemWindow* GetSystemWindow() const;
|
|
|
|
|
2015-05-18 18:30:44 +02:00
|
|
|
/// Can the widget derived from this Window do the double-buffering via RenderContext properly?
|
|
|
|
bool SupportsDoubleBuffering() const;
|
|
|
|
/// Mark this window / widget derived from this window as working with double-buffering via RenderContext.
|
|
|
|
void SetDoubleBuffering(bool bDoubleBuffering = true);
|
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void EnableAllResize( bool bEnable = true );
|
|
|
|
|
2014-10-20 09:10:45 +02:00
|
|
|
void SetBorderStyle( WindowBorderStyle nBorderStyle );
|
|
|
|
WindowBorderStyle GetBorderStyle() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
void GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
|
|
|
|
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const;
|
|
|
|
Size CalcWindowSize( const Size& rOutSz ) const;
|
|
|
|
Size CalcOutputSize( const Size& rWinSz ) const;
|
|
|
|
long CalcTitleWidth() const;
|
|
|
|
|
|
|
|
void EnableClipSiblings( bool bClipSiblings = true );
|
|
|
|
|
|
|
|
void EnableChildTransparentMode( bool bEnable = true );
|
|
|
|
bool IsChildTransparentModeEnabled() const;
|
|
|
|
|
|
|
|
void SetMouseTransparent( bool bTransparent );
|
|
|
|
bool IsMouseTransparent() const;
|
|
|
|
void SetPaintTransparent( bool bTransparent );
|
|
|
|
bool IsPaintTransparent() const;
|
|
|
|
void SetDialogControlStart( bool bStart );
|
|
|
|
bool IsDialogControlStart() const;
|
2015-05-26 15:22:10 +02:00
|
|
|
void SetDialogControlFlags( DialogControlFlags nFlags );
|
|
|
|
DialogControlFlags GetDialogControlFlags() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
struct PointerState
|
|
|
|
{
|
2011-01-12 15:07:10 +01:00
|
|
|
sal_uLong mnState; // the button state
|
2007-04-11 17:16:53 +00:00
|
|
|
Point maPos; // mouse position in output coordinates
|
|
|
|
};
|
2014-05-11 16:14:54 +10:00
|
|
|
PointerState GetPointerState();
|
|
|
|
bool IsMouseOver();
|
|
|
|
|
|
|
|
sal_uLong GetCurrentModButtons();
|
|
|
|
|
|
|
|
void SetInputContext( const InputContext& rInputContext );
|
|
|
|
const InputContext& GetInputContext() const;
|
2015-05-26 09:30:27 +02:00
|
|
|
void EndExtTextInput( EndExtTextInputFlags nFlags );
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetCursorRect( const Rectangle* pRect = NULL, long nExtTextInputWidth = 0 );
|
|
|
|
const Rectangle* GetCursorRect() const;
|
|
|
|
long GetCursorExtTextInputWidth() const;
|
|
|
|
|
|
|
|
void SetCompositionCharRect( const Rectangle* pRect, long nCompositionLength, bool bVertical = false );
|
|
|
|
|
2014-09-27 14:52:40 +02:00
|
|
|
using ::OutputDevice::SetSettings;
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual void SetSettings( const AllSettings& rSettings ) SAL_OVERRIDE;
|
2015-01-21 12:15:26 +02:00
|
|
|
void SetSettings( const AllSettings& rSettings, bool bChild );
|
2014-05-11 16:14:54 +10:00
|
|
|
void UpdateSettings( const AllSettings& rSettings, bool bChild = false );
|
|
|
|
void NotifyAllChildren( DataChangedEvent& rDCEvt );
|
|
|
|
|
2015-05-17 22:56:46 +09:00
|
|
|
void SetPointFont(vcl::RenderContext& rRenderContext, const vcl::Font& rFont);
|
|
|
|
vcl::Font GetPointFont(vcl::RenderContext& rRenderContext) const;
|
|
|
|
void SetZoomedPointFont(vcl::RenderContext& rRenderContext, const vcl::Font& rFont);
|
2014-09-27 14:52:40 +02:00
|
|
|
long GetDrawPixel( ::OutputDevice* pDev, long nPixels ) const;
|
|
|
|
vcl::Font GetDrawPixelFont( ::OutputDevice* pDev ) const;
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-05-17 22:56:46 +09:00
|
|
|
void SetControlFont();
|
|
|
|
void SetControlFont( const vcl::Font& rFont );
|
|
|
|
vcl::Font GetControlFont() const;
|
|
|
|
bool IsControlFont() const;
|
|
|
|
void ApplyControlFont(vcl::RenderContext& rRenderContext, const vcl::Font& rDefaultFont);
|
|
|
|
|
|
|
|
void SetControlForeground();
|
|
|
|
void SetControlForeground(const Color& rColor);
|
|
|
|
Color GetControlForeground() const;
|
|
|
|
bool IsControlForeground() const;
|
|
|
|
void ApplyControlForeground(vcl::RenderContext& rRenderContext, const Color& rDefaultColor);
|
|
|
|
|
|
|
|
void SetControlBackground();
|
|
|
|
void SetControlBackground( const Color& rColor );
|
|
|
|
Color GetControlBackground() const;
|
|
|
|
bool IsControlBackground() const;
|
|
|
|
void ApplyControlBackground(vcl::RenderContext& rRenderContext, const Color& rDefaultColor);
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-05-27 16:09:43 +02:00
|
|
|
void SetParentClipMode( ParentClipMode nMode = ParentClipMode::NONE );
|
|
|
|
ParentClipMode GetParentClipMode() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
|
|
|
|
void SetWindowRegionPixel();
|
2014-09-27 14:52:40 +02:00
|
|
|
void SetWindowRegionPixel( const vcl::Region& rRegion );
|
2014-11-10 22:48:35 +11:00
|
|
|
const vcl::Region& GetWindowRegionPixel() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsWindowRegionPixel() const;
|
2015-05-26 10:16:39 +02:00
|
|
|
vcl::Region GetWindowClipRegionPixel() const;
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Region GetPaintRegion() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsInPaint() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
// while IsInPaint returns true ExpandPaintClipRegion adds the
|
|
|
|
// submitted region to the paint clip region so you can
|
|
|
|
// paint additional parts of your window if necessary
|
2014-09-27 14:52:40 +02:00
|
|
|
void ExpandPaintClipRegion( const vcl::Region& rRegion );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
void SetParent( vcl::Window* pNewParent );
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* GetParent() const;
|
2011-09-27 12:37:00 +01:00
|
|
|
// return the dialog we are contained in or NULL if un-contained
|
2014-05-11 16:14:54 +10:00
|
|
|
Dialog* GetParentDialog() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-05-22 12:49:04 +02:00
|
|
|
void Show( bool bVisible = true, ShowFlags nFlags = ShowFlags::NONE );
|
2014-05-11 16:14:54 +10:00
|
|
|
void Hide() { Show( false ); }
|
|
|
|
bool IsVisible() const;
|
|
|
|
bool IsReallyVisible() const;
|
|
|
|
bool IsReallyShown() const;
|
|
|
|
bool IsInInitShow() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void Enable( bool bEnable = true, bool bChild = true );
|
|
|
|
void Disable( bool bChild = true ) { Enable( false, bChild ); }
|
|
|
|
bool IsEnabled() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void EnableInput( bool bEnable = true, bool bChild = true );
|
|
|
|
void EnableInput( bool bEnable, bool bChild, bool bSysWin,
|
2014-09-23 11:20:40 +02:00
|
|
|
const vcl::Window* pExcludeWindow = NULL );
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsInputEnabled() const;
|
2008-02-19 13:11:16 +00:00
|
|
|
|
2015-05-17 22:56:46 +09:00
|
|
|
vcl::RenderSettings& GetRenderSettings();
|
|
|
|
|
2008-02-19 13:11:16 +00:00
|
|
|
/** Override <code>EnableInput</code>. This can be necessary due to other people
|
|
|
|
using EnableInput for whole window hierarchies.
|
|
|
|
|
|
|
|
|
|
|
|
<code>AlwaysEnableInput</code> and <code>AlwaysDisableInput</code> are
|
|
|
|
mutually exclusive; the last setter wins.
|
|
|
|
@param bAlways
|
|
|
|
sets always enabled flag
|
|
|
|
|
|
|
|
@param bChild
|
|
|
|
if true children are recursively set to AlwaysEnableInput
|
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
void AlwaysEnableInput( bool bAlways, bool bChild = true );
|
2008-02-19 13:11:16 +00:00
|
|
|
/** returns the current AlwaysEnableInput state
|
|
|
|
@return
|
|
|
|
true if window is in AlwaysEnableInput state
|
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsAlwaysEnableInput() const;
|
2008-02-19 13:11:16 +00:00
|
|
|
/** Override <code>EnableInput</code>, counterpart to AlwaysEnableInput.
|
|
|
|
Windows with AlwaysDisableInput will not get key events even if enabled
|
|
|
|
and input enabled.This can be necessary due to other people using EnableInput
|
|
|
|
for whole window hierarchies.
|
|
|
|
|
|
|
|
<code>AlwaysEnableInput</code> and <code>AlwaysDisableInput</code> are
|
|
|
|
mutually exclusive; the last setter wins.
|
|
|
|
|
|
|
|
@param bAlways
|
|
|
|
sets always disable flag
|
|
|
|
|
|
|
|
@param bChild
|
|
|
|
if true children are recursively set to AlwaysDisableInput
|
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
void AlwaysDisableInput( bool bAlways, bool bChild = true );
|
2011-07-26 12:51:58 +02:00
|
|
|
|
2007-11-26 14:11:48 +00:00
|
|
|
/** usually event handlers (see AddEventListener and AddChildEventListener)
|
|
|
|
are not called on disabled, modal or input disabled windows. There are however rare cases
|
|
|
|
in which one wants a Window or rather one of its Control subclasses to
|
|
|
|
not evaluate events but still react to those events externally. In these
|
|
|
|
rare cases call SetCallHandlersOnInputDisabled( true ) to have your handler
|
|
|
|
called anyway.
|
|
|
|
|
|
|
|
Currently only mouse events get this special treatment.
|
|
|
|
|
2013-04-15 05:39:31 +02:00
|
|
|
Use this sparingly, chances are if you want to use it you're working around
|
2007-11-26 14:11:48 +00:00
|
|
|
the real problem.
|
|
|
|
|
|
|
|
@param bCall
|
2008-02-19 13:11:16 +00:00
|
|
|
Enable/Disable calling event handlers for this disabled, modal or input disabled window.
|
|
|
|
This call is implicity done recursively for possible child windows.
|
2007-11-26 14:11:48 +00:00
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetCallHandlersOnInputDisabled( bool bCall );
|
2007-11-26 14:11:48 +00:00
|
|
|
/** get state of SetCallHandlersOnInputDisabled
|
|
|
|
|
|
|
|
@returns whether handlers are called regardless of input enabled state
|
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsCallHandlersOnInputDisabled() const;
|
2007-11-26 14:11:48 +00:00
|
|
|
/** A window is in modal mode if one of its children or subchildren
|
|
|
|
is a running modal window (a modal dialog)
|
|
|
|
|
2010-09-29 15:46:40 +08:00
|
|
|
@returns sal_True if a child or subchild is a running modal window
|
2007-11-26 14:11:48 +00:00
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsInModalMode() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-05-22 15:25:59 +02:00
|
|
|
void SetActivateMode( ActivateModeFlags nMode );
|
|
|
|
ActivateModeFlags GetActivateMode() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-05-25 10:30:37 +02:00
|
|
|
void ToTop( ToTopFlags nFlags = ToTopFlags::NONE );
|
2015-05-22 13:48:09 +02:00
|
|
|
void SetZOrder( vcl::Window* pRefWindow, ZOrderFlags nFlags );
|
2014-05-11 16:14:54 +10:00
|
|
|
void EnableAlwaysOnTop( bool bEnable = true );
|
|
|
|
bool IsAlwaysOnTopEnabled() const;
|
|
|
|
|
|
|
|
virtual void setPosSizePixel( long nX, long nY,
|
|
|
|
long nWidth, long nHeight,
|
2015-05-22 10:37:31 +02:00
|
|
|
PosSizeFlags nFlags = PosSizeFlags::All );
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual void SetPosPixel( const Point& rNewPos );
|
|
|
|
virtual Point GetPosPixel() const;
|
|
|
|
virtual void SetSizePixel( const Size& rNewSize );
|
|
|
|
virtual Size GetSizePixel() const;
|
|
|
|
virtual void SetPosSizePixel( const Point& rNewPos,
|
|
|
|
const Size& rNewSize );
|
|
|
|
virtual void SetOutputSizePixel( const Size& rNewSize );
|
|
|
|
bool IsDefaultPos() const;
|
|
|
|
bool IsDefaultSize() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// those conversion routines might deliver different results during UI mirroring
|
2014-05-11 16:14:54 +10:00
|
|
|
Point OutputToScreenPixel( const Point& rPos ) const;
|
|
|
|
Point ScreenToOutputPixel( const Point& rPos ) const;
|
2007-04-11 17:16:53 +00:00
|
|
|
// the normalized screen methods work independent from UI mirroring
|
2014-05-11 16:14:54 +10:00
|
|
|
Point OutputToNormalizedScreenPixel( const Point& rPos ) const;
|
|
|
|
Point NormalizedScreenToOutputPixel( const Point& rPos ) const;
|
|
|
|
Point OutputToAbsoluteScreenPixel( const Point& rPos ) const;
|
|
|
|
Point AbsoluteScreenToOutputPixel( const Point& rPos ) const;
|
|
|
|
Rectangle GetDesktopRectPixel() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
// window extents including border and decoratrion
|
2014-09-23 11:20:40 +02:00
|
|
|
Rectangle GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const;
|
2007-04-11 17:16:53 +00:00
|
|
|
// window extents of the client window, coordinates to be used in SetPosPixel
|
2014-09-23 11:20:40 +02:00
|
|
|
Rectangle GetClientWindowExtentsRelative( vcl::Window *pRelativeWindow ) const;
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-01-21 12:15:26 +02:00
|
|
|
bool IsScrollable() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual void Scroll( long nHorzScroll, long nVertScroll,
|
2015-05-26 08:29:52 +02:00
|
|
|
ScrollFlags nFlags = ScrollFlags::NONE );
|
2015-01-21 12:15:26 +02:00
|
|
|
void Scroll( long nHorzScroll, long nVertScroll,
|
2015-05-26 08:29:52 +02:00
|
|
|
const Rectangle& rRect, ScrollFlags nFlags = ScrollFlags::NONE );
|
2015-05-25 11:20:10 +02:00
|
|
|
virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE );
|
|
|
|
virtual void Invalidate( const Rectangle& rRect, InvalidateFlags nFlags = InvalidateFlags::NONE );
|
|
|
|
virtual void Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags = InvalidateFlags::NONE );
|
2015-05-25 13:59:51 +02:00
|
|
|
void Validate( ValidateFlags nFlags = ValidateFlags::NONE );
|
2014-05-11 16:14:54 +10:00
|
|
|
bool HasPaintEvent() const;
|
|
|
|
void Update();
|
|
|
|
void Flush();
|
|
|
|
void Sync();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// toggles new docking support, enabled via toolkit
|
2014-05-11 16:14:54 +10:00
|
|
|
void EnableDocking( bool bEnable = true );
|
2007-04-11 17:16:53 +00:00
|
|
|
// retrieves the single dockingmanager instance
|
2014-05-11 16:14:54 +10:00
|
|
|
static DockingManager* GetDockingManager();
|
|
|
|
|
|
|
|
void EnablePaint( bool bEnable );
|
|
|
|
bool IsPaintEnabled() const;
|
|
|
|
void SetUpdateMode( bool bUpdate );
|
|
|
|
bool IsUpdateMode() const;
|
|
|
|
void SetParentUpdateMode( bool bUpdate );
|
|
|
|
|
|
|
|
void GrabFocus();
|
|
|
|
bool HasFocus() const;
|
|
|
|
bool HasChildPathFocus( bool bSystemWindow = false ) const;
|
|
|
|
bool IsActive() const;
|
|
|
|
bool HasActiveChildFrame();
|
2015-05-27 13:47:57 +02:00
|
|
|
GetFocusFlags GetGetFocusFlags() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
void GrabFocusToDocument();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2009-08-26 22:54:20 +00:00
|
|
|
/**
|
|
|
|
* Set this when you need to act as if the window has focus even if it
|
|
|
|
* doesn't. This is necessary for implementing tab stops inside floating
|
|
|
|
* windows, but floating windows don't get focus from the system.
|
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetFakeFocus( bool bFocus );
|
|
|
|
|
|
|
|
bool IsCompoundControl() const;
|
|
|
|
|
|
|
|
static sal_uIntPtr SaveFocus();
|
|
|
|
static bool EndSaveFocus( sal_uIntPtr nSaveId, bool bRestore = true );
|
|
|
|
|
|
|
|
void CaptureMouse();
|
|
|
|
void ReleaseMouse();
|
|
|
|
bool IsMouseCaptured() const;
|
|
|
|
|
|
|
|
void SetPointer( const Pointer& rPointer );
|
|
|
|
const Pointer& GetPointer() const;
|
|
|
|
void EnableChildPointerOverwrite( bool bOverwrite );
|
|
|
|
void SetPointerPosPixel( const Point& rPos );
|
|
|
|
Point GetPointerPosPixel();
|
|
|
|
Point GetLastPointerPosPixel();
|
2015-02-24 14:00:28 +01:00
|
|
|
/// Similar to SetPointerPosPixel(), but sets the frame data's last mouse position instead.
|
|
|
|
void SetLastMousePos(const Point& rPos);
|
2014-05-11 16:14:54 +10:00
|
|
|
void ShowPointer( bool bVisible );
|
|
|
|
void EnterWait();
|
|
|
|
void LeaveWait();
|
|
|
|
bool IsWait() const;
|
|
|
|
|
2014-08-23 18:33:43 +03:00
|
|
|
void SetCursor( vcl::Cursor* pCursor );
|
|
|
|
vcl::Cursor* GetCursor() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2014-10-23 17:41:47 +02:00
|
|
|
void SetZoom( const Fraction& rZoom );
|
|
|
|
const Fraction& GetZoom() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsZoom() const;
|
|
|
|
long CalcZoom( long n ) const;
|
|
|
|
|
|
|
|
virtual void SetText( const OUString& rStr );
|
|
|
|
virtual OUString GetText() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
// return the actual text displayed
|
2014-01-27 11:50:57 +02:00
|
|
|
// this may have e.g. accelerators removed or portions
|
|
|
|
// replaced by ellipses
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual OUString GetDisplayText() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
// gets the visible background color. for transparent windows
|
|
|
|
// this may be the parent's background color; for controls
|
|
|
|
// this may be a child's background color (e.g. ListBox)
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual const Wallpaper& GetDisplayBackground() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetHelpText( const OUString& rHelpText );
|
|
|
|
const OUString& GetHelpText() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetQuickHelpText( const OUString& rHelpText );
|
|
|
|
const OUString& GetQuickHelpText() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetHelpId( const OString& );
|
|
|
|
const OString& GetHelpId() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetUniqueId( const OString& );
|
|
|
|
const OString& GetUniqueId() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* FindWindow( const Point& rPos ) const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
sal_uInt16 GetChildCount() const;
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* GetChild( sal_uInt16 nChild ) const;
|
2015-05-21 15:52:27 +02:00
|
|
|
vcl::Window* GetWindow( GetWindowType nType ) const;
|
2014-09-23 11:20:40 +02:00
|
|
|
bool IsChild( const vcl::Window* pWindow, bool bSystemWindow = false ) const;
|
|
|
|
bool IsWindowOrChild( const vcl::Window* pWindow, bool bSystemWindow = false ) const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetData( void* pNewData );
|
|
|
|
void* GetData() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-08 17:03:08 +01:00
|
|
|
/// Add all children to @rAllChildren recursively.
|
2014-09-23 11:20:40 +02:00
|
|
|
SAL_DLLPRIVATE void CollectChildren(::std::vector<vcl::Window *>& rAllChildren );
|
2014-05-08 17:03:08 +01:00
|
|
|
|
2015-05-14 14:15:29 +01:00
|
|
|
virtual void ShowFocus(const Rectangle& rRect);
|
2014-05-11 16:14:54 +10:00
|
|
|
void HideFocus();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-05-27 16:01:34 +02:00
|
|
|
void Invert( const Rectangle& rRect, InvertFlags nFlags = InvertFlags::NONE );
|
|
|
|
void Invert( const Polygon& rPoly, InvertFlags nFlags = InvertFlags::NONE );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// transparent background for selected or checked items in toolboxes etc.
|
2014-05-11 16:14:54 +10:00
|
|
|
void DrawSelectionBackground( const Rectangle& rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder, bool bDrawExtBorderOnly );
|
2007-04-11 17:16:53 +00:00
|
|
|
// the same, but fills a passed Color with a text color complementing the selection background
|
2014-05-11 16:14:54 +10:00
|
|
|
void DrawSelectionBackground( const Rectangle& rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder, bool bDrawExtBorderOnly, Color* pSelectionTextColor );
|
2009-06-04 15:06:14 +00:00
|
|
|
// support rounded edges in the selection rect
|
2014-05-11 16:14:54 +10:00
|
|
|
void DrawSelectionBackground( const Rectangle& rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder, bool bDrawExtBorderOnly, long nCornerRadius, Color* pSelectionTextColor, Color* pPaintColor );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void ShowTracking( const Rectangle& rRect,
|
|
|
|
sal_uInt16 nFlags = SHOWTRACK_SMALL );
|
|
|
|
void HideTracking();
|
|
|
|
void InvertTracking( const Rectangle& rRect,
|
|
|
|
sal_uInt16 nFlags = SHOWTRACK_SMALL );
|
|
|
|
void InvertTracking( const Polygon& rPoly, sal_uInt16 nFlags = 0 );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-05-27 15:09:52 +02:00
|
|
|
void StartTracking( StartTrackingFlags nFlags = StartTrackingFlags::NONE );
|
2015-05-12 08:15:34 +02:00
|
|
|
void EndTracking( TrackingEventFlags nFlags = TrackingEventFlags::NONE );
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsTracking() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-05-27 14:05:45 +02:00
|
|
|
void StartAutoScroll( StartAutoScrollFlags nFlags );
|
2014-05-11 16:14:54 +10:00
|
|
|
void EndAutoScroll();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
bool HandleScrollCommand( const CommandEvent& rCmd,
|
|
|
|
ScrollBar* pHScrl = NULL,
|
|
|
|
ScrollBar* pVScrl = NULL );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SaveBackground( const Point& rPos, const Size& rSize,
|
|
|
|
const Point& rDestOff, VirtualDevice& rSaveDevice );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
const SystemEnvData* GetSystemData() const;
|
|
|
|
::com::sun::star::uno::Any GetSystemDataAny() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2012-07-01 09:39:59 +02:00
|
|
|
// API to set/query the component interfaces
|
2014-05-11 16:14:54 +10:00
|
|
|
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >
|
2014-09-10 08:35:26 +02:00
|
|
|
GetComponentInterface( bool bCreate = true );
|
2014-05-11 16:14:54 +10:00
|
|
|
|
2015-01-20 12:38:10 +02:00
|
|
|
void SetComponentInterface( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xIFace );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 18:20:16 +10:00
|
|
|
/** @name Accessibility
|
|
|
|
*/
|
|
|
|
///@{
|
|
|
|
public:
|
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
|
|
|
|
GetAccessible( bool bCreate = true );
|
|
|
|
|
|
|
|
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
|
|
|
|
CreateAccessible();
|
|
|
|
|
|
|
|
void SetAccessible( ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* GetAccessibleParentWindow() const;
|
2014-05-11 16:14:54 +10:00
|
|
|
sal_uInt16 GetAccessibleChildWindowCount();
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* GetAccessibleChildWindow( sal_uInt16 n );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetAccessibleRole( sal_uInt16 nRole );
|
|
|
|
sal_uInt16 GetAccessibleRole() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetAccessibleName( const OUString& rName );
|
|
|
|
OUString GetAccessibleName() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 16:14:54 +10:00
|
|
|
void SetAccessibleDescription( const OUString& rDescr );
|
|
|
|
OUString GetAccessibleDescription() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
void SetAccessibleRelationLabeledBy( vcl::Window* pLabeledBy );
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* GetAccessibleRelationLabeledBy() const;
|
2011-01-19 18:15:46 +01:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
void SetAccessibleRelationLabelFor( vcl::Window* pLabelFor );
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* GetAccessibleRelationLabelFor() const;
|
2011-01-19 18:15:46 +01:00
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
void SetAccessibleRelationMemberOf( vcl::Window* pMemberOf );
|
2014-11-10 22:48:35 +11:00
|
|
|
vcl::Window* GetAccessibleRelationMemberOf() const;
|
2013-01-21 10:04:47 +00:00
|
|
|
|
2011-01-19 18:15:46 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
// to avoid sending accessibility events in cases like closing dialogs
|
|
|
|
// by default checks complete parent path
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsAccessibilityEventsSuppressed( bool bTraverseParentPath = true );
|
|
|
|
void SetAccessibilityEventsSuppressed(bool bSuppressed);
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2014-05-11 18:20:16 +10:00
|
|
|
// Deprecated - can use SetAccessibleRelationLabelFor/By nowadys
|
2014-11-10 22:48:35 +11:00
|
|
|
virtual vcl::Window* GetParentLabelFor( const vcl::Window* pLabel ) const;
|
|
|
|
virtual vcl::Window* GetParentLabeledBy( const vcl::Window* pLabeled ) const;
|
2014-05-11 18:20:16 +10:00
|
|
|
KeyEvent GetActivationKey() const;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
// These eventually are supposed to go when everything is converted to .ui
|
2014-11-10 22:48:35 +11:00
|
|
|
SAL_DLLPRIVATE vcl::Window* getLegacyNonLayoutAccessibleRelationMemberOf() const;
|
|
|
|
SAL_DLLPRIVATE vcl::Window* getLegacyNonLayoutAccessibleRelationLabeledBy() const;
|
|
|
|
SAL_DLLPRIVATE vcl::Window* getLegacyNonLayoutAccessibleRelationLabelFor() const;
|
2014-05-11 18:20:16 +10:00
|
|
|
|
|
|
|
// Let Label override the code part of GetAccessibleRelationLabelFor
|
2014-11-10 22:48:35 +11:00
|
|
|
virtual vcl::Window* getAccessibleRelationLabelFor() const;
|
2014-05-11 18:20:16 +10:00
|
|
|
virtual sal_uInt16 getDefaultAccessibleRole() const;
|
|
|
|
virtual OUString getDefaultAccessibleName() const;
|
|
|
|
|
2014-07-01 15:04:10 +01:00
|
|
|
/*
|
|
|
|
* Advisory Sizing - what is a good size for this widget
|
|
|
|
*
|
|
|
|
* Retrieves the preferred size of a widget ignoring
|
|
|
|
* "width-request" and "height-request" properties.
|
|
|
|
*
|
|
|
|
* Implement this in sub-classes to tell layout
|
|
|
|
* the preferred widget size.
|
|
|
|
*
|
|
|
|
* Use get_preferred_size to retrieve this value
|
2015-04-09 14:43:09 +01:00
|
|
|
* cached and mediated via height and width requests
|
2014-07-01 15:04:10 +01:00
|
|
|
*/
|
|
|
|
virtual Size GetOptimalSize() const;
|
2015-04-09 14:43:09 +01:00
|
|
|
/// clear OptimalSize cache
|
|
|
|
void InvalidateSizeCache();
|
2014-05-11 18:20:16 +10:00
|
|
|
private:
|
|
|
|
|
|
|
|
SAL_DLLPRIVATE bool ImplIsAccessibleCandidate() const;
|
|
|
|
SAL_DLLPRIVATE bool ImplIsAccessibleNativeFrame() const;
|
2015-05-21 15:52:27 +02:00
|
|
|
SAL_DLLPRIVATE sal_uInt16 ImplGetAccessibleCandidateChildWindowCount( GetWindowType nFirstWindowType ) const;
|
|
|
|
SAL_DLLPRIVATE vcl::Window* ImplGetAccessibleCandidateChild( sal_uInt16 nChild, sal_uInt16& rChildCount, GetWindowType nFirstWindowType, bool bTopLevel = true ) const;
|
2014-05-11 18:20:16 +10:00
|
|
|
SAL_DLLPRIVATE bool ImplRegisterAccessibleNativeFrame();
|
|
|
|
SAL_DLLPRIVATE void ImplRevokeAccessibleNativeFrame();
|
|
|
|
///@}
|
|
|
|
|
2014-07-01 15:04:10 +01:00
|
|
|
/*
|
|
|
|
* Retrieves the preferred size of a widget taking
|
|
|
|
* into account the "width-request" and "height-request" properties.
|
|
|
|
*
|
|
|
|
* Overrides the result of GetOptimalSize to honor the
|
|
|
|
* width-request and height-request properties.
|
|
|
|
*
|
|
|
|
* So the same as get_ungrouped_preferred_size except
|
|
|
|
* it ignores groups. A building block of get_preferred_size
|
|
|
|
* that access the size cache
|
|
|
|
*
|
|
|
|
* @see get_preferred_size
|
|
|
|
*/
|
|
|
|
Size get_ungrouped_preferred_size() const;
|
2014-05-11 18:20:16 +10:00
|
|
|
public:
|
2008-06-24 10:39:44 +00:00
|
|
|
/// request XCanvas render interface for this window
|
2014-05-11 16:14:54 +10:00
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCanvas >
|
|
|
|
GetCanvas() const;
|
2008-06-24 10:39:44 +00:00
|
|
|
/// request XSpriteCanvas render interface for this window
|
2014-05-11 16:14:54 +10:00
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XSpriteCanvas >
|
|
|
|
GetSpriteCanvas() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
/* records all DrawText operations within the passed rectangle;
|
|
|
|
* a synchronous paint is sent to achieve this
|
|
|
|
*/
|
2014-05-11 16:14:54 +10:00
|
|
|
void RecordLayoutData( vcl::ControlLayoutData* pLayout, const Rectangle& rRect );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2012-07-01 09:39:59 +02:00
|
|
|
// set and retrieve for Toolkit
|
2014-05-11 16:14:54 +10:00
|
|
|
VCLXWindow* GetWindowPeer() const;
|
|
|
|
void SetWindowPeer( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xPeer, VCLXWindow* pVCLXWindow );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2012-07-01 09:39:59 +02:00
|
|
|
// remember if it was generated by Toolkit
|
2014-05-11 16:14:54 +10:00
|
|
|
bool IsCreatedWithToolkit() const;
|
|
|
|
void SetCreatedWithToolkit( bool b );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Drag and Drop interfaces
|
2015-01-20 12:38:10 +02:00
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDropTarget > GetDropTarget();
|
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDragSource > GetDragSource();
|
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDragGestureRecognizer > GetDragGestureRecognizer();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// Clipboard/Selection interfaces
|
2015-01-20 12:38:10 +02:00
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboard > GetClipboard();
|
|
|
|
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboard > GetPrimarySelection();
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2012-11-14 12:20:57 +00:00
|
|
|
/*
|
|
|
|
* Widgets call this to inform their owner container that the widget wants
|
|
|
|
* to renegotiate its size. Should be called when a widget has a new size
|
|
|
|
* request. e.g. a FixedText Control gets a new label.
|
|
|
|
*
|
|
|
|
* akin to gtk_widget_queue_resize
|
|
|
|
*/
|
2015-05-05 13:46:44 +02:00
|
|
|
virtual void queue_resize(StateChangedType eReason = StateChangedType::Layout);
|
2012-11-14 12:20:57 +00:00
|
|
|
|
2012-06-01 10:20:15 +01:00
|
|
|
/*
|
|
|
|
* Sets the "width-request" property
|
|
|
|
*
|
|
|
|
* Override for width request of the widget, or -1 if natural request
|
|
|
|
* should be used.
|
|
|
|
*
|
|
|
|
* @see get_preferred_size, set_width_request
|
|
|
|
*/
|
|
|
|
void set_height_request(sal_Int32 nHeightRequest);
|
2013-01-11 10:08:20 +00:00
|
|
|
sal_Int32 get_height_request() const;
|
2012-06-01 10:20:15 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Sets the "height-request" property
|
|
|
|
*
|
|
|
|
* Override for height request of the widget, or -1 if natural request
|
|
|
|
* should be used.
|
|
|
|
*
|
|
|
|
* @see get_preferred_size, set_height_request
|
|
|
|
*/
|
|
|
|
void set_width_request(sal_Int32 nWidthRequest);
|
2013-01-11 10:08:20 +00:00
|
|
|
sal_Int32 get_width_request() const;
|
2012-06-01 10:20:15 +01:00
|
|
|
|
2012-04-06 21:28:37 +01:00
|
|
|
/*
|
|
|
|
* Retrieves the preferred size of a widget taking
|
|
|
|
* into account the "width-request" and "height-request" properties.
|
|
|
|
*
|
|
|
|
* Overrides the result of GetOptimalSize to honor the
|
|
|
|
* width-request and height-request properties.
|
|
|
|
*
|
|
|
|
* @see GetOptimalSize
|
|
|
|
*
|
|
|
|
* akin to gtk_widget_get_preferred_size
|
|
|
|
*/
|
2012-02-06 14:57:38 +01:00
|
|
|
Size get_preferred_size() const;
|
2012-02-01 10:14:03 +00:00
|
|
|
|
2012-06-11 12:48:24 +01:00
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* How to horizontally align this widget
|
2012-06-11 12:48:24 +01:00
|
|
|
*/
|
|
|
|
VclAlign get_halign() const;
|
|
|
|
void set_halign(VclAlign eAlign);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* How to vertically align this widget
|
2012-06-11 12:48:24 +01:00
|
|
|
*/
|
|
|
|
VclAlign get_valign() const;
|
|
|
|
void set_valign(VclAlign eAlign);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* Whether the widget would like to use any available extra horizontal
|
2012-06-11 12:48:24 +01:00
|
|
|
* space.
|
|
|
|
*/
|
|
|
|
bool get_hexpand() const;
|
|
|
|
void set_hexpand(bool bExpand);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* Whether the widget would like to use any available extra vertical
|
2012-06-11 12:48:24 +01:00
|
|
|
* space.
|
|
|
|
*/
|
|
|
|
bool get_vexpand() const;
|
|
|
|
void set_vexpand(bool bExpand);
|
|
|
|
|
2012-08-15 11:19:06 +01:00
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* Whether the widget would like to use any available extra space.
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
bool get_expand() const;
|
|
|
|
void set_expand(bool bExpand);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* Whether the widget should receive extra space when the parent grows
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
bool get_fill() const;
|
|
|
|
void set_fill(bool bFill);
|
|
|
|
|
2012-08-23 16:43:09 +01:00
|
|
|
void set_border_width(sal_Int32 nBorderWidth);
|
|
|
|
sal_Int32 get_border_width() const;
|
|
|
|
|
|
|
|
void set_margin_left(sal_Int32 nWidth);
|
|
|
|
sal_Int32 get_margin_left() const;
|
|
|
|
|
|
|
|
void set_margin_right(sal_Int32 nWidth);
|
|
|
|
sal_Int32 get_margin_right() const;
|
|
|
|
|
|
|
|
void set_margin_top(sal_Int32 nWidth);
|
|
|
|
sal_Int32 get_margin_top() const;
|
|
|
|
|
|
|
|
void set_margin_bottom(sal_Int32 nWidth);
|
|
|
|
sal_Int32 get_margin_bottom() const;
|
|
|
|
|
2012-08-15 11:19:06 +01:00
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* How the widget is packed with reference to the start or end of the parent
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
VclPackType get_pack_type() const;
|
|
|
|
void set_pack_type(VclPackType ePackType);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* The extra space to put between the widget and its neighbors
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
sal_Int32 get_padding() const;
|
|
|
|
void set_padding(sal_Int32 nPadding);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* The number of columns that the widget spans
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
sal_Int32 get_grid_width() const;
|
|
|
|
void set_grid_width(sal_Int32 nCols);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* The column number to attach the left side of the widget to
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
sal_Int32 get_grid_left_attach() const;
|
|
|
|
void set_grid_left_attach(sal_Int32 nAttach);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* The number of row that the widget spans
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
sal_Int32 get_grid_height() const;
|
|
|
|
void set_grid_height(sal_Int32 nRows);
|
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* The row number to attach the top side of the widget to
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
|
|
|
sal_Int32 get_grid_top_attach() const;
|
2012-10-20 12:57:22 +01:00
|
|
|
void set_grid_top_attach(sal_Int32 nAttach);
|
2012-08-15 11:19:06 +01:00
|
|
|
|
|
|
|
/*
|
2012-10-20 12:57:22 +01:00
|
|
|
* If true this child appears in a secondary layout group of children
|
|
|
|
* e.g. help buttons in a buttonbox
|
2012-08-15 11:19:06 +01:00
|
|
|
*/
|
2012-10-20 12:57:22 +01:00
|
|
|
bool get_secondary() const;
|
|
|
|
void set_secondary(bool bSecondary);
|
2012-08-15 11:19:06 +01:00
|
|
|
|
2013-11-18 12:50:51 +00:00
|
|
|
/*
|
|
|
|
* If true this child is exempted from homogenous sizing
|
|
|
|
* e.g. special button in a buttonbox
|
|
|
|
*/
|
|
|
|
bool get_non_homogeneous() const;
|
|
|
|
void set_non_homogeneous(bool bNonHomogeneous);
|
|
|
|
|
2012-04-16 10:50:23 +01:00
|
|
|
/*
|
|
|
|
* Sets a widget property
|
|
|
|
*
|
|
|
|
* @return false if property is unknown
|
|
|
|
*/
|
2013-04-07 12:06:47 +02:00
|
|
|
virtual bool set_property(const OString &rKey, const OString &rValue);
|
2012-04-16 10:50:23 +01:00
|
|
|
|
2012-10-25 14:46:59 +01:00
|
|
|
/*
|
|
|
|
* Sets a font attribute
|
|
|
|
*
|
|
|
|
* @return false if attribute is unknown
|
|
|
|
*/
|
2013-04-07 12:06:47 +02:00
|
|
|
bool set_font_attribute(const OString &rKey, const OString &rValue);
|
2012-10-25 14:46:59 +01:00
|
|
|
|
2013-01-11 10:08:20 +00:00
|
|
|
/*
|
|
|
|
* Adds this widget to the xGroup VclSizeGroup
|
|
|
|
*
|
|
|
|
*/
|
2015-02-06 09:46:57 +00:00
|
|
|
void add_to_size_group(std::shared_ptr<VclSizeGroup> xGroup);
|
2013-01-11 10:08:20 +00:00
|
|
|
void remove_from_all_size_groups();
|
|
|
|
|
2013-01-22 10:20:15 +00:00
|
|
|
/*
|
|
|
|
* add/remove mnemonic label
|
|
|
|
*/
|
|
|
|
void add_mnemonic_label(FixedText *pLabel);
|
|
|
|
void remove_mnemonic_label(FixedText *pLabel);
|
2015-03-09 14:29:30 +02:00
|
|
|
std::vector<VclPtr<FixedText> > list_mnemonic_labels() const;
|
2013-01-22 10:20:15 +00:00
|
|
|
|
2012-08-15 11:19:06 +01:00
|
|
|
/*
|
|
|
|
* Move this widget to be the nNewPosition'd child of its parent
|
|
|
|
*/
|
2012-03-28 14:10:13 +01:00
|
|
|
void reorderWithinParent(sal_uInt16 nNewPosition);
|
|
|
|
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
// Native Widget Rendering functions
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// form controls must never use native widgets, this can be toggled here
|
2014-02-21 12:53:51 +01:00
|
|
|
void EnableNativeWidget( bool bEnable = true );
|
|
|
|
bool IsNativeWidgetEnabled() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
// a helper method for a Control's Draw method
|
2014-09-27 14:52:40 +02:00
|
|
|
void PaintToDevice( ::OutputDevice* pDevice, const Point& rPos, const Size& rSize );
|
2007-04-11 17:16:53 +00:00
|
|
|
|
|
|
|
/* mark Window for deletion in top of event queue
|
|
|
|
*/
|
|
|
|
void doLazyDelete();
|
2008-10-29 09:25:50 +00:00
|
|
|
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2010-09-29 16:21:04 -04:00
|
|
|
// Keyboard access functions
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2010-09-29 16:21:04 -04:00
|
|
|
|
|
|
|
/** Query the states of keyboard indicators - Caps Lock, Num Lock and
|
|
|
|
Scroll Lock. Use the following mask to retrieve the state of each
|
|
|
|
indicator:
|
|
|
|
|
2014-12-31 18:39:32 +02:00
|
|
|
KeyIndicatorState::CAPS_LOCK
|
|
|
|
KeyIndicatorState::NUM_LOCK
|
|
|
|
KeyIndicatorState::SCROLL_LOCK
|
2010-09-29 16:21:04 -04:00
|
|
|
*/
|
2014-12-31 18:39:32 +02:00
|
|
|
KeyIndicatorState GetIndicatorState() const;
|
2010-09-29 16:21:04 -04:00
|
|
|
|
Merge commit 'ooo/DEV300_m101' into intm101
The following builds for me:
basebmp, basegfx, comphelper, dtrans, i18npool, i18nutil, l10ntools, o3tl,
psprint_config, regexp, rsc, sax, sot, tools, ucbhelper, unotools, vcl
The rest still needs fixing ;-)
Conflicts:
canvas/prj/build.lst
canvas/source/cairo/cairo_textlayout.cxx
canvas/source/directx/dx_winstuff.hxx
canvas/source/tools/image.cxx
canvas/source/vcl/canvashelper.cxx
comphelper/inc/comphelper/documentconstants.hxx
comphelper/inc/comphelper/optionalvalue.hxx
comphelper/inc/comphelper/querydeep.hxx
comphelper/prj/build.lst
comphelper/qa/complex/makefile.mk
comphelper/qa/string/test_string_noadditional.cxx
comphelper/source/misc/componentmodule.cxx
comphelper/source/misc/mimeconfighelper.cxx
comphelper/source/misc/querydeep.cxx
comphelper/source/misc/uieventslogger.cxx
comphelper/source/property/TypeGeneration.cxx
comphelper/test/uno_iterators/uno_iterators.cxx
comphelper/util/makefile.mk
cppcanvas/source/mtfrenderer/implrenderer.cxx
dtrans/prj/build.lst
dtrans/source/generic/dtrans.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
i18npool/prj/build.lst
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx
i18npool/source/localedata/saxparser.cxx
i18npool/source/registerservices/registerservices.cxx
i18npool/source/search/textsearch.cxx
l10ntools/inc/cfgmerge.hxx
l10ntools/inc/export.hxx
l10ntools/inc/gsicheck.hxx
l10ntools/inc/l10ntools/vosapp.hxx
l10ntools/inc/tagtest.hxx
l10ntools/inc/xmlparse.hxx
l10ntools/layout/layoutparse.cxx
l10ntools/layout/tralay.cxx
l10ntools/source/cfgmerge.cxx
l10ntools/source/export.cxx
l10ntools/source/export2.cxx
l10ntools/source/gsicheck.cxx
l10ntools/source/help/HelpLinker.cxx
l10ntools/source/lngex.cxx
l10ntools/source/lngmerge.cxx
l10ntools/source/merge.cxx
l10ntools/source/tagtest.cxx
l10ntools/source/xmlparse.cxx
padmin/source/fontentry.cxx
padmin/source/padialog.cxx
padmin/source/padialog.src
padmin/source/pamain.cxx
rsc/inc/rscarray.hxx
rsc/inc/rscclass.hxx
rsc/inc/rscclobj.hxx
rsc/inc/rsccont.hxx
rsc/inc/rscdb.hxx
rsc/inc/rscdef.hxx
rsc/inc/rscmgr.hxx
rsc/inc/rscrange.hxx
rsc/inc/rsctop.hxx
rsc/inc/vclrsc.hxx
rsc/source/parser/rscdb.cxx
rsc/source/parser/rscicpx.cxx
rsc/source/parser/rscinit.cxx
rsc/source/prj/start.cxx
rsc/source/res/rscarray.cxx
rsc/source/res/rscclass.cxx
rsc/source/res/rscclobj.cxx
rsc/source/res/rsccont.cxx
rsc/source/res/rscmgr.cxx
rsc/source/res/rscrange.cxx
rsc/source/res/rsctop.cxx
rsc/source/rsc/rsc.cxx
rsc/source/tools/rscdef.cxx
rsc/source/tools/rsctools.cxx
sax/source/expatwrap/sax_expat.cxx
sax/source/fastparser/facreg.cxx
sax/source/tools/fastserializer.cxx
sot/inc/sot/filelist.hxx
sot/inc/sot/object.hxx
sot/source/base/factory.cxx
sot/source/base/filelist.cxx
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgcache.cxx
sot/source/sdstor/stgole.cxx
sot/source/sdstor/stgstrms.cxx
sot/source/sdstor/storage.cxx
sot/source/sdstor/ucbstorage.cxx
svl/inc/svl/cenumitm.hxx
svl/inc/svl/cintitem.hxx
svl/inc/svl/cntwall.hxx
svl/inc/svl/ctypeitm.hxx
svl/inc/svl/custritm.hxx
svl/inc/svl/dateitem.hxx
svl/inc/svl/filerec.hxx
svl/inc/svl/globalnameitem.hxx
svl/inc/svl/ilstitem.hxx
svl/inc/svl/imageitm.hxx
svl/inc/svl/intitem.hxx
svl/inc/svl/itempool.hxx
svl/inc/svl/itemset.hxx
svl/inc/svl/lckbitem.hxx
svl/inc/svl/poolitem.hxx
svl/inc/svl/ptitem.hxx
svl/inc/svl/rectitem.hxx
svl/inc/svl/sfontitm.hxx
svl/inc/svl/slstitm.hxx
svl/inc/svl/srchitem.hxx
svl/inc/svl/svarray.hxx
svl/inc/svl/svdde.hxx
svl/inc/svl/svstdarr.hxx
svl/inc/svl/szitem.hxx
svl/inc/svl/visitem.hxx
svl/inc/svl/zforlist.hxx
svl/inc/svl/zformat.hxx
svl/prj/build.lst
svl/qa/complex/ConfigItems/helper/ConfigItemTest.cxx
svl/qa/complex/ConfigItems/helper/makefile.mk
svl/qa/makefile.mk
svl/source/filepicker/pickerhelper.cxx
svl/source/filerec/filerec.cxx
svl/source/items/cenumitm.cxx
svl/source/items/cintitem.cxx
svl/source/items/cntwall.cxx
svl/source/items/ctypeitm.cxx
svl/source/items/custritm.cxx
svl/source/items/dateitem.cxx
svl/source/items/globalnameitem.cxx
svl/source/items/ilstitem.cxx
svl/source/items/imageitm.cxx
svl/source/items/intitem.cxx
svl/source/items/itempool.cxx
svl/source/items/itemprop.cxx
svl/source/items/itemset.cxx
svl/source/items/lckbitem.cxx
svl/source/items/poolio.cxx
svl/source/items/poolitem.cxx
svl/source/items/ptitem.cxx
svl/source/items/rectitem.cxx
svl/source/items/slstitm.cxx
svl/source/items/srchitem.cxx
svl/source/items/style.cxx
svl/source/items/szitem.cxx
svl/source/items/visitem.cxx
svl/source/items/whiter.cxx
svl/source/memtools/svarray.cxx
svl/source/misc/PasswordHelper.cxx
svl/source/misc/adrparse.cxx
svl/source/misc/lngmisc.cxx
svl/source/notify/brdcst.cxx
svl/source/notify/listener.cxx
svl/source/notify/listenerbase.cxx
svl/source/numbers/makefile.mk
svl/source/numbers/nbdll.cxx
svl/source/numbers/zforfind.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svl/source/passwordcontainer/passwordcontainer.cxx
svl/source/svdde/ddecli.cxx
svl/source/svdde/ddeimp.hxx
svl/source/svdde/ddemlos2.h
svl/source/svdde/ddesvr.cxx
svl/source/undo/undo.cxx
svl/source/uno/registerservices.cxx
svl/util/makefile.mk
svtools/bmpmaker/bmpsum.cxx
svtools/bmpmaker/g2g.cxx
svtools/bmpmaker/makefile.mk
svtools/inc/borderhelper.hxx
svtools/inc/svtools/accessiblefactory.hxx
svtools/inc/svtools/apearcfg.hxx
svtools/inc/svtools/brwbox.hxx
svtools/inc/svtools/ctrlbox.hxx
svtools/inc/svtools/ctrltool.hxx
svtools/inc/svtools/editbrowsebox.hxx
svtools/inc/svtools/ehdl.hxx
svtools/inc/svtools/embedhlp.hxx
svtools/inc/svtools/filter.hxx
svtools/inc/svtools/ivctrl.hxx
svtools/inc/svtools/parhtml.hxx
svtools/inc/svtools/printdlg.hxx
svtools/inc/svtools/rtftoken.h
svtools/inc/svtools/ruler.hxx
svtools/inc/svtools/svicnvw.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svlbox.hxx
svtools/inc/svtools/svtreebx.hxx
svtools/inc/svtools/tabbar.hxx
svtools/inc/svtools/table/abstracttablecontrol.hxx
svtools/inc/svtools/taskbar.hxx
svtools/inc/svtools/textview.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/brwbox2.cxx
svtools/source/brwbox/datwin.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/brwbox/makefile.mk
svtools/source/config/apearcfg.cxx
svtools/source/config/htmlcfg.cxx
svtools/source/config/menuoptions.cxx
svtools/source/config/miscopt.cxx
svtools/source/contnr/cont_pch.cxx
svtools/source/contnr/ctrdll.cxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/imivctl1.cxx
svtools/source/contnr/ivctrl.cxx
svtools/source/contnr/makefile.mk
svtools/source/contnr/svcontnr.src
svtools/source/contnr/svicnvw.cxx
svtools/source/contnr/svimpbox.cxx
svtools/source/contnr/svimpicn.cxx
svtools/source/contnr/svlbitm.cxx
svtools/source/contnr/svtreebx.cxx
svtools/source/contnr/templwin.cxx
svtools/source/contnr/templwin.hxx
svtools/source/control/asynclink.cxx
svtools/source/control/ctrlbox.cxx
svtools/source/control/ctrldll.cxx
svtools/source/control/ctrltool.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/filectrl.src
svtools/source/control/headbar.cxx
svtools/source/control/inettbc.cxx
svtools/source/control/makefile.mk
svtools/source/control/prgsbar.cxx
svtools/source/control/roadmap.cxx
svtools/source/control/ruler.cxx
svtools/source/control/scriptedtext.cxx
svtools/source/control/stdmenu.cxx
svtools/source/control/tabbar.cxx
svtools/source/control/taskbar.cxx
svtools/source/control/taskbox.cxx
svtools/source/control/taskmisc.cxx
svtools/source/control/taskstat.cxx
svtools/source/control/valueacc.cxx
svtools/source/control/valueset.cxx
svtools/source/dialogs/addresstemplate.cxx
svtools/source/dialogs/addresstemplate.src
svtools/source/dialogs/colrdlg.src
svtools/source/dialogs/filedlg2.cxx
svtools/source/dialogs/filedlg2.hxx
svtools/source/dialogs/makefile.mk
svtools/source/dialogs/printdlg.cxx
svtools/source/dialogs/printdlg.src
svtools/source/dialogs/propctrl.cxx
svtools/source/dialogs/propctrl.hxx
svtools/source/dialogs/property.cxx
svtools/source/edit/makefile.mk
svtools/source/edit/sychconv.cxx
svtools/source/edit/syntaxhighlight.cxx
svtools/source/edit/textdoc.cxx
svtools/source/edit/texteng.cxx
svtools/source/edit/textundo.cxx
svtools/source/edit/textview.cxx
svtools/source/filter.vcl/filter/SvFilterOptionsDialog.cxx
svtools/source/filter.vcl/filter/dlgejpg.cxx
svtools/source/filter.vcl/filter/dlgejpg.hxx
svtools/source/filter.vcl/filter/dlgejpg.src
svtools/source/filter.vcl/filter/dlgepng.cxx
svtools/source/filter.vcl/filter/dlgepng.hxx
svtools/source/filter.vcl/filter/dlgepng.src
svtools/source/filter.vcl/filter/dlgexpor.cxx
svtools/source/filter.vcl/filter/dlgexpor.hxx
svtools/source/filter.vcl/filter/dlgexpor.src
svtools/source/filter.vcl/filter/filter2.cxx
svtools/source/filter.vcl/filter/makefile.mk
svtools/source/filter.vcl/filter/sgfbram.cxx
svtools/source/filter.vcl/filter/sgvmain.cxx
svtools/source/filter.vcl/filter/sgvspln.cxx
svtools/source/filter.vcl/filter/strings.src
svtools/source/filter.vcl/jpeg/makefile.mk
svtools/source/filter.vcl/wmf/emfwr.cxx
svtools/source/filter.vcl/wmf/emfwr.hxx
svtools/source/filter.vcl/wmf/enhwmf.cxx
svtools/source/filter.vcl/wmf/winmtf.hxx
svtools/source/filter.vcl/wmf/wmfwr.cxx
svtools/source/filter.vcl/wmf/wmfwr.hxx
svtools/source/graphic/grfcache.cxx
svtools/source/graphic/grfcache.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/makefile.mk
svtools/source/inc/accessibletableimp.hxx
svtools/source/inc/svimpbox.hxx
svtools/source/java/patchjavaerror.src
svtools/source/misc/ehdl.cxx
svtools/source/misc/errtxt.src
svtools/source/misc/helpagentwindow.cxx
svtools/source/misc/imagemgr.cxx
svtools/source/misc/imagemgr.src
svtools/source/misc/imageresourceaccess.cxx
svtools/source/misc/imap.cxx
svtools/source/misc/langtab.src
svtools/source/misc/makefile.mk
svtools/source/misc/svtdata.cxx
svtools/source/misc/templatefoldercache.cxx
svtools/source/misc/transfer2.cxx
svtools/source/misc/undo.src
svtools/source/plugapp/commtest.cxx
svtools/source/plugapp/commtest.src
svtools/source/plugapp/makefile.mk
svtools/source/plugapp/testtool.src
svtools/source/productregistration/productregistration.cxx
svtools/source/svhtml/htmlkywd.cxx
svtools/source/svhtml/parhtml.cxx
svtools/source/svrtf/rtfkey2.cxx
svtools/source/svrtf/rtfkeywd.cxx
svtools/source/table/defaultinputhandler.cxx
svtools/source/table/makefile.mk
svtools/source/table/tablecontrol.cxx
svtools/source/table/tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.hxx
svtools/source/table/tabledatawindow.cxx
svtools/source/table/tablegeometry.cxx
svtools/source/table/tablegeometry.hxx
svtools/source/toolpanel/makefile.mk
svtools/source/toolpanel/toolpaneldrawer.cxx
svtools/source/uno/addrtempuno.cxx
svtools/source/uno/miscservices.cxx
svtools/source/uno/svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.hxx
svtools/source/uno/toolboxcontroller.cxx
svtools/source/uno/treecontrolpeer.cxx
svtools/source/uno/unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.hxx
svtools/source/uno/unoimap.cxx
svtools/source/urlobj/inetimg.cxx
svtools/util/makefile.mk
svtools/workben/browser.cxx
svtools/workben/cui/makefile.mk
svtools/workben/makefile.mk
svtools/workben/stest.cxx
svtools/workben/toolpanel/makefile.mk
svtools/workben/urange.cxx
toolkit/inc/toolkit/awt/vclxdevice.hxx
toolkit/inc/toolkit/awt/vclxgraphics.hxx
toolkit/inc/toolkit/awt/vclxwindows.hxx
toolkit/inc/toolkit/controls/dialogcontrol.hxx
toolkit/inc/toolkit/helper/property.hxx
toolkit/inc/toolkit/helper/servicenames.hxx
toolkit/inc/toolkit/helper/throbberimpl.hxx
toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java
toolkit/source/awt/asynccallback.cxx
toolkit/source/awt/vclxgraphics.cxx
toolkit/source/awt/vclxtoolkit.cxx
toolkit/source/awt/vclxwindow.cxx
toolkit/source/awt/xsimpleanimation.cxx
toolkit/source/awt/xthrobber.cxx
toolkit/source/controls/dialogcontrol.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
toolkit/source/controls/grid/gridcontrol.cxx
toolkit/source/controls/grid/initguard.hxx
toolkit/source/controls/unocontrol.cxx
toolkit/source/controls/unocontrolcontainer.cxx
toolkit/source/controls/unocontrols.cxx
toolkit/source/helper/listenermultiplexer.cxx
toolkit/source/helper/property.cxx
toolkit/source/helper/registerservices.cxx
toolkit/source/helper/servicenames.cxx
toolkit/source/helper/throbberimpl.cxx
toolkit/source/helper/tkresmgr.cxx
tools/StaticLibrary_ooopathutils.mk
tools/bootstrp/addexes/makefile.mk
tools/bootstrp/addexes2/makefile.mk
tools/bootstrp/addexes2/mkfilt.cxx
tools/bootstrp/command.cxx
tools/bootstrp/cppdep.cxx
tools/bootstrp/iserver.cxx
tools/bootstrp/makefile.mk
tools/bootstrp/mkcreate.cxx
tools/bootstrp/prj.cxx
tools/bootstrp/rscdep.cxx
tools/bootstrp/sstring.cxx
tools/inc/bootstrp/command.hxx
tools/inc/bootstrp/mkcreate.hxx
tools/inc/bootstrp/prj.hxx
tools/inc/bootstrp/sstring.hxx
tools/inc/tools/agapi.hxx
tools/inc/tools/agitem.hxx
tools/inc/tools/chapi.hxx
tools/inc/tools/download.hxx
tools/inc/tools/eacopier.hxx
tools/inc/tools/fract.hxx
tools/inc/tools/fsys.hxx
tools/inc/tools/geninfo.hxx
tools/inc/tools/globname.hxx
tools/inc/tools/inetmime.hxx
tools/inc/tools/multisel.hxx
tools/inc/tools/poly.hxx
tools/inc/tools/postsys.h
tools/inc/tools/postwin.h
tools/inc/tools/presys.h
tools/inc/tools/prewin.h
tools/inc/tools/pstm.hxx
tools/inc/tools/ref.hxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/inc/tools/table.hxx
tools/inc/tools/urlkeys.hxx
tools/inc/tools/urlobj.hxx
tools/prj/build.lst
tools/prj/d.lst
tools/qa/makefile.mk
tools/source/communi/geninfo.cxx
tools/source/debug/debug.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/tdir.cxx
tools/source/fsys/unx.cxx
tools/source/fsys/urlobj.cxx
tools/source/generic/color.cxx
tools/source/generic/config.cxx
tools/source/generic/fract.cxx
tools/source/inet/inetmime.cxx
tools/source/memtools/multisel.cxx
tools/source/memtools/table.cxx
tools/source/rc/resmgr.cxx
tools/source/ref/globname.cxx
tools/source/ref/pstm.cxx
tools/source/solar/solar.c
tools/source/stream/strmos2.cxx
tools/source/stream/strmunx.cxx
tools/source/stream/strmwnt.cxx
tools/source/string/makefile.mk
tools/source/testtoolloader/testtoolloader.cxx
tools/test/makefile.mk
tools/util/makefile.mk
tools/win/inc/dll.hxx
tools/win/inc/parser.hxx
tools/win/inc/shellex.h
tools/win/inc/shutil.h
tools/win/inc/toolsdll.hxx
tools/win/inc/winshell.hxx
tools/workben/makefile.mk
ucbhelper/source/client/proxydecider.cxx
ucbhelper/workben/ucbexplorer/ucbexplorer.hrc
unotools/inc/unotools/unotunnelhelper.hxx
unotools/source/config/fltrcfg.cxx
unotools/source/config/lingucfg.cxx
unotools/source/config/misccfg.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/searchopt.cxx
unotools/source/i18n/localedatawrapper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
unotools/source/ucbhelper/ucbhelper.cxx
unotools/source/ucbhelper/xtempfile.cxx
vcl/aqua/inc/salbmp.h
vcl/aqua/inc/salgdi.h
vcl/aqua/inc/salinst.h
vcl/aqua/source/app/salinst.cxx
vcl/aqua/source/gdi/aquaprintaccessoryview.mm
vcl/aqua/source/gdi/salgdi.cxx
vcl/aqua/source/gdi/salprn.cxx
vcl/aqua/source/window/salframeview.mm
vcl/aqua/source/window/salobj.cxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/brdwin.hxx
vcl/inc/vcl/button.hxx
vcl/inc/vcl/cmdevt.hxx
vcl/inc/vcl/cvtgrf.hxx
vcl/inc/vcl/dialog.hxx
vcl/inc/vcl/dockwin.hxx
vcl/inc/vcl/event.hxx
vcl/inc/vcl/fixed.hxx
vcl/inc/vcl/fldunit.hxx
vcl/inc/vcl/floatwin.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/glyphcache.hxx
vcl/inc/vcl/graphite_adaptors.hxx
vcl/inc/vcl/graphite_features.hxx
vcl/inc/vcl/graphite_layout.hxx
vcl/inc/vcl/ilstbox.hxx
vcl/inc/vcl/image.h
vcl/inc/vcl/imgctrl.hxx
vcl/inc/vcl/impbmpconv.hxx
vcl/inc/vcl/impprn.hxx
vcl/inc/vcl/jobset.h
vcl/inc/vcl/keycodes.hxx
vcl/inc/vcl/lstbox.hxx
vcl/inc/vcl/mapunit.hxx
vcl/inc/vcl/menu.hxx
vcl/inc/vcl/msgbox.hxx
vcl/inc/vcl/outdev.hxx
vcl/inc/vcl/prndlg.hxx
vcl/inc/vcl/salatype.hxx
vcl/inc/vcl/salbmp.hxx
vcl/inc/vcl/salgdi.hxx
vcl/inc/vcl/salinst.hxx
vcl/inc/vcl/seleng.hxx
vcl/inc/vcl/settings.hxx
vcl/inc/vcl/smartid.hxx
vcl/inc/vcl/status.hxx
vcl/inc/vcl/strhelper.hxx
vcl/inc/vcl/svapp.hxx
vcl/inc/vcl/svdata.hxx
vcl/inc/vcl/syschild.hxx
vcl/inc/vcl/sysdata.hxx
vcl/inc/vcl/taskpanelist.hxx
vcl/inc/vcl/toolbox.hxx
vcl/inc/vcl/vclevent.hxx
vcl/inc/vcl/windata.hxx
vcl/inc/vcl/window.hxx
vcl/inc/vcl/wintypes.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/window/salmenu.cxx
vcl/os2/source/window/salobj.cxx
vcl/prj/build.lst
vcl/source/app/dbggui.cxx
vcl/source/app/help.cxx
vcl/source/app/idlemgr.cxx
vcl/source/app/settings.cxx
vcl/source/app/svapp.cxx
vcl/source/app/svdata.cxx
vcl/source/app/svmain.cxx
vcl/source/app/svmainhook.cxx
vcl/source/app/unohelp.cxx
vcl/source/app/vclevent.cxx
vcl/source/control/button.cxx
vcl/source/control/combobox.cxx
vcl/source/control/edit.cxx
vcl/source/control/field.cxx
vcl/source/control/fixed.cxx
vcl/source/control/ilstbox.cxx
vcl/source/control/imgctrl.cxx
vcl/source/control/makefile.mk
vcl/source/control/tabctrl.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmap4.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/font.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/image.cxx
vcl/source/gdi/impimage.cxx
vcl/source/gdi/jobset.cxx
vcl/source/gdi/makefile.mk
vcl/source/gdi/metaact.cxx
vcl/source/gdi/outdev.cxx
vcl/source/gdi/outdev3.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdevnative.cxx
vcl/source/gdi/pdfwriter.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/print3.cxx
vcl/source/gdi/salmisc.cxx
vcl/source/glyphs/gcach_ftyp.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_cache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/glyphs/graphite_textsrc.hxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/helper/smartid.cxx
vcl/source/helper/xconnection.cxx
vcl/source/src/btntext.src
vcl/source/src/images.src
vcl/source/src/print.src
vcl/source/window/accel.cxx
vcl/source/window/accmgr.cxx
vcl/source/window/brdwin.cxx
vcl/source/window/btndlg.cxx
vcl/source/window/dlgctrl.cxx
vcl/source/window/javachild.cxx
vcl/source/window/menu.cxx
vcl/source/window/msgbox.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/status.cxx
vcl/source/window/syschild.cxx
vcl/source/window/toolbox.cxx
vcl/source/window/toolbox2.cxx
vcl/source/window/window.cxx
vcl/source/window/window2.cxx
vcl/source/window/wrkwin.cxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/unx/gtk/app/gtkinst.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/gtk/window/gtkframe.cxx
vcl/unx/gtk/window/gtkobject.cxx
vcl/unx/headless/svpbmp.hxx
vcl/unx/headless/svpgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svpinst.cxx
vcl/unx/headless/svpinst.hxx
vcl/unx/headless/svpprn.cxx
vcl/unx/headless/svpprn.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/unx/headless/svptext.cxx
vcl/unx/inc/dtint.hxx
vcl/unx/inc/plugins/gtk/gtkdata.hxx
vcl/unx/inc/pspgraphics.h
vcl/unx/inc/salbmp.h
vcl/unx/inc/saldata.hxx
vcl/unx/inc/saldisp.hxx
vcl/unx/inc/salgdi.h
vcl/unx/inc/salinst.h
vcl/unx/inc/xfont.hxx
vcl/unx/kde/kdedata.cxx
vcl/unx/kde4/KDESalGraphics.cxx
vcl/unx/source/app/keysymnames.cxx
vcl/unx/source/app/saldata.cxx
vcl/unx/source/app/saldisp.cxx
vcl/unx/source/app/salinst.cxx
vcl/unx/source/app/wmadaptor.cxx
vcl/unx/source/dtrans/X11_selection.cxx
vcl/unx/source/dtrans/X11_service.cxx
vcl/unx/source/gdi/makefile.mk
vcl/unx/source/gdi/pspgraphics.cxx
vcl/unx/source/gdi/salgdi.cxx
vcl/unx/source/gdi/salgdi3.cxx
vcl/unx/source/gdi/salprnpsp.cxx
vcl/unx/source/gdi/xfont.cxx
vcl/unx/source/gdi/xlfd_attr.cxx
vcl/unx/source/gdi/xlfd_attr.hxx
vcl/unx/source/gdi/xlfd_extd.cxx
vcl/unx/source/gdi/xlfd_extd.hxx
vcl/unx/source/gdi/xlfd_smpl.cxx
vcl/unx/source/gdi/xlfd_smpl.hxx
vcl/unx/source/printer/ppdparser.cxx
vcl/unx/source/printer/printerinfomanager.cxx
vcl/unx/source/window/salframe.cxx
vcl/unx/source/window/salmenu.cxx
vcl/unx/source/window/salobj.cxx
vcl/util/makefile2.pmk
vcl/win/inc/salbmp.h
vcl/win/inc/saldata.hxx
vcl/win/inc/salgdi.h
vcl/win/inc/salinst.h
vcl/win/source/app/saldata.cxx
vcl/win/source/app/salinst.cxx
vcl/win/source/gdi/salgdi.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/salprn.cxx
vcl/win/source/gdi/winlayout.cxx
vcl/win/source/window/salframe.cxx
vcl/win/source/window/salobj.cxx
vcl/workben/outdevgrind.cxx
vos/inc/vos/execabl.hxx
vos/inc/vos/macros.hxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/refernce.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/stream.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/process.cxx
vos/source/signal.cxx
vos/source/thread.cxx
vos/source/timer.cxx
2011-03-11 14:24:23 +01:00
|
|
|
void SimulateKeyPress( sal_uInt16 nKeyCode ) const;
|
|
|
|
|
2013-04-07 12:06:47 +02:00
|
|
|
virtual OUString GetSurroundingText() const;
|
2008-10-29 09:25:50 +00:00
|
|
|
virtual Selection GetSurroundingTextSelection() const;
|
2007-04-11 17:16:53 +00:00
|
|
|
};
|
|
|
|
|
2014-09-23 11:20:40 +02:00
|
|
|
}
|
2007-04-11 17:16:53 +00:00
|
|
|
|
2015-04-23 11:26:44 +01:00
|
|
|
// Only for compatibility - because many people outside haven't included event.hxx
|
|
|
|
// These require Window to be defined for VclPtr<Window>
|
|
|
|
#include <vcl/vclevent.hxx>
|
|
|
|
#include <vcl/event.hxx>
|
|
|
|
|
2013-10-23 19:10:20 +02:00
|
|
|
#endif // INCLUDED_VCL_WINDOW_HXX
|
2010-10-14 08:27:31 +02:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|