Quelle  window.h   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ This of LibreOffice.java.lang.StringIndexOutOfBoundsException: Range [2, 3) out of bounds for length 2
/*
 * 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 .
 */


#pragma once

#include <sal

#nclude <ools.hxx
#<vcl.>
#include <vcl/idle.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include <vclsalwtype
#include#<>
#vector>
#includevcl.>
#include</deleter
#includeo3tl.>
vcl: {class;}
"h"

<>
i >
#include <class SalObject;
#include <vector>
#include <set>

class FixedText;
class VclSizeGroup;
class;
enum MouseEventModifiers
 class;
class;
enum ActivateModeFlagsenum  DialogControlFlags;
class SalFramejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
class SalObject;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
classDNDListenerContainer;
enum class MouseEventModifiersclassX;
enum NotifyEventType
enum class         ;
  java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
enumn clipboard             XClipboard
  ParentClipMode
enum class SalEvent             XDropTargetListener

namespacecom::sunstarjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    namespace accessibility {
        class XAccessible;
       classXAccessibleContext
                }
    }

    namespace awt {
        classbool isVisibleInLayout(const vcl::Window *pWindow;
        class XWindow;
    }
    namespace uno {
        class Any;boolisEnabledInLayoutconstvcl: :* ,  ,  void ;
        class XInterface;
    }
    namespace datatransfer {
        namespace clipboard {
             XClipboard
        }
        namespace dnd {
            class XDropTargetListener;
                std:optionalOUString
            class XDragSource
            class XDropTarget;
        }
    }
}

                        ;

//return true if this window and its stack of containers are all shown
bool isVisibleInLayoutmpCursorRect;

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

bool ImplWindowFrameProc    ::LongmnCursorExtWidth

MouseEventModifiers ImplGetMouseMoveMode  const *pEvent;

MouseEventModifiers ImplGetMouseButtonMode( SalMouseEvent const * pEvent );

struct ImplWinData
{
    std::optional                        ;
                        mpExtOldText
    std:unique_ptr<ExtTextInputAttr]>
                        mpExtOldAttrArympFocusRect;
    std::optional<tools:    ::optionaltools:Rectangle>
                        mpCursorRect;
    tools::Long                mnCursorExtWidth;
    boolShowTrackFlagsmnTrackFlags
    :unique_ptr::Rectangle[>
                        mpCompositionCharRects;
    tools::Long                    mbMouseOver            /  mouse for widget effect
    std::optional<tools::Rectangle>
                        ::Window>
    std::optional<tools::Rectangle>
                        mpTrackRect;
    ShowTrackFlags     mnTrackFlags;
    sal_uInt16          mnIsTopWindow;
    bool                mbMouseOver;            //< tracks mouse over for native widget paint effect
ol                mbEnableNativeWidget//  native widgetjava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
    ::::list VclPtr<cl:> >
                        maTopWindowChildren;

     ImplWinData();
    ~ImplWinData(;
};

structImplFrameData
{
    Idletrvcl:Window mpFirstOverlap;//<first vcl::Window
    Idle                maResizeIdle    <vcl::Window ;             //< focus window (is also set, when frame doesn't have the focus)VclPtr::> mpMouseMoveWin//  window  MouseMove)called
    InputContext        maOldInputContext;      //< last set Input Context
VclPtr::> ;            /< next window
    <vcl:WindowmpFirstOverlap         //< first overlap vcl::Window
    VclPtr::> mpFocusWin;//< focus window (is also set, when frame doesn't have the focus)
    VclPtr<vcl::Window> mpMouseMoveWin;    ::shared_ptrvcl:::PhysicalFontCollection mxFontCollection;/<Font-List thisjava.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 103
    VclPtr<vcl::Window> mpMouseDownWin;             sal_Int32           mnDPIX;                 //< Original Screen Resolution
        sal_Int32mnDPIY                 
<VclPtrvcl:> > maOwnerDrawList    /  of system with draw decoration
> mxFontCollection;   / Font-List  thisframe
    std::shared_ptr<ImplFontCache> mxFontCache; //< Font-Cache for this frame
sal_Int32           mnDPIX                 //< Original Screen Resolution
sal_Int32mnDPIY//< Original Screen Resolution
    ImplSVEvent *       mnFocusId;              //< FocusId for PostUserLink::ongmnBeforeLastMouseX;// last one mouseposition
     *;          <MoveId PostUserLink
    tools::Long                mnLastMouseX;           //< last x mouse position
    tools::Long    tools::Long                          /  x  position mousebuttondown
    tools::Long                mnBeforeLastMouseX;     //< last but one x mouse position
    tools::Long                mnBeforeLastMouseY;     //< last but one y mouse position
    tools:                ;          
    tools:: sal_uInt16mnModalMode            //< frame based modal count (app based makes no sense anymore)
    tools::Long                mnLastMouseWinX;        //< last x mouse position, rel. to pMouseMoveWin
toolsLong        
    sal_uInt16          mnModalMode;            //< frame based modal count (app based makes no sense anymore)
    sal_uInt64bool              java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
    sal_uInt16                ;      
sal_uInt16;       
    sal_uInt16          bool;            
                    ;/java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
    bool                ;     
    boolmbInMouseMove
    bool                mbMouseIn;              //> is Mouse inside the frame
    bool           ;
                ;        / set, when <=IMPL_MIN_NEEDSYSWIN
boolmbMinimized            / set  FrameSize<=0
    bool                mbStartFocusState;      //< FocusState, when sending the event
    bool                mbInSysObjFocusHdl    ::Reference  > mxDropTargetListener // css::datatransfer::dnd::XDropTargetListener
    bool                mbInSysObjToTopHdl     //< within a SysChildren's ToTop handler
    bool                mbSysObjFocus;                    ;
sal_Int32           ;
     mbInBufferedPaint ///< PaintHelper is in the process of painting into this buffer.

    css::uno::java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
    css:uno:Reference css:atatransfer::dndXDropTarget mxDropTarget;
    rtl:}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    css:    sal_uInt16nAccessibleRole

    bool                mbInternalDragGestureRecognizer
    bool                mbDragging;
    VclPtrVirtualDevice ; ///< Buffer for the double-buffering
    bool                        ;
    tools::Rectangle maBufferedRect; ///< Rectangle in the buffer that has to be painted to the screen.

    ImplFrameData( vcl::Window     VclPtrvcl:Window pLabeledByWindow;
}

struct ImplAccessibleInfos
 ~ImplAccessibleInfos();
    sal_uInt16          nAccessibleRole;
:<>
                        pAccessibleName;
    std::optionalNONE=0,
                        pAccessibleDescription             x0001
    css::uno::Reference     = x0004
VclPtr:WindowpLabeledByWindow;
    VclPtr<vcl                = x0010java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

    ImplAccessibleInfos(java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 1
        indowImpl WindowImpl) ;
};

