|
|
|
|
Quellcode-Bibliothek weld.hxx
Sprache: C
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v * ,You can athttp://mozilla.org/MPL/2.0/.
#r/.>
*/
#ifndef INCLUDED_VCL_WELD_HXX
#define INCLUDED_VCL_WELD_HXX
#include <basegfx/range/b2irange.hxx>
#include <rtl/ustring.hxx>
#include <tools/color.hxx>
#include <tools/date.hxx>
#include <tools/fldunit.hxx>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <vcl/dllapi.h>
#include <utility>
#include <vcl/vclenum.hxx>
#include <vcl/font.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/uitest/factory.hxx>
#include <vcl/windowstate.hxx>
#include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <assert.h>
#include <memory>
#include <vector>
namespace com::sun::star::awt
{
class XWindow;
}
namespace com::sun::star::datatransfer::clipboard
{
class XClipboard;
}
namespace#nclude <ools/fldunit.
{
class;
}
include u>
{
#nclude <cl/.hxx>
}
#nclude </uitestfactory.hxx>
include<vcl/windowstate.hxx>
enum class PointerStyle;
class CommandEvent;
class Formatter;
class InputContext;
class KeyEvent;
class MouseEvent;
class TransferDataContainer;
class OutputDevice;
class VirtualDevice;
struct SystemEnvData;
class BitmapEx;
namespace vcl
{
class ILibreOfficeKitNotifier
typedefOutputDeviceRenderContext;
}
namespace tools
{
class JsonWriter;
}
class LOKTrigger;
namespace weld
{
lass Container;
class DialogController;
class VCL_DLLPUBLIC Widget
{
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
namespace com:sun:s::atatransfer:clipboard
<Widget& void>m_aFocusInHdl;
Link<Widget&, void> m_aFocusOutHdl;
Link<Widget&,boolm_aMnemonicActivateHdl;
Link<Widget&, void> m_aStyleUpdatedHdl;
Link< Size& >m_aSizeAllocateHdljava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
LinkconstKeyEvent,> m_aKeyPressHdl;
Link<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
<const&, ;
<onstMouseEvent,bool>m_aMouseMotionHdl
Link<const MouseEventtypedefcss:::eferencecss::Xjava.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 88
void signal_focus_in() { m_aFocusInHdl.Call;
void() {m_aFocusOutHdl.all*) java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
typedefOutputDeviceRenderContext
voidsignal_style_updated .Call(this;}
void signal_size_allocate(const java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 1
(const &rKeyEvent){returnm_aKeyPressHdl.();}
bool signal_key_release(const KeyEvent& rKeyEvent) { java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 1
bool (onst &rMouseEvent)
{
return m_aMousePressHdl.Call(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 38
}
bool signal_mouse_motionjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
returnCall)
}
bool Link<const KeyEventm_aKeyReleaseHdl;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
return m_aMouseReleaseHdl< ,booljava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
}
public:
void si){m_aFocusOutHdl*;}
virtual bool get_sensitive() const = 0;
/* visibility */
virtual void show() = 0;
virtual void hide()=0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
// This function simply calls show() or hide() but is convenient when theconst ) m_aKeyReleaseHdl() }
// visibility depends on some condition
virtual void set_visible {
{
if (visible)
show();
bool sig(MouseEvent )
hide();
}
// return if this widget's visibility is true{
bool get_visible) const = 0;
// return if this widget's visibility and that of all its parents is true
virtual boolis_visible) const =0;
/* focus */
// sets if this widget can own the keyboard focus
void set_can_focusboolbCanFocus 0;
// causes this widget to have the keyboard focus
virtual void ()=0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
// returns if this widget has the keyboard focus
virtual java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
virtualvoidhide)=0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
// children, of this widget. So an Entry with an active popup (or dialog)
as_focus, itspopupis
// shown
virtual bool has_child_focus() const = 0;
// return if this widget has the keyboard focus within the active window
// TODO: review if this has any practical difference from has_focus()
virtualclass VCL_DLLPUBLIC :
/* size */
Link<Widget>java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
/* measure */
virtual float virtual
virtualint c:virtualpublic
virtualvirtual java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 30
// The name of the widget in the GtkBuilder UI definition used to construct it.
virtual OUString get_buildable_name() const = 0;
/*
Typically no protected
.
But for ui signal_hadjustment_changed Call(this)}
different widgets,
in order to distinguish between them
*/
virtual set_buildable_name virtual int hadjustment_get_value() c
/*
The help id virtual hadjustment_get_upper)const ;
By java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual OUS virtual void hadint )=;
.. widget
The default
*/
virtual OUString get_help_id(
m_a java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
virtual void set_hexpand(bool bExpand) = 0;
virtual bool get_hexpand() const = 0;
page_increment, int page_size)
virtual bool get_vexpand() const = 0;
virtual void set_margin_top(int nMargin) // collect positions of widgets and their help ids for screenshot purposes
virtual void set_margin_bottom(virtual ScreenShotCollectioncollect_screenshot_data)=0;
virtual void java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
virtual void set_margin_end(int nMargin) = 0;
virtual int get_margin_top)const= 0
virtual int get_margin_bottom() virtual int ( = 0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
virtual ( java.lang.StringIndexOutOfBoundsException: Range [45, 40) out of bounds for length 45
virtual int get_margin_end(
/*
the thisrelative rRelativejava.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 81
*
* succeed java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* returns false if the java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 28
* either if(_ void(int size) = java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
* Otherwise set_vpolicy(VclPolicyType eVPolicy)=0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
*/
virtual
virtual int get_scroll_thickness() const java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 13
virtual void set_accessible_name(const java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 0
virtual private:
virtual friend ;
virtual OUStringconst&rFaceColor
virtual ()const=0
// After this call this widget is only accessibility labelled by pLabel and
// pLabel only accessibility labels this widget
virtualvoidset_accessible_relation_labeled_by(weldublic:
java.lang.StringIndexOutOfBoundsException: Range [33, 11) out of bounds for length 60
virtual java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 52
virtual void set_cursor_data(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual void connect_focus_in
{
assert(!m_aFocusInHdl.IsSet() || /java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
m_aFocusInHdl = rLink;
}
virtual void connect_focus_out(const Link<Widget&, void>& rLink)
{
assert(!m_aFocusOutHdl.IsSet(class VCL_DLLPUBLICNotebook : java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
m_aFocusOutHdl = rLink;
}
// rLink is called when the mnemonic for the Widget is called.
// If rLink returns true the Widget will not automatically gain
// // focus as, m_aLeavePageHdl;
virtual void connect_mnemonic_activate(const / Run async without a controller
{
assert(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [32, 11) out of bounds for length 45
}
virtual virtual intget_page_indexconst &rIdent)onst=0java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
{
assert(!m_aSizeAllocateHdl.IsSet( |!rLink.IsSet();
= rLink; virtual void add_buttonconst OUString rText response const OUString rHelpId={)0;
}
java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// shrink the dialog down to shown just these widgets
virtual void colla* : ;
}
virtual void connect_key_release(const void ( (onst java.lang.StringIndexOutOfBoundsException: Range [68, 43) out of bounds for length 68
{
rIdent=0
m_aKeyReleaseHdl =;
}
virtualclassjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 88
{
assert!.IsSet( ||!{
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 5
virtual void virtual intget_n_pages virtualOUStringget_primary_text( 0java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
{
assert(!m_aMouseMotionHdl.IsSet() virtual OUStringjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
m_aMouseMotionHdl ;
}
virtual void connect_mouse_release(const
{
assert(!m_aMouseReleaseHdl
m_aMouseReleaseHdl
Link<copjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
assert!java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
int)const
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
virtual void
2&getB2IRange) ;}
virtual void release_mouse() = 0;
// font size is in points, not pixels, e.g. see Window::[G]etPointFont
virtual vcljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual bool get_direction(
virtual void( java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 72
/* Increases the freeze count on widget.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
If the java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 81
is virtual& bool>m_aHelpRequestHdl;
;
*/
java.lang.StringIndexOutOfBoundsException: Range [17, 11) out of bounds for length 47
/* Reverts the effect of a previous call to freeze.
The freeze count virtual Size get_size() const}
queued notifications
*/
virtual void struct VCL_DLLPUBLIC
/* push/pop busy mouse cursor statejava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
bBusy of true to push a java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 50
see weld::WaitObject */
virtual void s::move_
virtual void queue_resize() = 0 OUStringget_window_state(vcl::WindowDataMask nMask) const = 0;
ComboBoxEntry _String :noReferencecss::GetXWindow 0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
stdm(aString)
//calling func with their helpid until func returns true or we run out of
//parents
virtual void help_hierarchy_foreach(const std:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
vcljava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 10
/* Escapes string contents which are interpreted by the UI.
Should be overwrittenjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
string contents which are interpreted by its ui.
*/
virtual OUString escape_ui_str( java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0
virtual <> ()const=0;
//do something transient to attract the attention of the user to the widget
virtual ->()
//make this widget look like a page in a notebook ;
virtual void set_stack_background()
//make this widget look like it has a highlighted background
= 0;
//make this widget suitable as parent for a title
virtual void ( 0;
//make this widget suitable for use in a toolbar
) =;
//trying to use a custom color for a background is generally a bad idea. If your need
//fits one of the above categories then that's a somewhat better choice
virtual ( virtual void set_background(const
// reset to default background
virtual void set_background() = 0;
<cssd::::> )=0java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
::datatransfer(>func
virtual void void signal_custom_render(vcl::RenderContext
;
// render the widget to an output device
virtual void draw(m_aRenderHdl.Call(render_args set_modalbModal =0
virtual ~Widget() {}
};
class VCL_DLLPUBLIC Container : virtual public Widget
{
LinkContainer,voidpublic
void signal_container_focus_changed() { const OUString* pIconName, VirtualDevice)
public:
// remove from old container and add to new container in one govirtual java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 6
to
virtual {
// create an XWindow as a child of this container. The XWindow is(, set_centered_on_parent ;
// suitable to contain css::awt::XControl items
css: (=0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
// rLink is called when the focus transitions from a widget outside the container
// to a widget inside the container or vice versa
virtual void / @param self -mustto, enforce the / shared_ptr
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
=rLink
}
// causes a child of the container to have the keyboard focus
virtual void child_grab_focus( java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
VCL_DLLPUBLIC :virtual
{
public virtual void set_default_response{
// Moves child to a new position in the list of children
virtual void reorder_child(weld
/java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
virtual
}
class VCL_DLLPUBLICjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
public:
virtual // undo previous dialog collapse
virtual (rStr,,)
virtual void
void (weld::&rWidget
(constLink<*vcl::*&rLink)
}
class VCL_DLLPUBLIC Paned;
{
public:
java.lang.StringIndexOutOfBoundsException: Range [16, 11) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
// get pixel position of divider
virtual int get_position(virtual OUString int(const java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
};
class virtual void remove(int pos) =
{
friend /java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
Link<ScrolledWindow&, void java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
OUStringget_text(int )java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
protected:
void signal_vadjustment_changed() { m_aVChangeHdl.Call(*this); }
voidprotected:
publicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
virtual void java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 7
int page_increment, int java.lang.StringIndexOutOfBoundsException: Range [0, 72) out of bounds for length 40
OUString(ntnPage ;
virtual int hadjustment_get_value() =0
virtual void hadjustment_set_value java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 49
virtual int hadjustment_get_upper() const = 0;
virtual void hadjustment_set_upper(nt uppervirtual set_current_page ;
virtual int hadjustment_get_page_size() const = 0;
virtual void hadjustment_set_page_size(int size) = 0;
virtual void hadjustment_set_page_increment(int onst& & 0;
virtualvoid(int theselecting a whiletyping
void( 0
virtual VclPolicyType :Container*java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
virt ( . .
{
=rLink; set_page_side_image(&)=0java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
}
virtual void vadjustment_configure(int value, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 2
intpage_increment,intpage_size)
0
virtual int vadjustment_get_value
virtual void return OUString /
virtual int vadjustment_get_upper()
virtual java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 68
)=0
virtual void vadjustment_set_page_size(int size) = 0;
virtual void(intsize)=0java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
virtual void java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
virtual intOUString ;
virtual void vadjustment_set_lower(int lower) = sImagejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
virtual void set_vpolicy(java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 5
(const0
void connect_vadjustment_changed(const Link s:move_)
{
m_aVChangeHdl = rLink;
}
virtual int ( bEnable,bool )=0;
virtual void set_scroll_thickness(int nThickness }
//trying to use custom color for a scrollbar is generally a bad idea.
void OUString_, aIdOUString )
const Color& rFaceColor) :virtual voidjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 43
= 0;
};
class Label;
:
{
public:
virtual OUString/java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
virtual :>weld_label_widget(const 0
};
class java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
{
::OKTrigger;
:
Link<}
Link<
public:
virtual/// A widget used to choose from a list of items.
virtual
virtual OUString get_current_page_ident
virtual :
virtual void void connect_entry_act Link,&{java.lang.StringIndexOutOfBoundsException: Range [90, 89) out of bounds for length 100
virtual java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual // OUString
onstOUString )
{
insert_page(rIdent, rLabel, - typedef:<vclRenderContext,consttools:,,>
}
virtual ;
get_tab_label_text(onst OUString rIdent)const 0;
virtual void set_show_tabs(bool java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual intget_n_pages(const=0
OUString &(nt { [;java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
voidconnect_leave_page(<onst OUString
connect_enter_page( java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 46
}v signal_popup_toggled java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 38
{
:
ScreenShotEntry(OUString aHelpId, const basegfx:: bool bSelected, const OUString,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 5
: msHelpId(std::move(aHelpId)
, maB2IRange(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
{
const weld:&, )
&GetHelpId: java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
private:
OUString ;
basegfx::B2IRange maB2IRange;
};
typedef void java.lang.StringIndexOutOfBoundsException: Range [41, 36) out of bounds for length 51
class VCL_DLLPUBLIC Window:virtual public Container
{
protected:
Link<Widget&, xt(constOUString& // set a sub menu for a entry, only works with custom rendering
public:
virtual void set_title(const OUString& // get the width needed to show the menu laun
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 50
virtual void java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
virtual bool get_resizable() const = get_max_mru_count =;
= 0 voidset_max_mru_count ) 0;
virtual virtual OUStr get_mru_entries {
virtual AbsoluteScreenPixelRectangle get_monitor_workarea( 0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// (its very possible to move this to weld::Container if that becomes
// desirable)
virtual bool has_toplevel_focus() const = 0;
virtualvoid (int pos,const OUString rId 0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
// with pOld of null, automatically find the old default widget and unset
// it, otherwise use as hint to the old default
virtualjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
virtual
intjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 39
virtual OUString get_window_state
virtual css::uno::Reference OUStringjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 49
void connect_help(const Link<Widget&, bool>& void connect_help(const Link<Widget&, bool>& rLinki ;
virtual remove_textOUString ) virtual bool equal(const TreeIter& rOther) const =
void resize_to_request(=virtualOUStringget_active_id)java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 47
// collect positions of widgets and their help ids for screenshot purposes
efore 0. Aexpanderimagecolumn(nd irowconst )=0
// render the widget to an output device
virtual VclPtrconst frId) }
virtual const vcl
};
class VCL_DLLPUBLIC WaitObject
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
private:
weld::Widget* m_pWindow;
public:
WaitObject(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
: m_pWindow(pWindowjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{
if (m_pWindow)
m_pWindow->set_busy_cursor(true);
}
~WaitObject()
{
if (m_pWindow)
m_pWindow connect_changedconst LinkComboBox& >&rLink
}
}
class Button;
{
private:
typedef :air<onstTreeIter& >ter_col
virtualt :pair<onstTreeIter&OUString>iter_stringjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
virtual ) =java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
= :tuple<cl:RenderContext& const tools::Rectangle&, bool, const java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 58
public:
voidb );
OUStringm_sSavedValue;
// center dialog on its parent
//
/java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
// up still centered on its parent windows final size, taking into account<reeView& >m_aRowActivatedHdl
/ that there may currently be pending geometry requests for the parent not
// yet processed by the underlying toolkit
//
// for e.g gtk this will means the dialog is always centered even when
Link<const TreeIter&, bool> m_aEditingStartedHdl;
// off again.
virtual void set_centered_on_parent(bool bTrackGeometryRequests) = 0;
intrun) 0;
// @param self - must point to this, to enforce that the dialog was created/held by a shared_ptr
(:D Link<const TreeIter&, bool> m_aCollapsingHdl, java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
const std::functionvirtual Link<TreeVie& oid>java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 45
// if handler returns true, drag is disallowed, consumer can change bool
//arg to connect_entry_insert_textLinkO,&java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
Link<bool&, booljava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
virtual void set_default_response(nt java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
virtual std:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual std::void signal_selection_changed java.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 0
// shrink the dialog down to shown just these widgets
virtual void void signal_column_clickednColumn
&)
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 5
virtual SetInstallLOKNotifierHdl v,vcl:*>&java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
};
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
public:
virtual}
void signal_visible_range_changed .t java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
virtual void set_secondary_text(java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 0
signal_toggledconst iter_col&rIterCol){m_aRadioToggleHdl.all(IterCol;}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
class VCL_DLLPUBLIC =rLink
{
Link<const OUString&, bool> m_aJumpPageHdl;
protected void java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
bool signal_jump_page(const OUString& rIdent) { java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 5
public:
virtual int java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
virtual get_n_pages(=0
OUString(// set a sub menu for a entry, only
virtual der_args,void>m_aRenderHdl;
virtual void set_current_page(const OUStringjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
position
virtual void set_page_index(const OUString& rIdent, int nIndex) {
virtual ) ;
virtual ( )=0;
virtual void set_page_sensitive(const OUString& rIdent, bool bSensitive) =
virtual weld::Container* java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 22
virtual void set_page_side_help_id}
virtualclassColumnToggleType
void connect_jump_page(const java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 10
};
inline OUString <, aGetSizeHdljava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
{
:<()
}
<typename return m_aGetSizeHdlCallget_size_args(Device,rId)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{
returnreinterpret_cast< ( {
struct VCL_DLLPUBLIC ComboBoxEntry
{
OUString /
sId;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
ComboBoxEntry(OUString _aString)
: sString(std::move java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
}
reserved to accessjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
: sStringstd:()
,sId(td:move(aId)
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
ComboBoxEntry(OUString _aString, OUString _aId, OUString
insertint nRow,*pRet nullptrjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
insert( :vclR,&java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
}
};
enum ( pos const OUString&rStr,const OUString* pId, void insert(int pos, const OUString& rStr, const OUString* pId, const
{
Normal,
Warning,
Error,
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
class < TreeIter >;
/// A widget used to choose from a list of items.
class VCL_DLLPUBLIC ComboBox : virtual public Widget
{
private java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
OUString m_sSavedValue;
std::vector<OUString> m_aSavedValues;
:
ay be nullLinkTreeView,void>m_aModelChangedHdl;
typedef std::tuple<vcl::RenderContext& // if handler returns true, then menu has been show and event is consumed
render_args
// if handler returns true, drag is disallowed, consumer can change bool
Link< Link<ComboBox
ComboBox&void m_aPopupToggledHdlinsert(,- &rStr,rId,nullptr,,alse nullptrjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
}
Link appendconst&rId,const rStr &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
friendinsert(nullptr,-,rStr,&Id,&Image,dl(*this; }
void java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
virtual void return !m_aExpandingHdl !_ExpandingHdlIsSet(| m_aExpandingHdlCallrIter;
Link<, m_aRenderHdl
void signal_custom_render(vcl::RenderContext& rDevice, java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 5
boolbSelected const OUString rId)
{
m_aRenderHdl.Call(render_args(rDevicevoid (onst OUString&rId) java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
<::& Size>_GetSizeHdl
Size java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
public:
virtualjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
const /* A row is "activated" when the user double clicks a treeview row. It may
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
return ()java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
;
void insert(int pos, const <TreeIter,OUString> m_aQueryTooltipHdl;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
insert(os, rItem.String, /
rItem.sImage.isEmpty() ? nullptr : &rItem.sImage, java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 5
}
void:
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 53
virtual java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
void (:& 1 ;java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
void append(const OUString& rId, const OUString& insertint virtual =;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
insert(-1, rStr, &rId java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
virt , 1 0java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
{
virtualvoidi col ) ;
void append({
{
insert virtual set_toggle(nt }
}
void// col index -1 sets the expander image
insert(pos, rStr /col -sets the expanderimage
virtual void m_aSelectionChangedHdljava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
d&rId) (1,) java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
virtualint )=0java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
virtual void make_sorted() = 0;
)=0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
//by index, returns -1 if nothing is selected set_font_color( pos, void (nst <const& >rLink)m_aRadioToggleHdl= java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
virtual int get_active() const// call before inserting any content and connecting to toggle signals,
voidjava.lang.StringIndexOutOfBoundsException: Range [31, 27) out of bounds for length 41
virtual void remove(int pos) = 0;
//by text
virtual OUString get_active_text() const = std:vector< () //Don't select when frozen, select after thaw. Notet .
set_active_textaRet.java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 40
get_textint )const set_sensitive( ,bool bSensitive, col -)=0;
virtual int find_text(const OUString& rStr) const = 0;
void remove_text(const OUString&
//by id
OUString ;
virtual bool ()const ;
virtual OUString get_id(int pos) const = 0;
virtual void set_id(int virtual void set_font_color pos,const Color ) =0java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
int( /set to previous the
void remove_id(const OUString& rId) { remove(find_id( virtual set iter to point to previous then
/* m_aChangeHdl is called when the active item is changed. The can be duefor aRet.reserve.()
to the user selecting java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
ofa
Use java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 87
,e..returnrIter nChild)
*/
connect_changed voidconstTreeIter , ;
virtual bool changed_by_direct_pick)=0;
virtual voidvirtual int get_iter_depth(onstTreeItervoidcTreeIter&)0java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
{
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
}
/entry
virtual boolvirtualT ;
virtual void set_entry_message_type(EntryMessageType eType) = 0;
virtual Ifbappearsbefore a,then1is.If booljava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 58
voidset_entry_width_charsnChars 0java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
virtual void int) ;
virtual void select_entry_region(int nStartPos then returned
virtual *
virtualvoid set_entry_completion(ool bEnable,bool java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 44
virtual void virtual bool iter_has_child iter_has_child(const TreeIter&rIter =0;
// returns number of direct childrenrIter has
iter_n_children( TreeIter&)const 0;
virtual Tjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 58
(()
// font size is in points, not pixels, e.g. see Window::[G]etPointFont
virtual void set_font(const vcl void unselect(onst TreeIter
// font size is in points, not pixels, e.g. see Window::[G]etPointFont
set_entry_fontconst vcl::Font java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 74
virtualvcl: // col index -1 s
get_popup_shown)const 0;
void connect_entry_insert_text
{
m_aEntryInsertTextHdl =rLinkjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
virtual bool get_sensitive(const &rIter int colthen 0is
/ true onstTreeIter ,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 77
void connect_entry_activate(const Link<ComboBox&, bool>& rLink) { // returns the
void( java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111
void save_values_by_id(const OUString& voidconst 0
{
. //visually indent this row as atjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 78
}
OUString const& get_saved_value() const { return virtual void set_text(const TreeIter& rIter, const OUString =1 ;
OUString const set_sensitiveconst&,bSensitive col 1 ;
bool get_value_changed_from_saved() const { return m_sSavedValue != get_active_textc virtual OUString get_id(const TreeIter& rIter) co
virtualconst&rIter coljava.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 77
/-
return !virtual void set_image TreeIter, create
& voidconst& java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 83
java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 111
}
void( =java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
ow
voidset_id&,java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 72
{
m_aGetSizeHdl = rLink;
}
void connect_custom_render(const Link<render_args, void>& rLink // col index -1 sets the expander image
/call
virtual // col index -1 sets the expander image
device render_argsalpha
= 0 -1sets
/ a subjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual void set_item_menu(const OUString& rIdent ;
// get the width needed to show the menu launcher in a custom row
virtual int get_menu_button_width() const = 0;
// for mru support
java.lang.StringIndexOutOfBoundsException: Range [33, 11) out of bounds for length 46
virtual OUString get_mru_entries() const = 0;
virtual void set_mru_entries( move_subtree(& void :boolTreeIter) ) ;
// Backwards compatibility, should be avoided to allow
// UI consistency.
virtual /inserted with(std:ool)&func ;
};
enum voidselected_foreachc :f<(&> ) ;
{
Check,
Radio
};
class VCL_DLLPUBLIC TreeIter
{
private:
const);
TreeIter& operator
public:
TreeIter() {}
virtual // this enables inserting the entries backwards in models where that is faster,
virtual ~TreeIter
};
/* Model column indexes are considered to begin at 0, but with special columns
before index 0. A expander image column (and an param bGoingToSetText needs to true, you plan tocall set_text .
button boolbGoingToSetText = falsejava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
reserved to access those columns.
*/
bChildrenOnDemand of realityjava.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
friend class ::LOKTrigger theloadondemand
public:
typedef drawneventhere no"". java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 77
typedef std::pair<const TreeIter&, drawnshown evenwhen areno ""entries yet Thischildt
// OUString is the id of the row, it may be null to measure the height of a generic line
typedef std::pair<vcl::RenderContext&, const OUString&> get_size_args;
std:<clRenderContext,const theof ofthe
render_args;
private:
OUStringm_sSavedValue
protected:
LinkTreeView& void m_aSelectionChangedHdl
Link<TreeView&, bool> m_aRowActivatedHdl;
Link<int, void> m_aColumnClickedHdl;
Link iter_col&, void> Normal usage is the user clicks on
Link<const TreeIter&, bool the''((false))and
Link<const iter_stringanyinstalledexpandingcallbackinstallable installedexpanding-( connect_expandingwhich
// if handler returns false, the expansion of the row is refused
Link<const TreeIter&, bool> m_aExpandingHdl;
// if handler returns false, the collapse of the row is refused
Link< TreeIter,bool ;
&,void>m_aVisibleRangeChangedHdl;
Link<TreeView&, void> m_aModelChangedHdl;
// if handler returns true, then menu has been show and event is consumed
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// if handler returns true, drag is disallowed, consumer can change bool
argtofalse thedefaultthe 'placeholder' with set_children_on_demand(false treeview
Link is java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
std virtual get_row_expanded(onst TreeIter rIter) const ;
protected:
void signal_selection_changed){m_aSelectionChangedHdlCall*this);}
bool signal_row_activated() { return m_aRowActivatedHdl.Call(*this); }
void(intnColumn )= 0;
bool// expand row will first trigger the callback set via connect_expanding before expanding
{
return !m_aExpandingHdl.IsSet() || m_aExpandingHdl.Call(rIter);
}
bool
{
.( |java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 73
}
voidjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
void // to 'insert with oftrue void connect_expanding(< &bool&){m_aExpandingHdl ;
void// return if the node is configured to be populated on-demand
bool signal_editing_started(const TreeIter& rIter) { return m_aEditingStartedHdl.Call(rIter); }
bool virtual void voidconnect_editing(onstLink< TreeIter& bool> rStartLink
{
returnvoid connect_expandingconstLink< java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
void signal_popup_menu( // rStartLink returns true toediting,falseto disallow
java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 42
const Link<onst java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
Linkrender_args void> m_aRenderHdl;
void signal_custom_render(cl:RenderContext&rDevice,const tools::ectangle&rRect,
,constOUString )
{
m_aRenderHdl.Call(render_args(rDevice, rRect, bSelected, rId));
}
void(onst weld: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Sizev virtual(=;
{
virtual void void java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 32
}
public:
virtual void connect_query_tooltip(onst Link<onstTreeIter& java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
{
assert(m_aQueryTooltipHdl.sSet( | !.sSet);
m_aQueryTooltipHdl = rLink;
}
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
void(onst , *,*pIdjava.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
const java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
= 0;
void insert(int nRow, TreeIter* pRet = nullptr)
{
nullptr,nullptr ;
}
void append(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
virt ( eState nColumn ;
VirtualDevice*pImageSurface)
{
insert(nullptr, pos, &rStr, pId voidunselect_all)=;
}
void insert_text(nt pos, const OUString&rStr)
{
set_sort_func( std:unction<intcnst:reeIter, weld:&&func)
}
void append_text(const OUString& rStr)
{
insert(nullptr, -1, &rStr, nullptr, nullptr, nullptr, false, java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 66
}
void (&rId,const OUString&rStr)
{
insert(nullptr, -1virtualvoid columns_autosize java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44
}
void append(const OUString& rId, virtual void set_column_editables(onst :vector<bool&rEditables
{
insert(ullptr,-, &Str,& virtual set_centered_column( 0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
void append(const TreeIter* pParent, const OUString& rStr)
{
virtual TriState get_sort_indicator(ntjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
virtual void insert_separator(int pos, const OUString& rId) = 0;
void append_separator(const OUString& rId
void // remove
{
m_aCustomSort ;
}
/* A row is "activated" when the user double clicks a treeview row. It may
is Spaceor is .
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 40
e the default which / the ,if .
*/
void connect_row_activated
set_centered_column(nt nCol=0;
void OUString get_column_title(nt nColumn connect_custom_render(const Link<render_args, v <ender_args,void> rLink) virtual set_column_title(nt ,OUString&rTitle) ;
void ( <nt >rLink) m_aColumnClickedHdl ;}
void connect_model_changed
virtual get_selected_text( const 0;
virtual virtual intcount_selected_rows =0;
// call before inserting any content and connecting to toggle signals,voidremove_selection ;
// an pre-inserted checkbutton column will exist at the start of every row
// inserted after this call which can be accessed with col index -1
//was due java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 47
virtual void java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
//by index
intget_selected_index)const =0;
//Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
virtual get_value_changed_from_saved( return ! get_selected_text) java.lang.StringIndexOutOfBoundsException: Index 94 out of bounds for length 94
virtual void // for custom rendering
void ( pos 0;
/ col index - first text column
virtual // call set_column_custom_renderer after setting custom callbacks
virtual void set_column_custom_renderer(int nColumn, bool bEnable) = 0;(nColumnboolbEnable)=0
virtual void set_textint,const &rText,intcol 1 ;
// col index -1 sets all columns
voidset_sensitive // state change
boolget_sensitive(nt row,AutoScroll =truejava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
virtual void set_id(int row, const OUString&virtual voidunset_drag_dest_row java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// col index -1 sets the expander toggle, enable_toggle_buttons must have been called to create that column
*a therowwhichshouldbedropped,whichmay
// col index -1 gets the expander toggle, enable_toggle_buttons must have been called to create that column
using::et_sensitivejava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
// col index -1 sets the expander image
virtual void set_image(int row, const OUString&
// col index -1 sets the expander image
virtual void set_image(int row, VirtualDevice& rImage,
// col index -1 sets the expander image
virtual themouse onthe halfof row todrop
int col = -1)
= 0;
virtual void set_text_emphasis(intprivate:
virtual bool get_text_emphasis(int row, int col) const = 0;
virtual set_text_align row,doublefAlign :
virtualvoid swapint pos1 int pos2)=0;
Link<Ic&,bool m_aItemActivatedHdl;
virtualvoid set_font_colori pos&java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 7
// scroll to make 'row' visible, this will also expand all parent rows of 'row' as necessary to
// make 'row' visible
virtual void scroll_to_row(int row) = 0;
virtual bool is_selected(int pos) const = 0;
virtual int get_cursor_index() const = 0;
virtual void virtual tools::Rectangle(onst weld:&rIter) {
//by text
virtual int find_text(const java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
frozen select thaw.Note selection doesn'survivea freeze.
void select_text(const OUString& rText virtual void set_item_width usingWidget:et_sensitive;
void remove_text(const OUString}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
std::vector<OUString> get_selected_rows_text() const
{
std::vector<int> aRows(get_selected_rows()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<OUString> aRet;
aRet.reserveTreeIter*pRet)
for (auto a : aRows)
aRet.push_back(get_text(a));
returnprotected:
}
//by id
virtual OUStringget_id(nt pos)const 0java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
<const& bool>m_aCommandHdl;
//Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
>;
void remove_id(const OUString& rText) { remove(find_id(rText)); }
virtual std:unique_ptr<reeIter java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
signal_item_activated({ .Call(his;java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
virtual (const TreeIter& void connect_selection_changed(const Link<IconView&)
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
virtual void ( }
virtual }
// set iter to point to next node at the current level
public
// set iter to point to previous node at the current levelint get_item_width( const =0;
virtual
// set iter to point to next node, depth first, then siblingreturn of " activationjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual bool iter_next(TreeIter& rIter) const = 0;
// set iter to point to previous node, sibling first then depth
// set iter to point to first child node
void insert(int pos,const OUString*,OUString*pId, *pIcon
bool T*)
{
bool bRet = true;
for (int i = 0
virtualvoid i ,onst OUString ) ;
} constc ,java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 84
bool m_aQueryTooltipHdl java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
{
if (!iter_children(rIter))
return false;
return java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
virtual bool iter_parent(TreeIter& rIter) const
virtualTreeIterrIter)= 0java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
virtual java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
/* Compares two paths. If a appears before b in a tree, then -1 is returned.
m_aSelectionChangeHdl =rLink;
virtualjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
virtualint iter_compare virtualvoid (int,irtualDevicerDevice=;
virtual bool iter_has_child(const TreeIter& rIter) const = 0;
// returns the number of direct children rIter has
a return "" void set_item_accessible_name( pos,const &Name=;
//Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
virtual void select(const TreeIter& rIter virtual tools:Rectangleget_rect pos 0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
virtual void unselect(const TreeIter& rIter) = 0;
/visually indent this row as if it was at get_iter_depth() + nIndentLevel
virtual void set_extra_row_indent(const TreeIter& rIter, int nIndentLevel) virtual boolget_selected(TreeIter*pIter)const 0;
// col index -1 sets the first text column
virtual void set_text(const TreeIter& rIter, set_cursor( TreeIter rIter) 0;
// col index -1 sets all columns
virtual set_sensitiveconst , , col=1 =;
virtual bool get_sensitive(const TreeIter& rIter, int col) const = 0;
connect_command( <const CommandEvent& virtual get_text( TreeIter&Iter =;
virtual bool get_text_emphasis(const TreeIter& rIter, int col) const = 0;
virtual void set_text_align(const TreeIter& rIter, double fAlign, int
// col index -1 sets the expander toggle, enable_toggle_buttons must have been called to create that column
virtual voidset_toggle(TreeIterr, ,col=1=java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
// col index -1 gets the expander toggle, enable_toggle_buttons must have been called to create that column =rLink;
virtual TriState get_toggle(const TreeIter& rIter, int col = -1) const = 0;
// col index -1 gets the first text column
connect_get_image(onst < java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 0
virtual void {
virtual get_id(onst TreeIter
// col index -1 sets the expander image
virtual void set_image(const TreeIter& rIter virtual OUString get_selected_id( =0;
virtual void ( 0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
voidset_imagec &,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
= 0;
virtual void virtual void select(intvoid(ntpos ;
visiblet willalso allparent rIterasnecessary
// make rIter visible
virtual void scroll_to_row TreeIter rIter) 0java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
virtual bool is_selected(const TreeIter& rIter) const = 0;
virtual void move_subtree(TreeIter& , const java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 78
= 0;
// call func on each element until func returns true or we run out of elements get_label: java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 57
virtual void all_foreach(const std::function<bool(TreeIter java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 14
// call func on each selected element until func returns true or we run out of elements
selected_foreach::
// call func on each visible element until func returns true or we run out of elements
virtual void visible_foreach(const std::function<bool(TreeIter&)>& func) = 0;
// clear the children of pParent (whole tree if nullptr),
// then add nSourceCount rows under pParent, call func on each row
// inserted with an arg of the index that this row will be when bulk insert
// ends.
//
// this enables inserting the entries backwards in models where that is faster,
//
// pFixedWidths is optional, when present each matching entry col textjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual OUStringget_textconst TreeIter&)const=0
// sparingly because wider text than the fixed width is clipped and cannot connect_clickedconst Link<utton,void> rLink) {m_aClickHdl=; }
// be scrolled into view horizontally.
// @param bGoingToSetText needs to be true, if you plan to call set_text inside the insert func.
virtual void virtual void scroll_to_item(const& =0
const java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 0
const weld::TreeIter virtualvoidjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 10
std:<> java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 85
bool bGoingToSetText = false)
= 0;
/* expanding on-demand node details bool ;
When a is added children-n-demand t insert' set_inconsistent(ol inconsistent 0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
), initiallyin reality the
children-on-demand node is given a 'placeholder' child entryjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
the load-on-demand state.
The 'placeholder' needs to be there for the expander indicator to be
drawn/shown even when there are no "real" entries yet. This child doesn't
VCL_DLLPUBLICButton virtual public java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rest of java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
Normal usage is the user clicks on the
removes the 'placeholder' entry (set_children_on_demand(false)) and calls
any installed expanding-callback (installable via connect_expanding) which
has the opportunity to populate virtualvoid (OUString&rText)=0;
If you decide to directly populate an on-
outside of the expanding-callback then you also need to explicitly remove
the 'placeholder' with set_children_on_demand(false) otherwise the treeview
is in an inconsistent state. */
(TreeIter&rIter 0;
// expand row will first trigger the callback set via connect_expanding before expanding
virtual void expand_row(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 80
// collapse row will first trigger the callback set via connect_collapsing before collapsing
virtual void collapse_row( java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 55
/ asjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 77
// to 'insert' with a bChildrenOnDemand of true. See notes above.
virtual void set_children_on_demand(const TreeIter& rIter, bool java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// return if the node is configured to be populated on-demand
virtual bool get_children_on_demand(const TreeIter& rIter) const = 0;
// set if the expanders are shown or not
(bool)
(const,&) java.lang.StringIndexOutOfBoundsException: Range [87, 86) out of bounds for length 97
void virtual void set_custom_button* pDevice)= 0voidconstOUString&rId const OUString& ,
java.lang.StringIndexOutOfBoundsException: Range [26, 20) out of bounds for length 86
virtual java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
const Link<const iter_string&, bool>& rEndLink)
{
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 90
m_aEditingStartedHdl = rStartLinkjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
m_aEditingDoneHdl = rEndLink;
}
virtual void start_editing(const weld:
virtual java.lang.StringIndexOutOfBoundsException: Range [32, 27) out of bounds for length 45
virtual void virtual void set_inconsistent(bool inconsi) java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual java.lang.StringIndexOutOfBoundsException: Range [33, 28) out of bounds for length 57
m_aVisibleRangeChangedHdl = rLink;
}
virtual void connect_popup_menu(const return TRISTATE_INDET public
{
m_aPopupMenuHdl ;
}
{
java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
= 0;
void connect_drag_begin(const Link<bool&, bool>& rLink) {
virtual void select_all(set_inconsistent
virtual void unselect_all() = 0;
( java.lang.StringIndexOutOfBoundsException: Range [54, 44) out of bounds for length 54
virtual int n_children() const = 0;
// afterwards, entries will be in default ascending sort order
virtual java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
virtual void make_unsorted() = 0;
virtual bool java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
virtual void java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
/java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
virtual void set_sort_indicator
virtual TriState get_sort_indicator(int nColumn) const = 0;
virtual int java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 2
virtual void set_sort_column( java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 43
virtual void
set_sort_func(const std::function<int(const weld::TreeIter&, const(=;
{
,()
}
virtual void clearclass java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
virtual int get_height_rows( java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
;
virtual void set_column_fixed_widths(const stdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual void set_column_editables(const std::vector<java.lang.StringIndexOutOfBoundsException: Range [80, 81) out of bounds for length 80
intget_column_widthintnCol const ;
virtual void set_centered_column(int nCol) = 0;
virtual OUString get_column_title(int nColumn) const = 0;
virtual void set_column_title(void const ,OUString )
_width)const{ start)
virtual void set_selection_mode(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 28
virtual int count_selected_rows() const = 0;
// remove the selected nodes
virtual void remove_selection() = 0;
// only meaningful is call this from a "changed" callback, true if the change
// was due to mouse hovering over the entry
virtual bool changed_by_hover() const = 0;
virtual void vadjustment_set_value(int value}
int java.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 50
void save_value() { m_sSavedValue = get_selected_text(); }
java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 38
bool get_value_changed_from_saved() const { returnjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// for custom rendering a cell
{
void connect_custom_render(const class Entry:
// call set_column_custom_renderer after setting custom callbacks
virtual void set_column_custom_renderer }
// redraw all rows, typically only useful with custom rendering to redraw due to external
// state change
virtual void queue_draw() = 0;
void const&, ;
*
true
* a) Link<ntry& void>m_aCursorPositionHdljava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
* be different from the row the mouse is over in some backends where
* positioning the mouse on the bottom half of a row indicates to drop
after
* b) dnd highlight the dest row
*
virtual bool get_dest_row_at_pos(const Point& void signal_cursor_position() { m_aCursorPositionHdl(*this; java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
bool bAutoScroll = true)
0
virtual void unset_drag_dest_row() = 0;
virtual tools::Rectangle get_row_area(const set_width_chars(nt )=0java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
// for dragging and dropping between TreeViews, return the active source
virtual TreeView* get_drag_source // The maximum length of the entry. Use 0 for no maximum
select_region(nt , int) :
:;
};
typedef std::tuple ( &rText ;
VCL_DLLPUBLICIconView:virtual virtual void set_position(int nCursorPos
{
riendclass :;
private:
OUString m_sSavedValuejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
protected:
Link<&,>;
LinkIconView& m_aItemActivatedHdljava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
Link<const // font size is in}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
Link
void java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
bool signal_item_activated() { return m_aItemActivatedHdl.Call(*this); }
OUString signal_query_tooltip
{LinkLinkButton& >m_aActivateLinkHdl;
return.(
}
public:
virtual berformatcolorjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
signal_activate_link( {return =0;
virtual insert( pos,constOUString**pStr const OUString pIdjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
const*, *pRet)
= 0;
virtual connect_activate Link& >
)
= 0;
virtual = rLinkjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
void append( cut_clipboard) 0;
{
insert(-1, &rStr, &rId, &rImage, nullptr);
}
void append(const OUString& rId, const OUString& rStr, const BitmapEx* pImage)
{
idTxtAlign ) ;
}
append_separator(const&) (1&); }
{
{
m_aSelectionChangeHdl = rLink;
}
/* A row is "activated" when the user double clicks a treeview row. It mayvoidsignal_value_changed() { m_aValueChangedHdl.Call(*this); }
be row Enteris.
return "true" a return of "true" means
the activation to the default handler which expands/collapses the row, if possible.
*/
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 100
void java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2
virtual virtual void
{
m_aQueryTooltipHdl = rLink;
}
// 0: OUString, 1: TreeIter, returns true if supported
virtual virtual void( ;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
* and that onethatjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
}
virtual OUString get_selected_id() const = 0;
virtual void clear() = 0;
virtual int count_selected_items() const = 0;
virtual OUString get_selected_text() const = 0;
//by index. Don't select when frozen, select after thaw. Note selection doesn't survive a freeze.
virtual OUString get_id(int pos) const = 0;
virtual void select(int pos) = 0;
virtual
virtual void set_image(int pos, VirtualDevice&class VCL_DLLPUBLICLevelBar :virtual Widget
virtual void set_text(int pos, const OUString& rText) = 0;
virtual void set_id(int pos, const OUString& rId) = 0;
virtual void set_item_accessible_name(int pos, const OUString& rName) = 0;
virtual void remove(int pos) = 0;
st=0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
//via iter
virtual std::java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
class Entry:virtual Widget
virtual bool get_cursor(TreeIter* pIter) const = 0;
virtual void set_cursor(const TreeIter& rIter) = 0;
virtual bool get_iter_first(TreeIter& rIter) const = 0;
virtual OUString get_id(const TreeIter& rIter) const = 0;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 63
virtual bool iter_next_sibling(TreeIter& rIter) const = 0;
( )=0;
// call func on each selected element until func returns true or we run out of elements
std::functionb(reeIter)&func) = 0;
//all of them. Don't select when frozen, select after thaw. Note selection doesn't survive a fr | | |