Anforderungen  |     |   Wurzel  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  window.h   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */

 * file is part the 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
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 * *   ownership. The ASF licenses this *   License, Version 2.0 (the "License"); *   except in compliance with the License. You may *   the License at http://www.apache.org/licenses/LICENSE-2.0 .

#nclude</fracthxx>#include <vcl/commandeventhxx

#include <sal/config.h>

#include <tools/fract.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/idle.hxx>
#include <vcl/inputctx.hxx>
#include <vcl/virdev.hxx>
#include <vcl/window.hxx>
#include <vcl/settings.hxx>
#include <o3tl/deleter.hxx>
#include <o3tl/typed_flags_set.hxx>
#include "windowdev.hxx"
#include "salwtype.hxx"

#include optional
#include <list>
#include <memory>
#nclude <vector>
#include <set

class </settingshxx
class o3tl.hxx>
class </typed_flags_sethxx
namespacevcl::font class PhysicalFontCollection }
class includesalwtype.xx
class
namespaceoptional
class#nclude<list
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
class VirtualDevice
 class;
enum NotifyEventType VCLXWindow
 class;
enumclass;
enum class GetFocusFlags;
enum class ParentClipMode;
enum class SalEvent;

namespace com::sun::star {
    namespace DNDListenerContainer;
        class Accessible
         class;
classXAccessibleEditableText
    }

    namespace awt {
        enumclassDialogControlFlags;
        class XWindow;
    }
    namespace uno {
        class Any;
        class XInterface;
    }
    namespace datatransfer {
        amespace {
            classXClipboard;
        }
        enumclass;
            class;
            class XDragGestureRecognizer com::star {
            class XDragSource
              ;
        
    }
}

}

    namespace awt {
bool)

//return true if this window and its stack of containers are all enabled
 ( :Window *pWindow);

bool ImplWindowFrameProc(vcl:WindowpInstSalEventnEventconst* pEvent)java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84

MouseEventModifiersclass;

MouseEventModifiers java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9

struct ImplWinData
{
::<>
                        mpExtOldText;

mpExtOldAttrAry
    std//return true if this window and its stack of containers are all shown
                        java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
tools                ;
    MouseEventModifiers(SalMouseEvent  );
    stdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mpCompositionCharRects
    tools;
    std    :unique_ptr[>
                        
std<tools:ectanglejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
                        mpTrackRect;
    ShowTrackFlags      mnTrackFlags;
    sal_uInt16std:<toolsRectangle]java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
bool;/<tracks over native paint
    bool                mbEnableNativeWidget;   //< toggle native widget rendering
vcl> java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
                              mnTrackFlags

