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. 2.0. If a copy of the MPL was not distributed with this
 file  canobtainone at //mozilla.org/MPL/2.0/.
 */


#ifndef INCLUDED_VCL_WELD_HXX
#define INCLUDED_VCL_WELD_HXX

#include <basegfx/range/b2irange.hxx>
#nclude <rtlustring.xx
#include <tools/color.hxx>
#include <tools/java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 3
# tools/fldunithxx>
#include <tools/gen.hxx>
# XDropTarget
}
#<tility>
{
# vfonthxx
}
# vcl/
# vcljava.lang.StringIndexOutOfBoundsException: Range [29, 25) out of bounds for length 30

  java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 1
cjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16

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

namespace com::sun::star::awt
{
class XWindow;
}
com:un:tard:
 LinkWidget, java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
class > java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
}
namespace comconstSize&void ;
{
class XDropTarget;
}
namespace com:    < &,bool m_aKeyPressHdl
{
class XGraphic;
}
typedef css::unoLink MouseEvent,bool>m_aMousePressHdlLink< & > ;
 :unoR<ss:accessibility:AccessibleRelationSet> a11yrelationset;
enum class PointerStyle;
class CommandEvent;
class Formatter;
classjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
class KeyEvent;
class MouseEvent;
class void signal_focus_out .(this;}
class OutputDevice;
class VirtualDevice;
struct SystemEnvData;
class BitmapEx;