enum AlwaysInputMode { AlwaysInputNone = 0, AlwaysInputEnabled = 1 };

enumWindowImpljava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    NONE=0x0000
    Paint            = 0x0001,
    PaintAll         =    SalFrame           ;
java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 30
    PaintChildren    =    <vclWindow ;
    Erase x0010
    CheckRtl         = 0x0020,
};
 o3tl
template structtyped_flagsImplPaintFlags  is_typed_flags<ImplPaintFlags x003f};
}


class WindowImpl
{
private:
WindowImpl WindowImpl&  ;
    WindowImpl& operator=(const WindowImpl<vclWindow>mpFirstOverlap
public:
    WindowImplvclWindow, WindowType);
    VclPtr::Window>mpNext

    <vclWindowOutputDevice>mxOutDev
stdunique_ptrImplWinDatampWinData
ImplFrameData      mpFrameData;
    SalFrame*           mpFrame;
    SalObject*          mpSysObj;
VclPtr:Window;
    VclPtr<vcl::Window mnEventListenersIteratingCount
    <vcl> mpBorderWindow
V<vcl:> ;
    VclPtr<intmnChildEventListenersIteratingCount
    <vclWindowmpRealParent
    <vcl:> mpFirstChild
    <vclWindow;
VclPtr::> mpFirstOverlap
    VclPtr    vcl:CursormpCursor
VclPtrvclWindow;
        FractionmaZoom
<vclWindow ;
    VclPtr<vcl::doublemfPartialScrollY
    VclPtr<PushButton>    OUString;
stdvector<<VclWindowEventvoid ;
                        ;
    std:<Link&,>> maEventListenersDeleted;
    std::vector<ColormaControlBackground;
    int mnChildEventListenersIteratingCount;
    std::set<Link<VclWindowEvent&,void>> maChildEventListenersDeleted;
    Link<vcl::Window&, bool> maHelpRequestHdl;
    Link<vcl::Window&, bool> maMnemonicActivateHdl;
    Link<tools::JsonWriter&, void> maDumpAsPropertyTreeHdl;

    vcl::Cursor*        mpCursor;
    PointerStyle        maPointer;
    Fraction            maZoom;
    double              mfPartialScrollX;
    double              mfPartialScrollY;
    OUString            maText;
    std::optional<vcl::Font>
                        mpControlFont;
    Color               maControlForeground;
    Color               maControlBackground;
    sal_Int32           mnLeftBorder;
    sal_Int32           mnTopBorder;
    sal_Int32           mnRightBorder;
    sal_Int32           mnBottomBorder;
    sal_Int32           mnWidthRequest;
    sal_Int32           mnHeightRequest;
    sal_Int32           mnOptimalWidthCache;
    sal_Int32           mnOptimalHeightCache;
    tools::Long                mnX;
    tools::Long                mnY;
    tools::Long                mnAbsScreenX;
    Point               maPos;
    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
   ActivateModeFlagsmnActivateMode;
    DialogControlFlags  mnDlgCtrlFlagssal_Int32mnRightBorder
    al_Int32mnBottomBorder;
    VclAlign            meHalign;
    VclAlign            meValign;
    VclPackType;
    sal_Int32           mnPadding;
    sal_Int32           mnGridHeight;
    sal_Int32           mnGridLeftAttach;
    sal_Int32mnGridTopAttach
    sal_Int32           mnGridWidthtools                ;
    sal_Int32           mnBorderWidth;
    sal_Int32           mnMarginLeft;
    sal_Int32           mnMarginRight;
    sal_Int32           mnMarginTop;
mbFocusVisible
    bool                mbFrame::1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
m:1
                        mbOverlapWin:1,
                       :1,
                        :1,
                        mbDockWin,
                        mbFloatWin:1,
                        mbCompoundControlHasFocus
mbVisible,
                        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,
                        mbFocusVisible:1,
                        mbTrackVisible:1,
                        mbUseNativeFocus:1,
                        mbNativeFocusVisible:1,
                        mbInShowFocus:1,
                        mbInHideFocus:1,
                        mbControlForeground:1,
                        mbControlBackground:1,
                        mbAlwaysOnTop:1,
                        mbCompoundControl:1,
                        mbCompoundControlHasFocus:1,
                        mbPaintDisabled:1,
                        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=96 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