Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

SSL olinewin.hxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 70
/*
 * 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, Youcan  one /mozillaorgMPL/.0/
 *
                             ;/
*
 *   Licensed to thejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 68
 *   with this work for additional information regarding copyright
 under the 
 *   License, Version     tools::ongGetDepthSize)const;
the License.You    of
 *   the LicensenLevel size_t nEntry ) java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
 */


#/

#include <vcl/window                       ,:  
#include "              GetOutputSizeLevel() const;

class ScOutlineEntry;
class ScOutlineArray;

enum ScOutlineMode {  :                        ()

/** The window left of or above the spreadsheet containing the outline groups()
    and controls to expand/collapse them. */

class ScOutlineWindow : public vcl::Window
{
private:
    ScViewData&                 mrViewData;         /// View data containing the document.
meWhich            
    bool                        mbHoriz;            /// true = Horizontal orientation.
                                /// true = mirror the order of entries (including header)
boolmbMirrorLevels;/// true = mirror the order of levels, including the border

    Color                       maLineColor;        /// Line color for expanded groups.
    tools::Long                        mnHeaderSize;       /// Size of the header area in entry direction.@return  false = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    tools::Long                        mnHeaderPos;        /// Position of the header area in entry direction.
    tools::Long                        mnMainFirstPos        param    indexorjava.lang.StringIndexOutOfBoundsException: Range [63, 59) out of bounds for length 81
   :                              

    size_t
     /** Returns true, if rPos is inside of a button or over the line of an expanded
    bool                        bool                          Pointjava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 117
    bool                        mbMTPressed;        /// Mouse tracking: Button currently drawn pressed?

    tools::Rectangle                   maFocusRect;        /// Focus rectangle on screen.
    size_t                      ;/// Level of focused button.
    size_t                      mnFocusEntry;       /// Entry index of focused button.java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    boolmbDontDrawFocus;   // Do not redraw focus in next Paint().

public: @aram java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 82
                                ScOutlineWindow(
                                                            (bool , )
                                    @return  true = focus wrapped from end to
                                    
                                    java.lang.StringIndexOutOfBoundsException: Range [53, 51) out of bounds for length 69
                         );
    virtual void                dispose() java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 31

    /** Sets the size of the header area (width/height dep. on window type). */

     toolsLong,::Long java.lang.StringIndexOutOfBoundsException: Range [85, 84) out of bounds for length 85
    /** Returns the width/height the window needs to show all levels. */
    toolsvoidDrawRectRel

    /** Scrolls the window content by the specified amount of pixels. */toolsL ,:Long
    void                        ScrollPixel( tools::Long nDiff );

    using Window::ShowFocus;

    /** Draws a pressed or unpressed border. */
    /** Initializes color and image settings. */
);