     ImplWinData();
    ~ImplWinData();
};

    bo;   /toggle rendering
{
    Idle                maPaintIdle;            //< paint idle handler
    Idle                maResizeIdlestd<<:Window
    (
     ImplFrameData
<:>           overlap
VclPtr>mpFocusWin
    <vclWindow;         <last,where( java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
    VclPtr<vcl::    <vclWindowmpNextFrame/<  frame
    VclPtr<vclVclPtrvcl:> ;//< first overlap vcl::Window
    std<vclWindowmpFocusWin             java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
stdshared_ptr<:font> mxFontCollection   /  for frame
    std::shared_ptr<ImplFontCache> mxFontCache; //< Font-Cache for this frame
java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
           ;//< Original Screen Resolution
        std::vector<:Window;/<List windows owner
    ImplSVEvent *           std::shared_ptr<vcl::font::PhysicalFontCollection/<Font-Listfor java.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 103
    al_Int32           ;                 
    tools::               ;                 
    tools:                mnBeforeLastMouseX     < but x mouse position
    tools::Long                mnBeforeLastMouseY;     ImplSVEvent       mnMouseMoveId//  forjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
mnFirstMouseX;/<firstmouse by
    tools::Long                mnFirstMouseY;          //< first y mouse position by mousebuttondown
    tools::Long                mnLastMouseWinX;        //< last x mouse position, rel. to pMouseMoveWin
    tools    tools:LongmnFirstMouseX//< first x mouse position by mousebuttondown
             ;            
    sal_uInt64          mnMouseDownTime;        //< mouse button down time for double click
    sal_uInt16          mnClickCount;           //< mouse click count
    sal_uInt16          mnFirstMouseCode;           tools::                mnLastMouseWinY;//< last y mouse position, rel. to pMouseMoveWin
    sal_uInt16          mnMouseCode;            //< mouse code
    MouseEventModifiers mnMouseMode;            //< mouse mode
                    mbHasFocus;//< focus
    bool                mbInMouseMove;          //< is MouseMove on stack
    bool                mbMouseIn;              //> is Mouse inside the frame
    boolmbStartDragCalled      //< is command startdrag called
              mnFirstMouseCode//< mouse code by mousebuttondown
                    mbMinimized//< set, when FrameSize <= 0
boolmbStartFocusState      /< FocusState, when sending the event
    bool                mbInSysObjFocusHdl;     //< within a SysChildren's GetFocus handler
    boolmbInSysObjToTopHdl//< within a SysChildren's ToTop handler
    bool                mbSysObjFocus;          //< does a SysChild have focus                ;          //< is MouseMove on stack
    sal_Int32           mnTouchPanPositionX;
    sal_Int32           mnTouchPanPositionY

    css    boolmbNeedSysWindow/<set  FrameSize 
    css                    ;// ,when =java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
rtl<DNDEventDispatcher;// css::datatransfer::dnd::XDropTargetListener
    bool;

boolmbInternalDragGestureRecognizer
    bool                mbDragging;
        sal_Int32mnTouchPanPositionX
bool;
    tools::Rectangle maBufferedRect; 

    ImplFrameData::< ::atatransfer:: >mxDropTarget
;

struct ImplAccessibleInfos
{
          ;
    ;
                        pAccessibleName;
    std::    <>mpBuffer
pAccessibleDescription
java.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 103
<:>pLabeledByWindow
    VclPtr;

    struct
   ImplAccessibleInfos)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
};

enum AlwaysInputMode {    std:optionalOUString

enum class ImplPaintFlags {
                 =x0000
    Paint=0,
    PaintAll         = 0x0002,
PaintAllChildren 0,
    PaintChildren    <vcl:> pLabeledByWindow;
Erase=0x0010,
    CheckRtl         = 0x0020,
};
namespace o3tl {
    template<> struct typed_flags<ImplPaintFlags> : is_typed_flags<ImplPaintFlags, 0x003f> {};
}


class WindowImpl
{
private:
W(const&) =delete
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
public:
    WindowImpl
    ~();

    VclPtr<vcl::WindowOutputDevice> mxOutDev;
    std::unique_ptr<ImplWinData> mpWinDataNONE              x0000,
    ImplFrameData*      mpFrameData;
    *           mpFrame
    SalObject*          mpSysObj
    VclPtr<vcl::Window> mpFrameWindow;
    VclPtr<vcl::Window> mpOverlapWindow;
    VclPtr::Window>mpBorderWindow
    VclPtr<vcl::Window>                 =0,
    VclPtr<vcl::Window> mpParent
namespace  {
    VclPtr    <> struct <ImplPaintFlags>:is_typed_flags<, 0> {}java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
    VclPtr<vcl:    (constWindowImpl)=delete
    VclPtr::Window> ;
    VclPtr<vcl::Window> mpLastOverlap;
        ( ::& rWindow );
    <vclWindow ;
    VclPtr<vclVclPtr::WindowOutputDevice mxOutDev;
        ::unique_ptr<> ;
    VclPtr    *      mpFrameDatajava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    std::vector<Link<    <vcl:> mpFrameWindow
    int;
    std::    VclPtr::Window;
    std::vector    clPtr:WindowmpClientWindow
     mnChildEventListenersIteratingCount;
    std::set<LinkVclPtr::> ;
    VclPtr::indow;
    VclPtr::> mpLastChild
    <vclWindow;

    vcl::*        ;
        clPtr<::> mpPrev
            ;
    double::Window>mpNextOverlap
    double              ;
                maText
    ::vector<Link&,>>maEventListeners
                        mpControlFont
    Color:set<VclWindowEventvoid maEventListenersDeleted
                   maControlBackgroundjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    sal_Int32;
        ;
               ;
s           mnBottomBorder
    sal_Int32           mnWidthRequest;
    sal_Int32           mnHeightRequest         mePackType
    sal_Int32           mnOptimalWidthCache;
    sal_Int32           mnOptimalHeightCache;
    tools::Long           ;
    ::LongmnY
    tools::Long                mnAbsScreenX;
    Point               maPos;java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    OUString            maHelpId;
    OUString            maHelpText;
    OUString            maQuickHelpText;
    OUString            maID;
    InputContext        maInputContext;
    css::uno::Reference< css::awt::XVclWindowPeer > mxWindowPeer;
    css::uno::Reference< css::accessibility::XAccessible > mxAccessible;
    std::shared_ptr< VclSizeGroup > m_xSizeGroup;
    std::vector<VclPtr<FixedText>> m_aMnemonicLabels;
    std::unique_ptr<ImplAccessibleInfos> mpAccessibleInfos;
    VCLXWindow*         mpVCLXWindow;
    vcl::Region              maWinRegion;            //< region to 'shape' the VCL window (frame coordinates)
    vcl::Region              maWinClipRegion;        //< the (clipping) region that finally corresponds to the VCL window (frame coordinates)
    vcl::Region              maInvalidateRegion;     //< region that has to be redrawn (frame coordinates)
    std::unique_ptr<vcl::Region> mpChildClipRegion;  //< child clip region if CLIPCHILDREN is set (frame coordinates)
    vcl::Region*             mpPaintRegion;          //< only set during Paint() method call (window coordinates)
    WinBits             mnStyle;
    WinBits             mnPrevStyle;
    WindowExtendedStyle mnExtendedStyle;
    WindowType          meType;
    ControlPart         mnNativeBackground;
    sal_uInt16          mnWaitCount;
    ImplPaintFlags      mnPaintFlags;
    GetFocusFlags       mnGetFocusFlags;
    ParentClipMode      mnParentClipMode;
    ActivateModeFlags   mnActivateMode;
    DialogControlFlags  mnDlgCtrlFlags;
    AlwaysInputMode     meAlwaysInputMode;
    VclAlign            meHalign;
    VclAlign            meValign;
    VclPackType         mePackType;
    sal_Int32           mnPadding;
    sal_Int32           mnGridHeight;
    sal_Int32           mnGridLeftAttach;
    sal_Int32           mnGridTopAttach;
    sal_Int32           mnGridWidth;
    sal_Int32           mnBorderWidth;
    sal_Int32           mnMarginLeft;
    sal_Int32           mnMarginRight;
    sal_Int32           mnMarginTop;
    sal_Int32           mnMarginBottom;
    bool                mbFrame:1,
                        mbBorderWin:1,
                        mbOverlapWin:1,
                        mbSysWin:1,
                        mbDialog:1,
                        mbDockWin:1,
                        mbFloatWin:1,
                        mbPushButton:1,
                        mbVisible:1,
                        mbDisabled:1,
                        mbInputDisabled:1,
                        mbNoUpdate:1,
                        mbNoParentUpdate:1,
                        mbActive:1,
                        mbReallyVisible:1,
                        mbReallyShown:1,
                        mbInInitShow:1,
                        mbChildPtrOverwrite:1,
                        mbNoPtrVisible:1,
                        mbPaintFrame:1,
                        mbInPaint:1,
                        mbMouseButtonDown:1,
                        mbMouseButtonUp:1,
                        mbKeyInput:1,
                        mbKeyUp:1,
                        mbCommand:1,
                        mbDefPos:1,
                        mbDefSize:1,
                        mbCallMove:1,
                        mbCallResize:1,
                        mbWaitSystemResize:1,
                        mbInitWinClipRegion:1,
                        mbInitChildRegion:1,
                        mbWinRegion:1,
                        mbClipChildren:1,
                        mbClipSiblings:1,
                        mbChildTransparent:1,
                        mbPaintTransparent:1,
                        mbMouseTransparent:1,
                        mbDlgCtrlStart:1,
                        :1,
                        mbTrackVisible,
                        mbUseNativeFocus:1,
                        mbNativeFocusVisible:1,
                        mbInShowFocus:1,
                        mbInHideFocus:1,
                        mbControlForeground                        bBorderWin1
                        mbControlBackground:mbSysWin
                        mbDialog
                        mbCompoundControl:1,                        :1,
                        :1,
                        :1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
                        mbAllResize:1,
                        mbInDispose:1,
                        mbExtTextInput:1,
                        mbInFocusHdl:1,
                        mbOverlapVisible:1,
                        mbCreatedWithToolkit:1,
                        mbToolBox:1,
                        mbSplitter:1,
                        mbSuppressAccessibilityEvents:1,
                        mbMenuFloatingWindow:1,
                        mbDrawSelectionBackground:1,
                        mbIsInTaskPaneList:1,
                        mbHelpTextDynamic:1,
                        mbFakeFocusSet:1,
                        mbHexpand:1,
                        mbVexpand:1,
                        mbExpand:1,
                        mbFill:1,
                        mbSecondary:1,
                        mbNonHomogeneous:1,
                        mbDoubleBufferingRequested:1;

    rtl::Reference< DNDListenerContainer > mxDNDListenerContainer;

    const vcl::ILibreOfficeKitNotifier* mpLOKNotifier; ///< To emit the LOK callbacks eg. for dialog tunneling.
    vcl::LOKWindowId mnLOKWindowId; ///< ID of this specific window.
    bool mbUseFrameData;
};

namespace vcl
{
/// Sets up the buffer to have settings matching the window, and restores the original state in the dtor.
class VCL_DLLPUBLIC PaintBufferGuard
{
    ImplFrameData* mpFrameData;
    VclPtr<vcl::Window> m_pWindow;
    bool mbBackground;
    Wallpaper maBackground;
    AllSettings maSettings;
    tools::Long mnOutOffX;
    tools::Long mnOutOffY;
    tools::Rectangle m_aPaintRect;
public:
    PaintBufferGuard(ImplFrameData* pFrameData, vcl::Window* pWindow);
    ~PaintBufferGuard() COVERITY_NOEXCEPT_FALSE;
    /// If this is called, then the dtor will also copy rRectangle to the window from the buffer, before restoring the state.
    void SetPaintRect(const tools::Rectangle& rRectangle);
    /// Returns either the frame's buffer or the window, in case of no buffering.
    vcl::RenderContext* GetRenderContext();
};
typedef std::unique_ptr<PaintBufferGuard, o3tl::default_delete<PaintBufferGuard>> PaintBufferGuardPtr;
}

// helper methods

bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, NotifyEventType nSVEvent, bool bMouseLeave,
                           tools::Long nX, tools::Long nY, sal_uInt64 nMsgTime,
                           sal_uInt16 nCode, MouseEventModifiers nMode );

bool ImplLOKHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, NotifyEventType nSVEvent, bool bMouseLeave,
                              tools::Long nX, tools::Long nY, sal_uInt64 nMsgTime,
                              sal_uInt16 nCode, MouseEventModifiers nMode, sal_uInt16 nClicks);

void ImplHandleResize( vcl::Window* pWindow, tools::Long nNewWidth, tools::Long nNewHeight );

VCL_DLLPUBLIC css::uno::Reference<css::accessibility::XAccessibleEditableText>
FindFocusedEditableText(css::uno::Reference<css::accessibility::XAccessibleContext> const&);

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5
C=90 H=97 G=93

¤ Dauer der Verarbeitung: 0.9 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge