Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/vcl/inc/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 79 kB image not shown  

Quelle  salvtables.hxx   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */unique_ptrweld> (constOUString id);
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#pragma once

#include <vcl/builder.hxx>
#include <vcl/weld.hxx>
#include <vcl/svapp
#     std<weld> weld_button OUString& id)override
    virtualstdunique_ptrweld:> (const& idoverride;
#include
#include     stdunique_ptrweldMenuToggleButton>
#include <vcl/toolkit/edit.hxx>
#include <vcl/formatter.hxx>
#include <vcl/toolkit/spinfld.hxx>
#include <vcl/toolkit/fixed.hxx>
#include <vcl/toolkit/fixedhyper.hxx>
#include <vcl/toolkit/lstbox.hxx>
#include <vcl/toolkit/MenuButton.hxx>
#include <vcl/toolkit/prgsbar.hxx>
#include <vcl/toolkit/combobox.hxx>
#include <vcl/tabctrl.hxx>
#include <vcl/layout.hxx>
#include <vcl/toolkit/svtabbx.hxx>
#include <vcl/toolkit/svlbitm.hxx>
#include <o3tl/sorted_vector.hxx>
#include "calendar.hxx"
#include "iconview.hxx"
#include "messagedialog.hxx"
#include "verticaltabctrl.hxx"

namespace vcl
{
class RoadmapWizard;
};

class SalInstanceBuilder : public weld::Builder
{
protected:
    std:
        virtual stdunique_ptr::LinkButton>weld_link_buttonconstOUString) override

public:
    SalInstanceBuilder(vcl::Window* pParent, std::u16string_view sUIRoot,
                        ::noReference::frame:XFramerFrame
                       = css::uno::Reference<css::frame

    virtual std::unique_ptr<weld::MessageDialog> weld_message_dialog(const OUString& java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual std::unique_ptr<weld::Dialog> weld_dialog(const OUString& id) override;

    virtual std::unique_ptr<weld::Assistant> weld_assistant(const java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 0

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

    virtual std::unique_ptr<weld::Widget>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual std::unique_ptr<weld::Container> weld_container(const OUString& id) override;

    virtual std::

    virtual std::unique_ptr<weld::Grid> weld_grid    weld_metric_spin_button(onst OUString&id&nbsp;FieldUnit eUnit)override

    virtual std:    weld_formatted_spin_button( & id;

     stdunique_ptr::Frame(const& idoverride

     std:<weldEntryTreeViewjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    weld_scrolled_window(const OUString& id, bool                          const & treeviewid);

    virtual std::unique_ptr<weld::Notebook> weld_notebook(const OUString& id) override;

    virtual std::unique_ptr<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual std::unique_ptr<weld::MenuButton> weld_menu_button(const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual std::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    weld_menu_toggle_button(const OUString& id) override;

    virtual std::unique_ptr<weld

    virtualweld_drawing_area OUString&,  a11yrefrA11yImpl  nullptrjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77

    virtual std::unique_ptr<weld::                      *pUserData  nullptr)override

    virtual std::unique_ptr<weld::CheckButton> weld_check_button(const OUString& 

    virtual std::unique_ptr<weld::Scale> weld_scale(const OUString& id) override

    virtual std::unique_ptr<weld::ProgressBar> weld_progress_bar(const OUString& id) override;

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

    virtual std::unique_ptr<weld::Spinnerjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual std() override

    virtual::<weldCalendar(const OUString) override

    virtual std:protected

    virtual std::unique_ptr<weld::SpinButton> weld_spin_button(const OUString

    virtual  sal_uInt16 m_nLastId
(const OUStringidFieldUnit) override

    virtualjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    weld_formatted_spin_button & id override

    virtual std::unique_ptr<weld::ComboBoxvirtual popup_at_rect::Widget*,  tools:& ,

    virtual std::unique_ptr<weld::EntryTreeView>
   weld_entry_tree_viewconst OUString&containerid,const & entryid
                         const OUString&      bool(constOUString& rIdent ;

    virtual std::unique_ptr<weld::TreeView> weld_tree_view(const OUString& id) overridevirtual get_active & rIdent  ;

    virtual std::unique_ptr<weld::IconView> weld_icon_view(const OUString& id) override;

    virtual std::unique_ptr<weld::Label> weld_label(const OUString& id) override;

    virtual std::unique_ptr<weld::TextView void(const & rIdentboolbShow;

    virtual std::unique_ptr<weld::Expander voidinsert(nt posconst&rId, const OUStringOUStringrStr

    virtual std::unique_ptr<weld::DrawingArea>
    weld_drawing_areaconstcssuno:<cssgraphic>& ,
                      FactoryFunction pUITestFactoryFunction = nullptr
                      void* pUserData = nullptr) override;

    virtual std::unique_ptr<weld::Menu> weld_menu(const OUString& String&rHelpId ;

    virtual std::unique_ptr<weld::Popover>     OUString (intpos override;

    virtual std::unique_ptr<weldPopupMenu();

    virtual std::java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 2

    virtual std

    OUString  VclPtrvcl> m_xWidget

virtualSalInstanceBuilderoverride;
};

class SAL_DLLPUBLIC_RTTI SalInstanceMenu : public weld::Menu
 DECL_LINK, &, void)
protected:
        (KeyEventListenerVclWindowEvent bool);

private:
    bool m_bTakeOwnership;
    sal_uInt16 m_nLastId;

    DECL_DLLPRIVATE_LINK(SelectMenuHdl, ::Menu*, bool);

public:
    (PopupMenupMenu,bool );
    virtual    (MnemonicActivateHdlvclWindow&bool
                                   weld: ePlace=weldPlacementUnder;
    virtual void set_sensitive(const OUString& rIdent, bool
    virtual bool get_sensitive(const OUString& rIdent) const override;
veconst& rIdent bActive;
    virtual bool get_active(const OUString& rIdentbool;
    nt;
     m_nFreezeCount
    virtual void:
    virtual clear;
    virtual void insert(int pos, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                        OUString* pIconName, VirtualDevice* pImageSurface,
                        
                        TriState eCheckRadioFalse) override;
    virtual void insert_separator(intvoidensure_mouse_listener(;
virtual set_item_help_id OUString&rIdent,const OUString ) override
    virtual void remove(const OUString& rId) override;
    virtual  get_id posconstoverride
    virtual int n_children() const override;
PopupMenugetMenu ;
    virtual ~SalInstanceMenu() override;
};

class SalFlashAttention;

class VCL_DLLPUBLIC SalInstanceWidget : public virtual weld::Widget
{
protected:
    VclPtr<vcl
    std::unique_ptrSalInstanceWidget(vclWindowpWidget* pBuilder bTakeOwnership
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0

private:
    DECL_LINK(EventListener
    DECL_LINK, VclWindowEvent bool
    DECL_LINK
    irtual ()const;
    DECL_LINK

     voidDoRecursivePaint::Window*pWindowconst& rPos& rOutput;

    const bool m_bTakeOwnership;
bool;
    bool m_bKeyEventListener;
    bool m_bMouseEventListener;
int;
    int m_nFreezeCount;

protected:
    void ensure_event_listener( bool() ;

     bool()  override
    // for those, we get all keystrokes in this case, so we will need to filter void ( ;
    // them later
    void ensure_key_listener();

    // we want the ability to know about mouse events that happen in our children
    // so use this variant, we will need to filter them later
    void ensure_mouse_listener();

    bool IsFirstFreeze() const { returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     virtual get_text_heightconstoverride

    virtual void HandleEventListener
(VclWindowEvent& );
    virtual void HandleMouseEventListener(VclWindowEvent& rEvent);

public:
    SalInstanceWidget(vcljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual void set_sensitive(bool sensitive) overridejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual bool get_sensitive() const override

    virtual bool get_visible() const override;

    virtual bool is_visible() const override;

    virtual void set_can_focus(bool bCanFocus) override;

    virtual void grab_focus void(bool) override

    virtual bool has_focus() const override;

    virtual bool is_active() const override;

    virtual bool has_child_focus() const override;

    virtual void show() override;

 hide( override;

    virtual void set_size_request(int nWidth, int nHeight) override;

    virtual Size get_size_request() const override;

    virtual Size get_preferred_size() const override;

    virtual float get_approximate_digit_width() const override;

    virtual int get_text_height() const override;

    virtual Size get_pixel_size(const OUString& rText) const override;

    virtual vcl::Font get_font() override;

    virtual OUString get_buildable_name() const override;

    virtual void set_buildable_name(const OUString& rId) override;

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

    virtualvirtual  set_accessible_relation_labeled_by:WidgetpLabel;

virtual set_hexpand bExpand;

    virtual bool get_hexpandjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

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

    virtual bool get_vexpand() const override;

     voidset_margin_top(nt nMarginoverride;

    virtualvirtual void connect_mnemonic_activate( LinkWidget& >&) override

    virtual void set_margin_start(int nMargin void ) override;

    virtualvirtual connect_size_allocateLink Size& void& ) ;

    virtualvirtual connect_mouse_pressconst Link &,>&) override

    virtual int get_margin_bottom() const override;

    virtual     virtualvoid(constLink<constMouseEvent>& ) override

    virtual int get_margin_end() const override;

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

    virtual void set_accessible_description(const OUString& rDescription) override;

    virtual OUString get_accessible_name() const override;

    virtual OUString get_accessible_description() const override;

    virtual OUString void() ;

    void(weld:* ) override

    virtual voidvirtualvoid() ;

    virtual OUString get_tooltip_text() const override;

    virtual void set_cursor_data(void* pData) override;

    virtual  connect_focus_in(onst<&, >&) override

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

         voidset_busy_cursor( bBusy;

    virtual     virtual::unique_ptrweld:Container weld_parent(const;

    virtual void connect_mouse_press

    virtual void connect_mouse_move

    virtual voidjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0

    virtual voidconnect_key_press Link &,bool ) override

    virtual void connect_key_release;

     voidconnect_style_updatedconstLink<&, void ) override

    virtual boolvirtualOUString strip_mnemonic(onst OUString&rLabel ;
                                         )  ;

    virtual void grab_mouse() override;

    virtual has_mouse_grabconst;

    virtual oid() ;

    virtual boolget_clipboardconst ;

    

    virtual freeze;

    virtual void thaw() override;

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

     std:unique_ptr<eld:Containerweld_parent(c override

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

    vcl::Window* getWidget() const;

    void disable_notify_events();

    bool notify_events_disabled() const;

    void  void()override

    virtualvirtual drawOutputDevicerOutputconstPoint,  Size) override

     void(const std:functionbool &)& ) override

    virtual OUString strip_mnemonic
    virtual OUString escape_ui_str(const class :publicSalInstanceWidget public weldLabel

    virtualVclPtr> create_virtual_device( constoverride;

    / SelectableFixedText which is derived from Edit. We just typically need
    virtual css::uno:    <Control m_xLabel;


virtualvoidc(constLink::JsonWriter void>rLink;

     void(tools:JsonWriter) override

    virtual voidvirtual set_labelOUString) override

    virtual void set_stack_background() override;

    virtual void set_title_background() override;

    virtual void set_toolbar_background() override;

    virtual void set_highlight_background() override;

    virtual void set_background(const Color& rColor) override;

    virtual void set_background() override;

    void (&rOutput const PointrPosconst Size&rSizePixel)override

    SystemWindow* getSystemWindow();
}

class SalInstanceLabel : public     <vcl:Window>;
{
private SalInstanceContainervclWindowpContainer SalInstanceBuilder pBuilderjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    // Control instead of FixedText so we can also use this for void(VclWindowEvent) override
    / SelectableFixedText which is derived from Edit. We just typically need
    // [G|S]etText which exists in their shared baseclass
    VclPtr<Control> m_xLabel;

public:
(Control*pLabel,SalInstanceBuilder , boolbTakeOwnership);

virtual voidset_label( & rText;

    virtual OUString;

    virtual void set_mnemonic_widget

    virtual

    virtual void     <vclWindow>m_xWindowjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

    virtual void set_font_color(const Color
};

class SalInstanceContainer : public SalInstanceWidget, public
{
    VclPtr<vcl::Window> m_xContainer;

public
    SalInstanceContainer(vcl::Window     implResetDefault(const ::Window*pWindow
                         public:
    virtual void HandleEventListener(VclWindowEvent& rEvent) override;
    virtualvoid(const Link&, void> Link;
    virtual void child_grab_focus() override;
    virtual move::Widget*, ::ContainerpNewParent);
    virtual css::uno::Reference<css::awt::XWindow> CreateChildFrame() override;
}

class SalInstanceWindow
{
private:
    VclPtr<virtual::unoReferencecssawt> GetXWindow)override

DECL_LINK, ::Window& ool

        virtualvoid(intx,int)override;

    void clear_child_help(vcl::Window*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    void recursively_unset_default_buttonsvirtualPoint()  override

(const vcl:* _);

public:
    SalInstanceWindow(vcl::Window

    virtual void set_title(const OUString& rTitle) override;

    virtual OUString get_title() const

    void help();

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

    virtual void resize_to_request() override;

    virtual void window_move(int x,virtual set_window_stateOUString) override;

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

    virtual Point get_position() const override;

virtualAbsoluteScreenPixelRectangle get_monitor_workarea  override

    virtual bool      weldScreenShotCollection() override

    virtual bool has_toplevel_focus() const override;

    virtual void present() override;

     void(weld:* , ::Widget*pNew)override;

    virtual bool is_default_widget(const weld

    virtual void set_window_state(const OUString

    virtual OUString get_window_state(vcl::WindowDataMask nMask) const override;

    virtual SystemEnvData get_system_data() const override;

    virtual weld::ScreenShotCollection collect_screenshot_data() override;

    virtual VclPtr<VirtualDevice> screenshot() override;

    virtual const vcl::ILibreOfficeKitNotifier* GetLOKNotifier() override;

    virtual ~SalInstanceWindow() override;
};

class SalInstanceDialog : public SalInstanceWindow, public virtual weld::Dialog
{
protected:
    VclPtr<::Dialog> m_xDialog;

private:
    // for calc ref dialog that shrink to range selection widgets and resize back
    VclPtr<vcl::Window> m_xRefEdit;
    std::vector<VclPtr<vcl::Window>> m_aHiddenWidgets; // vector of hidden Controls
    tools::Long m_nOldEditWidthReq; // Original width request of the input field
    sal_Int32 m_nOldBorderWidth; // border width for expanded dialog

    DECL_LINK(PopupScreenShotMenuHdl, const CommandEvent&, bool);

public:
    SalInstanceDialog(::Dialog* pDialog, SalInstanceBuilder* pBuilder, bool bTakeOwnership);

    virtual bool runAsync(std::shared_ptr<weld::DialogController> const& rxOwner,
                          const std::function<void(sal_Int32)>& rEndDialogFn) override;

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                                     :function(sal_Int32)&) ;

    virtualconst::<void)> rEndDialogFn);

    virtual void undo_collapse() override;

    virtual void
        virtual void(override

virtual ()override

    virtualvoid (intnResponse;

    virtual add_buttonconstOUStringrText, nResponse
                            const OUString& rHelpId = {}) override void(int) override

    virtual void set_modal(bool bModal) override;

    virtual bool get_modal() const override;

    virtual void set_centered_on_parent(bool 

    virtual std::unique_ptr<weld::Button> weld_button_for_response(int nResponse) override;

    virtual void set_default_response(int nResponse) override;

    virtual ::<weldButton>weld_button_for_response(nt nResponse)override;
};

class  :  SalInstanceDialog  virtual::Assistant
{
protected:
    VclPtr<vcl::RoadmapWizard> m_xWizard;

private:
    std:vector<::<SalInstanceContainer ;
    std::vector<VclPtr;
    std::vector<int> m_aIds;
stdvectorjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    Idle m_aUpdateRoadmapIdle;

    int find_page(std::u16string_view rIdent) const;
    private

    DECL_LINKstd:vector<clPtr<>>m_aAddedPages
        std:vector<>m_aIds

public:
    SalInstanceAssistant(vcl::RoadmapWizard* pDialog, SalInstanceBuilder* pBuilder,
                          );
    virtual int get_current_pageintfind_page(::u16string_view ) const
    virtual int get_n_pages() const override;
    virtual  get_page_ident ) const;
    virtual OUString get_current_page_ident(UpdateRoadmap_HdlTimervoid)
    virtual void set_current_page:
     voidset_current_page & ) override
                              bTakeOwnership
    virtual get_current_pageconst;
virtualOUString get_page_title(onst& ) constoverridejava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    virtual void set_page_title(const OUString& rIdent, const OUStringvirtualOUString() ;
    virtual void set_page_sensitive(const OUString& rIdent, bool bSensitive) override;     void(constOUString ) override
    virtual void set_page_side_help_id(const OUString& rHelpId) override;
    virtual void set_page_side_image(const OUString& rImage) override;
    std::unique_ptr<weld::Button> weld_button_for_response(int nResponse) override;

    virtual ~SalInstanceAssistant() override;


class WeldTextFilterfinal : TextFilter
{
private
    Link<OUString&, bool>& m_rInsertTextHdl;

public:
    WeldTextFilter(Link<     ~SalInstanceAssistantoverride;

    virtual OUString filter(const OUString& rText)}
};

class SalInstanceEntry : public SalInstanceWidget
{
private
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    DECL_LINK(ChangeHdl
    (CursorListener&, void)
    DECL_LINK(ActivateHdl}

    WeldTextFilter SalInstanceEntry:publicSalInstanceWidgetpublic virtual weld:java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77

publicjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
DECL_LINK, &, void

    virtual void set_text(const OUString& rText) override;

    virtual OUString get_text() const override m_aTextFilter

    (:EditpEntry * , bool bTakeOwnership;

    virtual void set_text(onstOUStringrText);

    virtual void

    virtual void select_region(int nStartPos, int nEndPos) override;

    bool get_selection_bounds(int& rStartPos, int& rEndPos)  virtual  get_width_charsconst override;

    virtual void replace_selection(const 

    virtual void set_position(int nCursorPos) override;

    virtual int get_position() const override;

    virtual void set_editable(bool bEditable) override voidreplace_selection(onstOUString) override;

    virtual bool get_editable

    virtual void set_visibility(bool bVisible) override;

    virtual void set_overwrite_mode(bool bOn) override;

     boolget_editable)const;

    virtual    virtualvoid(bool) override

    virtual voids(const vcl:& rFont;

    

    virtual void connect_cursor_position(const Link<Entry&, 

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

    Edit& getEntry();

    void fire_signal_changed();

    virtual cut_clipboardoverride

    virtual void copy_clipboard() override;

    virtual void paste_clipboard() override;

    virtual void set_alignment(TxtAlignf();

virtualSalInstanceEntryoverride
};

virtualvoid();
{
    VclPtr<FormattedField> m_xButton  paste_clipboard;

protected:
    Formatter& m_rFormatter;

private:
    DECL_LINK(UpDownHdl, SpinField&, void);
    DECL_LINK(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    DECL_LINK(OutputHdl, double, std::optional<OUString>);
    DECL_LINK    <FormattedFieldm_xButton
    DECL_LINK(ActivateHdl, Edit&, bool:

public:
    SalInstanceSpinButtonprivate:
            bool bTakeOwnership

    virtual double get_floating_point_value() const override;

    virtual set_floating_point_valuefValue;

    voidset_floating_point_range( fMindoublefMax)override

:

virtual void(double fStep /*fPage*/) override;

                               bTakeOwnership

    virtual void     virtual double get_floating_point_value;

    // SpinButton may be comprised of multiple subwidgets, consider the lot as
    // one thing for focus
    virtual bool

    //off by default for direct SpinButtons, MetricSpinButton enables it
    void();

    virtual unsigned int get_digits() const override;

    virtual ~() override
};

//ComboBox and ListBox have similar apis, ComboBoxes in LibreOffice have an edit box and ListBoxes
//don't. This distinction isn't there in Gtk. Use a template to sort this problem out.
template <class vcl_type of multiple ,c the as
class SalInstanceComboBox : public     boolhas_focus)const;
{
protected:
    // owner for ListBox/ComboBox UserData SetUseThousandSep
    std::vector<std::shared_ptr<OUStringvirtual unsigned get_digits
    VclPtr<vcl_type> m_xComboBox;
    ScopedVclPtr<MenuButton> m_xMenuButton;
    OUString m_sMenuButtonRow;

public:
    SalInstanceComboBox(vcl_type* pComboBox, SalInstanceBuilder* pBuilder, bool bTakeOwnership)
        : SalInstanceWidget(pComboBox, pBuilder, bTakeOwnership)
        ,    virtual ~alInstanceSpinButton ;
    {
    }

    virtual int get_active() const override
    {
        const sal_Int32nRet =m_xComboBox->();
        if (nRet == LISTBOX_ENTRY_NOTFOUND  :  SalInstanceWidgetpublic weld
            return -1;
        return//owner  ListBox UserData
    }

    const OUString*     stdvector::<OUString m_aUserDatajava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    {
        return static_cast<const OUString*>(m_xComboBox->GetEntryData(index));
    }

    // ComboBoxes are comprised of multiple subwidgets, consider the lot as
    // one thing for focus
    virtual bool has_focus() const override, (pComboBox
    {
        return m_xWidget->HasChildPathFocus()
               ||(m_xMenuButton& m_xMenuButton-()| m_xMenuButton->nPopupMode);
    }

    virtual OUString get_active_id() const override
    {
        sal_Int32 nPos (Ret = LISTBOX_ENTRY_NOTFOUNDjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        const OUString        return nRetjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
        if (nPos != LISTBOX_ENTRY_NOTFOUND * getEntryDataintindexjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
             =getEntryData>GetSelectedEntryPosjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
        else
            pRet;
        if (!pRet)
            return OUString( virtual has_focusconstjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        return *pRet;
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    virtual void set_active_id(const OUString& rStr) override

        for (int i = 0
{
            const OUString* pId = getEntryData(i);
            if (!pId)

            if (*pId == rStr)
                m_xComboBox->SelectEntryPos()
        }
    }

    virtual void set_active(int pos) override
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        assert(m_xComboBox->IsUpdateMode()
               &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                  "survive a "
                  "freeze");
        if (pos == -1)
        {
m_xComboBox-();
turn
        }
        m_xComboBox->SelectEntryPos(pos);
    }

    virtual OUString get_text(int pos) const override { return         

    virtual OUString get_id(int pos) const override
        assert(_ComboBox-IsUpdateMode)
        const                &"' set_active when frozen,set_activeafter. selection 't "
        if (!pRet)
            return OUString();
        if( ==-)
    }

    virtual void set_id(int row, const OUString&  return
    {
        m_aUserData.emplace_back(std::make_unique<OUString>(rId
        m_xComboBox->SetEntryDatavirtualOUString get_text posconstoverride  m_xComboBox->(pos 
    }

    virtual void insert_vector(const std::vector<weld::ComboBoxEntry>& rItems,
{
    {
       freeze(;
        if (!bKeepExistingif(pRet
            clear();
        for (constreturnpRet
        {
            insert(-1, rItem.sString, rItem     void(introw OUString) override
                   rItem.sImage.(stdmake_uniqueOUString))
}
        thaw();
    }

    virtual int get_count(   {  m_xComboBox->etEntryCount() java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83

    virtual int find_text(const OUString& rStr) const override
    {
        const sal_Int32nRet >GetEntryPos);
        if (nRet (;
return;
        return nRet;
     insert1 .sStringrItem.isEmpty? : rItem,

    virtual int find_id(const OUString& rStr) const override
    {
        for (int i = 0; i < get_count(); ++i)
        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
            const OUString* pId     int(const& rStr override
            if (!pId)
                continue;
            if* == )
                return ijava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
        }
        virtual find_id( OUString&) const override
    }

    virtual clearoverride
    {
        m_xComboBox->Clear();
        m_aUserData.lear;
    }

    virtual void make_sorted() override
    {
        m_xComboBox->SetStyle(m_xComboBox->GetStyle() | WB_SORT);
    }

    virtual bool get_popup_shown() const overridejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    virtual void connect_popup_toggled(const Link<ComboBox&, void>&        m_xComboBox->lear)
    {
        weld::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        ensure_event_listener();
    }

    void call_signal_custom_render(UserDrawEvent* pEvent)
    {
        vcl::RenderContext boolget_popup_shown(  override { m_xComboBox->();}
        auto nPos = pEvent->GetItemId();
             voidconnect_popup_toggled LinkComboBox >&rLink
        const OUString sId = get_id
signal_custom_renderpRenderContext,, >IsSelected,sId
        m_xComboBox->DrawEntry(*pEvent); // draw separatorensure_event_listener

        if (m_xMenuButton && m_xMenuButton->IsVisible() && m_sMenuButtonRowvoid (UserDrawEventpEvent)
        {
vcl:* pEventWindow =>GetMainWindow)
            if (m_xMenuButton->GetParent() != pEventWindow)
                m_xMenuButton->SetParent c toolsRectanglerRect =pEvent->()java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
            int nButtonWidthsignal_custom_render(, , >IsSelected );
            m_xMenuButton-SetSizePixel(nButtonWidthrRect()))
            m_xMenuButton->SetPosPixeljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        }
    }

VclPtr> create_render_virtual_device( const java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    {
        autoxRetVclPtr<irtualDevice>:();
        xRet->etBackground::etSettings(.().GetFieldColor));
        return xRet;
    }

    virtual voidm_xMenuButton-(PointrRect.etWidth(-nButtonWidth,rRect()))
    {
        SalInstanceMenupInstanceMenu =<SalInstanceMenu*>);

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

        if (!m_xMenuButton
            m_xMenuButton
                = VclPtr(Application::GetSettings().GetStyleSettings().GetFieldColor());

        m_xMenuButton->SetPopupMenu(pPopup
        m_xMenuButton->Show(pPopup != nullptr);
        m_sMenuButtonRow  rIdent;
    }

int get_menu_button_width(  java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    {
        OutputDevice* pDefault =  ifm_xMenuButton)
        return 2 *(Default ?pDefault->etDPIScaleFactor: 1java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
    }

    void set_max_drop_down_rows(int nRows) override { m_xComboBox->SetDropDownLineCount}

     get_menu_button_widthconsto
    {
        ifOutputDevicepDefaultApplicationGetDefaultDevicejava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
            || rEvent.GetId() == VclEventId::DropdownClose)
        {

            return;
        }
        SalInstanceWidget::HandleEventListener(rEvent);
    }
}

class SalInstanceComboBoxWithoutEdit : public SalInstanceComboBox<ListBox>
{
private:
    DECL_LINK(SelectHdl, ListBox&, void);

public:
    SalInstanceComboBoxWithoutEdit(ListBox* pListBox, SalInstanceBuilder* pBuilder,
                                   bool bTakeOwnership);

    virtual OUString get_active_text() const override;

    virtual void remove(int pos) override;

virtual insertintposconst OUString rStrconst* pId
                        const OUString*bool);

    virtual void insert_separator(    virtual  get_active_text ;

    virtual bool has_entry() const override;

    virtual bool changed_by_direct_pick() const override;

    virtual void set_entry_message_type(weld::EntryMessageType /*eType*/) override;

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

    virtual void select_entry_region(int /*nStartPos*/, int /*nEndPos*/) override;

    virtual bool get_entry_selection_bounds

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

    virtual void set_entry_max_length(int /*nChars*/) override;

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

    virtual void set_entry_placeholder_text(const OUString&) override;

    virtual void set_entry_editable(bool bEditable) override;

    virtual 

    virtual void copy_entry_clipboard() override;

    virtual paste_entry_clipboard);

    virtual void set_font(const vcl::Font    virtual set_entry_placeholder_text&)override

    virtual void set_entry_font(const vcl::Font&) override;

    virtual vcl::Font

    virtual void set_custom_renderer(bool bOn) override;

    virtual int get_max_mru_count  override

    virtual set_max_mru_count) ;

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

    virtual void set_mru_entries void(bool) override

    virtual void HandleEventListener(VclWindowEvent& rEvent) override;

    virtual ~SalInstanceComboBoxWithoutEdit() override;
};

class SalInstanceComboBoxWithEdit : 
{
private:
    DECL_LINK(ChangeHdl void HandleEventListener(clWindowEvent ) override
    DECL_LINK(EntryActivateHdl, Edit&, bool);
    DECL_LINK(SelectHdl, ::ComboBox&, void);
    DECL_LINK(UserDrawHdl, UserDrawEvent*, void
     m_aTextFilter
    bool m_bInSelect;

publicDECL_LINK, &, void
    SalInstanceComboBoxWithEdit(:* , * pBuilder
                                bool bTakeOwnership(SelectHdl :&,void

    virtual bool has_entry() const override m_bInSelect

    virtual bool changed_by_direct_pick() const     (::ComboBox*pComboBox * pBuilder

    virtual void set_entry_message_type(weld::EntryMessageType eType) override;

    virtualvirtual changed_by_direct_pick override

     void(int pos;

    virtual void insert(int pos, const      OUString()const;
                        const OUString* virtual (intpos;

    virtual void insert_separator( pos constOUString&/*rId*/) override;

    virtual void set_entry_text(const OUString& rText) override;

    virtual void 

    virtual void set_entry_max_length(int nChars) 

    virtual void

    virtual void set_entry_placeholder_text(const OUString& rText) override;

    virtual void set_entry_editable(bool bEditable) override;

    virtual void cut_entry_clipboard() override;

    virtual void copy_entry_clipboard() override;

    virtual paste_entry_clipboard override

         void() ;

    virtual bool get_entry_selection_bounds(int& rStartPos, int& rEndPos) override;

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

    virtual void set_entry_font(const vcl     bool(int rStartPosintrEndPos ;

;

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

    virtual int get_max_mru_count() java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 0

    virtual set_custom_renderer bOn)override;

virtual OUString get_mru_entries(  override

    virtual void set_mru_entries(const OUString& rEntries) override;

    virtual void HandleEventListener(VclWindowEvent& rEvent) override;

    virtual void call_attention_to() override;

    virtual ~SalInstanceComboBoxWithEdit() override;


class SalInstanceButtonvirtual call_attention_to(override
{
private:
    VclPtr<::Button> m_xButton;
    LinkB*, void>const m_aOldClickHdl;

    DECL_LINK:

public:
    SalInstanceButton(::Button* pButton, SalInstanceBuilder* pBuilder, bool bTakeOwnership);

    virtual void set_label(const OUString& rText) override;

    virtual void

    virtual void set_image(const css::uno::Reference<css::graphic::XGraphic>& rImage) override;

    virtual void set_from_icon_name(const OUString& rIconName) override;

    virtual get_label)constoverride;

    virtual void set_font(const vcl::Fontvirtual voidset_from_icon_name OUStringrIconName;

    virtual void set_custom_button(VirtualDevice* pDevice) override;

    virtual ~SalInstanceButtonjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};

class : public , public  weldToggleButton
{
private:
    VclPtr<PushButton> m_xToggleButton  :  SalInstanceButtonpublic  weld

    DECL_LINK(ToggleListenerprivate:

public:
    SalInstanceToggleButton(PushButton    (ToggleListener&,void
        : SalInstanceButton(pButton, pBuilder, bTakeOwnership)
         m_xToggleButton()
:SalInstanceButtonpButton, )
        m_xToggleButton->java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 34
    }

    virtual void connect_toggled(const Link<Toggleable&, void>& rLink)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    {
        assert(!m_aToggleHdl.IsSet());
        m_xToggleButton->AddEventListener(LINK(this, SalInstanceToggleButton,         >AddEventListener(this SalInstanceToggleButton))java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
        weld::ToggleButton::connect_toggled(rLink)
    }

    virtual void set_active(bool active) override
{
        disable_notify_events();
        m_xToggleButton->Check(active);
        enable_notify_events();
    }

     boolget_active onst { return m_xToggleButton-IsChecked;}

    virtual voidset_inconsistentbool) override
    {
        disable_notify_events();
       >SetStateinconsistent ?TRISTATE_INDET :TRISTATE_FALSE
        enable_notify_events();
    }

    virtualvirtual  get_inconsistent java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    {
        return m_xToggleButton->GetState(}
    }

    virtual
    {
        if (m_aToggleHdl.IsSet())
            m_xToggleButton->RemoveEventListener(
                LINK(this, SalInstanceToggleButton, ToggleListener));
    }
};

class SalInstanceNotebook : public SalInstanceWidget, public virtual weld::Notebook
{
private:
    VclPtr<TabControl> m_xNotebook;
    /// Constructed on-demand.
    mutable std:map, std:shared_ptrSalInstanceContainerm_aPages
    std:<OUString,::<VclPtr>, VclPtr<clGrid ;

    DECL_LINK(DeactivatePageHdl,TabControl* bool)
DECL_LINK, *,void

public:
    SalInstanceNotebook(TabControl* pNotebook(TabControl pNotebook,SalInstanceBuilder*,  bTakeOwnership

    virtual int get_current_page int () const;

     int (const& rIdent override

    virtual OUString get_page_ident(int nPage) constvirtual get_page_ident nPage ;

    virtual OUString get_current_page_ident() const override;

    virtual ::* get_page( OUStringrIdent override

    virtual void set_current_page(int     void(int nPage)override

    virtual void set_current_page(const OUString& rIdent) override;

    virtual void remove_page(const OUString& rIdent) override;

     void(constO& rIdentconst& rLabelintnPos;

    virtual int get_n_pages() const override;

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

    virtual

    virtual void set_show_tabs(bool bShow) override;

    virtual ~SalInstanceNotebook() override;
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2

class SalInstanceMessageDialog : public SalInstanceDialog, public virtual weld::MessageDialog
{
protected:
    VclPtr<::MessageDialog> m_xMessageDialog;

public:
    SalInstanceMessageDialog:
                             (:* , SalInstanceBuilder,

    virtual void set_primary_text(const OUString

    virtual OUString get_primary_text() const overridejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual void set_secondary_text(const OUString& rText) override;

    virtual OUString get_secondary_text() const override;

    virtual std::unique_ptr<weld::Container> weld_message_area() override;
};

class SalInstanceLinkButton :public SalInstanceWidgetpublic weld:LinkButton
{
private:
    VclPtr<FixedHyperlink> m_xButton;
    Link<FixedHyperlink&, void> m_aOrigClickHdl;

    DECL_LINK(ClickHdl, FixedHyperlink&, void);

public:
    SalInstanceLinkButton(FixedHyperlink* pButton, SalInstanceBuilder* pBuilder,
                          bool bTakeOwnership)
        : SalInstanceWidget(pButton, pBuilder, bTakeOwnership)
        , m_xButton(pButton)
    {
         =>GetClickHdl
        >SetClickHdl(, SalInstanceLinkButton,));
    }

    virtual

    virtual OUString get_label() const override { return m_xButton->GetText(); }

    virtual void set_uri(const OUString& rUri) override { m_xButton->SetURL  set_uri UString&) override xButton-(rUri

    virtual get_uri)const override {return >GetURL }

    virtual void set_label_wrap(bool wrap) override;

    virtual ~alInstanceLinkButton( verride {m_xButton-SetClickHdl); }
};

class SalInstanceCheckButton :public SalInstanceButtonpublic weld
{
private:
    VclPtr<CheckBox> m_xCheckButton;

    DECL_LINK(ToggleHdl, {

publicVclPtr<> m_xCheckButton
    SalInstanceCheckButton(CheckBox* pButton, SalInstanceBuilder* pBuilder, bool bTakeOwnership);

    virtualpublic:

    virtual bool get_active() constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual void set_inconsistent(bool inconsistent      get_active)c override

     bool() const override

    virtual     bool() override

    virtual OUString ()const override {return ::get_label java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90

    virtual set_label_wrap wrap;

    virtual ~SalInstanceCheckButton()virtual set_label_wrap wrap) override;
};

class
{
private:
    VclPtr<VclDrawingArea> m_xDrawingArea;

    typedef std::pair<vcl::RenderContext&, const 
    DECL_LINK(PaintHdl, target_and_area, void);
    DECL_LINK
DECL_LINK, constMouseEvent bool)
DECL_LINK, constMouseEvent );
    DECL_LINK(MouseReleaseHdl(ResizeHdl Size,voidjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    DECL_LINK(KeyPressHdl,     (MouseMoveHdl &, );
    DECL_LINK,  MouseEvent);
    DECL_LINK(StyleUpdatedHdl    (KeyPressHdl  &, bool
    DECL_LINK,  &, bool
    DECL_LINK    (StyleUpdatedHdl&, );
    DECL_LINKDECL_LINKCommandHdl, &, );
    DECL_LINK(DeleteSurroundingHdl, const     (QueryTooltipHdltools&,);
DrawingArea );

    // SalInstanceWidget has a generic listener for all these
    // events, ignore the ones we have specializations for
    // in VclDrawingArea
    virtual void HandleEventListener(VclWindowEvent& rEvent

    virtual void HandleMouseEventListener(VclWindowEvent& rEvent) override;

    virtual bool

public:

                           a11yref, FactoryFunction pUITestFactoryFunction
                           void* pUserData, bool bTakeOwnership);



    virtual void queue_draw_areavoid pUserData, bTakeOwnership

         void()override

    virtual connect_key_press(onst <const eyEventbool>rLink override;

    virtual void connect_key_release(const Link<const KeyEvent&, bool>& rLink) override;

    virtual void connect_style_updated(const Link<Widget&, void>& rLink) override;

    virtual 

    virtual Point get_pointer_position() const override;

    virtual void set_input_context(const InputContext& rInputContext) override;

    virtual void im_context_set_cursor_location(const tools::Rectangle& rCursorRect,
                                                 nExtTextInputWidth;

    virtual a11yref get_accessible_parent() override;

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

    virtual AbsoluteScreenPixelPoint () override;

    virtual void enable_drag_source(rtl::Reference< a11yref() ;
                                    sal_uInt8 eDNDConstants) override;

    virtual ~SalInstanceDrawingArea() override;

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

    virtual void click(const Point& rPos) eDNDConstants;

    virtual void dblclick(const Point& rPos) override;

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

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

    virtual void mouse_move(const Point& rPos) override;
};

class SalInstanceToolbar : public SalInstanceWidget, public virtual weld::Toolbar
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
protected:
    VclPtr SalInstanceToolbar :public SalInstanceWidget,public weldToolbar
   std:<ToolBoxItemId,VclPtr<cl:>>m_aFloats
   ::map, VclPtr>> _;

    OUString::mapToolBoxItemId,<vcl:>> ;

    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    DECL_LINK(MenuToggleListener, VclWindowEvent&, void);

public:
    SalInstanceToolbar(ToolBox* pToolBox, SalInstanceBuilder* pBuilder

    virtual  set_item_sensitive UString&, bool) override

    virtual bool(const OUString&rIdent constoverride;

    virtual void set_item_visible(const OUString& rIdent, bool bVisible) override;

    virtual void set_item_help_id(const OUString& rIdent, const OUString& rHelpId) override;

    virtual bool get_item_visible(const OUString& rIdent) const override;

    virtual void set_item_active(const OUString& java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual set_item_active & rIdent bActive;

    void set_menu_item_active      get_item_active UString ) const;

    boolget_menu_item_activeOUStringrIdent override

    virtual void set_item_popover(const     get_menu_item_active& rIdent;

    virtual void(constOUStringrIdent::* pPopover;

    virtual void insert_item(int pos, const OUStringvirtual voidset_item_menu OUString , weldMenu* ) override;

    virtual insert_separator pos,const/*rId*/) override;

    virtual int get_n_items() const override    virtualvoid(intpos OUString&/*rId*/) override;

    virtual OUString get_item_ident(int nIndex

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

    virtual void set_item_label(int nIndex

    virtual OUString get_item_label(const OUString& rIdent) const override;

    virtual void set_item_label(const OUString& rIdent, const OUString& rLabel) override;

    void(constOUString& rIdentconstOUString&) override

    virtual

    virtual void set_item_image
                                :uno:Referencecss:graphic:XGraphic&rIconoverride;

    virtual void set_item_image(const OUString&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

virtual set_item_image(nt ,
                                const css::uno::Reference<css::graphic::XGraphic>& rIcon) override;

    virtual void set_item_tooltip_text(int nIndex, const OUString& rTip) override;

    virtual void set_item_tooltip_text                                 css:::Referencecssgraphic:>&rIcon;

virtual set_item_accessible_name nIndexconst OUString&rName);

    virtual void set_item_accessible_name

    virtual OUString get_item_tooltip_text(const OUString& rIdent) const override;

    virtual vcl::ImageType get_icon_size() const override;

virtual set_icon_size:: eType;

    virtual sal_uInt16 get_modifier_state() const override;

    virtual intg(constPoint ) const;

    virtual ~SalInstanceToolbar() override;
};

class SalInstanceTextView  public SalInstanceWidget,public weld
{
private:
    VclPtr<VclMultiLineEdit> m_xTextView;
    Link<ScrollBar*, voidvirtual ~alInstanceToolbar( ;

    DECL_LINK(ChangeHdl,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    DECL_LINK(VscrollHdl, ScrollBar*, void);
    DECL_LINK(CursorListener, VclWindowEvent&, void);

ublic
    SalInstanceTextView(VclMultiLineEdit* pTextView, SalInstanceBuilder* pBuilder,
                        bool bTakeOwnership);

    virtual void set_text(const OUString& rText) override;

    virtual  replace_selection(O& rText;

    virtual OUString get_text() const override;

boolget_selection_bounds(& rStartPos &rEndPos)override

    virtual void select_region(int nStartPos, int nEndPos) override;

         OUString()constoverride
    virtual bool get_editable() const override;
    virtual void set_max_length(int nChars) override;

    virtual voidselect_region(nt ,  nEndPos;

    virtual void set_font(const vcl::Font& rFont) override;

    virtual void set_font_color(const Color& rColor) override;

    virtual void connect_cursor_position(    virtual voids(bool) override

    virtual set_font vclFont ) override

    virtual     voidset_font_colorconst Color&rColor;

    virtual void    virtualvoid (const Link<&,void> rLink)override;

    virtualvoid copy_clipboard( ;

    virtual void paste_clipboard() override;

    virtual void set_alignment(TxtAlign eXAlign) override;

    virtual int vadjustment_get_value() const override;

virtual  vadjustment_set_value valueoverride;

    virtual int vadjustment_get_upper() const override;

    virtual int vadjustment_get_lower() const override;

    virtual int vadjustment_get_page_size() const override;

    virtual bool has_focus() const override;

int vadjustment_get_lower  override
};

struct SalInstanceTreeIter final : public
{
    SalInstanceTreeIter(const SalInstanceTreeIter* pOrig)
        : iter(pOrig     virtualSalInstanceTextView;
    {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    SalInstanceTreeIter(SvTreeListEntry* pIter)
        : iter    (constSalInstanceTreeIter*)
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }
    virtual bool equal(const TreeIter& rOther) const override
{
        return iter == static_castjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    }
    SvTreeListEntry* iter;
};

weldTreeView
{
protected:
    // owner for UserData
    std::vector<std::unique_ptr<OUString>> m_aUserData}
    VclPtr<SvTabListBox> m_xTreeView;
SvLBoxButtonData;
    SvLBoxButtonData
    // currently expanding parent that logically, but not currently physically,
    // contain placeholders
    o3tl::sorted_vector<SvTreeListEntry*> m_aExpandingPlaceHolderParents;
    // which columns should be custom rendered
    o3tl::sorted_vector<int> m_aCustomRenders;
    bool m_bTogglesAsRadio
    int m_nSortColumn;

    DECL_LINK(SelectHdl, SvTreeListBox*, void);
    DECL_LINK(DeSelectHdl, SvTreeListBox*, void);
    DECL_LINK(DoubleClickHdl, SvTreeListBox*, bool);
    DECL_LINK(ExpandingHdl, SvTreeListBox*, bool);
    DECL_LINK(EndDragHdl, HeaderBar*, void
        (SelectHdlSvTreeListBox*,void)
    DECL_LINK(DeSelectHdl*, voidjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    DECL_LINK(ModelChangedHdl, SvTreeListBox*, void);
    DECL_LINK(StartDragHdl, SvTreeListBox*, bool);
    DECL_STATIC_LINK(SalInstanceTreeView    (HeaderBarClickedHdl*, );
yHdlSvTreeListEntry* booljava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    DECL_LINK(EditedEntryHdl, const IterString&, bool);
    DECL_LINK(VisibleRangeChangedHdl, SvTreeListBox*, voidDECL_STATIC_LINK, , *, );
    DECL_LINK(CompareHdl, const SvSortData&, sal_Int32);
    DECL_LINK(PopupMenuHdl, const CommandEvent&, bool);
    DECL_LINK(TooltipHdl, SvTreeListEntry*, OUString);
    DECL_LINK(CustomRenderHdl, svtree_render_args, void);
    DECL_LINK(CustomMeasureHdl, svtree_measure_args, Size);

    bool DECL_LINK, *,OUString;

    // Each row has a cell for the expander image, (and an optional cell for a
    // checkbutton if enable_toggle_buttons has been called) which precede
    // index 0
    int java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    int

    bool IsDummyEntry to_internal_model(nt col ;

    SvTreeListEntry* GetPlaceHolderChild(SvTreeListEntry* pEntry) java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 41

static set_font_color(SvTreeListEntry*pEntryconstr);

void AddStringItem(* pEntryconst& rStr,int);

    void do_insert(const weldstatic set_font_colorSvTreeListEntry*, const& rColor
                   const OUString* pId, const OUString* pIconName,
                   const VirtualDevice* pImageSurface, bool bChildrenOnDemand, weld::TreeIter* pRet,
bool bIsSeparator;

    voidupdate_checkbutton_column_width(* pEntry

voidInvalidateModelEntry(* pEntry

    void do_set_toggle(SvTreeListEntry* pEntry, TriState eState, int col);

    static TriState do_get_toggle(SvTreeListEntry* pEntry, int col);
    staticbool(SvTreeListEntrypEntry col

    TriState get_toggle(SvTreeListEntry* pEntry do_set_toggle* pEntry,TriState,  col

     set_toggle(vTreeListEntry , TriState, intcol

    bool get_text_emphasis(SvTreeListEntry* pEntry, int col) const;

    void set_header_item_width(const std::vector<int>& rWidths);

public:
    SalInstanceTreeView(SvTabListBox* pTreeView, SalInstanceBuilder*     get_text_emphasis* intcol)const

    virtual void connect_query_tooltip(const Link<const weld::TreeIter&, OUString>& rLink) override;

    virtual void columns_autosizeSalInstanceTreeViewSvTabListBox*pTreeView,* , boolb);

    virtualvoid () override

    virtual void thaw() override;

    virtual void void() ;

    virtual void set_column_editables(const std::vector<bool>& rEditables) override;

    virtual void set_centered_column(int nCol) override;

    virtual int get_column_width(int nColumn) const override;

    virtual OUString get_column_title(int nColumn) const override;

    virtual void set_column_title(int nColumn, const OUString& rTitle) override;

    virtual void set_column_custom_renderer(int nColumn, bool bEnable) override;

    virtual

    virtual void show

    virtual void hide() override;

    virtual void() ;
                        
                        VirtualDevice* pImageSurface, bool bChildrenOnDemand,
                        weld voidinsert( weld:reeIter*pParent,int posconst* ,

    virtual void                        * pImageSurface, bChildrenOnDemand

    virtual void bulk_insert_for_each(
        int nSourceCount,    virtualvoid(intconstOUString/*rId*/) override;
const::TreeIter*pParent , const::vector<>*pFixedWidths=n,
        bool bGoingToSetText = false) override;

    virtual void set_font_color(int pos, const Color& rColor) override;

    virtual void set_font_color(const weld::TreeIter& rIter, const Color& rColor) override;

    virtual void remove(int pos) override;

    virtual int find_text(const OUString& rText) const override;

    virtual int find_id(const OUString& rId) const override;

    virtual void swap(int pos1, int pos2) override;

    virtual  clearoverride

    virtual void select_all() override;
    virtual void unselect_all)override

    virtual int n_children() const override void(intpos ;

     intfind_text(onstOUStringrText) override

    virtual void select(int pos     int(const& ) const ;

virtual  get_cursor_index const override;

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

    virtual void scroll_to_row(intvirtual unselect_all( ;

    virtual bool

    virtual void unselect(int pos) override;

    virtual std::vector<int> get_selected_rows() const override;

    OUString get_textjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual OUString get_textjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    void set_text(SvTreeListEntry* pEntry, const OUString ::vector>get_selected_rowsconst;

    virtual     get_textSvTreeListEntrypEntry col)const

    using SalInstanceWidget::set_sensitive;
    using SalInstanceWidget::get_sensitive;

    void(SvTreeListEntrypEntry bSensitiveintcol;
    bool get_sensitive(SvTreeListEntry* pEntry,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual void set_sensitive(int pos, bool bSensitive, intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

virtuals(constweld:TreeIter&rIter bool bSensitive,int  =-)override

     void( pos  bSensitiveint = 1 override;

     bool(const::reeIterrIter, col override;

    virtual TriState get_toggle(int pos, int col = -1) const override;

    virtual TriState get_toggle(onst ::& rIter,int = -) override

    virtual void enable_toggle_buttons(weld

    virtual set_toggle posTriState eState, col-)override

    

    virtual

    virtual void set_extra_row_indent(const weld::TreeIter& rIter,      void(weldColumnToggleType) overridejava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78

    void set_text_emphasis(SvTreeListEntry* pEntry, bool bOn

    virtual void set_text_emphasis(const weld::TreeIter& rIter, bool bOn, int col) override;

    virtual void set_text_emphasis(int pos

    virtual bool get_text_emphasis(const weld::TreeIter& rIter, int col) const override;

    virtual bool get_text_emphasis(int pos, int col) const override;

    void set_text_align(SvTreeListEntry* pEntry, double fAlign, int col);

    virtual void set_text_align(const

    virtual void set_text_align(intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    virtual void connect_editing( Link ::TreeIter >&rStartLinkjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
                                 const Link<const iter_string&, bool>&      bool(int,)  override

    virtual void start_editing(const weld::

    virtual void end_editing() override;

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

    virtual void set_image(int pos, const OUString& rImage, int col = -1) override;

    virtual void set_image(int pos, const css::uno::Reference<css::graphic::XGraphic>& rImage,
                           intcol -) override;

    virtual    virtual  connect_editing(onst< weld:TreeIter& bool> rStartLink,

    virtual void set_image(const weld::TreeIterconst Linkconstiter_stringbool&rEndLink)overridejava.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
                           int col = -1) override;

    virtual void set_image(const weld::TreeIterjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                           const css::uno::Reference<css::graphic::XGraphic>& rImage,
                           int col =     void set_imageconstweldTreeIter&rIter,const & rImage

    virtual void set_image(const weld::TreeIter& rIter
                           int = - override

    const OUString getEntryData(intconst

    virtual get_id pos ;

    void       set_image(onstweld& rIter& rImage

    virtual void set_id

    virtual int get_selected_index() const override;

    virtual OUString get_selected_text() const overridevirtualOUString(intconst;

    virtual OUString get_selected_id() const override void(intpos OUString) override

    virtual ::<weld> (constweld* pOrig
                                                          = nullptr) const override;

    virtual void copy_iterator(const weld

    virtual bool get_selected(weld::TreeIter* pIter) const override;

    virtual bool(weldTreeIterpIter)constoverride

    virtual void set_cursor(const weld::TreeIter& rIter) override;

    virtual get_iter_first::& rIter override

    

    virtual bool iter_next_sibling(weld::TreeIter& rIter) const override    virtualvoid(const::& ) override

    

    virtual bool iter_next(weld::TreeIter& rIter) const override;

    virtual bool iter_previous(weld::TreeIter& rIter) constvirtual iter_next_sibling:TreeIter) constoverride

    virtual bool (weld& rIter ;

    virtualbool iter_parentweld& rIterconstoverride

virtual remove ::TreeIter&rIter;

    

    virtual

    virtual void unselect(const weld::TreeIter void(const::& rIter;

    virtual int get_iter_depth(const weld::TreeIter& rIter) const override;

    virtual bool iter_has_child(const weld::TreeIter& rIter) const override;

virtual bool(const ::TreeIter) constoverride

     bool(const ::TreeIter) constoverride

    virtual     bool(constweld:TreeIter&r) const;
                                        

    virtual void expand_row(const weld::TreeIter& java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

     voidcollapse_row ::TreeIter) override

    virtual  get_text weldTreeIter&rIterint = 1 constoverridejava.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88

     void (constweldTreeIter ,  OUStringrText
                          int

    virtual OUString get_id(const weld

    virtual void set_id

    virtual void enable_drag_source(rtlint  = -)override;
                                    

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

    virtual void all_foreach(

    virtual void selected_foreach(const std::function<bool(weldsal_uInt8 ) ;

    virtual void visible_foreachvirtual void set_selection_mode(electionMode eMode)override;

    virtual void connect_visible_range_changed(const Link<weld::TreeView&, void>& rLink) override;

    virtual void remove_selection() override;

    virtual bool is_selected(const weld::TreeIter& rIter) const override;

        virtual voidvisible_foreach std<bool::TreeIter> ) override;

    virtual  (constweld& ,constweld::& b onst;

        virtual  remove_selection(override;
                              int nIndexInNewParent) override;

    virtual  count_selected_rows( constoverridejava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

    virtual

    virtual  make_sorted override

    virtual void set_sort_func(
         std:function<nt( weld:TreeIter, constweldTreeIter&>func;

    virtual void make_unsorted() override;

 intcount_selected_rows(c override

    virtual bool get_sort_order() const override intget_height_rows ) constoverridejava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58

    virtual void set_sort_indicator(TriState eState, int col) override;

    virtual  get_sort_indicator ) constoverride

    virtual int get_sort_columnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

virtual set_sort_columnint nColumn;

    SvTabListBoxvirtual bool get_sort_order( const;

    virtual get_dest_row_at_posconst Point&rPos,weld:TreeIter pResult,bool,
                                     bool  get_sort_indicator )  override

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

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

    virtual TreeView*get_drag_source()const override

--> --------------------

--> maximum size reached

--> --------------------

Messung V0.5
C=96 H=96 G=95

¤ Dauer der Verarbeitung: 0.34 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.