Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quellcode-Bibliothek weld.hxx   Sprache: C

 

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v * ,You can   athttp://mozilla.org/MPL/2.0/.
 #r/.>
 */


#ifndef INCLUDED_VCL_WELD_HXX
#define INCLUDED_VCL_WELD_HXX

#include <basegfx/range/b2irange.hxx>
#include <rtl/ustring.hxx>
#include <tools/color.hxx>
#include <tools/date.hxx>
#include <tools/fldunit.hxx>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <vcl/dllapi.h>
#include <utility>
#include <vcl/vclenum.hxx>
#include <vcl/font.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/uitest/factory.hxx>
#include <vcl/windowstate.hxx>

#include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>

#include <assert.h>
#include <memory>
#include <vector>

namespace com::sun::star::awt
{
class XWindow;
}
namespace com::sun::star::datatransfer::clipboard
{
class XClipboard;
}
namespace#nclude <ools/fldunit.
{
class;
}
include u>
{
#nclude <cl/.hxx>
}
#nclude </uitestfactory.hxx>
include<vcl/windowstate.hxx>
enum class PointerStyle;
class CommandEvent;
class Formatter;
class InputContext;
class KeyEvent;
class MouseEvent;
class TransferDataContainer;
class OutputDevice;
class VirtualDevice;
struct SystemEnvData;
class BitmapEx;

namespace vcl
{
class ILibreOfficeKitNotifier
typedefOutputDeviceRenderContext;
}
namespace tools
{
class JsonWriter;
}

class LOKTrigger;

namespace weld
{
lass Container;
class DialogController;

class VCL_DLLPUBLIC Widget
{
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0

namespace com:sun:s::atatransfer:clipboard
   <Widget& void>m_aFocusInHdl;
    Link<Widget&, void> m_aFocusOutHdl;
    Link<Widget&,boolm_aMnemonicActivateHdl;
    Link<Widget&, void> m_aStyleUpdatedHdl;
    Link< Size& >m_aSizeAllocateHdljava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    LinkconstKeyEvent,> m_aKeyPressHdl;
    Link<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    <const&,  ;
    <onstMouseEvent,bool>m_aMouseMotionHdl
    Link<const MouseEventtypedefcss:::eferencecss::Xjava.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 88

    void signal_focus_in() { m_aFocusInHdl.Call;
    void() {m_aFocusOutHdl.all*) java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
typedefOutputDeviceRenderContext
voidsignal_style_updated .Call(this;}
    void signal_size_allocate(const java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 1
 (const &rKeyEvent){returnm_aKeyPressHdl.();}
    bool signal_key_release(const KeyEvent& rKeyEvent) { java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 1
    bool (onst &rMouseEvent)
    {
        return m_aMousePressHdl.Call(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 38
    }
    bool signal_mouse_motionjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
returnCall)
    }
    bool     Link<const KeyEventm_aKeyReleaseHdl;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        return m_aMouseReleaseHdl< ,booljava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    }

public:
        void si){m_aFocusOutHdl*;}
    virtual bool get_sensitive() const = 0;

    /* visibility */

    virtual void show() = 0;
    virtual void hide()=0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28

    // This function simply calls show() or hide() but is convenient when theconst  )  m_aKeyReleaseHdl() }
    // visibility depends on some condition
    virtual void set_visible {
    {
        if (visible)
            show();
            bool sig(MouseEvent )
            hide();
    }

    // return if this widget's visibility is true{
    bool get_visible) const = 0;

    // return if this widget's visibility and that of all its parents is true
    virtual boolis_visible) const =0;

   /* focus */

    // sets if this widget can own the keyboard focus
     void set_can_focusboolbCanFocus  0;

    // causes this widget to have the keyboard focus
virtual void ()=0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

    // returns if this widget has the keyboard focus
    virtual java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0

    virtualvoidhide)=0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    // children, of this widget. So an Entry with an active popup (or dialog)
as_focus,  itspopupis
    // shown
    virtual bool has_child_focus() const = 0;

    // return if this widget has the keyboard focus within the active window
    // TODO: review if this has any practical difference from has_focus()
    virtualclass VCL_DLLPUBLIC :

    /* size */
    
        Link<Widget>java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

/* measure */
    virtual float         virtual
    virtualint c:virtualpublic 
        virtualvirtual java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 30

    // The name of the widget in the GtkBuilder UI definition used to construct it.
    virtual OUString get_buildable_name() const = 0;
    /*
Typically  no protected
       .

       But for ui    signal_hadjustment_changed  Call(this)}
       different widgets,    
       in order to distinguish between them
    */