    /** Returns the calc document. */
        ** Draws the focus rectangle into the focused button. */
    /** Returns the current sheet index. */
    SCTAB                            (;
    /** Returns the outline array of the corresponding document. */
    const ScOutlineArray*           const ScOutlineArray*
    /** Returns the specified outline entry. */
const*      java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 86

    /** Returns true, if the column/row is hidden. */                 (:,  tools& );
    bool                             voidResizejava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 50
    /** Returns true, if the column/row is filtered. */
    IsFiltered(nColRowIndex const
    /** Returns true, if all columns/rows before nColRowIndex are hidden. */
    bool                                             KeyInput( const KeyEvent& rKEvt  ;
    /** Returns the currently visible column/row range. */
    void                        GetVisibleRange( SCCOLROW& rnColRowStart, SCCOLROW& rnColRowEnd ) const;

    /** Returns the point in the window of the specified position. */
    Point                       GetPoint( tools::Long nLevelPos, tools::Long nEntryPos ) const;
    /** Returns the rectangle in the window of the specified position. */
    tools::Rectangle                   GetRectangle(
                                    tools::Long nLevelStart, tools::Long nEntryStart,
                                    tools::Long nLevelEnd, tools::Long nEntryEnd ) const;

    /** Returns the window size for the level coordinate. */
    tools::Long                        GetOutputSizeLevel() const;
    /** Returns the window size for the entry coordinate. */
    tools::Long                        GetOutputSizeEntry() const;

    /** Returns the count of levels of the outline array. 0 means no outlines. */
    size_t                      GetLevelCount() const;
    /** Returns the pixel position of the specified level. */
    tools::Long                        GetLevelPos( size_t nLevel ) const;
    /** Returns the level of the passed pixel position. */
    size_t                      GetLevelFromPos( tools::Long nLevelPos ) const;

    /** Returns the start coordinate of the specified column/row in the window. */
    tools::Long                        GetColRowPos( SCCOLROW nColRowIndex ) const;
    /** Returns the entry position of header images. */
    tools::Long                        GetHeaderEntryPos() const;
    /** Calculates the coordinates the outline entry takes in the window.
        @return  false = no part of the group is visible (outside window or collapsed by parent group). */

    bool                        GetEntryPos(
                                    size_t nLevel, size_t nEntry,
                                    tools::Long& rnStartPos, tools::Long& rnEndPos, tools::Long& rnImagePos ) const;
    /** Calculates the absolute position of the image of the specified outline entry.
        @param nLevel  The level of the entry.
        @param nEntry  The entry index or SC_OL_HEADERENTRY for the header image.
        @return  false = image is not visible. */

    bool                        GetImagePos( size_t nLevel, size_t nEntry, Point& rPos ) const;
    /** Returns true, if the button of the specified entry is visible in the window. */
    bool                        IsButtonVisible( size_t nLevel, size_t nEntry ) const;

    /** Returns true, if rPos is inside of a button or over the line of an expanded
        group. The outline entry data is stored in the passed variables. */

    bool                        ItemHit( const Point& rPos, size_t& rnLevel, size_t& rnEntry, bool& rbButton ) const;
    /** Returns true, if rPos is inside of a button.
        The button data is stored in the passed variables. */

    bool                        ButtonHit( const Point& rPos, size_t& rnLevel, size_t& rnEntry ) const;
    /** Returns true, if rPos is over the line of an expanded group.
        The outline entry data is stored in the passed variables. */

    bool                        LineHit( const Point& rPos, size_t& rnLevel, size_t& rnEntry ) const;

    /** Performs an action with the specified item.
        @param nLevel  The level of the entry.
        @param nEntry  The entry index or SC_OL_HEADERENTRY for the header entry. */

    void                        DoFunction( size_t nLevel, size_t nEntry ) const;
    /** Expands the specified entry (does nothing with header entries). */
    void                        DoExpand( size_t nLevel, size_t nEntry ) const;
    /** Collapses the specified entry (does nothing with header entries). */
    void                        DoCollapse( size_t nLevel, size_t nEntry ) const;

    /** Returns true, if the focused button is visible in the window. */
    bool                        IsFocusButtonVisible() const;

    /** Calculates index of next/previous focus button in the current level (no paint).
        @param bFindVisible  true = repeats until a visible button has been found.
        @return  true = focus wrapped from end to start or vice versa. */

    bool                        ImplMoveFocusByEntry( bool bForward, bool bFindVisible );
    /** Calculates position of focus button in next/previous level (no paint).
        @return  true = focus wrapped from end to start or vice versa. */

    bool                        ImplMoveFocusByLevel( bool bForward );
    /** Calculates position of focus button in tab order.
        Repeats until a visible button has been found.
        @return  true = focus wrapped from end to start or vice versa. */

    bool                        ImplMoveFocusByTabOrder( bool bForward );

    /** If the focused entry is invisible, tries to move to visible position. */
    void                        ImplMoveFocusToVisible( bool bForward );

    /** Focuses next/previous button in the current level. */
    void                        MoveFocusByEntry( bool bForward );
    /** Focuses button in next/previous level. */
    void                        MoveFocusByLevel( bool bForward );
    /** Focuses next/previous button in tab order. */
    void                        MoveFocusByTabOrder( bool bForward );

    /** Starts mouse tracking after click on a button. */
    void                        StartMouseTracking( size_t nLevel, size_t nEntry );
    /** Returns whether mouse tracking mode is active. */
    bool                 IsMouseTracking() const { return mbMTActive; }
    /** Ends mouse tracking. */
    void                        EndMouseTracking();

    /** Sets a clip region for the window area without header. */
    void                        SetEntryAreaClipRegion();
    /** Converts coordinates to real window points and draws the line. */
    void                        DrawLineRel(
                                    tools::Long nLevelStart, tools::Long nEntryStart,
                                    tools::Long nLevelEnd, tools::Long nEntryEnd );
    /** Converts coordinates to real window points and draws the rectangle. */
    void                        DrawRectRel(
                                    tools::Long nLevelStart, tools::Long nEntryStart,
                                    tools::Long nLevelEnd, tools::Long nEntryEnd );
    /** Draws the specified image unpressed. */
    void                        DrawImageRel(tools::Long nLevelPos, tools::Long nEntryPos, const OUString& rId);
    /** Draws a pressed or unpressed border. */
    void                        DrawBorderRel(size_t nLevel, size_t nEntry, bool bPressed);

    /** Draws the focus rectangle into the focused button. */
    void                        ShowFocus();
    /** Erases the focus rectangle from the focused button. */
    void                        HideFocus();

    /** Scrolls the specified range of the window in entry-relative direction. */
    void                        ScrollRel( tools::Long nEntryDiff, tools::Long nEntryStart, tools::Long nEntryEnd );

protected:
    virtual void                Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& ;rRect ) override;

    virtual void                Resize() override;
    virtual void                GetFocus() override;
    virtual void                LoseFocus() override;

    virtual void                MouseMove( const MouseEvent& rMEvt ) override;
    virtual void                MouseButtonUp( const MouseEvent& rMEvt ) override;
    virtual void                MouseButtonDown( const MouseEvent& rMEvt ) override;

    virtual void                KeyInput( const KeyEvent& rKEvt ) override;

public:
    virtual void                DataChanged( const DataChangedEvent& rDCEvt ) override;
};

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

Messung V0.5 in Prozent
C=95 H=94 G=94

¤ 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.0.8Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1127926
#Domains=2039723