namespace vcl
{
class ILibreOfficeKitNotifier;
  ;
}
     () {m_aStyleUpdatedHdl() java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
{
class JsonWriter;
}

class LOKTrigger;

    boolsignal_key_pressconstKeyEvent )  m_aKeyPressHdlCallrKeyEvent;java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
{
class Container;
class DialogController;

class VCL_DLLPUBLIC Widget
{
        boolsignal_mouse_press(MouseEvent )

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
    Link<Widget&, void> m_aFocusInHdl;
    Link<Widget&, java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 5
    Link<Widget&, bool> m_aMnemonicActivateHdl;
    Link<Widget&, void> m_aStyleUpdatedHdl;
    Link    {
    Link<const KeyEvent&, bool> m_aKeyPressHdl         m_aMouseMotionHdl.(rMouseEvent)
&, bool> ;
    Link<const MouseEvent&    {
    Link<const MouseEvent&, bool> m_aMouseMotionHdl;
    Link<constMouseEvent& bool> m_aMouseReleaseHdl;

    void signal_focus_in() { m_aFocusInHdl.Call(*this    }
gnal_focus_out(  .Call(this) java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    bool signal_mnemonic_activate() { return
    voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    void signal_size_allocate () ;
    bool signal_key_press(const KeyEvent& rKeyEvent) {
    bool signal_key_release( KeyEvent&rKeyEvent){return .CallrKeyEvent) }
    bool signal_mouse_press(const MouseEvent    // visibility depends on some condition
    {
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
    }
    bool signal_mouse_motionconst MouseEvent&rMouseEventjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    {
        return m_aMouseMotionHdl.Call virtual get_visible(java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 41
    }
    bool     virtual bool is_visible() ()  =0
    {/* focus */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    }

publicvirtual  ( ) =0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    virtual void     void grab_focus) ;
    virtual bool get_sensitive() const = 0;

    /* visibility */

    virtual void show() = 0;
    virtual  (  0;

    // This function simply calls show() or hide() but is convenient when the
    // visibility depends on some condition
    virtual void set_visible(bool visible of false while  is
    {
        if (visible)
            java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        else
            hide();
    }

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

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

    /* focus */

    // sets if this widget can own the keyboard focus
    virtual void set_can_focus(bool bCanFocus) = 0;

    // causes this widget to have the keyboard focus
    virtual void grab_focus() = 0;

    // returns if this widget has the keyboard focus
    virtual bool has_focus() const = 0;

    // if the widget that has focus is a child, which includes toplevel popup
    // children, of this widget. So an Entry with an active popup (or dialog)
    // has has_child_focus of true, but has_focus of false, while its popup is
    // 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()
    virtual bool is_active() const = 0;

    /* size */
    virtual void set_size_request(int nWidth, int nHeight) = 0;
    virtual Sizeget_size_request( const=0java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    virtual Size get_preferred_size() const = 0;

    /* measure */
    virtual float get_approximate_digit_width() const *   java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 70
    virtual int get_text_height() const = 0;
    virtual Size get_pixel_size(const OUString& rText) const = 0;

    // The name of the widget in the GtkBuilder UI definition used to construct it.
    virtual OUString get_buildable_name() const = 0;
    /*
       Typically there is no need to change the        Typically there is no need to change the buildable#fndef 


       But for ui-testing purposes it can sometimes#</star//.hpp>
       different widgets,   loaded  ui, 
todistinguish  them
    */

virtual   )0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63

    
The id   widgetused identify help java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70

      By default the help id of a widget is a path-like sequence of (load-time)
      buildable-names from the widgets UI definition ancestor to this widget,
      e.g. grandparent/parent/widget.

      The default can be     Link<const MouseEvent&, bool>  >m_aMouseReleaseHdl;
    */

    virtual OUString get_help_id() const = 0;
    virtual void set_help_id(const OUString& rName) = 0;

    virtual void set_hexpand(bool bExpand) = 0;
    virtual bool get_hexpand() const = 0;
    virtual     (  returnm_aMnemonicActivateHdl(*)}
    virtual bool get_vexpand() const = 0;

    virtual void set_margin_top(int nMargin) = 0;
   virtual set_margin_bottom(nt nMargin)  0;
    virtual void set_margin_start(int nMargin) = 0;
    virtual void set_margin_end(int nMargin) = 0;

    virtual int get_margin_top() const = 0;
    virtual int get_margin_bottom() const = 0;
    virtual int get_margin_start() const = 0;
     get_margin_end()const  ;

    /*
     * Reportboolsignal_key_pressKeyEvent&rKeyEvent  m_aKeyPressHdl.all(KeyEvent) java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
     *
     * To succeed, both widgets must be realized, and must share a common toplevel.
     *
     *    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     * either widget was not realized, or there was no common    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     * Otherwise true.
     */

    virtual bool java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
                                         &)const=0

/
    virtualset_visibleboolvisible
    virtualvisible)

            else

    java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 5

    // After this call this widget is only accessibility labelled by pLabel and
    // pLabel only accessibility labels this widgetvirtual is_visible(const=0
      set_accessible_relation_labeled_by::idget )  0;

    virtual &) java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    

    virtualvoid(  ;

    virtual void connect_focus_in(const Link<Widget&, void>& java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 0
    {
            /  widget hasfocusisa ,  includes  
        m_aFocusInHdl =rLink
    }

    virtualvoid connect_focus_out( Link<& > )
    {
        assert/
  m_aFocusOutHdl=rLinkjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    }

    // rLink is called when the mnemonic for the Widget is called.set_size_request(intnWidth,int )=0
    // If rLink returns true the Widget will not automatically gain
    // focus as normally occurs
    
    {
       assert(!_.IsSet!.();
        m_aMnemonicActivateHdl =      get_text_height(  =0java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44


    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 52

        m_aSizeAllocateHdl = rLink;
    }

    virtual void connect_key_press(const Link<const KeyEvent&, bool>& rLink)
    {
assertm_aKeyPressHdljava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 58
        m_aKeyPressHdl = rLink;
    }

    virtual void connect_key_release(const Link<const KeyEvent&, bool>& rLink)
    {
assert(m_aKeyReleaseHdlIsSet |!LinkIsSet)
        m_aKeyReleaseHdl = rLink;
    }

    virtual void connect_mouse_press(const Link<const MouseEvent&, bool>& rLink)
    {
        different wereloadedfromsame ui touniquenames
        m_aMousePressHdl = rLink;
    }

    virtual void connect_mouse_move(const Link<const MouseEvent&, bool>& rLink)
    {
        assert(!m_aMouseMotionHdl.IsSet() || !rLink.IsSet());
        m_aMouseMotionHdl = rLink;
    }

    virtualvoid const<const & & rLinkjava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
    {
        assert(!m_aMouseReleaseHdl.IsSet() || !rLink.IsSet());
         =rLink;
    }

   voidconnect_style_updatedconstLinkW,void> rLinkjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
    {
        assert(!m_aStyleUpdatedHdl.IsSet() || !rLink.IsSet());
        java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
    }

    virtual void grab_mouse() = 0;
    virtual bool has_mouse_grab() const = 0;
    virtual void release_mouse() = 0;

    // font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtual vcl::Font get_font()       eg grandparent/parentwidget.

    //true for rtl, false otherwise
     boolget_direction)const=0java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    virtual void set_direction(bool bRTL) = 0;

    /* Increases the freeze count on widget.

        thecount isnon-  of the widget'notifications
       is stopped. The notifications are queued until the freeze count is
       decreased to zero. Duplicate notifications may be squashed together.
    */

    virtual void freeze() = 0;

/

       The freeze count is decreased on     virtual void set_margin_bottom(int nMar
       queued notifications are emitted.
    */

    virtual void thaw() 

    /* push/pop busy mouse cursor state

      bBusy of true to push a busy state onto the stack and false
       it java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 50

      see weld::WaitObject */

    virtual void set_busy_cursor(bool bBusy) = 0;

    virtual void queue_resize() = 0;

    virtual std::unique_ptr<Container> weld_parent() const = 0;

    //iterate upwards through the hierarchy starting at this widgets parent,
    //calling func with their helpid until func returns true or we run out of
    //parents
    virtual void help_hierarchy_foreach(const std::function<bool(const OUString&)>& func) = 0;

    virtual OUString strip_mnemonic(const OUString& rLabel) const = 0;

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

       Should be overwritten by each VCL implementation to account *
       string contents which are interpreted by its ui.
    */

    virtual OUString escape_ui_str(const OUString& rLabel) const = 0;

    virtual VclPtr<java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7

    //do something transient to attract the attention of the user to the widget
    virtual void call_attention_to() = 0;

    //make this widget look like a page in a notebook java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 64
    ) java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
   //make this widget look like it has a highlighted background
    virtual     OUString () 0
    //make this widget suitable as parent for a title
    virtual  set_title_background)=0;
    //make this widget suitable for use in a toolbar
    virtual void set_toolbar_background() = 0;
    //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 void set_background(const Color& rBackColor) = 0;
    // reset to default background
        voidset_background(=0java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

    virtual     voidset_cursor_datav*pData= 0;
    virtual css     void connect_focus_in(const Link<idget& void> rLink)

        {
    virtual void get_property_tree(tools::JsonWriter& java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 57

    // render the widget to an output device
    virtual void draw(OutputDevice& rOutput         =rLink;

    virtual~Widget( {java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
;

class VCL_DLLPUBLIC Container : virtual java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 31
{
    Link<Container&, void> m_aContainerFocusChangedHdl;

   // If rLink returns true the Widget will not automatically gain
        // focus as normally occurs

public:
    // remove from old container and add to new container in one go
    // new container can be null to just remove from old container
    virtual void move(weld    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
/ createan asa  of  containerThe is
    // suitable to contain css::awt::XControl items
virtual :uno:<css::wt:XWindow CreateChildFrame( =0java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    // rLink is called when the focus transitions from a widget outside the container
    // to a widget inside the container or vice versa
    virtual void connect_container_focus_changed(const Link<Container&,    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }
    // causes a child of the container to have the keyboard focus
    virtual void child_grab_focus() = 0;
};

class     java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
public:
    // Moves child to a new position in the list of childrenjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    virtual         java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 33
    // Sort ok/cancel etc buttons in platform order
    !IsSet|IsSet())java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
};

 public 
{
public:
(weld:  nAttach 0
    java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 35
    virtual void java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
    virtual void set_child_top_attach
 int(:WidgetrWidget   ;
};

class VCL_DLLPUBLIC Paned : virtual public Container
{
public:
    // set pixel position of divider
    virtual void     vcl::Font get_font)= ;
    // get pixel position of divider
    //true for rtl, false otherwise


  java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 61
{
    friendIffreeze java.lang.StringIndexOutOfBoundsException: Range [38, 33) out of bounds for length 78

    Link<ScrolledWindow&, void> m_aVChangeHdl;
    Link<ScrolledWindow&, void> m_aHChangeHdl;

protected:
           is.The queueduntilfreeze 
    void signal_hadjustment_changed() { m_aHChangeHdl.Call(*this); }

public:
virtual voidhadjustment_configureint,intlower upper step_incrementjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
                                       int page_increment, int page_size)
        = 0;
)  ;
    virtual
    virtual int hadjustment_get_upper
    virtual hadjustment_set_upper(upper  ;
    virtual int hadjustment_get_page_size() const = 0;
    virtual void hadjustment_set_page_size(int size) = 0;
    virtual void hadjustment_set_page_increment(int size) = 0;
    virtual void hadjustment_set_step_increment queuednotifications.
    virtual void set_hpolicy(VclPolicyType eHPolicy) =  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
dWindow&,void&rLink
    {
        m_aHChangeHdl = rLink;
    }

    virtual void vadjustment_configure(int value, int lower, int upper, int step_increment,
                                       int page_increment, int page_size)
        = 0;
    virtual int vadjustment_get_value() const = 0;
    virtual void vadjustment_set_value(int value) = 0;
    virtual int vadjustment_get_upper() const = 0;
    virtual void       to pop it off, calls topopitoff,calls tothis  balance.
    virtual int vadjustment_get_page_size() const = 0;
i  0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    virtual void vadjustment_set_page_increment(intsize  ;
    virtual void vadjustment_set_step_increment(int     virtual std::unique_ptr<Container> weld_parent() con
    virtual int vadjustment_get_lower() const = 0;
    virtual void vadjustment_set_lower(int lower) = 0;
    ) = 0;
    virtual VclPolicyType
    (constLink<& >rLink
    {
        m_aVChangeHdl =     /* Escapes string content are bythe.
    }
    virtual int get_scroll_thickness() const = 0;
    virtual  set_scroll_thickness(ntnThickness  0java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58

    //trying to use custom color for a scrollbar is generally a bad idea.
    virtual void customize_scrollbars(const Color& 
                                      Color& )
;
};

class Label;

class VCL_DLLPUBLIC /make   like  hasahighlighted
{
ic
    virtual     
    virtualset_title_background  ;
    virtual std::unique_ptr<Label> weld_label_widget() const = 0;
};

class  
{
    friend class      java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 61

protected
LinkOUString >java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
  m_aEnterPageHdl;

public:
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 45
 java.lang.StringIndexOutOfBoundsException: Range [36, 30) out of bounds for length 65
    virtual java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Range [43, 11) out of bounds for length 56
    virtual void  java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
     (  ) =
    virtual void remove_page(const OUString{
 (const&,java.lang.StringIndexOutOfBoundsException: Range [69, 67) out of bounds for length 91
        voidjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        insert_page(public
    }
    virtual void // new container can be nulljust   old 
virtualOUStringget_tab_label_textconst OUString  =0
    virtual void set_show_tabs(    
    virtual int    
     :uno:<:awt:Window()=0java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74

        
    void connect_enter_page     connect_container_focus_changedconstLinkContainer,> )
};

java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
OUString basegfxB&java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
        : msHelpId(std::move
        , maB2IRange(virtual void sort_native_button_order() = 0;
    {
    }

    : ({ ;java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71

 )    

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

pedef:ScreenShotEntry ;

 Window virtual public Container
 
protected:
&, >m_aHelpRequestHdljava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

public:
    virtual void set_title    virtual Size     
        
    virtual
    virtual bool lass VCL_DLLPUBLIC ScrolledWindow Container
    virtual     class:;
    virtual Point
    virtual Link<ScrolledWindow>

        thereis needjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    ) (;}
    // desirable)
    virtual
    virtual void present() = 0;

    // with pOld of null, automatically find the old default widget and unsetint  int page_size)
    // it, otherwise use as hint to the old default
         void(java.lang.StringIndexOutOfBoundsException: Range [41, 1) out of bounds for length 50
    virtual bool is_default_widget(const weld::Widget* pCandidate) const =virtualvoidintupper  ;

String&)=;
tring)0

    virtual css::uno::Reference<css::awt void(  =       eg grandparent/parent/widget.

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

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

    virtual void java.lang.StringIndexOutOfBoundsException: Range [39, 30) out of bounds for length 73

    // collect positions of widgets and their help ids for screenshot purposes
     (  ;

    // render the widget to an output device
    virtualjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 43

fier*GetLOKNotifier get_margin_start   0;
};

class VCL_DLLPUBLIC*Report extentsof widget  tothe  target widget.
{
private:
    ::idget java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28

public:
    WaitObject(:      
        : m_pWindow(    void int) 0;
    {
         m  java.lang.StringIndexOutOfBoundsException: Range [52, 47) out of bounds for length 62
            m_pWindow->set_busy_cursor(true);
    }
    ~WaitObject()
{
        if (m_pWindow)
            m_pWindow->set_busy_cursor(falsevirtual  (   ;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
};

class Button;

class  void set_scroll_thickness)  ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:
    friend ;
    virtual bool                          Colorjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        = 0

:
    virtual void virtual void set_tooltip_text(const OUString& rTip) = 0;
    virtual bool get_modal

     on its parent
    //
    
    // up still centered on its parent windows final size, taking into account
    / that there may currently be pending geometry requests for the parent not    virtual std:unique_ptrLabel>weld_label_widget( java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 30
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    //
    // for e.g gtk this will means the dialog is always centered even when
    // resized, calling set_centered_on_parent with false will turn this
    // off again.
    virtual void set_centered_on_parent(bool bTrackGeometryRequests

    virtual int run() =     focus    Link<const &boolm_aLeavePageHdl
/java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        (java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
    virtual virtual int get_current_page() const = 0;
     void  (OUString )=0;
        = 0;
    virtualassert!.)| rLink);
    void( &,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 99
    virtual( )=0;
        virtualvoid ( < &,> )
    virtual std::unique_ptr<    {

    // shrink the dialog down to shown just these widgets
w:Widget ,:*)=0
    // undo previous dialog collapse
    virtual void undo_collapse( voidappend_pageonstOUString&rIdent,const OUString& rLabel)

    virtual void SetInstallLOKNotifierHdl{
         0;
}

    vvoid(& , &java.lang.StringIndexOutOfBoundsException: Range [83, 82) out of bounds for length 88
{
public:
    virtual void set_primary_text    virtual void set_show_tabs(ool    virtual void set_show_tabs(bool bShow
 get_primary_text(const 0;
    virtual void set_secondary_text(const OUString& rText) = 0;
virtual 
ual :Containerjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2

classjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
{
nst OUStringublic:

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

public:
ual  get_current_page(     virtual int get_current_page() const
    virtual int get_n_pages() }
    virtual     virtual bool hasjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 71
    virtual OUString get_current_page_ident() const = 
      set_current_pageint ) =0
    virtual void set_current_page(const OUString& java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    // move the page rIdent to position nIndex
 set_page_indexconstOUString& rIdent, int nIndex) = 0;
    virtualjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Ident
    virtual void set_page_sensitive(const OUString& rIdent, bool bSensitive) = 0;
    java.lang.StringIndexOutOfBoundsException: Range [11, 1) out of bounds for length 42

    virtual void set_page_side_help_id(const     virtual void set_title(const OUString& rTitle

    void (const OUString& rImage) = 0java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65

    void connect_jump_page(const Link<const java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
}

inline OUString toId(const void* pValue)
{
return OUString:numberreinterpret_cast<al_uIntPtr>pValue);
}

template
{
    return reinterpret_cast<T>(rValue.toUInt64());
}

ComboBoxEntry
{
    OUString sString;
    OUString sId;
    OUString sImage;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        : sString(std::move(_    // with pOld of null, automaticall
    {
    }
    ComboBoxEntry(OUString _aString(weld:*pOld :Widgetjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 50
:sString(tdmove(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,l java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 75
    {
    }
    (OUString _, OUString    virtual cssu:<:a:XWindow (=0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
        : sString(::ove(aString)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
        , virtual SystemEnvDatajava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
        , sImage(std::movevirtual  resize_to_request  0;
    {
    }
};

enum class EntryMessageType
{
    Normal,
    Warning     <> ()=0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    Error,
};

class Menu;

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

public:
    :VirtualDevicejava.lang.StringIndexOutOfBoundsException: Range [58, 55) out of bounds for length 68
    typedef    virtualvoid        m_pWindowet_busy_cursor)
        render_args


    Link<ComboBox    
    java.lang.StringIndexOutOfBoundsException: Range [43, 11) out of bounds for length 48
    Link<    virtualvoidset_title_background)=0
      LinkOUString,bool m_aEntryInsertTextHdl) =0java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

    friend class ::LOKTrigger;

    void signal_changed() { java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

    virtual void     virtual css::uno::Reference::atatransferdndXDropTarget get_drop_target( =0;

    Link<render_args, void>     virtual css::uno::Reference<css    virtual css::uno::Reference<css::datatransfersal_Int32>func
    & rDevice
                               , const OUStringrId=0
    {
        (    voidjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 44
    }

    //center java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
    Size signal_custom_get_size

:
    java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
                        * pImageSurface)
        = 0;
    voidjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 6
        = 0;
    void ( ,constll just remove from old 
       {
        insertpos,        insert(pos, rItem void( )=0java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
               rItem.sImagevirtual ::    virtual  int run) 0;
    }
    void insert_text(int pos, const java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 37

        insert(pos    {
    }
 m_aContainerFocusChangedHdl rLink;
    void append_text    // causes a child of the container to have the keyboard focus
     append OUString&rId, OUString&rStrjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    {
        insert(-1, rStr,      void response( response)= ;
    }
    void append(class VCL_DLLPUBLICBox:virtual publicContainer
    {
        insert(-1, rStr, &rId    // Moves child to a new position in the list of children
    }
    void    / Sort ok/cancel etc buttons in platform order
    {
        }
    }
    void append(int pos    // shrink the dialog down to shown just these widgets
         void     // undo previous dialog collapse
       insertpos,,&,ullptr,nullptr)

    virtual void    virtual  set_child_top_attachweld::idget rWidget,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    void append_separator(const }

    virtual int get_count() const = 0;{
    java.lang.StringIndexOutOfBoundsException: Range [16, 11) out of bounds for length 35
    virtual void clear() = 0;

    //by index, returns -1 if nothing is selected
      get_active) =java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    virtual  ( pos)=0java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    = 0;

    /by text
const=0java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
   virtual OUString get_text(int pos const    
    virtual java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    //by id
    virtual OUString virtual int get_current_page  ;
(OUString)0
    virtual OUString get_id(int java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 12
  java.lang.StringIndexOutOfBoundsException: Range [37, 33) out of bounds for length 49
    virtual int (java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 62
        // move the page rIdent to position nIndex

virtualvoid( &, OUString =0java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
to user   differentitemfrom thelistorwhile 
ntryof   box        void (lPolicyType)=0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57

       Use changed_by_direct_pick() to java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
      ,e.fromthejava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
     */       m_aHChangeHdl rLink;virtualvoid (constOUString&rImage =0;
    void connect_changed(const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual bool changed_by_direct_pick() const = 0;

    virtual void connect_popup_toggled(java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 40
    {
        m_aPopupToggledHdl = rLink= 0;
    }

/entry related
    virtual bool java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
    void( eType =0;
    virtual void set_entry_text(const OUString& rStr) = 0;virtual int vadjustment_get_page_size( const =0;
    java.lang.StringIndexOutOfBoundsException: Range [17, 11) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 57
    virtualComboBoxEntry  (  java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    virtual bool get_entry_selection_bounds(int ,sId   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
virtualvoid set_entry_completionboolbEnable bool bCaseSensitive =false  0java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
    virtual void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual void set_entry_editable virtual customize_scrollbarsComboBoxEntry( aString OUString_, OUString _aImage
    cut_entry_clipboard()=0java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    virtual void copy_entry_clipboard)  0;
    virtual void paste_entry_clipboard() = 0;

    // font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtual void class VCL_DLLPUBLIC Framevirtual publicContainer

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

    virtual bool get_popup_shown() java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 11

     java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
     java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        m_aEntryInsertTextHdl = rLink;
}

    // callback returns true to indicated no further processing of activate wanted
nect_entry_activateconst >rLink m_aEntryActivateHdl rLink;}

    void save_value() { m_sSavedValue =     

    void save_values_by_id( OUString&    void append_page(const OUString& rIdent, cjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    {
        m_aSavedValues.push_back(get_text    <& >java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    }

        Link<ComboBox,bool m_aEntryActivateHdl  get_n_pages(   ;
OUString & )  { [;java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
     connect_leave_page(onst Link<onst OUString
     java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 46
    {
        return !m_aSavedValues.empty()
               && stdLinkclass
                      == m_aSavedValues.end();
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 5

    void removeSavedValuesm_aRenderHdlCall(, ,,rId)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71

        }
    void connect_custom_get_size(const Link<vcl::RenderContext&, Size>& rLink)
    {
        m_aGetSizeHdl = rLink;
    }
        constOUString     void insert(int pos, const java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    // call set_custom_renderer after setting custom callbacks
    virtualvoid java.lang.StringIndexOutOfBoundsException: Range [41, 36) out of bounds for length 51
class VCL_DLLPUBLIC  :virtual public Container
    virtual VclPtr<    protected:
    // set a sub menu for a entry, only works with custom rendering
virtualvoid set_item_menuconst     virtual void set_item_menu(const OUString
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
virtualint)java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 50

    // for mru support
    virtual intget_max_mru_count)const 0
    virtual  ( ) 0;
ing get_mru_entries {
    virtual     AbsoluteScreenPixelRectangle get_monitor_workarea)const=0;

    // (its very possible to move this to weld::Container if that becomes
    // UI consistency.
    virtual void set_max_drop_down_rows(int    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
};

enum class java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
{
    Check,
    Radio
};

class VCL_DLLPUBLIC    intjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 39
{
privatejava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
     (  )java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


public:
    java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
 ;
    virtual ~TreeIter
}  virtual resize_to_request(     OUStringget_active_id( const = 0;

/* Model column indexes are considered to begin at 0, but with special columns
eforeindex0. A expander   aan     i ,const  )=0
   button column when enable_toggle_buttons is    button column when enable_toggle_buttons is usedan  was          m_pWindowpWindow)

*/

;
{
    friend class ::LOKTrigger;

public:
typedef :air<onstTreeIter& >ter_col
ypedefstd:pair< & >iter_string;
    
    typedef std::pair<                            )  
typedefstd:<cl:RenderContext& java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 91
        render_args;

virtualool ;
     m_sSavedValue;

java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    Link<&void ;
    Link<reeView& bool ;
Link    java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    Link<const iter_col    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    Link<const  paste_entry_clipboard
    // if handler returns false, the expansion of the row is refused
    virtual  (=0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    // if handler returns false, the collapse of the row is refused
    <const, 
    Link<    Link<TreeView(vcl:   ;
w, oid>;
    // if handler returns true, then menu has been show and event is consumed
    &, bool m_aPopupMenuHdl;
    // if handler returns true, drag is disallowed, consumer can change bool
     arg   connect_entry_insert_textLinkO,&java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    >;
    std::function<int(    virtual void set_defaul voidset_default_response(nt java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 0

protected
    () {java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
    bool signal_row_activated()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    (int nColumn
     &)
    {
 !java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 71
    }
     (onstjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 12
    {
        return !    
    }
(){.(;java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
    void signal_model_changed() { m_aModelChangedHdl.java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 5

void( iter_col&rIterCol){m_aRadioToggleHdl.all();}

    bool    java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 2

    bool signal_editing_done(const iter_string& rIterText)
    {
        return m_aEditingDoneHdl.Call(rIterText);
    }

     java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0

Link     get_n_pages ;
 signal_query_tooltip// set a sub menu for a entry, only 

der_args,void>m_aRenderHdl;
    void signal_custom_render(    virtual int get_menu_button_width( const =0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                              
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      =0
}       java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 70

  <, aGetSizeHdl;
    Size signal_custom_get_size    return:<()
    {
        return .Callget_size_args(Device,rId);
    }

     reinterpret_cast<    ( {
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {
        OUStringsId;
          java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
    }

    // see 'expanding on-demand node details' for bChildrenOnDemand of true
    virtual void insert(const TreeIter* pParent, int/
                        const OUString* pIconName,sId(td:move()
                        bool bChildrenOnDemand, TreeIter
        =;

void(int nRow,TreeIter pRet =nullptr)
    {
        insert( :vclR,&java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 5

:

void insertint,const OUString&rStr,const OUString* pId,java.lang.StringIndexOutOfBoundsException: Range [0, 73) out of bounds for length 0
                VirtualDevice*     Normal,
    {
        insert(nullptr, pos, &rStr, pId, pIconNamec ,java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
    }
    void insert_text(int pos, const OUString& rStr)
    {
{
    }
    void     Link<constTreeIter, bool>m_aCollapsingHdlOUString m_sSavedValue;
    {
        insert(nullptr, -1, &rStr,     // OUString is the id of the row, it mjava.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 45
        Link<onst CommandEvent,bool  ;
     // if handler returns true, drag is disallowed, consumer can change bool
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
        n,- &rStr,rId,nullptr,,, )java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    }
void( OUString rId,constOUString&rStr,constOUString&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {
        insert(nullptr,-,&Str,&Id,&Image,    bool signal_row_activated() { return m_aRowActivatedH java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
}
    void append(const TreeIter* pParent, const OUString&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {
            java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }

    virtual void insert_separator(nt pos                              java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 66
    append_separator(onst OUString&rId)    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

     signal_model_changedLinkvcl:,Size>_GetSizeHdl
    {
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 39
    }

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

       a return of "true" means the activation has been           (java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
heto    /  row  .
    */

    void connect_row_activated(const Link<TreeView&, bool>& rLink) { m_aRowActivatedHdl = rLink; }

    // Argument is a pair of iter, col describing the toggled nodeLink<, >m_aGetSizeHdl;
    void      (:R&,const OUString )

    void connect_column_clicked(const Link<int, void>& rLink) { m_aColumnClickedHdl
    void connect_model_changed(const    virtual java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 5

    virtualjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
    virtual OUString     void(     (:&rItem{-,)}

    // call before inserting any content and connecting to toggle signals,
    // 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
virtualjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 67

virtualvoid 0

    //by index
         T = nullptr  - )}
    //Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
    {
    void(   0
    virtual    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    // col index -1 gets the first text column
ual int=1=java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    // col index -1 sets the first text column
    virtual java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
    // col index -1 sets all columns
voidi ,, =-  ;
    virtual bool get_sensitive(int {
    virtual void set_id(int row, const java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 5
    // col index -1 sets the expander toggle, enable_toggle_buttons must have been called to create that column
    virtualvoid (ntrow, TriStatejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 5
    // col index -1 gets the expander toggle, enable_toggle_buttons must have been called to create that column
    virtual TriState get_toggle    }
    
virtualset_imageintrow,
//colindex-  the 
    virtual void set_image(int row, VirtualDevice& rImage, int col = -1) = 0;
    // col index -1 sets the expander image
    virtual void set_image(int}
                           int col = -1)
        = 0;
    virtual void         &rId insert_separator1,rId;}
    virtual bool get_text_emphasis(int row, int col) const = 0;
    virtual void set_text_align(int row, double fAlignjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual void swap(int pos1, int pos2) = 0;
    virtual std::vector<int>   constLinkT,>   java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 29
    virtualvoid set_font_colorintpos, voidconnect_toggled(nstLink & >rLink) m_aRadioToggleHdl ;}
    // scroll to make 'row' visible, this will also expand all parent rows of 'row' as necessary to
    // make 'row' visible
     i ) ;
    virtual bool is_selected(int pos) const = 0;
    virtual int get_cursor_index() const = 0;
    virtual void set_cursor(int pos) = 0;

    //by text
    virtual int find_text(const    java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    //Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
    cOUString  frText) java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
    void remove_text(const OUString& rText) { removejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    std:OUString>get_selected_rows_text)const ' 
    {
        std::vector<int> aRows(get_selected_rows());
        std::vector
aRet.a.size);
        for (auto a : aRows)
            push_back()java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
        return     virtual OUString(pos voidset_sensitiveintrow, bSensitiveint  =-)=0java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    }

    
    java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 111
    virtual int find_id(const OUString& rId) const = 0;
' , . doesnt  a .
    void java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 43
    void remove_id(const OUString& rText) { remove(find_id(rText)); }

/ 
              int 
    virtual void copy_iteratorvirtual OUString         ;
    virtual boolget_selectedTreeIter* pIter =0
    virtual bool get_cursor(TreeIter* pIter) const     int   java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 47
    virtual void set_cursor     :vector<nt get_selected_rows()const= 0;
    virtual bool get_iter_first(TreeIter& rIter) const = 0;
    // set iter to point to next node at the current level
    virtual bool iter_next_sibling(TreeIter& rIterjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 48
//setiterto previous java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 62
    bool(&rIter)  ;
    // set iter to point to next node, depth first, then sibling
    virtual bool iter_next(TreeIter& rIter    //by text
/    
    virtual bool iter_previous/java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
    // set iter to point to first child node
 rIter)=0java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    bool iter_nth_sibling(TreeIter& rIter,{
    {
        bool bRet = true;
        for(java.lang.StringIndexOutOfBoundsException: Range [21, 12) out of bounds for length 35
                        aRet(a)
        return bRet;
    }
    bool(reeIter& rIter,  
        OUStringint        theofabox java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
        if (!    //Don't select when,after. java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 91
            return false;
returnrIter nChildjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
//via iter
    virtual bool iter_parent(TreeIter& rIter void ( virtual const&java.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 83
     int get_iter_depth(onst     cTreeIter&)0java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    virtual int/entryrelated
    /* Compares two paths. If a appears before b in a tree, then -1 is returned. reeIter =0
       b   a     returned   bool java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 58
        0is returned.
    */

    virtual  voidset_entry_completion(ool bEnable,booljava.lang.StringIndexOutOfBoundsException: Range [0, 71) out of bounds for length 44
    virtual bool iter_has_child(const TreeIter&rIter) const=0;
     the number of direct  rIter has
virtualint const TreeIter&rIter const=0;
    virtualvoid     reeIter  nChild 
        (()
    virtual void select/java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 25
    virtual void unselect(onst TreeIter}
/java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 0
    virtual void (onst vcl&     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 74
    // col index -1 sets the first text column
    virtual     virtual bool( =0;
    // col index -1 sets all columns
    virtual void set_sensitive(const TreeIterm_aEntryInsertTextHdl =;
    virtual bool get_sensitive(const TreeIter ,int colthen 0is
    virtual/ callback returnstrue     intcTreeIter ,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 77
virtual // returns the
    virtual void virtual int iter_n_children rIter ;
/
    virtual void set_toggle//Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
    // col index -1 gets the expander toggle, enable_toggle_buttons must have been called to create that column
    virtual TriStatem_aSavedValues    //visually indent this row as atjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 78
    // col index -1 gets the first text column
    virtual OUString get_text(const TreeIter& rIter, int col = -1    // col index -1 sets all columns
    virtual void set_id(const TreeIter& rIter, const OUString& rId) = 0;
=0;
    // col index -1 sets the expander image
    virtual void set_image(const TreeIter& rIter, const OUString& java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 46
/- 
    (const TreeIter,must create
    // col index -1 sets the expander image
    void(  java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                            ::<::&,int  1)
       =java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 80
/  makevisible  will also  allparent  ofrIterasnecessaryto
    // make rIter visible
    virtual void scroll_to_row(const TreeIter& rIter) =    virtual OUString get_id(const TreeIter& rIter) const = 0;
     void (onst/  after 

 avirtualdevice  passed  
        java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 43

    // call func on each element until func returns true or we run out of elements
    virtual void all_foreach(const std::function<bool(TreeIter&)>& func// get the width needed to show the menu launcher in a custom row
    // call func on each selected element until func returns true or we run out of elements
    virtual void virtual int get_max_mru_count() const = 0;
    // call func on each visible element until func returns true or we run out of elements
 java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 81
    // clear the children of pParent (whole tree if nullptr),

/ inserted with(std:b(java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 77
    // ends.
    ///  nSourceCountconst);
    // this enables inserting the entries backwards in models where that is faster,

    // pFixedWidths is optional, when present each matching entry col text
/
    // sparingly because wider text than the fixed width is clipped and cannot
    // be scrolled into view horizontally.
/@bGoingToSetTextneedstobe ,ifyou to set_textinsidetheinsert func
                                          const std::function<& int nSourceIndex)> func,
                                      const std::function<void(TreeIter&, int nSourceIndex                                       :TreeIter   ,
                                      const weld::TreeIter* pParent = nullptr,
                                      const std::vector<int>* pFixedWidths    /* expanding on-demand node details
                       bGoingToSetText = false)
        = 0;

    /* expanding on-demand node details

/
 ,the
    children-on-demand{
     load-- 

The    drawn/even java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 77
   drawn/ even  thereare  "eal  yet.This child doesn'
exist the  of iterator,..iter_has_child
    on     OUString ;
    Link<& void>;

        <constjava.lang.StringIndexOutOfBoundsException: Range [42, 16) out of bounds for length 76
 set_children_on_demandfalse  calls
    any  expanding- (nstallable     installed expanding-(via  java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
    has the     Link<TreeView void>java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52

    
        //arg to  todisable the treeview default the 'placeholder' with set_children_on_demand(false 
    the 'java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 10
    is in an inconsistent state.  */


     signal_column_clicked ){   virtual void collapse_row(const TreeIter& rIter
    // expand row will first trigger the callback set via connect_expanding before expanding
    virtual void    // to 'insert' with a bChildrenOnDemand of true. See notes above.
/   java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 5
    (const )         .(  java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 73
        virtual void set_show_expanders(bool bShow) = 0;
    '  a bChildrenOnDemand of true.    void connect_expanding(Link< &bool>rLink){m_aExpandingHdl=rLink;
    &
    // return if the node is configured to be populated on-demand
    java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
    // set if the expanders are shown or not    /rEndLink returns true to  theedit,falseto reject
    virtual void set_show_expanders(bool bShow) = 0;

    void connect_expanding( <    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    void connect_collapsing(const}

 allow editing, to disallow
    // rEndLink returns true to accept the edit, false to reject
    m_aEditingStartedHdl 
                                 const Link<onst java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
    {
        assert(rStartLink.IsSet(    void signal_custom_render(:RenderContext&rDevice,const:R&rRect,
        m_aEditingStartedHdl = rStartLink;
        m_aEditingDoneHdljava.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 5
    }

   virtual start_editing(onst weld:    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    virtual (=;

    virtual void java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 32
    {
        assert(!m_aVisibleRangeChangedHdl.IsSet() || !rLink.IsSet     void connect_query_tooltip(onst Link< &                                     java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        m_aVisibleRangeChangedHdl        (m_aQueryTooltipHdl.sSet( | rLink.()java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    }

void(       (onst*, ,*,OUStringpId
    {
        m_aPopupMenuHdl = rLink;
    }

    virtual void enable_drag_source(rtl::Reference<
                                   java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        =     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 44

    void connect_drag_begin(const Link    /TRUEascending  ,,()

                *pImageSurface)
    virtual void select_all() = 0;
    virtual void unselect_all(  0

    void insert_text(nt pos, const OUString&rStr
    virtualinsert    set_sort_func( std:unction<int(nst :reeIter, weldT) funcjava.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95

    // afterwards, entries will be in default ascending sort order
    virtual void make_sorted() = 0    virtual void clear)= 0;
    virtual void make_unsorted()        appendconstOUString rId,const OUString&rStr)
    virtual  ( =0
    virtual void set_sort_order(    virtual void set_column_fixed_widths  set_column_fixed_widthsconst std:vector<>}

    // TRUE ascending, FALSE, descending, INDET, neither (off)
    virtual         (ullptr,-, &Str,&  virtual void set_centered_column(nCol) 0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    virtual TriState get_sort_indicator(ntjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual int get_sort_column() const = 0;
virtual void set_sort_column(ntnColumn  ;

void
    // remove
    {
        =func
    }

    virtualalso be emitted when  isselectedand orEnter .
    virtual int get_height_rows(int nRows) const = 0;

    virtual void columns_autosize() = 0;
    virtualvoid (java.lang.StringIndexOutOfBoundsException: Range [65, 46) out of bounds for length 78
    virtual void set_column_editables     java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 6
virtual
    virtualvoid set_centered_column(nt nCol) =0;
virtual OUString get_column_title(nt ) const = 0;
virtual set_column_title(nt nColumn OUString&rTitle) ;

    int get_checkbox_column_width()const{returnvoidconnect_column_clicked <nt >) m_aColumnClickedHdl=;}

    virtual void set_selection_mode(SelectionMode eModevirtualOUStringget_selected_text( const=0;
    virtual int ()const =0;
    // remove the selected nodes
    virtual  ()=0java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

    // only meaningful is call this from a "changed" callback, true if the change
     was due tomouse hovering over the entry
virtualbool    virtual bool changed_by_hover

    virtual void vadjustment_set_value(
    virtual int vadjustment_get_value() const =virtual  ( const=0;

    void save_value(){m_sSavedValue =get_selected_text(); }
    //Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
bool )const{return m_sSavedValue=get_selected_text(;}

 a cell
virtualvoidremoveint) =0;
    void    /col index -getsthefirst text column
    // call set_column_custom_renderer after setting custom callbacks
    virtual void set_column_custom_rendererint ,  bEnable) ;
    // redraw all rows, typically only useful with custom rendering to redraw due to external  ( row constOUString rText, =-)=0java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
  // state change
    virtual  virtual  get_sensitive(nt row,                                     bool bjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61

    /* with bDnDMode false simply return the row under the point
     *
     * with bDnDMode true:
      a)return the row   be  on which java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
     *    typedef std:tuple<UString&  TreeIter& java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 43
     *    positioning the  on bottom aindicates  {
     *    after the     OUString m_sSavedVa;
     * b)    void (int ,double fAlign,intprotectedjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     */

    virtual bool     Link<const TreeIter&, OUString> java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 55
                                     bool bAutoScroll = true)
        =0;
        bool si( {returnm_aItemActivatedHdl.all(this) java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
     get_row_area(onst :TreeIter rIter)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 5
    // for dragging and dropping between TreeViews, return the active source
    virtual TreeView* get_drag_source() const = 0;

    usingWidget:et_sensitive;
    using Widget::get_sensitive;
;

typedefstd:<OUString& const TreeIter& encoded_image_query;

class VCL_DLLPUBLIC IconView : virtual    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
java.lang.StringIndexOutOfBoundsException: Range [35, 11) out of bounds for length 35

private:
    OUString m_sSavedValue;

java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 10
    Link<IconView&, void    java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 11
    Link<IconView&, bool> m_aItemActivatedHdl;
Link CommandEvent,bool>m_aCommandHdl;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Link<const &,bool>java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69

    void signal_selection_changed() { m_aSelectionChangeHdl.Call(:unique_ptr<java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 5
boolsignal_item_activated({  .Call(his;java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
gsignal_query_tooltipconst TreeIter&    void connect_selection_changed(const Link<IconView&
    {
        return   void set_cursor(    }
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

public
    virtual int get_item_width( const =0;
    virtual void java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 0

    virtual void insert(int pos, const OUString* pStr, const OUString* pId,
                        const OUString* pIconName, TreeIter* pRet)
     

virtual void insert(int pos,const *pStr const *pId,constBitmapEx ,
reeIter*pRetjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        =0java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

    virtualvoid i ,onst  )0

    constonst,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
                    return false;
    }

    void append(const OUString& rId, const OUString
    {
        insert(-1, &rStr,      clear)=;
    }

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

voidjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
     java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
        m_aSelectionChangeHdl=rLink;
   }

    /* A row is "activated" when the user double clicks a treeview row. It may
       also      iter_compare    virtual  (intpos,irtualDevice&)=;

        of"rue means    void set_item_accessible_name( pos,const &Name) ;
       the activation to the java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 14
    */

    void (const LinkIconView& bool&rLink)     set_sensitiveconst &rIter  , col=0java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89

void connect_command(onstLink<const CommandEvent&    virtual get_text( TreeIter&Iter  =;

&Iter  ,   )=;
    {
        m_aQueryTooltipHdl =rLink;
    }

    // 0: OUString, 1: TreeIter, returns true if supported
virtualvoidconnect_get_image(onst Linkconst java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 0
{
    virtualOUString get_id(onst TreeIter
    }

virtual OUString get_selected_id(const =0;

virtual  clear)=0;

    classVCL_DLLPUBLIC :     set_imagec &,

    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)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual  selectint )=0
    // scroll torIter visible his willexpand parent   rIter necessaryto
    virtual void set_image(int pos, VirtualDevice& rDevice) = 0;
    virtual void set_text(int pos, const OUString&    // pDevice, the image for the button, or nullptr to unset
    virtual void set_id(int posjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual set_item_accessible_name( , constOUString&rName)=0java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 37
: java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 57

    //via iter
    virtual std::unique_ptr<TreeIter> make_iterator(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual     virtual void    virtual void selected_foreach: =java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    virtual bool get_cursor(    /* Sometimes, a widget should behave like a button (activate on click,
    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 [17, 16) out of bounds for length 58
virtual OUString ( TreeIter&rIter)const  ;
    virtual bool iter_next_sibling(TreeIter& rIter) const = 0;
     TreeIter&rIter)=0

    // call func on each selected element until func returns true or we run out of elements
      protected:

                                       std:vint =,
    virtual
    virtual void unselect_all() = 0;

    // return the number of toplevel nodesWhen node is added with children-ndemand (ypicallyvia'      set_inconsistent(ol inconsistent  0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    virtual int n_children() const = 0;

    void save_value() { m_sSavedValue = get_selected_text
    OUString const& get_saved_value() const {          eState)
    bool get_value_changed_from_saved() const { return m_sSavedValue case java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
};

class Button :virtual public java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
    friend class ::LOKTrigger;

protected:
    Link<Button&, void> m_aClickHdl;

    void signal_clicked()java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

public:
    set_labelconst    0
    // pDevice, the image for the button, or nullptr to unset
    virtual void set_image(VirtualDevice* pDevice) = 0;
    virtual void set_image(    Iftopopulate thechildrenofondemand node
    virtual void set_from_icon_name(const OUString& rIconNamejava.lang.StringIndexOutOfBoundsException: Range [19, 10) out of bounds for length 30
    virtual OUString get_label() const = 0;
void ( {signal_clicked(); }
    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;

    /* Sometimes, a widget should behave like a button (activate on click,
       accept keyboard focus, etc), but look entirely different.

       pDevice, the custom look to use,     append_item_checkconst java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 69

       Typically doing this is ill advised. java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
       set_accessible_name if you do. */

    (VirtualDevicepDevice)     append_item(  , const& rStr const OUString&rImage)

    virtual void connect_clicked(const Link<Button&,     // rStartLink returns true to allow editing, false to disallow
};

class VCL_DLLPUBLIC Toggleable : virtualrId&,java.lang.StringIndexOutOfBoundsException: Range [69, 67) out of bounds for length 69
{
            assert(rStartLink.IsSet() == rEndLink.IsSet() && "should be both on or both off");

protected:
    Link<Toggleable&, void> m_aToggleHdl&rId =;
    TriState m_eSavedValue   (  ;

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

public:
     voidset_active(bool active) = 0;
    virtual get_active) =0java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

    virtual void set_inconsistent(bool inconsistent = 0;
    virtualboolget_inconsistent)const= ;

    TriState get_state() const    virtualvoidset_popover(eld:Widget*pPopover)=0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    {
        if (get_inconsistent())
class VCL_DLLPUBLIC MenuToggleButt java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 64
        else if (get_active(        m_aPopupMenuHdl=rLink
return
        return TRISTATE_FALSE;
    }

    void set_state(TriState eState)
    {
       switch(eState)
        {
    //all of them. Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
                (true;
                break;
            case TRISTATE_TRUE:
                set_inconsistent(false);
                set_active(true);
                break;
            case TRISTATE_FALSE:
                set_inconsistent(false);
                set_active(false);
                break;
        }
    }

    void save_state() { m_eSavedValue = get_state(); }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    bool get_state_changed_from_saved() const { return m_eSavedValue != get_state(); }

    virtual void connect_toggled(const Link<Toggleable&, void>& rLink)
};

classprotected:
{
    friend class ::java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
};

struct    virtual (   ;
{
    TriState java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    bool bTriStateEnabled;
    TriStateEnabled()
        : eState(TRISTATE_INDET)
        ,bTriStateEnabledtrue
    {
    }
    void ButtonToggled(Toggleable& rToggle);
};

class VCL_DLLPUBLIC MenuButton : virtual public ToggleButton
{
    friend

    Link<const OUString&, void     (){m_aValueChangedHdlCall    virtualvoid columns_autosize() = 0

protected:
    void signal_selected(const     virtual void set_value(int value

public:
    void connect_selected(const Link<const OUString&, void>& rLink) { m_aSelectHdl = rLink; }

& rId const OUString&rStrjava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
                             const OUString* pIconName, VirtualDevice* pImageSurface,
                             TriState eCheckRadioFalse)
        = 0;
   append_item(constOUString& rId const &rStr
    {
        insert_item(-1,     int get_checkbox_column( const { returnget_approximate_digit_width()*3+     virtualvoid start)=;
    }
    void append_item_check(const OUString& rId, const OUString& rStr)
    {
         ProgressBar java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 55
    }
    void append_item_radio(const OUString& java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 11
    {
        insert_item(-1, rId, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    }
    void append_item(constvirtual  vadjustment_get_value() java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    {
        insert_item(-1, rId, rStr, &rImage, OUString const& get_saved_value() const { return
    }
    void append_item(const OUString&     
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        insert_item(-1, rId, rStr, nullptr, &rImage, TRISTATE_INDET);
    }
        
    void append_separator(const OUString& rId) { java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 19
    virtual void java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    virtual void clear() = 0;
virtual set_item_sensitive( OUString&rIdent boolbSensitive)=0java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
    virtual void set_item_active(    Link<OUString,*  bDnDMode java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
    virtual void set_item_label(const OUString& rIdent    <Entry& bool> m_aActivateHdl;
    virtual OUString get_item_label(const OUString& rIdent) const = 0;
    virtual void set_item_visible(const OUString      *      row

    virtual void set_popover(weld::Widget* pPopover) = 0;
};

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

class VCL_DLLPUBLIC CheckButton : virtual public Toggleable
{
ublic
     usingjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
    java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 62
    virtualclass VCL_DLLPUBLIC       virtual void set_position(int nCursorPos)
}f class :LOKTrigger

class VCL_DLLPUBLIC RadioButton : virtual public CheckButton
{
public:
    // radio button doesn't support inconsistent stateLink<conView, void>m_aSelectionChangeHdl
    void set_inconsistent(bool bInconsistent) override
    {
        assert(!virtual void set_placeholder_text&  ;
        (void)bInconsistent;
    }

    bool get_inconsistent() const override { return false; }
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

class VCL_DLLPUBLIC LinkButton : virtual public Widget
{
    friend :LOKTrigger

    <LinkButton& bool m_aActivateLinkHdljava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47

protected:
boolsignal_activate_link( {return virtual void set_font_color(const Color& rColor

public:
    virtual void set_label(const                         TreeIter* pRet
    virtual java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual void set_label_wrap(bool wrap) = 0;
    virtual
    virtual OUString get_uri() const = 0;

    
};    virtual vo set_alignment( eXAlign =0

class VCL_DLLPUBLIC Scale : virtual public    void save_value() { m_sSavedValuevoid OUString rId {insert_separator-, rId; }
{
    Link<Scale&, void> m_aValueChangedHdl;

protected:
     java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 67

public:
           also emitted whenarow is selected andSpaceor is pressed.
    virtual int get_value() const = 0;
    virtual        a of"java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0

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

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

class VCL_DLLPUBLIC Spinner : virtual public Widget
{
public:
    virtual void start() = 0;
 stop)=0
};

class VCL_DLLPUBLIC ProgressBar : virtual public Widget
{
public:
    //0-100
    virtual void set_percentage
    virtual OUString get_text() const = 0;
    virtual void set_text(const OUString& rText         (!_aFormatValueHdlIsSet()
 return     OUStringjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 47

  :public
{
public:
/// Sets LevelBar fill percentage.
    /// @param fPercentage bar's fill percentage, [0.0, 100.0]
    virtual void double   virtual void set_percentage(double fPercentage
};

VCL_DLLPUBLIC :public
{
private:
    OUString m_sSavedValue;

protected:     * Returns<>TRISTATE_FALSE/a if a customhandler isvirtualOUStringget_text( TreeIter& const=0
    Link<Entry&, void> m_aChangeHdlvirtual voidscroll_to_item((constTreeIter&rIter)  0
    Link<OUString&, bool> m_aInsertTextHdl;
    Link<Entry&, void> m_aCursorPositionHdl;
E,bool>;

    friend class ::LOKTrigger;

void ({ . &(   java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 2

public:
    virtualvoid const&) ;
    virtual OUString get_text() const = 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
void java.lang.StringIndexOutOfBoundsException: Range [63, 30) out of bounds for length 63
    // returns true if the selection has nonzero length
virtual int ,&)=0java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
    voidcOUStringrText =0;
    // nCursorPos can be -1 to set to the end
 set_position) ;
    virtual int get_position() const = 0;
        void se(sal_Int64value) ((  java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
    virtual void set_visibility(bool bVisible) =
    virtual void set_message_type(EntryMessageType eType) = 0;
    virtual void set_floating_point_range(convert_value_to_double(min), convert_value_to_double(max));

set_accessible_name you do */
    virtual bool     virtual void set_custom_button* pDevice) 0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63

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

    /*  
       If you want to set a warning or error state, see set_message_type
       instead where, if the toolkit supports it, a specific warning/error
       indicator is shown.

       This explicit text color method java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 5
       java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
    */

virtualvoid        ())

    virtual void connect_changed(const Link<Entry&, void>& rLink) { m_aChangeHdl  java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 30
    void connect_insert_text(const Link<OUString         TRISTATE_FALSE
    // callback returns true to indicated no further processing of activate wanted
    void connect_activate(const Link<java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 35
    virtual void connect_cursor_position(const Link<Entry&, void>& rLink         eState
      ,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
Link;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    virtual void                 ()
    virtual void copy_clipboard() = 0;
    java.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 40

    virtual void set_alignment(TxtAlign eXAlign) = 0;

    void save_value() { m_sSavedValuejava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 28
    OUString const& java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
    bool get_value_changed_from_saved() const { return m_sSavedValue != get_text(); }
};

 VCL_DLLPUBLICSpinButton: virtual ( Link& &  = java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
{
    friend class ::LOKTrigger;

    Link<SpinButton&, void> m_aValueChangedHdl;
    <,OUString m_aFormatValueHdljava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    Link<const OUString&, std::optional<int>> m_aParseTextHdl;struct VCL_DLLPUBLIC 

    // helper methods to convert between sal_Int64 value and
    // floating point number it represents (depending on get_digits())
    double convert_value_to_doublejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {
        return static_cast<double>(nValue) / Power10(get_digits());
    }
    sal_Int64 convert_double_to_value(double     java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
       basegfxfround64f  ())


protected:
    void signal_value_changed() { m_aValueChangedHdl.Call(*this); }

/
     * that one gets called to java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     *      (        =fPage
     *  Otherwise, an empty std::optional is returned.
     */
     connect_value_changedconst<& > ){ =rLink java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
    {
        if (!m_aFormatValueHdl.IsSet())
            return {};
constsText  m_aFormatValueHdlall)
        return sText;
    }

    /** If a custom text parser (which parses a value from the given text)
*andthe can   sets value
     *  in <a>result</a> and returns <a>TRISTATE_TRUE</a>.
     *  Returns <a>TRISTATE_FALSE</a> if a custom handler is set, but the text
   be parsed
     *  Returns <voidjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 69
     */

    TriState         insert_item(-1,,nullptr nullptr, );
    {
        if (!m_aParseTextHdl.IsSet())
            return TRISTATE_INDET;
        std::optional<int> aValue = m_aParseTextHdl.Call(rText);
        if (!aValue.has_value())
            TRISTATE_FALSE

        *pResult = convert_value_to_double(aValue.value());
        return TRISTATE_TRUE;
    }

    // methods to implement in subclasses which use floating point values directly;
    // are managed by a more complex Formatter which can support doubles.
    // take care of conversion
    virtual void set_floating_point_value(double fValue) = 0;
    virtual {
virtual void ( fMin fMax)  0;
    virtual void java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
    virtual void set_floating_point_increments(    virtual void remove_item(const OUString&&nbsp;rId) =   0
    virtual void get_floating_point_incrementsvirtualjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 10

public:
voidset_value  {convert_value_to_doublejava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 7

    sal_Int64 get_value() const { return     // does not take ownership, and so must be ifpFormatter

    void set_range(sal_Int64 min, sal_Int64 max)
    {
        set_floating_point_range(convert_value_to_double(min), convert_value_to_double(max));
    }

    void get_range
{
    {
        double fMax =java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
        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,        set_labelconst   ;
        set_range(min, max);
    }
    void set_max(sal_Int64 max)
    classRadioButton 
        sal_Int64 min, dummy;
        get_range(min, dummy);
        set_range(min, max);
    }
    sal_Int64 get_min() const    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
        sal_Int64 min, dummy;
        get_range(min, dummy);
        return min;
    
    sal_Int64 get_max() const

        sal_Int64 dummy, max
        get_rangefriendjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 30
         maxjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    }

    void set_increments(sal_Int64 step, sal_Int64 page)
    {
        set_floating_point_increments(convert_value_to_double(step), convert_value_to_double(page));
    }

    void get_increments(sal_Int64& step, sal_Int64& page) const    virtualOUStringget_label( =0
    {
         fStep=0;
        double     connect_selectedconst<OUString get_uri( const  0;
        get_floating_point_increments(fStep, fPage);
    =convert_double_to_value;
        page  convert_double_to_value(Page;
    }

    virtual void }
    virtual unsigned int get_digits() const Scale:virtual Widget

    void connect_value_changed(const Link<SpinButton&, void>& rLink

/
     *  text representation to display in the SpinButton.
     */
    void set_value_formatter(const Link<sal_Int64, OUString>& rLink) { m_aFormatValueHdl =    virtual set_valueint  0

    /** Set a parser that receives the text as a parameter and returns the value
     *  parsed from the text, or an empty     virtual  void (int min,intmax) =0;
     *  parsed from the text.
     */

    void set_text_parser(const Link<const OUString&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {
        m_aParseTextHdl = rLink;
    }

     normalize {(java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 92

    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     virtual Date get_date() const =
{
    friend class ::LOKTrigger;

    Link<FormattedSpinButton&, void> m_aValueChangedHdl;

protected:
    void signal_value_changed() { m_aValueChangedHdl.Call(*this); }

public:
   virtual Formatter   0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    // 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)
    {
        
    }

java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 8
    friend java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    virtual void sync_range_from_formatter() = 0;
    virtual sync_value_from_formatter)=0;
    virtual void sync_increments_from_formatter :java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
};

class VCL_DLLPUBLIC Image : virtual public Widget
{

    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;
};

virtual  ;
{
    friend     virtual voidjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 63

    Link<Calendar&, void> m_aSelectedHdl;
    Link<Calendar&, void> ctor(onst std:<eld:omboBoxEntry>& rItems,

protected:
    void signal_selected() { m_aSelectedHdl.Call(*this); }
    void signal_activated() { m_aActivatedHdl.Call(    )java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 41

public:
    void connect_selected(const Link<Calendar&, void>& rLinkjava.lang.StringIndexOutOfBoundsException: Range [37, 31) out of bounds for length 51
    void connect_activated(const Link<Calendar&, void>& rLink) { m_aActivatedHdl = rLink; }

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

// 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
class VCL_DLLPUBLIC EntryTreeView : virtual public ComboBox
{

    DECL_DLLPRIVATE_LINK(ClickHdl, weld::TreeView&, void);
    DECL_DLLPRIVATE_LINK(ModifyHdl, weld::Entry&, void);

protected:
    std::unique_ptr<Entry> m_xEntry;
    std::unique_ptr<TreeView>     


    EntryTreeView(std::unique_ptr<Entry> xEntry, std::unique_ptr       explicit java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 70

    virtual void insert_vector(const std::vector<weld::ComboBoxEntry>& rItems,
                               bool bKeepExisting) override
    {
        >(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        if (!bKeepExisting)
            m_xTreeView->clear();
        for (const auto& rItem : rItems)
           rItem;
        m_xTreeView->thaw();
    }

    virtual void insert(int pos, const OUString& rStr,virtual  (=0
                        //by index
    {
        m_xTreeView->insert(pos, rStr, pId, pIconNamevirtual(nt)override
    }

    virtual intm_xTreeView-java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
    virtual void clear() override { m_xTreeView->clear(); }

    //by index
    virtual int get_active() const     }
    virtual void set_active(int pos) override
    {
        m_xTreeView->set_cursor(pos);
        m_xTreeView->select(pos);
        m_xEntry->set_text(m_xTreeView->java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 48
    }
->remove; }

    //by text
    virtual OUString get_active_text() const override { return m_xEntry->get_text(); }
    virtual OUString get_text(int pos) const override { return m_xTreeView->get_text(pos); }
    virtual int  return double()/Power10(et_digits(;
    {
        return sal_Int64 convert_double_to_value(double fDouble) const
    }

    //by id
    virtual OUString get_active_id() const override { return m_xTreeView->get_selected_id(); }
    virtual void set_active_id(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
    {
m_xTreeView>rStr;
        m_xEntry->set_text(m_xTreeView->get_selected_text());
    }
    virtual OUString get_id(int pos) const override { return m_xTreeView->get_id(pos); }
virtualvoid set_id(nt, constOUString&rId override {m_xTreeView->set_id(pos, rId); }
    virtual    ) frId) java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97

    //entry related
    virtual }
eType java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 72
    {
   virtual set_idintposconstOUString&rId){m_xTreeView-set_id(os,rId; }
    }
    virtual void set_entry_text(const OUString& rStr) override { m_xEntry->   virtualintfind_idconstOUString& rIdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  ){-n)java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
    virtual void set_entry_max_length(    virtual bool has_entry() const override { return true; }
    virtual void select_entry_region(int nStartPos,(EntryMessageType eType)override
    {
        m_xEntry       Returns a/> handlerjava.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 42
    }
 wasselected,bothrStartPosandwillidentical
    //and false will be returned
virtual get_entry_selection_bounds(& java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 82
    {
        return m_xEntry->get_selection_bounds(rStartPos, rEndPos);
    }

    virtual void java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 37
    {
        m_xEntry->        std::optional<int> aValue =.Call(Text;
    }

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

    virtual void cut_entry_clipboard() override { m_xEntry->cut_clipboard(); }

    (  -(); }     methods    subclasses   point;

     voidpaste_entry_clipboard) {m_xEntry->();}

    virtual void set_entry_font(const vcl::Font& rFont) override { m_xEntry->        return m_xEntry->get_selection_bounds(rStartPos, rEndPos);

    virtual vcl::Font get_entry_font(     ( ,fMax ;

voidconnect_row_activatedconst <TreeView& bool& )
    {
        m_xTreeView-
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    virtual bool get_popup_shown() const override {      set_values ){ () java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97

    void virtual void set_entry_placeholder_textOUString& override

thodsfromweld:ComboBoxsubclass API thatare  actually /used
    virtual void insert_separator(int /*pos*/, const OUString& /*rId*/) override final
    {
        assert(false && "not implemented");
    }

    virtual void     

    virtual void   ;
    {
        assert(false && "not implemented");
    }

    virtual 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
    {
        assert(false && "not implemented);
        return OUString();
    }

virtual  ( OUString& override 
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        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 &     set_increments( step  pagejava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    }

    int get_menu_button_width( void    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    {
        assert(false && "not implemented");
        return 0;
    }
};

class VCL_DLLPUBLIC MetricSpinButton final
{
    FieldUnit m_eSrcUnit;
inButton;
    Link<MetricSpinButton&, java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 0

    DECL_LINK(spin_button_value_changed, weld::     *text tojava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 57
         */
    void set_value_formatter(const Link<,OUString>& rLink){m_aFormatValueHdl  rLink;}

    void signal_value_changed() {

    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    virtual  cut_entry_clipboard) override {java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 5
        : 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
        // are managed by a more complex Formatter which can support doubles.
            java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 55
        m_xSpinButton->set_text(format_number(java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 2
    }

    static OUString MetricToString(FieldUnit rUnit);

    FieldUnit get_unit() const { return m_eSrcUnitLink<& >m_aActivatedHdl;

    void set_unit(FieldUnit eUnit);

    sal_Int64 convert_value_to(sal_Int64 nValue, FieldUnit eValueUnit) const
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        return
    }

    sal_Int64 convert_value_from(sal_Int64 nValue, java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 38
    {
        return ConvertValue(nValue, eValueUnit, m_eSrcUnit);
    }

    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
m_xSpinButton> {
    }

    sal_Int64 get_value(FieldUnit eDestUnit) const
    {
        return convert_value_to(m_xSpinButton->get_value(), eDestUnit);
    }

    // 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, sal_Int64 max, FieldUnit eValueUnit)
    {
OUString 
        max = convert_value_from(max, eValueUnit);
        m_xSpinButton->set_range(min, max);java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
       (;
    }

 FieldUnit eDestUnit const
    {
        ->get_range(in )
min=convert_value_to(in eDestUnit)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
        max = convert_value_to(max, eDestUnit);
    }

    void set_min(sal_Int64 min, FieldUnit eValueUnit)
    {
        sal_Int64 dummy, max;
        get_range(dummy, max, eValueUnit);
        set_range(min, max, eValueUnit);
    }

    void set_max(sal_Int64 max,};
    {    //by id
        sal_Int64 min,dummy;
             java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 61
        set_range(min, max, eValueUnit);
    }

     get_min(ieldUniteValueUnit)const
    {
        sal_Int64 min    FieldUnit ;
        (,,);
        return min;
    }

axFieldUnit ) 
{
        sal_Int64 dummy, max;
        get_range(dummy, max, eValueUnit);
        return max;
    }

      java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 90
    {
        =s, ;
        page = java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 5
        m_xSpinButton->set_increments(step, page)public:
    }

java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 84
    {
        m_xSpinButton->get_increments(step, page);
        java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
        page = convert_value_to(page, eDestUnit);
    }

     ( MetricSpinButton& > )
    {
        m_aValueChangedHdl = rLink;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    sal_Int64 normalize(sal_Int64 nValue) const { return m_xSpinButton->normalize(nValue); }
    sal_Int64 denormalize(sal_Int64 nValue) const { return m_xSpinButton->denormalize(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    void set_sensitive(bool sensitive
    bool get_sensitive() const { return m_xSpinButton->get_sensitive(); }
    bool get_visible() const { return m_xSpinButton->get_visible(); }
    grab_focus()}
    bool has_focus() const { return m_xSpinButtonjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    void show() {     set_height_request_by_rows;
    void set_visible(bool bShow) { m_xSpinButton->set_visible(bShow); }
    void hide() { m_xSpinButton->hide(); }
    void set_digits(unsigned int digits);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    unsigned int get_digits() const { return m_xSpinButton->get_digits(); }
    ){m_xSpinButton-(;}
     get_value_changed_from_saved( const
    {
        return m_xSpinButton->get_value_changed_from_saved();
    }
    void set_text(const OUString& rText)    /font sizeis  points, not pixels,e..seejava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 0
    OUString get_text() const { return m_xSpinButton->get_text(); }
ntnWidth,nHeight)
    {
        m_xSpinButton->set_size_request       instead.
    }
    Size get_size_request()  : virtual public Widget
    Size get_preferred_size() const { return m_xSpinButton->get_preferred_size(); }
void (constLink<&,void>& rLink)
    {
        m_xSpinButton->connect_focus_in(rLink);
    }
    void connect_focus_out(const Link<Widget&, void>& rLink)
    {
        m_xSpinButton >java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
    }
ble_name(const return m_xSpinButton-g()}
    void set_help_id(const OUString& rName) { m_xSpinButton->set_help_id(rName); }
    void set_position(int nCursorPos) { m_xSpinButton->set_position(nCursorPos); }
    // set the width of the underlying widget in characters, this setting is
    // invalidated when changing the units, range or digits, so to have effect(in dummy, eValueUnit);
    // must come after changing those values
    void set_width_chars(int nChars) { m_xSpinButton->set_width_chars(nChars); }
    int get_width_chars() const { return m_xSpinButton->get_width_chars(); }
    weld::SpinButton& get_widget() { return *m_xSpinButton; }
};

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 void set_label(const OUString& rText) = 0;
    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
    virtual void set_font(const vcl::Font& rFont) = 0;
    virtual void set_label_type(LabelType eType) = 0;
    /*
       If you want to set a warning or error state, see set_label_type
       instead.
    */

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

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

private:
    OUString m_sSavedValue;

protected:
Link<& >m_aChangeHdl
    Link<TextView&, void> m_aVChangeHdl;
    Link<TextView&, void> m_aCursorPositionHdl;

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

public:
    virtual void set_text(const OUString& rText) = 0;
    virtual OUString get_text() const = 0;
        -(step )
    virtual void 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;
    virtual void set_editable(bool bEditable) = 0;
    virtual bool get_editable() const = 0;
    virtual void set_monospace(bool bMonospace) = 0;
    // The maximum length of the entry. Use 0 for no maximumjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    virtual void set_max_length(int         =( ;
    int get_height_rows(int nRows) const
    {
        //can improve this if needed
        return get_text_height() * nRows;
    }

    // font size is in points, not pixels, e.g. see Window::[G]etPointFont
    virtual void set_font  ;

    /*
   avoid    
       font colors
    */

    virtual void set_font_color(constbool){returnjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 73

    void save_value    bool has_focus)const   ->) }
    bool get_value_changed_from_saved() const { return m_sSavedValue != get_text(); }

    void connect_changed(const Link<TextView&, void>& rLink) { m_aChangeHdl     void () { m_xSpinButton-show) java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    virtual void connect_cursor_position(const Link<java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 42
    {
        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;

    // 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() = 0;
    virtual void copy_clipboard() = 0;
    virtual void paste_clipboard() = 0;

    virtual void set_alignment(TxtAlign eXAlign) = 0;

    virtual int vadjustment_get_value() const = 0;
    virtual int vadjustment_get_upper() const = 0;
    virtual int vadjustment_get_lower() const =     int ()const{ return ->(;}
    virtual int  g(;
    virtual{->rText 
    void connect_vadjustment_changed(const Link    }
};

class VCL_DLLPUBLIC Expander : virtual public Widget

oid ;

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

public:
    virtualvoid set_label(onst OUString&rText =0;
    virtual OUString get_label    :SpinButton&get_widget( {return *_;}
    virtual bool get_expanded() const = 0;
    virtual void set_expanded(bool bExpand) = 0;

    void connect_expanded(const Link<Expander&, void>& rLink) { java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 11
};

class VCL_DLLPUBLIC DrawingArea : virtual public Widget
{
public:
    typedef std::pair<vcl::java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 1

protected:
    Link<draw_args, void> m_aDrawHdl;
    Link<const CommandEvent&, bool> m_aCommandHdl;
    Link<Widget&, tools::Rectangle  set_font(onst vcl:Font&rFont)=0java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    Link<tools::Rectangle&, OUString> m_aQueryTooltipHdl;
/ handlerreturnstrue   disallowed
    Link<DrawingArea&, bool> m_aDragBeginHdl;
    // return position of cursor, fill OUString& with surrounding text
    LinkOUString& int>m_aGetSurroundingHdl;
    // attempt to delete the range, return true if successful
   Link<const Selection& bool m_aDeleteSurroundingHdl;

    OUString signal_query_tooltip(tools::Rectangle& rHelpArea)
    {
        return m_aQueryTooltipHdl.Call(rHelpArea);
    }

    int signal_im_context_get_surrounding(OUString& rSurroundingText)
    {
        if (!m_aGetSurroundingHdl.IsSet())
            return -1;
        return m_aGetSurroundingHdl.Call(rSurroundingText,java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
    }

    bool signal_im_context_delete_surrounding(const Selection& rRange)
    {
        return m_aDeleteSurroundingHdl.Call(rRange);
    }

public:
    void connect_draw(const Link<draw_args, void>& rLink) { m_aDrawHdl = rLink;     / if nStartPos or nEndPos is -1 the max available text pos will be used
 LinkconstCommandEvent& bool> rLink){m_aCommandHdl = rLink;}
    void connect_focus_rect(const Link<Widget&, tools::Rectangle>& rLink)
    {
        m_aGetFocusRectHdl = rLink;
    }
    void connect_query_tooltip(const Link<tools::Rectangle&, OUString>& rLink)
    {
 java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
    }
    void    ;
connect_im_context_get_surrounding Link,int rLink
    {    // The maximum length of the entry. Use 0 for no maximum
k;
    }
    connect_im_context_delete_surrounding(const Link<const Selection&, bool>& rLink)
    {
        m_aDeleteSurroundingHdl = rLink;
    }
    virtual void queue_draw() = 0;
    virtual void queue_draw_area(int x, int y, int width, int height) = 0        return get_text_height( *nRows

    virtual    / font size is in points, not pixels, e.g. see Window::[G]etPointFont
                                    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     void ( { =get_text);}
   int nExtTextInputWidth
        = 0;

/ return just togenerate matching VirtualDevices
    virtual OutputDevice& get_ref_device() = 0;

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

private:
    friend class ::LOKTrigger;

    virtualvoid click(Point)= 0;

    virtual void dblclick(const Point&){};

    virtual void mouse_up(const Point&){};

    java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57

virtual mouse_move( 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) { m_aActivateHdl.Call(rIdent); }

public:
      Expander: public
                                   Placement ePlace = Placement::Under)
        = 0;

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

    virtual void set_sensitive(const OUString& rIdent, bool bSensitive) = 0;
    virtual bool get_sensitive(const OUString& rIdent) const = 0;
    virtual void set_label(const OUString& rIdent, const OUString& rLabel) = 0;
    virtual OUString    virtual void set_label(onst OUString&rText = 0;
    virtual void set_active(const     /*
     boolget_active( OUString&rIdent)const  0;
 voidset_visible( OUString&rIdent, bool ) = 0java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72

    virtual void insert(int pos, const OUString& rId, const OUString& }
const*pIconName  java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
const::Reference<::raphic:XGraphic> ,
                        TriState eCheckRadioFalse)
        = 0;

    virtual void set_item_help_id(const OUString& rIdent, const OUString& rHelpId) = 0;
    virtual void remove(const OUString& rId) = 0;

    virtual void clear() = 0;

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

& rStrjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    {
        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    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }
    void append(const OUString& rId, const OUString& rStr, VirtualDevice& rImage        Call
    
        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 connect_query_tooltip Link<tools:Rectangle&,OUString>&rLink)

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

public:
virtual  (weld:Widget pParent,const :& rRect,
                               m_aGetSurroundingHdl=rLink;
        = 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{
{
    Link<const         =rLinkjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    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;
    virtual bool get_item_sensitive(const OUString& rIdent) const = 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,
                                css:no:<:::rIcon)
        = 0;
 rIdent,*  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;
    virtual void set_item_ident(int nIndex, const OUString& rIdent) = 0;
    virtual void set_item_label(int nIndex, const OUString& rLabel) = 0;
    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;
    virtual void set_item_accessible_name(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<Scrollbar&, void> m_aValueChangeHdl;

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(int value) = 0;
    virtual int adjustment_get_upper() const = 0;
    virtual void adjustment_set_upper(int upper) = 0;
    virtual int adjustment_get_page_size() const = 0;
    virtual void adjustment_set_page_size(int size) = 0;
    virtual int adjustment_get_page_increment() const = 0;
    virtual void adjustment_set_page_increment(int size) = 0;
    virtual int adjustment_get_step_increment() const = 0;
    virtual void adjustment_set_step_increment(int size) = 0;
    virtual int adjustment_get_lower() const = 0;
    virtual void adjustment_set_lower(int lower) = 0;

    virtual int get_scroll_thickness() const = 0;
    virtual void set_scroll_thickness(int nThickness) = 0;
    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:
    virtual void add_widget(weld::Widget* pWidget) = 0;
    // the default mode is VclSizeGroupMode::Horizontal
    virtual void set_mode(VclSizeGroupMode eMode) = 0;
    virtual ~SizeGroup() {}
};

class VCL_DLLPUBLIC Builder
{
public:
    virtual std::unique_ptr<MessageDialog> weld_message_dialog(const OUString& id) = 0;
    virtual std::unique_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 OUString& id) = 0;
    virtual std::unique_ptr<Box> weld_box(const OUString& id) = 0;
:unique_ptr<>weld_grid(constOUString& id) = 0;
    virtual std::unique_ptr<Paned> weld_paned(const OUString& id) = 0;
    virtual std::unique_ptr<Button> weld_button(const OUString& id) = 0;
    virtual std::unique_ptr<java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
 std>java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 94
    virtual std::unique_ptr<Frame> weld_frame(const OUString& id) = 0;
/java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
       and
    */

    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;
    virtual std::unique_ptr<Label> weld_label(const OUString& id) = 0;
    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) = 0;
    virtual std::unique_ptr<LevelBar> weld_level_bar(const OUString& id) = 0;
    virtual std::unique_ptr<Spinner> weld_spinner(const OUString& id) = 0;
    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,
                      FactoryFunction pUITestFactoryFunction = nullptr, void* pUserData = nullptr)
        = 0;
    virtual std::unique_ptr<EntryTreeView> weld_entry_tree_view(const OUString& containerid,
                                                                const OUString& entryid,
                                                                const OUString& treeviewid)
        = 0;
    virtual std::unique_ptr<Menu> weld_menu(const OUString& id) = 0;
    virtual std::unique_ptr<Popover> weld_popover(const OUString& id) = 0;
    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 Dialog* getConstDialog() const
    {
        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;
};

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

public:
    GenericDialogController(weld::Widget* pParent, const OUString& 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=97 G=95

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

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723