virtual set_buildable_name    virtual int hadjustment_get_value() c

    /*
      The help id     virtual hadjustment_get_upper)const  ;

      By java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          virtual OUS    virtual void hadint )=;
     .. widget

      The default 
    */

    virtual OUString get_help_id(    
            m_a  java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30

    virtual void set_hexpand(bool bExpand) = 0;
    virtual bool get_hexpand() const = 0;
                                        page_increment, int page_size)
    virtual bool get_vexpand() const = 0;

    virtual void set_margin_top(int nMargin)     // collect positions of widgets and their help ids for screenshot purposes
    virtual void set_margin_bottom(virtual ScreenShotCollectioncollect_screenshot_data)=0;
    virtual void java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
    virtual void set_margin_end(int nMargin) = 0;

    virtual int get_margin_top)const= 0
    virtual int get_margin_bottom()     virtual int (  = 0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    virtual ( java.lang.StringIndexOutOfBoundsException: Range [45, 40) out of bounds for length 45
    virtual int get_margin_end(

    /*
       the  thisrelative rRelativejava.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 81
     *
* succeed  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     
     * returns false if the java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 28
     * either if(_    void(int size) = java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
     * Otherwise set_vpolicy(VclPolicyType eVPolicy)=0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
     */

    virtual
                                             virtual int get_scroll_thickness() const java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 13

    virtual void set_accessible_name(const java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 0
    virtual private:
    virtual    friend ;

    virtual OUStringconst&rFaceColor

   virtual  ()const=0

    // After this call this widget is only accessibility labelled by pLabel and
    // pLabel only accessibility labels this widget
virtualvoidset_accessible_relation_labeled_by(weldublic:

    java.lang.StringIndexOutOfBoundsException: Range [33, 11) out of bounds for length 60
    virtual java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 52

    virtual void set_cursor_data(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual void connect_focus_in
    {
        assert(!m_aFocusInHdl.IsSet() || /java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    m_aFocusInHdl = rLink;
    }

    virtual void connect_focus_out(const Link<Widget&, void>& rLink)
    {
        assert(!m_aFocusOutHdl.IsSet(class VCL_DLLPUBLICNotebook :  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
        m_aFocusOutHdl = rLink;
    }

    // rLink is called when the mnemonic for the Widget is called.
    // If rLink returns true the Widget will not automatically gain
//      // focus as, m_aLeavePageHdl;
    virtual void connect_mnemonic_activate(const     / Run async without a controller
       {
        assert(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            java.lang.StringIndexOutOfBoundsException: Range [32, 11) out of bounds for length 45
    }

virtual     virtual intget_page_indexconst &rIdent)onst=0java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    {
        assert(!m_aSizeAllocateHdl.IsSet( |!rLink.IsSet();
         = rLink;    virtual void add_buttonconst OUString rText  response const OUString rHelpId={)0;
    }

java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 76
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    // shrink the dialog down to shown just these widgets
    virtual void colla* :  ;
    }

    virtual void connect_key_release(const     void (     (onst java.lang.StringIndexOutOfBoundsException: Range [68, 43) out of bounds for length 68
    {
        rIdent=0
        m_aKeyReleaseHdl =;
    }

    virtualclassjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 88
    {
        assert!.IsSet( ||!{
        java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 5

    virtual void     virtual intget_n_pages    virtualOUStringget_primary_text(  0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    {
        assert(!m_aMouseMotionHdl.IsSet()     virtual OUStringjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        m_aMouseMotionHdl  ;
    }

    virtual void connect_mouse_release(const         
    {
        assert(!m_aMouseReleaseHdl
        m_aMouseReleaseHdl
 

        Link<copjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        assert!java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
         int)const
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    virtual void
2&getB2IRange)    ;}
    virtual void release_mouse() = 0;

    // font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtual vcljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    
    virtual bool get_direction(
     virtual void( java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 72

    /* Increases the freeze count on widget.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

       If the    java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 81
       is    virtual& bool>m_aHelpRequestHdl;
  ;
    */

    java.lang.StringIndexOutOfBoundsException: Range [17, 11) out of bounds for length 47

    /* Reverts the effect of a previous call to freeze.

       The freeze count     virtual Size get_size() const}
       queued notifications
    */

    virtual void struct VCL_DLLPUBLIC 

    /* push/pop busy mouse cursor statejava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21

      bBusy of true to push a java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 50

      see weld::WaitObject */

    virtual void          s::move_

    virtual void queue_resize() = 0          OUStringget_window_state(vcl::WindowDataMask nMask) const = 0;

ComboBoxEntry _String       :noReferencecss::GetXWindow  0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68

         stdm(aString)
    //calling func with their helpid until func returns true or we run out of
    //parents
    virtual void help_hierarchy_foreach(const std:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

     vcljava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 10

    /* Escapes string contents which are interpreted by the UI.

       Should be overwrittenjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
       string contents which are interpreted by its ui.
    */

virtual OUString escape_ui_str( java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0

virtual  <> ()const=0;

    //do something transient to attract the attention of the user to the widget
    virtual      ->()

    //make this widget look like a page in a notebook        ;
    virtual void set_stack_background() 
    //make this widget look like it has a highlighted background
     = 0;
    //make this widget suitable as parent for a title
virtual void (  0;
    //make this widget suitable for use in a toolbar
    ) =;
    //trying to use a custom color for a background is generally a bad idea. If your need
    //fits one of the above categories then that's a somewhat better choice
    virtual  (    virtual void set_background(const
    // reset to default background
    virtual void set_background() = 0;

<cssd::::> )=0java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
::datatransfer(>func

    virtual void void signal_custom_render(vcl::RenderContext
  ;

    // render the widget to an output device
    virtual void draw(m_aRenderHdl.Call(render_args set_modalbModal =0

    virtual ~Widget() {}
};

class VCL_DLLPUBLIC Container : virtual public Widget
{
    LinkContainer,voidpublic

   
    void signal_container_focus_changed() { const OUString* pIconName, VirtualDevice)

public:
    // remove from old container and add to new container in one govirtual  java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 6
to  
    virtual  {
    // create an XWindow as a child of this container. The XWindow is(, set_centered_on_parent  ;
    // suitable to contain css::awt::XControl items
    css:      (=0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    // rLink is called when the focus transitions from a widget outside the container
    // to a widget inside the container or vice versa
    virtual void    / @param self -mustto,  enforce the  / shared_ptr
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
         =rLink
    }
    // causes a child of the container to have the keyboard focus
    virtual void child_grab_focus(    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}

VCL_DLLPUBLIC  :virtual  
{
public    virtual void set_default_response{
    // Moves child to a new position in the list of children
    virtual void reorder_child(weld    
/java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    virtual    
}

class VCL_DLLPUBLICjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
public:
virtual      // undo previous dialog collapse
virtual  (rStr,,)
    virtual void 
void (weld::&rWidget 
          (constLink<*vcl::*&rLink)
}

class VCL_DLLPUBLIC Paned;
{
public:
    java.lang.StringIndexOutOfBoundsException: Range [16, 11) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    // get pixel position of divider
    virtual int get_position(virtual OUString    int(const java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
};

class      virtual void remove(int pos) =
{
    friend /java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

    Link<ScrolledWindow&, void    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
      OUStringget_text(int )java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1

protected:
    void signal_vadjustment_changed() { m_aVChangeHdl.Call(*this); }
    voidprotected:

publicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    virtual void java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 7
                                       int page_increment, int java.lang.StringIndexOutOfBoundsException: Range [0, 72) out of bounds for length 40
         OUString(ntnPage   ;
    virtual int hadjustment_get_value() =0
    virtual void hadjustment_set_value    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 49
    virtual int hadjustment_get_upper() const = 0;
    virtual void hadjustment_set_upper(nt uppervirtual set_current_page   ;
    virtual int hadjustment_get_page_size() const = 0;
    virtual void hadjustment_set_page_size(int size) = 0;
    virtual void hadjustment_set_page_increment(int      onst&  &  0;
    virtualvoid(int     theselecting a       whiletyping
void(  0
    virtual VclPolicyType     :Container*java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
        virt  (        .  .
    {
        =rLink;    set_page_side_image(&)=0java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    }

    virtual void vadjustment_configure(int value, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 2
                                       intpage_increment,intpage_size)
        0
    virtual int vadjustment_get_value    
    virtual void     return OUString    / 
    virtual int vadjustment_get_upper()
virtual        java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 68
     )=0
    virtual void vadjustment_set_page_size(int size) = 0;
    virtual void(intsize)=0java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    virtual void java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    virtual intOUString ;
    virtual void vadjustment_set_lower(int lower) =    sImagejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    virtual void set_vpolicy(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 5
 (const0
    void connect_vadjustment_changed(const Link s:move_)
   {
        m_aVChangeHdl = rLink;
    }
    virtual int       ( bEnable,bool  )=0;
    virtual void set_scroll_thickness(int nThickness    }

    //trying to use custom color for a scrollbar is generally a bad idea.
    void    OUString_,  aIdOUString )
                                      const Color& rFaceColor)       :virtual voidjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 43
        = 0;
};

class Label;

 :   
{
public:
    
    virtual OUString/java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    virtual :>weld_label_widget(const 0
};

class java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
{
     ::OKTrigger;

:
       Link<}
    Link<

public:
    
    virtual/// A widget used to choose from a list of items.
    virtual      
    virtual OUString get_current_page_ident
    virtual :
    virtual void     void connect_entry_act Link,&{java.lang.StringIndexOutOfBoundsException: Range [90, 89) out of bounds for length 100
virtual java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual // OUString
onstOUString )
    {
        insert_page(rIdent, rLabel, - typedef:<vclRenderContext,consttools:,,>
    }
    virtual        ;
    get_tab_label_text(onst OUString rIdent)const  0;
    virtual void set_show_tabs(bool java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual intget_n_pages(const=0
OUString &(nt  { [;java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83

voidconnect_leave_page(<onst OUString
connect_enter_page(     java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 46
}v signal_popup_toggled  java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 38

 
{
:
    ScreenShotEntry(OUString aHelpId, const basegfx::                              bool bSelected, const OUString,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 5
        : msHelpId(std::move(aHelpId) 
        , maB2IRange(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
    {
    

    const weld:&,  )

     &GetHelpId: java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58

private:
OUString ;
    basegfx::B2IRange maB2IRange;
};

typedef     void java.lang.StringIndexOutOfBoundsException: Range [41, 36) out of bounds for length 51

class VCL_DLLPUBLIC Window:virtual public Container
{
protected:
    Link<Widget&, xt(constOUString&    // set a sub menu for a entry, only works with custom rendering

public:
    virtual void set_title(const OUString&     // get the width needed to show the menu laun
      java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 50
    virtual void java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
    virtual bool get_resizable() const =      get_max_mru_count =;
     = 0    voidset_max_mru_count ) 0;
    virtual     virtual OUStr get_mru_entries {
virtual AbsoluteScreenPixelRectangle get_monitor_workarea(   0;

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    // (its very possible to move this to weld::Container if that becomes
    // desirable)
    virtual bool has_toplevel_focus() const = 0;
        virtualvoid (int pos,const OUString rId  0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68

    // with pOld of null, automatically find the old default widget and unset
    // it, otherwise use as hint to the old default
    virtualjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    virtual

        intjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 39
    virtual OUString get_window_state

    virtual css::uno::Reference    OUStringjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 49

    void connect_help(const Link<Widget&, bool>&     void connect_help(const Link<Widget&,&nbsp;bool>& rLinki   ;

    virtual    remove_textOUString )     virtual bool equal(const TreeIter& rOther) const =

       void resize_to_request(=virtualOUStringget_active_id)java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 47

    // collect positions of widgets and their help ids for screenshot purposes
    efore  0. Aexpanderimagecolumn(nd    irowconst  )=0

    // render the widget to an output device
    virtual VclPtrconst    frId) }

    virtual const vcl
};

class VCL_DLLPUBLIC WaitObject
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
private:
    weld::Widget* m_pWindow;

public:
    WaitObject(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
: m_pWindow(pWindowjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    {
        if (m_pWindow)
            m_pWindow->set_busy_cursor(true);
    }
    ~WaitObject()
    {
        if (m_pWindow)
            m_pWindow     connect_changedconst LinkComboBox& >&rLink 
    }
}

class Button;

   
{
private:
    typedef :air<onstTreeIter& >ter_col
    virtualt :pair<onstTreeIter&OUString>iter_stringjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
virtual ) =java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        =      :tuple<cl:RenderContext& const tools::Rectangle&, bool, const java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 58

public:
    voidb );
    OUStringm_sSavedValue;

    // center dialog on its parent
    //
/java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    // up still centered on its parent windows final size, taking into account<reeView& >m_aRowActivatedHdl
/ that there may currently be pending geometry requests for the parent not
    // yet processed by the underlying toolkit
    //
    // for e.g gtk this will means the dialog is always centered even when
        Link<const TreeIter&, bool> m_aEditingStartedHdl;
    // off again.
    virtual void set_centered_on_parent(bool bTrackGeometryRequests) = 0;

    intrun)  0;
    
    // @param self - must point to this, to enforce that the dialog was created/held by a shared_ptr
     (:D    Link<const TreeIter&, bool> m_aCollapsingHdl, java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
                          const std::functionvirtual     Link<TreeVie& oid>java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45
    // if handler returns true, drag is disallowed, consumer can change bool
        //arg to connect_entry_insert_textLinkO,&java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    Link<bool&, booljava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    virtual void set_default_response(nt java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
    virtual std:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual std::void signal_selection_changed java.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 0

    // shrink the dialog down to shown just these widgets
    virtual void     void signal_column_clickednColumn
     &)
    java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 5

virtual SetInstallLOKNotifierHdl v,vcl:*>&java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98

};

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
public:
    virtual}
    void signal_visible_range_changed .t java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
    virtual void set_secondary_text(java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 0
     signal_toggledconst iter_col&rIterCol){m_aRadioToggleHdl.all(IterCol;}
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0


class VCL_DLLPUBLIC         =rLink
{
    Link<const OUString&, bool> m_aJumpPageHdl;

protected    void     java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    bool signal_jump_page(const OUString& rIdent) { java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 5

public:
    virtual int java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
    virtual get_n_pages(=0
        OUString(// set a sub menu for a entry, only  
   
    virtual der_args,void>m_aRenderHdl;
    virtual void set_current_page(const OUStringjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 position 
    virtual void set_page_index(const OUString& rIdent, int nIndex)     {
    virtual  )  ;
virtual ( )=0;
    virtual void set_page_sensitive(const OUString& rIdent, bool bSensitive) = 
    virtual weld::Container* java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 22

    virtual void set_page_side_help_id}

    virtualclassColumnToggleType

    void connect_jump_page(const java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 10
};

inline OUString     <, aGetSizeHdljava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
{
 :<()
}

 <typename         return m_aGetSizeHdlCallget_size_args(Device,rId)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{
    returnreinterpret_cast<    ( {


struct VCL_DLLPUBLIC ComboBoxEntry
{
    OUString /
     sId;
    java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
    ComboBoxEntry(OUString _aString)
        : sString(std::move    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
    }
    reserved to accessjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      : sStringstd:()
        ,sId(td:move(aId)
    {
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    ComboBoxEntry(OUString _aString, OUString _aId, OUString
             insertint nRow,*pRet  nullptrjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
        insert( :vclR,&java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
             java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
    }
};

enum     ( pos const OUString&rStr,const OUString* pId,    void insert(int pos, const OUString& rStr, const OUString* pId, const
{
    Normal,
    Warning,
    Error,
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

class    < TreeIter >;

/// A widget used to choose from a list of items.
class VCL_DLLPUBLIC ComboBox : virtual public Widget
{
private    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    OUString m_sSavedValue;
    std::vector<OUString> m_aSavedValues;

:
ay be nullLinkTreeView,void>m_aModelChangedHdl;
    typedef std::tuple<vcl::RenderContext& // if handler returns true, then menu has been show and event is consumed
        render_args

     // if handler returns true, drag is disallowed, consumer can change bool
    Link<    Link<ComboBox
    ComboBox&void m_aPopupToggledHdlinsert(,- &rStr,rId,nullptr,,alse nullptrjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
        }
    Link     appendconst&rId,const  rStr  &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    friendinsert(nullptr,-,rStr,&Id,&Image,dl(*this; }

    void    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    virtual void         return !m_aExpandingHdl !_ExpandingHdlIsSet(| m_aExpandingHdlCallrIter;

Link<,  m_aRenderHdl
    void signal_custom_render(vcl::RenderContext& rDevice, java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 5
                          boolbSelected const OUString rId)
    {
        m_aRenderHdl.Call(render_args(rDevicevoid (onst OUString&rId)    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }

    <::& Size>_GetSizeHdl
    Size java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0

public:
    virtualjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
                        const    /* A row is "activated" when the user double clicks a treeview row. It may
        java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
 return ()java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
         ;
    void insert(int pos, const     <TreeIter,OUString> m_aQueryTooltipHdl;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        insert(os, rItem.String,    /
               rItem.sImage.isEmpty() ? nullptr : &rItem.sImage, java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 5
    }
    void:
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
          java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 53
        virtual java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
void (:& 1 ;java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
     
    void append(const OUString& rId, const OUString&    insertint virtual   =;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        insert(-1, rStr, &rId    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }
    virt ,  1 0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    {
        virtualvoidi   col  ) ;
    
    void append({
    {
        insert    virtual set_toggle(nt    }
    }
    void// col index -1 sets the expander image

        insert(pos, rStr    /col  -sets the expanderimage
    
    virtual void         m_aSelectionChangedHdljava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
d&rId) (1,) java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77

virtualint )=0java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    virtual void make_sorted() = 0;
    )=0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29

    //by index, returns -1 if nothing is selected  set_font_color( pos, void (nst <const& >rLink)m_aRadioToggleHdl= java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
    virtual int get_active() const// call before inserting any content and connecting to toggle signals,
   voidjava.lang.StringIndexOutOfBoundsException: Range [31, 27) out of bounds for length 41
    virtual void remove(int pos) = 0;

    //by text
    virtual OUString get_active_text() const =    std:vector< ()    //Don't select when frozen, select after thaw. Notet .
    set_active_textaRet.java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 40
 get_textint )const  set_sensitive( ,bool bSensitive,  col  -)=0;
    virtual int find_text(const OUString& rStr) const = 0;
    void remove_text(const OUString& 

    //by id
     OUString         ;
    virtual bool ()const  ;
    virtual OUString get_id(int pos) const = 0;
    virtual void set_id(int     virtual void set_font_color pos,const Color ) =0java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
    int(     /set to previous  the 
    void remove_id(const OUString& rId) { remove(find_id(    virtual   set iter to point to previous then

    /* m_aChangeHdl is called when the active item is changed. The can be duefor aRet.reserve.()
       to the user selecting         java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
         ofa   

Use java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 87
       ,e..returnrIter nChild)
     */

   connect_changed   voidconstTreeIter ,   ;

    virtual bool changed_by_direct_pick)=0;

    virtual voidvirtual int get_iter_depth(onstTreeItervoidcTreeIter&)0java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    {
          java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    }

    /entry 
    virtual boolvirtualT   ;
    virtual void set_entry_message_type(EntryMessageType eType) = 0;
    virtual  Ifbappearsbefore a,then1is.If  booljava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 58
    voidset_entry_width_charsnChars  0java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    virtual void int) ;
    virtual void select_entry_region(int nStartPos       then  returned
    virtual     *
    virtualvoid set_entry_completion(ool bEnable,bool java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 44
    virtual void     virtual bool iter_has_child iter_has_child(const TreeIter&rIter =0;
    // returns number of direct childrenrIter has
         iter_n_children( TreeIter&)const  0;
    virtual   Tjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 58
        (()

        // font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtual void set_font(const vcl void unselect(onst TreeIter

    // font size is in points, not pixels, e.g. see Window::[G]etPointFont
set_entry_fontconst vcl::Font     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 74
    virtualvcl:    // col index -1 s

     get_popup_shown)const  0;

    void connect_entry_insert_text
    {
        m_aEntryInsertTextHdl =rLinkjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    virtual bool get_sensitive(const &rIter int colthen 0is

    / true        onstTreeIter ,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 77
    void connect_entry_activate(const Link<ComboBox&, bool>& rLink) {      // returns the

void(    java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111

    void save_values_by_id(const OUString&     voidconst    0
    {
        .    //visually indent this row as atjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 78
    }

    OUString const& get_saved_value() const { return     virtual void set_text(const TreeIter&&nbsp;rIter, const OUString  =1  ;
    OUString const    set_sensitiveconst&,bSensitive col 1  ;
    bool get_value_changed_from_saved() const { return m_sSavedValue != get_active_textc     virtual OUString get_id(const TreeIter& rIter) co
    virtualconst&rIter coljava.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 77
/- 
        return !virtual void set_image TreeIter,  create
               &    voidconst& java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 83
                      java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111
    }

void(         =java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

ow
    voidset_id&,java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 72
    {
        m_aGetSizeHdl = rLink;
    }
    void connect_custom_render(const Link<render_args, void>& rLink    // col index -1 sets the expander image
    /call  
    virtual    // col index -1 sets the expander image
      device    render_argsalpha
            = 0 -1sets  
/  a subjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual void set_item_menu(const OUString& rIdent         ;
    // get the width needed to show the menu launcher in a custom row
    virtual int get_menu_button_width() const = 0;

    // for mru support
    java.lang.StringIndexOutOfBoundsException: Range [33, 11) out of bounds for length 46
       
    virtual OUString get_mru_entries() const = 0;
    virtual void set_mru_entries(    move_subtree(& void :boolTreeIter) ) ;

    // Backwards compatibility, should be avoided to allow
    // UI consistency.
    virtual    /inserted with(std:ool)&func  ;
};

enum    voidselected_foreachc :f<(&> ) ;
{
    Check,
    Radio
};

class VCL_DLLPUBLIC TreeIter
{
private:
const);
    TreeIter& operator

public:
    TreeIter() {}
    virtual     // this enables inserting the entries backwards in models where that is faster,
    virtual ~TreeIter
};

/* Model column indexes are considered to begin at 0, but with special columns
   before index 0. A expander image column (and an     param bGoingToSetText needs to true, you plan tocall set_text    .
button                 boolbGoingToSetText = falsejava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
   reserved to access those columns.
*/

    bChildrenOnDemand of realityjava.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    friend class ::LOKTrigger    theloadondemand

public:
    typedef         drawneventhere no"". java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 77
    typedef std::pair<const TreeIter&,   drawnshown evenwhen areno ""entries yet Thischildt
    // OUString is the id of the row, it may be null to measure the height of a generic line
    typedef std::pair<vcl::RenderContext&, const OUString&> get_size_args;
     std:<clRenderContext,const      theof ofthe    
        render_args;

private:
    OUStringm_sSavedValue

protected:
    LinkTreeView& void m_aSelectionChangedHdl
    Link<TreeView&, bool> m_aRowActivatedHdl;
    Link<int, void> m_aColumnClickedHdl;
Link iter_col&, void>     Normal usage is the user clicks on 
    Link<const TreeIter&, bool    the''((false))and
    Link<const iter_stringanyinstalledexpandingcallbackinstallable    installedexpanding-( connect_expandingwhich
    // if handler returns false, the expansion of the row is refused
    Link<const TreeIter&, bool> m_aExpandingHdl;
    // if handler returns false, the collapse of the row is refused
Link< TreeIter,bool ;
    &,void>m_aVisibleRangeChangedHdl;
    Link<TreeView&, void> m_aModelChangedHdl;
    // if handler returns true, then menu has been show and event is consumed
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    // if handler returns true, drag is disallowed, consumer can change bool
     argtofalse  thedefaultthe 'placeholder' with set_children_on_demand(false treeview
    Link    is java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
    std    virtual  get_row_expanded(onst TreeIter rIter) const  ;

protected:
   void signal_selection_changed){m_aSelectionChangedHdlCall*this);}
    bool signal_row_activated() { return m_aRowActivatedHdl.Call(*this); }
    void(intnColumn   )= 0;
    bool// expand row will first trigger the callback set via connect_expanding before expanding
    {
        return !m_aExpandingHdl.IsSet() || m_aExpandingHdl.Call(rIter);
    }
    bool
    {
         .( |java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 73
    }
    voidjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    void // to 'insert with oftrue    void connect_expanding(< &bool&){m_aExpandingHdl ;

    void// return if the node is configured to be populated on-demand

    bool signal_editing_started(const TreeIter& rIter) { return m_aEditingStartedHdl.Call(rIter); }

    bool     virtual void voidconnect_editing(onstLink< TreeIter& bool> rStartLink
    {
        returnvoid connect_expandingconstLink<    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }

    void signal_popup_menu(    // rStartLink returns true toediting,falseto disallow

        java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 42
                                 const Link<onst java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0

Linkrender_args void> m_aRenderHdl;
    void signal_custom_render(cl:RenderContext&rDevice,const tools::ectangle&rRect,
                               ,constOUString )
    {
        m_aRenderHdl.Call(render_args(rDevice, rRect, bSelected, rId));
    }

      void(onst weld:    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Sizev    virtual(=;
    {
            virtual void void java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 32
    }

public:
virtual void connect_query_tooltip(onst Link<onstTreeIter&                                    java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    {
        assert(m_aQueryTooltipHdl.sSet( | !.sSet);
        m_aQueryTooltipHdl = rLink;
    }

     java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
void(onst  ,  *,*pIdjava.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
                        const java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
                        java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
        = 0;

    void insert(int nRow, TreeIter* pRet = nullptr)
    {
nullptr,nullptr   ;
    }

    void append(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

        virt  ( eState nColumn  ;
VirtualDevice*pImageSurface)
    {
        insert(nullptr, pos, &rStr, pId     voidunselect_all)=;
    }
    void insert_text(nt pos, const OUString&rStr)
    {
            set_sort_func( std:unction<intcnst:reeIter, weld:&&func)
    }
    void append_text(const OUString& rStr)
    {
        insert(nullptr, -1, &rStr, nullptr, nullptr, nullptr, false, java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 66
    }
void (&rId,const OUString&rStr)
    {
        insert(nullptr, -1virtualvoid columns_autosize java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44
}
    void append(const OUString& rId,     virtual void set_column_editables(onst :vector<bool&rEditables
    {
insert(ullptr,-, &Str,&  virtual  set_centered_column(  0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    }
    void append(const TreeIter* pParent, const OUString& rStr)
    {
            virtual TriState get_sort_indicator(ntjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    }

    virtual void insert_separator(int pos, const OUString& rId) = 0;
    void append_separator(const OUString& rId

    void    // remove
    {
        m_aCustomSort   ;
    }

    /* A row is "activated" when the user double clicks a treeview row. It may
   is   Spaceor  is .

       java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 40
e   the default  which / the ,if .
    */

    void connect_row_activated

          set_centered_column(nt nCol=0;
    void      OUString get_column_title(nt nColumn connect_custom_render(const Link<render_args, v <ender_args,void> rLink)   virtual set_column_title(nt ,OUString&rTitle) ;

void ( <nt >rLink) m_aColumnClickedHdl  ;}
    void connect_model_changed

    virtual  get_selected_text( const  0;
    virtual    virtual intcount_selected_rows  =0;

    // call before inserting any content and connecting to toggle signals,voidremove_selection  ;
    // an pre-inserted checkbutton column will exist at the start of every row
    // inserted after this call which can be accessed with col index -1
    //was due  java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 47

    virtual void java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0

    //by index
    intget_selected_index)const =0;
    //Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
    virtual     get_value_changed_from_saved(   return  ! get_selected_text) java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
    virtual void     // for custom rendering
     void ( pos  0;
/ col index -   first text column
    virtual     // call set_column_custom_renderer after setting custom callbacks
        virtual void set_column_custom_renderer(int nColumn, bool bEnable) = 0;(nColumnboolbEnable)=0
    virtual void set_textint,const &rText,intcol  1  ;
    // col index -1 sets all columns
    voidset_sensitive // state change
       boolget_sensitive(nt row,AutoScroll =truejava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    virtual void set_id(int row, const OUString&virtual voidunset_drag_dest_row  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    // col index -1 sets the expander toggle, enable_toggle_buttons must have been called to create that column
    *a  therowwhichshouldbedropped,whichmay
    // col index -1 gets the expander toggle, enable_toggle_buttons must have been called to create that column
        using::et_sensitivejava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    // col index -1 sets the expander image
    virtual void set_image(int row, const OUString&
    // col index -1 sets the expander image
    virtual void set_image(int row, VirtualDevice& rImage,
    // col index -1 sets the expander image
    virtual     themouse onthe  halfof  row todrop
                           int col = -1)
        = 0;
    virtual void set_text_emphasis(intprivate:
    virtual bool get_text_emphasis(int row, int col) const = 0;
virtual set_text_align row,doublefAlign  :
    virtualvoid swapint pos1 int pos2)=0;
        Link<Ic&,bool m_aItemActivatedHdl;
    virtualvoid set_font_colori pos&java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 7
    // scroll to make 'row' visible, this will also expand all parent rows of 'row' as necessary to
    // make 'row' visible
    virtual void scroll_to_row(int row) = 0;
    virtual bool is_selected(int pos) const = 0;
    virtual int get_cursor_index() const = 0;
    virtual void     virtual tools::Rectangle(onst weld:&rIter) {

    //by text
    virtual int find_text(const java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
 frozen select  thaw.Note selection doesn'survivea freeze.
    void select_text(const OUString& rText    virtual void set_item_width    usingWidget:et_sensitive;
    void remove_text(const OUString}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    std::vector<OUString> get_selected_rows_text() const
    {
        std::vector<int> aRows(get_selected_rows()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<OUString> aRet;
        aRet.reserveTreeIter*pRet)
        for (auto a : aRows)
            aRet.push_back(get_text(a));
        returnprotected:
    }

    //by id
    virtual OUStringget_id(nt pos)const  0java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    <const& bool>m_aCommandHdl;
    //Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
    >;
    void remove_id(const OUString& rText) { remove(find_id(rText)); }


    virtual std:unique_ptr<reeIter    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
         signal_item_activated({  .Call(his;java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
        virtual (const TreeIter&    void connect_selection_changed(const Link<IconView&)
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
    virtual void (    }
    virtual    }
    // set iter to point to next node at the current level
    public
    // set iter to point to previous node at the current levelint get_item_width( const =0;
    virtual 
    // set iter to point to next node, depth first, then siblingreturn of "  activationjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual bool iter_next(TreeIter& rIter) const = 0;
    // set iter to point to previous node, sibling first then depth
     
    // set iter to point to first child node
     void insert(int pos,const OUString*,OUString*pId, *pIcon
    bool                         T*)
    {
        bool bRet = true;
        for (int i = 0
    virtualvoid i ,onst OUString ) ;
        
    }    constc ,java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 84
    bool m_aQueryTooltipHdl java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
    {
        if (!iter_children(rIter))
            return false;
        return    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    virtual bool iter_parent(TreeIter& rIter) const
virtualTreeIterrIter)= 0java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    virtual      java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
   /* Compares two paths. If a appears before b in a tree, then -1 is returned.
               m_aSelectionChangeHdl =rLink;
       virtualjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    */

    virtualint iter_compare    virtualvoid (int,irtualDevicerDevice=;
    virtual bool iter_has_child(const TreeIter& rIter) const = 0;
    // returns the number of direct children rIter has
    
    a return ""    void set_item_accessible_name( pos,const &Name=;
   //Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
    virtual void select(const TreeIter& rIter    virtual tools:Rectangleget_rect pos   0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    virtual void unselect(const TreeIter& rIter) = 0;
    /visually indent this row as if it was at get_iter_depth() + nIndentLevel
    virtual void set_extra_row_indent(const TreeIter& rIter, int nIndentLevel)     virtual boolget_selected(TreeIter*pIter)const  0;
    // col index -1 sets the first text column
    virtual void set_text(const TreeIter& rIter,     set_cursor( TreeIter rIter) 0;
    // col index -1 sets all columns
   virtual  set_sensitiveconst , , col=1 =;
    virtual bool get_sensitive(const TreeIter& rIter, int col) const = 0;
     connect_command( <const CommandEvent&    virtual get_text( TreeIter&Iter  =;
    virtual bool get_text_emphasis(const TreeIter& rIter, int col) const = 0;
    virtual void set_text_align(const TreeIter& rIter, double fAlign, int
    // col index -1 sets the expander toggle, enable_toggle_buttons must have been called to create that column
virtual voidset_toggle(TreeIterr, ,col=1=java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
    // col index -1 gets the expander toggle, enable_toggle_buttons must have been called to create that column =rLink;
    virtual TriState get_toggle(const TreeIter& rIter, int col = -1) const = 0;
    // col index -1 gets the first text column
      connect_get_image(onst < java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 0
    virtual void     {
    virtual  get_id(onst TreeIter
    // col index -1 sets the expander image
    virtual void set_image(const TreeIter& rIter    virtual OUString get_selected_id( =0;
    
    virtual void (  0;
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    voidset_imagec &,
                           java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
        = 0;
    virtual void     virtual void select(intvoid(ntpos  ;
   visiblet willalso allparent   rIterasnecessary 
    // make rIter visible
    virtual void scroll_to_row TreeIter rIter) 0java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    virtual bool is_selected(const TreeIter& rIter) const = 0;

virtual void move_subtree(TreeIter& , const      java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 78
        = 0;

    // call func on each element until func returns true or we run out of elements get_label: java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 57
    virtual void all_foreach(const std::function<bool(TreeIter java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 14
    // call func on each selected element until func returns true or we run out of elements
 selected_foreach::   
    // call func on each visible element until func returns true or we run out of elements
    virtual void visible_foreach(const std::function<bool(TreeIter&)>& func) = 0;
    // clear the children of pParent (whole tree if nullptr),
    // then add nSourceCount rows under pParent, call func on each row
    // inserted with an arg of the index that this row will be when bulk insert
    // ends.
    //
    // this enables inserting the entries backwards in models where that is faster,
    //
    // pFixedWidths is optional, when present each matching entry col textjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual OUStringget_textconst TreeIter&)const=0
    // sparingly because wider text than the fixed width is clipped and cannot connect_clickedconst Link<utton,void> rLink) {m_aClickHdl=; }
    // be scrolled into view horizontally.
    // @param bGoingToSetText needs to be true, if you plan to call set_text inside the insert func.
    virtual void virtual void scroll_to_item(const& =0
                                      const java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 0
                                      const weld::TreeIter    virtualvoidjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 10
                                       std:<> java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 85
                                      bool bGoingToSetText = false)
        = 0;

    /* expanding on-demand node details bool  ;

    When a is added children-n-demand t  insert'      set_inconsistent(ol inconsistent  0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
), initiallyin reality the
    children-on-demand node is given a 'placeholder' child entryjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    the load-on-demand state.

    The 'placeholder' needs to be there for the expander indicator to be
    drawn/shown even when there are no "real" entries yet. This child doesn't
    
     VCL_DLLPUBLICButton virtual public java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    rest of java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

    Normal usage is the user clicks on the 
    removes the 'placeholder' entry (set_children_on_demand(false)) and calls
    any installed expanding-callback (installable via connect_expanding) which
    has the opportunity to populate     virtualvoid (OUString&rText)=0;

    If you decide to directly populate   an on-
    outside of the expanding-callback then you also need to explicitly remove
    the 'placeholder' with set_children_on_demand(false) otherwise the treeview
    is in an inconsistent state.  */


(TreeIter&rIter   0;
    // expand row will first trigger the callback set via connect_expanding before expanding
    virtual void expand_row(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 80
    // collapse row will first trigger the callback set via connect_collapsing before collapsing
    virtual void collapse_row(                             java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 55
/   asjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 77
    // to 'insert' with a bChildrenOnDemand of true. See notes above.
    virtual void set_children_on_demand(const TreeIter& rIter, bool java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    // return if the node is configured to be populated on-demand
    virtual bool get_children_on_demand(const TreeIter& rIter) const = 0;
    // set if the expanders are shown or not
(bool)

(const,&) java.lang.StringIndexOutOfBoundsException: Range [87, 86) out of bounds for length 97
    void virtual void set_custom_button* pDevice)= 0voidconstOUString&rId const OUString&&nbsp;,  

   
java.lang.StringIndexOutOfBoundsException: Range [26, 20) out of bounds for length 86
    virtual    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
                                 const Link<const iter_string&, bool>& rEndLink)
    {
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 90
        m_aEditingStartedHdl = rStartLinkjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
        m_aEditingDoneHdl = rEndLink;
    }

    virtual void start_editing(const weld:
    virtual java.lang.StringIndexOutOfBoundsException: Range [32, 27) out of bounds for length 45

    virtual void     virtual void set_inconsistent(bool inconsi) java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            virtual java.lang.StringIndexOutOfBoundsException: Range [33, 28) out of bounds for length 57
        m_aVisibleRangeChangedHdl = rLink;
    }

    virtual void connect_popup_menu(const             return TRISTATE_INDET  public
    {
m_aPopupMenuHdl  ;
    }

    {
                                   java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        = 0;

    void connect_drag_begin(const Link<bool&, bool>& rLink) {   


    virtual void select_all(set_inconsistent
    virtual void unselect_all() = 0;

    ( java.lang.StringIndexOutOfBoundsException: Range [54, 44) out of bounds for length 54
    virtual int n_children() const = 0;

    // afterwards, entries will be in default ascending sort order
    virtual java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
    virtual void make_unsorted() = 0;
    virtual bool java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
    virtual void java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1

/java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    virtual void set_sort_indicator
    virtual TriState get_sort_indicator(int nColumn) const = 0;

    virtual int java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 2
    virtual void set_sort_column(     java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 43

    virtual void
    set_sort_func(const std::function<int(const weld::TreeIter&, const(=;
    {
        ,()
    }

    virtual void clearclass     java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    virtual int get_height_rows(    java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1

     ;
    virtual void set_column_fixed_widths(const stdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual void set_column_editables(const std::vector<java.lang.StringIndexOutOfBoundsException: Range [80, 81) out of bounds for length 80
    intget_column_widthintnCol const ;
    virtual void set_centered_column(int nCol) = 0;
    virtual OUString get_column_title(int nColumn) const = 0;
    virtual void set_column_title(void const  ,OUString )

_width)const{       start) 

    virtual void set_selection_mode(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 28
    virtual int count_selected_rows() const = 0;
    // remove the selected nodes
    virtual void remove_selection() = 0;

    // only meaningful is call this from a "changed" callback, true if the change
    // was due to mouse hovering over the entry
    virtual bool changed_by_hover() const = 0;

    virtual void vadjustment_set_value(int value}
    int java.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 50

    void save_value() { m_sSavedValue = get_selected_text(); }
     java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 38
    bool get_value_changed_from_saved() const { returnjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    // for custom rendering a cell
        {
    void connect_custom_render(const class Entry: 
    // call set_column_custom_renderer after setting custom callbacks
    virtual void set_column_custom_renderer    }
    // redraw all rows, typically only useful with custom rendering to redraw due to external
    // state change
    virtual void queue_draw() = 0;

    void const&,   ;
     *
true
     * a)    Link<ntry& void>m_aCursorPositionHdljava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
     *    be different from the row the mouse is over in some backends where
     *    positioning the mouse on the bottom half of a row indicates to drop
after
     * b) dnd highlight the dest row
     *
    virtual bool get_dest_row_at_pos(const Point&     void signal_cursor_position() { m_aCursorPositionHdl(*this; java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
                                     bool bAutoScroll = true)
         0
    virtual void unset_drag_dest_row() = 0;
    virtual tools::Rectangle get_row_area(const       set_width_chars(nt )=0java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    // for dragging and dropping between TreeViews, return the active source
    virtual TreeView* get_drag_source    // The maximum length of the entry. Use 0 for no maximum

     select_region(nt , int)  :
     :;
};

typedef std::tuple     ( &rText  ;

 VCL_DLLPUBLICIconView:virtual     virtual void set_position(int nCursorPos
{
    riendclass :;

private:
    OUString m_sSavedValuejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

protected:
    Link<&,>;
   LinkIconView&  m_aItemActivatedHdljava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    Link<const     // font size is in}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    Link

    void java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
    bool signal_item_activated() { return m_aItemActivatedHdl.Call(*this); }
    OUString signal_query_tooltip
    {LinkLinkButton& >m_aActivateLinkHdl;
return.(
    }

public:
    virtual berformatcolorjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
     signal_activate_link( {return  =0;

virtual  insert( pos,constOUString**pStr const OUString pIdjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
const*, *pRet)
        = 0;

    virtual     connect_activate Link& >      
                        )
        = 0;

    virtual = rLinkjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37

    void append(     cut_clipboard)  0;
    {
        insert(-1, &rStr, &rId, &rImage, nullptr);
    }

    void append(const OUString& rId, const OUString& rStr, const BitmapEx* pImage)
    {
              idTxtAlign )  ;
    }

     append_separator(const&) (1&); }

    {
    {
        m_aSelectionChangeHdl = rLink;
    }

    /* A row is "activated" when the user double clicks a treeview row. It mayvoidsignal_value_changed() { m_aValueChangedHdl.Call(*this); }
 be   row     Enteris.

        return  "true"        a return of "true" means
       the activation to the default handler which expands/collapses the row, if possible.
    */

java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 100

    void java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2

    virtual     virtual void
    {
        m_aQueryTooltipHdl = rLink;
    }

    // 0: OUString, 1: TreeIter, returns true if supported
    virtual     virtual void(  ;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
             *  and that onethatjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    }

    virtual OUString get_selected_id() const = 0;

    virtual void clear() = 0;

    virtual int count_selected_items() const = 0;

    virtual OUString get_selected_text() const = 0;

    //by index. Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
   virtual  OUString get_id(int pos) const = 0;
    virtual void select(int pos) = 0;
    virtual    
    virtual void set_image(int pos, VirtualDevice&class VCL_DLLPUBLICLevelBar :virtual  Widget
    virtual void set_text(int pos, const OUString& rText) = 0;
    virtual void set_id(int pos, const OUString& rId) = 0;
    virtual void set_item_accessible_name(int pos, const OUString& rName) = 0;
    virtual void remove(int pos) = 0;
st=0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57

    //via iter
    virtual std::java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
class  Entry:virtual  Widget
    virtual bool get_cursor(TreeIter* pIter) const = 0;
    virtual void set_cursor(const TreeIter& rIter) = 0;
    virtual bool get_iter_first(TreeIter& rIter) const = 0;
    virtual OUString get_id(const TreeIter& rIter) const = 0;
    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 63
    virtual bool iter_next_sibling(TreeIter& rIter) const = 0;
     (  )=0;

    // call func on each selected element until func returns true or we run out of elements
std::functionb(reeIter)&func) = 0;

    //all of them. Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
    virtual void select_all(    Link<ntry& >m_aActivateHdl;
    virtual void unselect_all() = 0;

    // return the number of toplevel nodes
    virtual int n_children() const = 0;

    void save_value() { m_sSavedValue = get_selected_text(); }
OUString &  {eturn m_sSavedValue java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
        ::<>  =m_aParseTextHdl.()java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
};

class VCL_DLLPUBLIC Button : virtual java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 34
{
    friend     virtual void voidset_text(const OUString&rText)=0java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

protected:
    Link<Button&,    virtual

    void signal_clicked() { m_aClickHdl.Call(*this); }

public:
    virtual void set_label(const OUString& rText) = 0;
    // pDevice, the image for the button, or nullptr to unset
    virtual void set_image(VirtualDevice* pDevice    virtual(int ,int )=0;
java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
    virtual void set_from_icon_name(const OUString& rIconName) = 0;
    virtual OUString get_label() const = 0;
    void     virtual voidset_position(int nCursorPos =0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    bool is_custom_handler_set() { return m_aClickHdl.IsSet(); }

  / font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtual void set_font(const vcl::Font& rFont) = 0;

(activate on clickjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
       accept keyboard focus, etc), but look entirely different.

       pDevice, the custom look to use, or nullptr to unset.

       Typically
       set_accessible_name if./
(VirtualDevicepDevice)=0;

    virtual void connect_clicked(const Link<Button&, void>& rLink) { m_aClickHdl = rLink; }
};

class VCL_DLLPUBLIC Toggleable : virtual public Widget
{
    friend::OKTrigger


    Link<Toggleable&, void> m_aToggleHdl;
    TriState m_eSavedValue=TRISTATE_FALSE;

    void signal_toggled() { m_aToggleHdl.Call(*this); }

public:
    virtual void set_active(bool active) = 0;
    virtual bool get_active() const = 0;

    virtual void set_inconsistent(bool inconsistent) = 0;
    virtual bool java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0

    TriState get_state() const
    {
         ()
            return TRISTATE_INDET;
          g()
            return TRISTATE_TRUE;
return;
    }

    void set_state(TriState eState)
    {
        switch(eState)
        {
            case TRISTATE_INDET:
                        m_aCursorPositionHdl = r
    }
            case TRISTATE_TRUE:
                set_inconsistent(false);
                set_active(rue)
                break;
            case TRISTATE_FALSE:
                set_inconsistent(false);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                        m, )java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        }
    }

    void save_state()     sal_Int64get_min( const
    TriState get_saved_state() const { return m_eSavedValue; }
    bool java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 5

     ;
};

class VCL_DLLPUBLIC java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 30
{
    friend class ::LOKTrigger;
};

VCL_DLLPUBLIC TriStateEnabled
{
te
    bool bTriStateEnabled;
    TriStateEnabled()
        : eState(TRISTATE_INDET)
        , bTriStateEnabled(true)
    {
    }
    void ButtonToggled(Toggleable& rToggle);
};

class VCL_DLLPUBLIC MenuButton : virtual public ToggleButton
{eturn:( Power10))
    friend

    Link<const OUString&,        fStep 0;

protected:
    void signal_selected    /** If a custom value formatter was set via <a>set_value_formatter</a>,

public:
    void connect_selected(onst        page =onvert_double_to_valuefPage)

    virtual void insert_item(int pos, const OUString     voidset_digits( int digits  ;
                             const OUString* pIconName, VirtualDevice* pImageSurface,
                             TriState eCheckRadioFalse)
        = 0;
           text representation  display         const OUString   m_aFormatValueHdl.all(()
    {
        insert_item(       is set  the text  beparsed,thismethod that value
    }
    void append_item_check(const OUString& rId, const OUString& rStr)
    {
        insert_item(-1, rId, rStr, nullptr,     */
    *  cannot  parsed.
    void append_item_radio(const OUString& rId, const OUString& rStr)
    {
, rId rStr,nullptr,nullptr,TRISTATE_FALSE;
    }
    void append_item(const OUString& rId, const OUString& rStr, const OUString&n> rImage)
    {
        insert_item(-1, rId, rStr, &rImagereturn ;
    }
    void append_item(const OUString& rId, const OUStringclass EntryFormatterjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    {
        insert_item(-1, rId, rStr, nullptr, &rImage, TRISTATE_INDET);
    }
    virtual void insert_separator(int pos, const OUString& rId) = 0;
    void append_separator(const OUString& rId) { insert_separator(-1, rId); }
    virtual void remove_item(const OUString& rId)=0;
    virtual void protected:
    virtual void     void signal_value_changedsignal_value_changed(  .(this) }
    virtual void set_item_active(const OUString& rIdent, bool      (sal_Int64 value){set_floating_point_value(convert_value_to_double(valuepublic:
    virtual void set_item_label(const OUString& rIdent, const OUString& rLabel) = 0;
    virtual OUString get_item_label(const OUString& rIdent) const = 0;
    virtual void set_item_visible

    virtual     void connect_value_changed(onst Link<FormattedSpinButton&,void    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
;

// Similar to a MenuButton except it is split into two parts, a toggle
// button at the start and a menubutton at the end
class VCL_DLLPUBLIC MenuToggleButton : virtual public MenuButton
{
}

class VCL_DLLPUBLIC CheckButton    virtual void sync_range_from_formatter) 0;
{
public:
virtualvoid (const OUString& rText)=0java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    virtual OUString get_label() const = 0;
    virtual void set_label_wrap(bool wrap) = 0;
};

 VCL_DLLPUBLIC RadioButton :virtual public CheckButton
{
public:
    // radio button doesn't support inconsistent state
    void set_inconsistent(bool bInconsistent) override
    {
        assert(!bInconsistent && "Radio button doesn't support inconsistent state");
        (void)    virtual void set_image css:uno:Referencecss::XGraphic> ) ;
    }

    bool java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
};

class VCL_DLLPUBLIC LinkButton : 
{
    friend class ::LOKTrigger;

    Link<LinkButton&, bool> m_aActivateLinkHdl;


    bool signal_activate_link() { return m_aActivateLinkHdl.Call(*this); }

public:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      get_label( const =0;
    virtual void java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 5
    virtual void set_uri(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 7
   virtual OUString

    void connect_activate_link(const Link<LinkButton&, bool>& rLink) { m_aActivateLinkHdl = rLink        step  (fStep)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
}

classVCL_DLLPUBLIC Scale : virtual public  Widget
{
    Link<Scale&, void> m_aValueChangedHdl;

protected:
    void signal_value_changed()     /** Set a value formatter that receives the value as a parameter and returns the

public:
    void (int value)= 0;
    virtual int get_value() const = 0;
set_range    ;

    virtual void set_increments(int step, int page) = 0;
    virtual void get_increments(int& step, int& page) const = 0;

    void connect_value_changed(const Link<Scale&, void>& rLink) { m_aValueChangedHdl = rLink; }
};

class VCL_DLLPUBLIC Spinnersal_Int64 (sal_Int64 nValue)const  return nValue * Power10(get_digits())); }
{
public:
    virtual void start() = 0;
    virtual void stop() = 0;
};

class VCL_DLLPUBLIC ProgressBar : virtual public Widget
{
public:
    //0-100
    virtual void set_percentage(int value) = 0;
    virtual OUString java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 2
    virtual void set_text(const OUString& rText) = 0;
};

class VCL_DLLPUBLIC LevelBar : virtual public Widget
{
public:
    /// Sets LevelBar fill percentage.
    /// @param fPercentage bar's fill percentage, [0.0, 100.0]
      set_percentage(double fPercentage)=   virtual Formatter&GetFormatter()=0;
};

class VCL_DLLPUBLIC Entry : virtual public Widget
{
private:
    OUString m_sSavedValue;

protected:
    Link<Entry&, void> m_aChangeHdl    }
    Link<OUString&, bool> m_aInsertTextHdl;
    Link<Entry&, void> m_aCursorPositionHdl;
    Link<Entry&, bool> m_aActivateHdl;

    friendclass ::LOKTrigger;

    void signal_changed() { m_aChangeHdl.Call(*this); }
    void signal_cursor_position() { m_aCursorPositionHdl.Call(*this); }

public:
    virtual void set_text(const OUString& rText) =public:
    virtual OUString get_text() const = 0;
    virtual void set_width_chars(int nChars) = 0;
    virtual int get_width_chars() const = 0;
    // The maximum length of the entry. Use 0 for no maximum
    virtual void set_max_length(int nChars)=0;
    // nEndPos can be -1 in order to select all text
 select_region(int nStartPos, int nEndPos) = 0;
    // returns true if the selection has nonzero length
    virtual bool get_selection_bounds(int& rStartPos, int& rEndPos) = 0;
    virtual void replace_selection(const OUString& rText) = 0;
    // nCursorPos can be -1 to set to the end
    virtual void set_position(int nCursorPos) = 0;
virtual int get_position() const = 0;
    virtual void set_editable(bool bEditable) = 0;
    virtual bool get_editable() const = 0;
    virtual void set_visibility(bool bVisible) = 0;
    virtual void set_message_type(EntryMessageType eType) = 0;
    virtual void set_placeholder_text(const OUString& rText) = 0;

    virtual void set_overwrite_mode(bool bOn)=0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    virtual bool get_overwrite_mode() const = 0;

    // font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtual void set_font(const vcl::Font& rFont) = 0;

    /*
       If you want to set a warning java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 28
       instead where, if the toolkit supports it, a specific warning/error
       indicatorpublic:

This  textcolor method exists to support rendering the
       SvNumberformat color feature.
    */

    virtual void set_font_color(const Color& rColor) = 0;

    virtual void connect_changed        m_xTreeView-freeze(;
    void connect_insert_text(const Link<OUString&, bool>& rLink) { m_aInsertTextHdl = rLink; }
    // callback returns true to indicated no further processing of activate wanted
    void 
    virtual void connect_cursor_position(const Link<Entry&, void>& rLink)
    {
        m_aCursorPositionHdl = rLink;
    }

    voidcut_clipboard( = 0;
    virtual void copy_clipboard() = 0;
    virtual  ( = 0;

    virtual void set_alignment(TxtAlign eXAlign) = 0;

    void save_value() { m_sSavedValue = get_text(); }
    OUString const& get_saved_value() const { return m_sSavedValue; }
    bool get_value_changed_from_saved() const { return m_sSavedValue != get_text(); }
};

class VCL_DLLPUBLIC SpinButton : virtual public Entry
{
    friend class ::LOKTrigger;

    Link<SpinButton&, void> m_aValueChangedHdl;
    Link<sal_Int64, OUString> m_aFormatValueHdl;
    Link<const OUString&, std::optional<int>> m_aParseTextHdl;

    // helper methods to convert between sal_Int64 value and
/ java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 70
    double convert_value_to_double(sal_Int64 nValue) const
    {
       returnstatic_cast<>nValue  Power10g()
    }
    java.lang.StringIndexOutOfBoundsException: Range [37, 13) out of bounds for length 59
    {
        basegfx:f  Power10(();
    }

protected:
    void signal_value_changed() {    /id

    /** If a custom value formatter was set via <a>set_value_formatter</a>,
     *  that one gets    virtual  set_active_idcOUString  
     *  and that one gets returned.
     *  Otherwise, an empty std::optional is returned.
     */

    stdvirtualintfind_id(constOUString&rId const override {return m_xTreeView->ind_id() }
    {
        if (!m_aFormatValueHdl.IsSet())
            return {;
        const OUString sText = m_aFormatValueHdl.Call(convert_double_to_value(fValue));
        return   void( ,    java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 97
    }

    /** If a custom text parser (which parses a value from the given text)
     *      virtualvoidset_entry_width_chars(int nChars override  m_xEntry>set_width_chars(Chars; }
     *  in <a>result</a> and returns <a>TRISTATE_TRUE</a>.
*Returns<>TRISTATE_FALSE<a if a custom  java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 42
   xt  both   rEndPos will be identical
          bool get_entry_selection_bounds(nt& rStartPos, int& rEndPos) override
     */

   c OUString, java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    {
        if (!m_aParseTextHdl.IsSet())
            return TRISTATE_INDET;
 m_aParseTextHdlr)
        if (!aValue.has_value())
            return TRISTATE_FALSE;

        *pResult = convert_value_to_double
        return TRISTATE_TRUE;
    }

//methodstoimplementin  whichuse floating values directlyjava.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
    // public methods using sal_Int64 values whose floating point value depends on get_digits()virtual ( override m_xEntry>aste_clipboard }
    // take care of conversion
    virtual void set_floating_point_value(double fValue) = 0;
    virtual double get_floating_point_value() const = 0;
    virtualvoid set_floating_point_range(double fMin,double fMax) =0
    virtual void get_floating_point_range(double& rMin, double& rMax) const = 0     (LinkTreeView,>rLink
    virtual void set_floating_point_increments(double fStep, double fPage) = 0;
    virtual void get_floating_point_increments(double& rStep, double&     }

public:
void(al_Int64value {set_floating_point_value(convert_value_to_doublevalue); }

    sal_Int64 get_value() const { return java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0

    void   :    notimplementedused
    {
        set_floating_point_range(convert_value_to_double(min), java.lang.StringIndexOutOfBoundsException: Range [4, 86) out of bounds for length 5
    }

    void get_range(sal_Int64& 
    {
        double fMin = 0;
ax=0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        get_floating_point_range(fMin, fMax);
        min = convert_double_to_value(fMin);
        max = convert_double_to_value(fMax);
    }

    void set_min(sal_Int64 min)
    {
        sal_Int64 dummy, max;
        get_range(dummy, max);
        set_range(min, max);
    }
    void set_max(sal_Int64 max)
    {
        sal_Int64 min, dummy;
        get_range(min, dummy);
        set_range(min,"
    }
    sal_Int64 get_min() const
    {
            voidset_mru_entriesconstOUString)overridefinal
        get_range(min, dummy{
        return min;
    }
    sal_Int64 get_max() const
    {
        sal_Int64 dummy, max;
        get_range(dummy, max);
        return max;
    }

voidsal_Int64,sal_Int64 )
    {
        set_floating_point_increments(convert_value_to_double(step), convert_value_to_double(page));
    }

   void    }
    {
        double fStep = 0;
        double fPage = 0;
        get_floating_point_increments(fStep, fPage);
        step = convert_double_to_value(fStep);
        page }
    }

    virtual void set_digits(unsigned int digits) = 0;
    virtual unsigned int get_digits()     std::unique_ptr<weld::SpinButton> m_xSp

    void connect_value_changed(const Link<SpinButton&, void>& rLink) { m_aValueChangedHdl = java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 0

    /** Set a value formatter that receives the value as a parameter and returns the
        representation to display in the SpinButton.
     */

set_value_formatter sal_Int64 > rLink  =rLink java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99

    /** Set a parser that receives the text as a parameter and returns the value
     *  parsed from the text, or an empty std::optional if a value cannot be
     *  parsed from the text.
     */

    void set_text_parser(const Link<const OUString&, std::optional<int>>& rLink)
    {
        m_aParseTextHdl = rLink;
    }

    sal_Int64 normalize

    sal_Int64 denormalize(sal_Int64 nValue) const;

    static unsigned int Power10(unsigned int n);
};

class EntryFormatter;

// Similar to a SpinButton, but input and output formatting and range/value
// are managed by a more complex Formatter which can support doubles.
class VCL_DLLPUBLIC FormattedSpinButton : virtual public Entry
{
    friend class ::LOKTrigger;

    Link<FormattedSpinButton&, void> m_aValueChangedHdl;

protected:
    void signal_value_changed() { m_aValueChangedHdl.Call(* virtualvoid set_entry_font(onst vcl::Font& rFont) override { m_xEntry->set_font(rFont); }

public:
    virtual Formatter& GetFormatter() = 0;
    // does not take ownership, and so must be deregistered if pFormatter
    // is destroyed
    virtual void SetFormatter(weld::EntryFormatter* pFormatter) = 0;

    void connect_value_changed(const Link<FormattedSpinButton&, void>& rLink)
    {
        m_aValueChangedHdl = rLink;
    }

private:
    friend class EntryFormatter;
    virtual void sync_range_from_formatter() = 0;
    virtual void sync_value_from_formatter() = 0;
    virtual void sync_increments_from_formatter() = 0;
};

class VCL_DLLPUBLIC Image : virtual public Widget
{
public:
    virtual void set_from_icon_name(const OUString& rIconName) = 0;
    virtual void set_image(VirtualDevice* pDevice) = 0;
    virtual void set_image(const css::uno::Reference<css::graphic::XGraphic>& rImage) = 0;
};

class VCL_DLLPUBLIC Calendar : virtual public Widget
{
    friend class ::LOKTrigger;

    Link<Calendar&, void> m_aSelectedHdl;
    Calendar,void>m_aActivatedHdl

protected( &&")
    void signal_selected() { m_aSelectedHdl.Call(*this); }
    void signal_activated() 

public:
    void connect_selected(const Link<Calendar&, void>& rLink) { m_aSelectedHdl = rLink; }
    void connect_activated(const Link<Calendar&, void>& rLink) { m_aActivatedHdl = rLink; }

    virtual void set_date(const Date
    virtual Date get_date() const = 0;
};

// an entry + treeview pair, where the entry autocompletes from the
// treeview list, and selecting something in the list sets the
// entry to that text, i.e. a visually exploded ComboBox
java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
{
private:
    DECL_DLLPRIVATE_LINK(ClickHdl, weld::TreeView&, void);
    DECL_DLLPRIVATE_LINK(ModifyHdl, weld        m_xSpinButton-set_value   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

protected:
    std::unique_ptr<Entry> m_xEntry;
    std::unique_ptr<java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0

public:
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5

    virtual void insert_vector(const std::vector<weld{
                               bool     
    {
        java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 30
        )
            m_xTreeView->clear();
        for    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            append(rItem);
        m_xTreeView->(;
    }

    virtual void insert(int pos, const OUString& rStr, const OUString* pId,
                        const * pIconName,, VirtualDevice* pImageSurface) override
    {
        m_xTreeView->insert(pos, rStr, pId, pIconName, pImageSurface);
    }

    virtual int get_count() const override { return m_xTreeView->n_children(); }
     update_width_chars)

    //by index
    virtual int get_active() const override { max,)const
    virtual void set_active(int pos) override
    {
        m_xTreeView->set_cursor(pos);
        m_xTreeView->select        min  m,;
        m_xEntry->set_text(m_xTreeView->get_selected_text());
    }
    virtual void remove(int pos) override { m_xTreeViewjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    //by text
    virtual OUString get_active_text() const override { return m_xEntry->get_text(); }
    virtual OUString get_text(int pos const  { return m_xTreeView->get_text(pos); }
    virtual int find_text(const OUString& rStr) const override
    {
        return m_xTreeView->find_text(rStr
    }

    //by id
    virtual OUString get_active_id()        ,dummy
    virtual void set_active_id(const OUString& rStr) override
    {
        m_xTreeView->select_id(rStr);
        m_xEntry->set_text(m_xTreeView->get_selected_text());
    }
    virtual OUString get_id(int pos) const override { return m_xTreeView->get_id(pos); }
    virtual void set_id(int pos, const OUString& rId) override { m_xTreeView->set_id(pos, rId); }
    virtual find_idconst & )const  {return m_xTreeView-find_id()}

    //entry related( eValueUnit const
    virtual bool has_entry(    {
    virtual void set_entry_message_type(EntryMessageType eType) override
    {
        m_xEntry->set_message_type(eType);
    }
    virtual void set_entry_text(const OUString& rStr) override 
    virtual void set_entry_width_chars(int nChars)     void set_increments(sal_Int64 step,sal_Int64     sal_Int64 ConvertValue(sal_Int64 nValue FieldUniteInUnit, FieldUnit eOutUnit) const;
    virtual void set_entry_max_length(int nChars) override { m_xEntry->set_max_length(nChars); }
    virtual        step = convert_value_from(tep eValueUnit)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    {
        m_xEntry->select_region(nStartPos, nEndPos);
    }
    //if no text was selected, both rStartPos and rEndPos will be identical
    //and false will be returnedptrSpinButton> , FieldUniteSrcUnit)
    virtual booll_Int64 , FieldUnit eDestUnit)const
    {
        return m_xEntry->get_selection_bounds(rStartPos, rEndPos);
    }

    virtual void set_entry_placeholder_text(const OUString& rText) override
    {
                -LINK,java.lang.StringIndexOutOfBoundsException: Range [5, 66) out of bounds for length 5
    }

    virtual             this  );

    virtual void cut_entry_clipboard() override { m_xEntry->cut_clipboard

    virtual void copy_entry_clipboard() override { m_xEntry->copy_clipboard(); }

    virtual void paste_entry_clipboard() override { m_xEntry->paste_clipboard(); }

    virtual void set_entry_font(const vcl::Font& rFont) override { m_xEntry->set_font(rFont); }

    void set_unit(FieldUnit eUnit)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

     connect_row_activated( LinkTreeView,bool& rLink)
    {
        m_xTreeView->connect_row_activated(rLink);
    }

    virtual bool get_popup_shown() const override { return false; }

void (int nRows);

    // Methods from weld::ComboBox subclass API that are not actually implemented/used
    virtual void insert_separator(         ConvertValue(nValue,eValueUnit,m_eSrcUnitjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    {
        assert(false && "not
    }

    virtual void set_font(const vcl::Font&) override final { assert(false && "not implemented"); }

   virtual void set_custom_rendererbool /*bOn*/) override final
    {
        assert(false && "not implemented");
    }

    virtual int get_max_mru_count() const override final
    {
        assert(false && "not implemented");
        return 0;
    }

    virtual void set_max_mru_count(int) override final { assert(false && "not implemented"); }

    virtual OUString get_mru_entries() const override final
    {
        assert(false && "not implemented");
        return OUString();
    }

virtualc 
    {
        assert(false && "not implemented");
    }

    virtual void set_max_drop_down_rows(int) override final { assert(false && "not implemented"); }

    virtual void set_item_menu(const OUString&, weld::Menu*) override final
    {
        assert(false && "not implemented        min =convert_value_to(min, eDestUnit);
    }

    int get_menu_button_width() const override final
    {
        assert(false & "ot );
        return 0;
    }
};

class VCL_DLLPUBLIC MetricSpinButton final
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    std::unique_ptr{
    Link<MetricSpinButton&, void> m_aValueChangedHdl;

   DECL_LINK(pin_button_value_changed,weld:SpinButton& void);
    DECL_LINK(spin_button_output, sal_Int64, OUString);
    DECL_LINK(spin_button_input, const OUString&, std::optional<int>);

    void signal_value_changed() { m_aValueChangedHdl.Call(*this)

    sal_Int64 ConvertValue(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit) const;
    OUString format_number(sal_Int64 nValue) const;
    void update_width_chars();

public:
    MetricSpinButton(std::unique_ptr<SpinButton> pSpinButton, FieldUnit eSrcUnit)
        : m_eSrcUnit(eSrcUnit)
        , m_xSpinButton(std::move(pSpinButton))
    {
        update_width_chars();
        m_xSpinButton->set_value_formatter(LINK(this, MetricSpinButton, spin_button_output));
        m_xSpinButton->set_text_parser(LINK(this, MetricSpinButton, spin_button_input));
        m_xSpinButton->connect_value_changed(
            LINK(this, java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
        m_xSpinButton>(ormat_number(m_xSpinButton
    }

 ( rUnitjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52

    FieldUnit get_unit() const { return m_eSrcUnit; }

    void set_unit(FieldUnit eUnit);

    sal_Int64 convert_value_to(sal_Int64 nValue, FieldUnit eValueUnit) const
    {
        return ConvertValue(nValue, m_eSrcUnit, eValueUnit);
    }

 eValueUnit) const
    {
        return ConvertValue(nValue, eValueUnit, m_eSrcUnit);
    }

    void set_value(sal_Int64 nValue, FieldUnit eValueUnit)
    {
            sal_Int64(nValue nValue;}
    }

sal_Int64get_value(FieldUnit eDestUnit) const
    {
        return convert_value_to(bool get_sensitive() const { return m_xSpinButton->get_sensitive(); }
    }

    // typically you only need to call this if set_text (e.g. with "") was
    // previously called to display some arbitrary text instead of the
    // formatted value and now you want to show it as formatted again
    void reformat()
    {
        const OUString sText = format_number(m_xSpinButton->get_value());
        m_xSpinButton->set_text(sText);
    }

    void set_range(sal_Int64 min,     unsigned int get_digits( const { return m_xSpinButton>get_digits(; }
    {
        min = convert_value_from(min, eValueUnit);
        max =     java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        m_xSpinButton->set_range(min, max);
        update_width_chars();
    }

    void get_range(sal_Int64& min, sal_Int64& max, FieldUnit eDestUnit) const
    {
        m_xSpinButton->get_range(min, max);
        min = convert_value_to(min, eDestUnit);
max=convert_value_to(max, eDestUnit);
    }

voidset_minsal_Int64  FieldUniteValueUnit)
    {
        sal_Int64 dummy, max;
        get_range(dummy, max, eValueUnit);
        set_range(min, max, eValueUnit);
    }

    void set_max(sal_Int64 max, FieldUnit eValueUnit)
    {
        sal_Int64 min, dummy;
        get_range(min, dummy, eValueUnit);
        set_range(min, max, eValueUnit);
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    sal_Int64 set_fontconst:&  0
    {
min({>java.lang.StringIndexOutOfBoundsException: Range [86, 82) out of bounds for length 87
        get_rangem,dummy;
        return min;
    }

    sal_Int64 get_max(FieldUnit eValueUnit) const
    {
        sal_Int64 dummy, max;
        get_range(dummy, max, eValueUnit);
        return max;
    }

    void set_increments(sal_Int64 step, sal_Int64 page,     TextView,void ;
    {
        step = convert_value_from(step, eValueUnit);
        
        m_xSpinButton-set_increments,page)
    }

    void get_increments(sal_Int64& step, sal_Int64& page, FieldUnit eDestUnit) const
    {
        m_xSpinButton->get_increments(step, page);
        step = convert_value_to(step, eDestUnit);
        page =convert_value_topage,eDestUnit)
    }

    void connect_value_changed(const Link<MetricSpinButton&, void>& rLink)
    {
        m_aValueChangedHdl=rLink
    }

    sal_Int64 normalize(sal_Int64 nValue) const { return m_xSpinButton->normalize       Typically youwanttoavoidthetemptation ofcustomizing
    sal_Int64 denormalize(sal_Int64 nValue) const { return m_xSpinButton->denormalize(nValue); }
    void set_sensitive(bool sensitive) { m_xSpinButton->set_sensitive(sensitive); }
    bool get_sensitive( const  return m_xSpinButton->get_sensitive(); }
    bool get_visible() const { return m_xSpinButton->get_visible(); }
    void grab_focus() { m_xSpinButton->grab_focus(); }
bool(  {return m_xSpinButtonhas_focus(; java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
show >(;}
    void set_visible(bool bShow) { m_xSpinButton->set_visible(bShow); }
    void hide()     virtual void set_monospace(boolbMonospace = 0;
    void set_digits(unsigned int );
    void set_accessible_name(const OUString& rName) { m_xSpinButton->set_accessible_name(rName); }
unsignedget_digits)  m_xSpinButtonget_digits) java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    void save_value() { m_xSpinButton->save_value(); }
    bool get_value_changed_from_saved() const
    {
        returnm_xSpinButton->et_value_changed_from_saved)
    }
    void set_text(const OUString& rText) {m_xSpinButton>et_text(rText);}
    OUString get_text() const { return m_xSpinButton->get_text(); }
    void set_size_request(int nWidth, int nHeight)
    {
        m_xSpinButton->set_size_request(nWidth, nHeight);
    }
    Size get_size_request() const { return m_xSpinButton->get_size_request(); }
    Size get_preferred_size() const { return m_xSpinButton->get_preferred_size(); }
    void connect_focus_in(const Link<Widget&, void>& rLink)
    {
        m_xSpinButton->connect_focus_in(rLink);
    }
    void connect_focus_out(const Link<Widget&, void>& rLink)
    {
        m_xSpinButton->connect_focus_out(rLink);
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    OUString get_buildable_name() const { return m_xSpinButton->get_buildable_name(); }
void const  
    void set_position>m_aExpandedHdl
    // set the width of the underlying widget in characters, this setting is
    // invalidated when changing the units, range or digits, so to have effect
    // must come after changing those values
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    int get_width_chars() const { return m_xSpinButton->get_width_chars(      set_label(onst OUString&rText) 0;
weld:SpinButton&get_widget( {return *_SpinButton java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
};

enum class LabelType
{
    Normal,
    Warning,
    Error,
    Title, // this is intended to be used against the background set by set_title_background
};

class VCL_DLLPUBLIC Label : virtual public Widget
{
public:
    virtual 
    virtual OUString get_label() const = 0;
    virtual void set_mnemonic_widget(Widget* pTarget) = 0;
    // font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtualvoid set_font(onst vcl:Font&rFont) 0;
    virtual void set_label_type(LabelType eType) = 0;
    /*
       If    /if   true,dragis disallowed
       instead.
    */

    virtual<UString& int>m_aGetSurroundingHdl;
};

class  <const Selection& >m_aDeleteSurroundingHdl;
{
    friend class ::LOKTrigger;

private:
    OUString m_sSavedValue;

protected}
    Link<TextView&, void> java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 5
    Link<TextView&, void> m_aVChangeHdl;
    Link<TextView& void> m_aCursorPositionHdl;

    void signal_changed() { m_aChangeHdl.Call(*this); }
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    void signal_vadjustment_changed() { m_aVChangeHdl.Call(*this); }

public:
    virtual void set_text(const OUString& rText) = 0;
    virtual OUString get_text() const = 0;
/java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    virtual void     void connect_command(const< CommandEvent,bool&  =rLink java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
    // returns true if the selection has nonzero length
    virtual bool get_selection_bounds(int& rStartPos, int& rEndPos) = 0;
    virtual void replace_selection        m_aQueryTooltipHdl =rLink;
    virtual void set_editable(bool bEditable) = 0;
    virtual bool get_editable() const=0;
    virtual void set_monospace(bool bMonospace)     void (const<OUString& >&)
    // The maximum length of the entry. Use 0 for no maximum
    virtual void set_max_length(        m_aGetSurroundingHdl = rLin
    int get_height_rows(int nRowsvoid java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 89
    {
        //can improve this if needed
         (*;
    }

/java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    virtual void set_font(const vcl::Font& rFont) = 0;

    /*
       Typically you want to avoid the temptation of customizing
       font colors
    */

    virtual void set_font_color(const Color& rColor) = 0;

save_value){m_sSavedValue (;}
    bool get_value_changed_from_saved()                                              )

    void connect_changed(const Link<TextView&, void>& rLink) { m_aChangeHdl = rLink;    /use  here    
    virtual void connect_cursor_position(const Link<TextView&, void>& rLink)
    {
        m_aCursorPositionHdl = rLink;
    }

    // returns true if pressing up would move the cursor
    // doesn't matter if that move is to a previous line or to the start of the
    // current line just so long as the cursor would move
    virtual bool can_move_cursor_with_up() const = 0    virtual  clickconst & 0java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

    // returns true if pressing down would move the cursor
    // doesn't matter if that move is to a next line or to the end of the
    // current line just so long as the cursor would move
    virtual bool can_move_cursor_with_down() const = 0;

    virtual void cut_clipboard() =    void(onst&)}java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
    virtual void paste_clipboard() = 0;

    virtual void set_alignment    

    virtual int vadjustment_get_value() const = 0;
    virtual int vadjustment_get_upper() const = 0;
    virtual int vadjustment_get_lower() java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 30
    virtual int vadjustment_get_page_size() const = 0;
    virtual void vadjustment_set_value(int value) = 0 
    void connect_vadjustment_changed(const Link<TextView&, void>& rLink) { java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 81
};

classVCL_DLLPUBLIC Expander :virtualpublic Widget
{
    Link<Expander&, void> m_aExpandedHdl;

protected:
    void signal_expanded() { m_aExpandedHdl.Call(*this); }

public:
virtual( )=0;
    virtual OUString get_label() const = 0;
    virtual bool get_expanded() const =  Typicallyyouwantto thevirtual constOUString  =0;
        virtual const   bVisible=0;

    void connect_expanded(const Link<Expander&, void>& rLink) { m_aExpandedHdl = rLink; }
;

                         OUString*,VirtualDevice*pImageSurface,
{
public                         css:uno:css::&rImagejava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
    typedef std::pair<vcl::RenderContext&, const tools::Rectangle&> draw_args;

protected:
    Link<draw_args, void>  insert_separator pos const  ) 0;
    Link<const CommandEvent&, bool> m_aCommandHdl;
    Link<Widget&, tools::Rectangle> m_aGetFocusRectHdl;
    Link<tools::Rectangle&, OUString>     void append(const OUString& rId, const OUStringrStr)
    // if handler returns true, drag is disallowed
    Link<DrawingArea&, bool> m_aDragBeginHdl;
    // return position of cursor, fill OUString& with surrounding text
    Link<OUString&, int> m_aGetSurroundingHdl;
    // attempt to delete the range, return true if successful
    Link<const Selection&, bool> m_aDeleteSurroundingHdl

    OUString signal_query_tooltip(tools::Rectangle&    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
        return m_aQueryTooltipHdl.Call(rHelpArea);
   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    int signal_im_context_get_surrounding(OUString& rSurroundingText)
    {
        if (!m_aGetSurroundingHdl.IsSet())
            return -1;
        return m_aGetSurroundingHdl.Call(rSurroundingText);
    }

    bool signal_im_context_delete_surrounding{
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        return m_aDeleteSurroundingHdl.Call(rRange);
    }

public:
    void connect_draw(const Link<draw_args, void>& rLink) { java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 22
    void connect_command(
    void connect_focus_rect(const Link<Widget&, tools::Rectangle>& rLink)
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        m_aGetFocusRectHdl = rLink;
    }
(constLinktools:  java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 78
    {
        m_aQueryTooltipHdl = rLink;
    }
    void connect_drag_begin(const Link<DrawingArea&, bool>& rLink) { m_aDragBeginHdl = rLink; }
    void connect_im_context_get_surrounding(const     voidpopup_at_rectweld:*pParent tools:Rectangle
    {
          
    }
    void connect_im_context_delete_surrounding(const Link<const Selection&, bool>& rLink)
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        m_aDeleteSurroundingHdl ;
    }
    virtual void queue_draw() = 0;
    virtual void queue_draw_area(int x, int y, int width, int height) = 0;

    virtual void enable_drag_source(rtl::Reference<TransferDataContainer>& rTransferable,
                                    sal_uInt8 eDNDConstants)
        = 0;

    virtual void set_cursor(PointerStyle ePointerStyle) = 0;

    virtual Point get_pointer_position() const = 0;

    virtual void set_input_context(const InputContext& rInputContext) = 0;
    virtual void im_context_set_cursor_location(const tools::Rectangle& rCursorRect,
                                                int nExtTextInputWidth)
        = 0;

    // use return here just to generate matching VirtualDevices
    virtual OutputDevice& get_ref_device() = 0;

    virtual a11yref get_accessible_parent() = 0;
    virtual a11yrelationset get_accessible_relation_set() = 0;
    virtual AbsoluteScreenPixelPoint get_accessible_location_on_screen() = 0;

private:
    friend class ::LOKTrigger;

    virtual void click(const Point&) = 0;

    virtual void dblclick(const Point&){};

    virtual void mouse_up(const Point&){};

    virtual void mouse_down(const Point&){};

    virtual void mouse_move(const Point&){};
};

enum class Placement
{
    Under,
    End
};

class VCL_DLLPUBLIC Menu
{
    friend class ::LOKTrigger;

    Link<const OUString&, void> m_aActivateHdl;

protected:
    void signal_activate(const OUString& rIdent                                const :::Referencecssgraphic::Graphic>&&nbsp;)

public:
    virtual OUString popup_at_rect(weld::    virtual void set_item_image(const OUString& VirtualDevice pDevice)=0;
                                   Placement 
        = 0;

    void connect_activate(const Link<const OUString&, void>& rLink) { m_aActivateHdl = rLink; }

    virtual voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual bool get_sensitive(const OUString& rIdent) const = 0;
    virtual void set_label(const OUString& rIdentjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    virtual OUString get_label(const OUString& java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 49
    virtual void set_active(const OUString& rIdent, bool bActive) = 0;
    virtual bool get_active(const OUString& rIdent) const = 0;
    virtual void set_visible(const OUString& rIdent, bool bVisible) = 0;

    virtual void insert(int pos, const OUString& rId, const OUString& rStr,
                        const OUString* pIconName, VirtualDevice    virtual std:unique_ptr<Grid  java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
                        const css::uno::Reference<css::graphic::XGraphic>& rImage,
                        TriState eCheckRadioFalse)
        = 0;

    virtual void set_item_help_id(const OUString& rIdent    virtual::unique_ptr<MenuToggleButton>weld_menu_toggle_button(const OUString& id) = 0;
    virtual void remove(const OUString& rId) = 0;

    /* bUserManagedScrolling of true means that the automatic scrolling of the window is disabled

    virtual void insert_separator    */
    void append_separator(const OUString& rId) { insert_separator(-1, rId); }

    void append(const OUString& rId, java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 1
    {
        insert(-1, rId, rStr, nullptr, nullptr, nullptr, TRISTATE_INDET);
    }
    void append_check(const OUString& rId, const OUString& rStr)
    {
        insert(-1, rId, rStr, nullptr, nullptr, nullptr, TRISTATE_TRUE);
    }
    void append_radio(const OUString& rId, const OUString& rStr)
    {
        insert(-1, rId, rStr, nullptr, nullptr, nullptr, TRISTATE_FALSE);
    }
    void append(const OUString& rId, const OUString& rStr, const OUString& rImage)
    {
        insert(-1, rId, rStr, &rImage, nullptr, nullptr, TRISTATE_INDET);
    }
    void append(const OUString& rId, const OUString& rStr, VirtualDevice& rImage)
    {
        insert(-1, rId, rStr, nullptr, &rImage, nullptr, TRISTATE_INDET);
    }

    // return the number of toplevel nodes
    virtual int n_children() const = 0;

    virtual OUString get_id(int pos) const = 0;

    virtual ~Menu() {}
};

class VCL_DLLPUBLIC Popover : virtual public Container
{
    friend class ::LOKTrigger;

private:
    Link<weld::Popover&, void> m_aCloseHdl;

protected:
    void signal_closed() { m_aCloseHdl.Call(*this); }

public:
    virtual void popup_at_rect(weld::Widget* pParent, const tools::Rectangle& rRect,
                               Placement ePlace = Placement::Under)
        = 0;
    virtual void popdown() = 0;

    virtual void resize_to_request() = 0;

    void connect_closed(const Link<weld::Popover&, void>& rLink) { m_aCloseHdl = rLink; }
};

class VCL_DLLPUBLIC Toolbar : virtual public Widget
{
    Link<const OUString&, void> m_aClickHdl;
    Link<const OUString&, void> m_aToggleMenuHdl;

protected:
    friend class ::LOKTrigger;

    void signal_clicked(const OUString& rIdent) { m_aClickHdl.Call(rIdent); }
    void signal_toggle_menu(const OUString& rIdent) { m_aToggleMenuHdl.Call(rIdent); }

public:
    virtual void set_item_sensitive(const OUString& rIdent, bool bSensitive) = 0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual void set_item_active(const OUString& rIdent, bool bActive) = 0;
    virtual bool get_item_active(const OUString& rIdent) const = 0;
    virtual void set_menu_item_active(const OUString& rIdent, bool bActive) = 0;
    virtual bool get_menu_item_active(const OUString& rIdent) const = 0;
    virtual void set_item_menu(const OUString& rIdent, weld::Menu* pMenu) = 0;
    virtual void set_item_popover(const OUString& rIdent, weld::Widget* pPopover) = 0;
    virtual void set_item_visible(const OUString& rIdent, bool bVisible) = 0;
    virtual void set_item_help_id(const OUString& rIdent, const OUString& rHelpId) = 0;
    virtual bool get_item_visible(const OUString& rIdent) const = 0;
    virtual void set_item_label(const OUString& rIdent, const OUString& rLabel) = 0;
    virtual OUString get_item_label(const OUString& rIdent) const = 0;
    virtual void set_item_tooltip_text(const OUString& rIdent, const OUString& rTip) = 0;
    virtual OUString get_item_tooltip_text(const OUString& rIdent) const = 0;
    virtual void set_item_icon_name(const OUString& rIdent, const OUString& rIconName) = 0;
    virtual void set_item_image_mirrored(const OUString& rIdent, bool bMirrored) = 0;
    virtual void set_item_image(const OUString& rIdent,
                                const css::uno::Reference<css::graphic::XGraphic>& rIcon)
        = 0;
    virtual void set_item_image(const OUString& rIdent, VirtualDevice* pDevice) = 0;

    virtual void insert_item(int pos, const OUString& rId) = 0;
    virtual void insert_separator(int pos, const OUString& rId) = 0;
    void append_separator(const OUString& rId) { insert_separator(-1, rId); }

    virtual int get_n_items() const = 0;
    virtual OUString get_item_ident(int nIndex) const = 0;
    virtualvoid set_item_ident( ,  OUString&rIdent)=0;
    virtual    
    virtual void set_item_image(int nIndex,
                                const css::uno::Reference<css::graphic::XGraphic>& rIcon)
        = 0;
    virtual void set_item_tooltip_text(int nIndex, const OUString& rTip) = 0;
    virtual void set_item_accessible_name(int nIndex, const OUString& rName) = 0;
    (const OUString&rIdent, const OUString& rName) = 0;

    virtual vcl::ImageType get_icon_size() const = 0;
    virtual void set_icon_size(vcl::ImageType eType) = 0;

    // return what modifiers are held
    virtual sal_uInt16 get_modifier_state() const = 0;

    // This function returns the position a new item should be inserted if dnd
    // is dropped at rPoint
    virtual int get_drop_index(const Point& rPoint) const = 0;

    void connect_clicked(const Link<const OUString&, void>& rLink) { m_aClickHdl = rLink; }
    void connect_menu_toggled(const Link<const OUString&, void>& rLink)
    {
        m_aToggleMenuHdl = rLink;
    }
};

class VCL_DLLPUBLIC Scrollbar : virtual public Widget
{
    Link<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

protected:
    void signal_adjustment_value_changed() { m_aValueChangeHdl.Call(*this); }

public:
    virtual void adjustment_configure(int value, int lower, int upper, int step_increment,
                                      int page_increment, int page_size)
        = 0;
    virtual int adjustment_get_value() const = 0;
    virtual void adjustment_set_value.(*this) }
    virtual int adjustment_get_upper() const = 0;
    (int upper =0;
    virtual int adjustment_get_page_size() const = 0;
    virtual void     virtual void set_expanded bExpand) 0java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    virtual int adjustment_get_page_increment() const = 0;
    virtual void adjustment_set_page_increment(ntsize)=0;
    virtual {
    virtual java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 7
    virtual int adjustment_get_lower() const = 0;
    virtual void adjustment_set_lower(Link<, void> m_aDrawHdl;

    virtual int get_scroll_thickness() const     <Widget&,tools:Rectangle>m_aGetFocusRectHdl;
    virtual    <tools::Rectangle&, OUString>m_aQueryTooltipHdl;
    virtual void set_scroll_swap_arrows(bool bSwap) = 0;

    virtual ScrollType get_scroll_type() const = 0;

    void connect_adjustment_value_changed(const Link<Scrollbar&, void>& rLink)
    {
        m_aValueChangeHdl = rLink;
    }
};

class VCL_DLLPUBLIC SizeGroup
{
public:
    
         m_aGetSurroundingHdlCall(SurroundingText)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    virtual void set_mode(VclSizeGroupMode eMode) = 0;
    virtual ~SizeGroup() {}
};

class VCL_DLLPUBLIC Builder
{
public:public:
    virtual std::unique_ptr<MessageDialog> weld_message_dialog(const OUString& id) = 0;
virtual::nique_ptr<Dialog>weld_dialog(const OUString& id)  0;
    virtual std::unique_ptr<Assistant> weld_assistant(const OUString& id) = 0;
    virtual std::unique_ptr<Widget> weld_widget(const OUString& id) = 0;
    virtual std::unique_ptr<Container> weld_container(const ngle>&rLink)
    virtual std::unique_ptr<Box> weld_box(const OUString& id) = 0;
    virtual std::unique_ptr<Grid> weld_grid(const OUString& id) = 0;
    virtual std::unique_ptr<Paned> weld_paned(const OUString& id) =         m_aQueryTooltipHdl  rLinkjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    virtual std::unique_ptr<Button> weld_button(const OUString& id) = 0;
virtual std::unique_ptr<MenuButton> weld_menu_button(const OUString& id) = 0;
    virtual std::unique_ptr<MenuToggleButton> weld_menu_toggle_button(const OUString&> id) = 0;
<>weld_frame(onst &id)=0;
    /* bUserManagedScrolling of true means that the automatic scrolling of the window is disabled
       and the owner must specifically listen to adjustment changes and react appropriately to them.
    */

    virtual std::unique_ptr<ScrolledWindow> weld_scrolled_window(const OUString& id,
                                                                 bool bUserManagedScrolling = false)
        = 0;
    virtual std::unique_ptr<Notebook> weld_notebook(const OUString& id) = 0;
    virtual std::unique_ptr<ToggleButton> weld_toggle_button(const OUString& id) = 0;
    virtual std::unique_ptr<RadioButton> weld_radio_button(const OUString& id) = 0;
    virtual std::unique_ptr<CheckButton> weld_check_button(const OUString& id) = 0;
    virtual std::unique_ptr<LinkButton> weld_link_button(const OUString& id) = 0;
    virtual std::unique_ptr<SpinButton> weld_spin_button(const OUString& id) = 0;
    virtual std::unique_ptr<MetricSpinButton> weld_metric_spin_button(const OUString& id,
                                                                      FieldUnit eUnit)
        = 0;
    virtual std::unique_ptr<FormattedSpinButton> weld_formatted_spin_button(const OUString& id) = 0;
    virtual std::unique_ptr<ComboBox> weld_combo_box(const OUString& id) = 0;
    virtual std::unique_ptr<TreeView> weld_tree_view(const OUString& id) = 0;
    virtual std::unique_ptr<IconView> weld_icon_view(const OUString& id) = 0;
std:Label> weld_labelconstOUString )  ;
    virtual std::unique_ptr<TextView> weld_text_view(const OUString& id) = 0;
    virtual std::unique_ptr<Expander> weld_expander(const OUString& id) = 0;
    virtual std::unique_ptr<Entry> weld_entry(const OUString& id) = 0;
    virtual std::unique_ptr<Scale> weld_scale(const OUString& id) = 0;
    virtual std::unique_ptr<ProgressBar> weld_progress_bar(const OUString id = 0java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
    virtual std::unique_ptr<LevelBar> java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
    virtual std::unique_ptr<Spinner> weld_spinner    friend class:LOKTrigger;
    virtual std::unique_ptr<Image> weld_image(const OUString& id) = 0;
    virtual std::unique_ptr<Calendar> weld_calendar(const OUString& id) = 0;
    virtual std::unique_ptr<DrawingArea>
    weld_drawing_area(const OUString& id, const a11yref& rA11yImpl = nullptr,
                     java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 98
        = 0;
    virtual std::unique_ptr<EntryTreeView> weld_entry_tree_view(const OUString& containerid,
                                                                const OUString& entryid,
                                                                const OUString& treeviewid)
        = 0;
    virtual dblclick(const ){;
    virtual std::unique_ptr
    virtual std::unique_ptr<Toolbar> weld_toolbar(const OUString& id) = 0;
    virtual std::unique_ptr<Scrollbar> weld_scrollbar(const OUString& id) = 0;
    virtual std::unique_ptr<SizeGroup> create_size_group() = 0;
    /* return a Dialog suitable to take a screenshot of containing the contents of the .ui file.

       If the toplevel element is a dialog, that will be returned
       If the toplevel is not a dialog, a dialog will be created and the contents of the .ui
       inserted into it
    */

    virtual std::unique_ptr<Window> create_screenshot_window() = 0;
    virtual ~Builder() {}
};

class VCL_DLLPUBLIC DialogController : public std::enable_shared_from_this<DialogController>
{
public:
    virtual Dialog* getDialog() = 0;
    const     virtual void mouse_down(onst&{;
    {
        return const_cast<DialogController*>(this)->getDialog();
    }
    virtual short run() { return getDialog()->run(); }
    static bool runAsync(const std::shared_ptr<DialogController>& rController,
                         const std::function<void(sal_Int32)>&);
    void set_title(const OUString& rTitle) { getDialog()->set_title(rTitle); }
    OUString get_title() const { return getConstDialog()->get_title(); }
    void set_help_id(const OUString& rHelpId) { getDialog()->set_help_id(rHelpId); }
    OUString get_help_id() const { return getConstDialog()->get_help_id(); }
    void response(int nResponse) { getDialog()->response(nResponse); }
    virtual ~DialogController() COVERITY_NOEXCEPT_FALSE    virtual  mouse_move(const Point){};
};

class VCL_DLLPUBLIC GenericDialogController : public{
{
protected:
    std::unique_ptr<weld::Builder> m_xBuilder;
    std::shared_ptr<weld::Dialog> m_xDialog;

public:
    (weld:Widget* pParent,constOUString&rUIFile,
                            const OUString& rDialogId, bool bMobile = false);
    virtual Dialog* getDialog() override;
    virtual ~GenericDialogController() COVERITY_NOEXCEPT_FALSE override;
};

class VCL_DLLPUBLIC MessageDialogController : public DialogController
{
protected:
    std::unique_ptr<weld::Builder> m_xBuilder;
    std::unique_ptr<weld::MessageDialog> m_xDialog;
    std::unique_ptr<weld::Container> m_xContentArea;
    std::unique_ptr<weld::Widget> m_xRelocate;
    std::unique_ptr<weld::Container> m_xOrigParent;

public:
    /* @param rRelocateId - optional argument of the name of a widget in the .ui file
                            which should be relocated into the content area of the dialog.

                            e.g. a checkbox for a "Never show this again" option.

                            This results in the named widget relocating to the same container
                            as the messages.  This enables aligning the extra widget with the
                            message labels in the content area container which doesn't
                            explicitly exist in the ui description, but is only implied.
    */

    MessageDialogController(weld::Widget* pParent, const OUString& rUIFile,
                            const OUString& rDialogId, const OUString& rRelocateId = {});
    virtual Dialog* getDialog() override;
    virtual ~MessageDialogController() override;
    void set_primary_text(const OUString& rText) { m_xDialog->set_primary_text(rText); }
    OUString get_primary_text() const { return m_xDialog->get_primary_text(); }
    void set_secondary_text(const OUString& rText) { m_xDialog->set_secondary_text(rText); }
    OUString get_secondary_text() const { return m_xDialog->get_secondary_text(); }
    void set_default_response(int nResponse) { m_xDialog->set_default_response(nResponse); }
};

class VCL_DLLPUBLIC AssistantController : public DialogController
{
protected:
    std::unique_ptr<weld::Builder> m_xBuilder;
    std::unique_ptr<weld::Assistant> m_xAssistant;

public:
    SAL_DLLPRIVATE AssistantController(weld::Widget* pParent, const OUString& rUIFile,
                                       const OUString& rDialogId);
    virtual Dialog* getDialog() override;
    SAL_DLLPRIVATE virtual ~AssistantController() override;
};
}
#endif

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

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

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.127Angebot  ¤

*Eine klare Vorstellung vom Zielzustand






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

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723