/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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
virtual::unique_ptr<::MenuToggleButtonjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
weld_menu_toggle_button(const OUString{
stdunique_ptr::> weld_calendar& id;
{
:
VclPtr<PopupMenu>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
private: bool m_bTakeOwnership;
sal_uInt16 ;
weld_metric_spin_button& , eUnit;
public:
SalInstanceMenu(PopupMenu* pMenu, bool (constOUString);
OUString(weldWidget*pParentconsttools:RectanglerRect
weld virtual weld_entry_tree_view(onst OUString&containerid,constOUString, virtual get_sensitive OUString& ) constoverride virtualvoid set_active(const OUString& rIdent, bool bActive) override; bool(const OUStringrIdent)constoverride virtualvoid set_label(const OUString& rIdentjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 virtualjava.lang.StringIndexOutOfBoundsException: Range [11, 5) out of bounds for length 81 virtual set_visibleOUString, bool ) override virtualvoid clear() override virtual insert(nt, OUString const & , const OUString* pIconName, VirtualDevice* pImageSurface
::uno:Reference::::XGraphicrImage
java.lang.StringIndexOutOfBoundsException: Range [70, 60) out of bounds for length 60 virtualvoid insert_separator(int pos, const OUString& rId
String&rHelpId)override virtualvoid remove(const OUString& virtualOUStringget_id ) constoverride; virtualint n_children()
* getMenu)const virtual ~SalInstanceMenu
};
class SalFlashAttention;
class VCL_DLLPUBLIC SalInstanceWidget
{ protected:
VclPtr<::Window;
std:: ~() override;
SalInstanceBuilder*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
private:
(EventListenerVclWindowEventvoid)
DECL_LINK, &, bool m_bTakeOwnershipjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
DECL_LINK(MouseEventListener
DECL_LINK(SettingsChangedHdlSalInstanceMenu* pMenu bool bTakeOwnership
DECL_LINK, ::Window& );
// we want the ability to mark key events as handled, so use this variant // for those, we get all keystrokes in this case, so we will need to filter // them later void ensure_key_listenerconst OUString*
// 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
ensure_mouse_listener(;
virtualvoid HandleEventListener( * ()const virtualbool HandleKeyEventListener virtualvoid java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SalInstanceLabel public , virtual::Label
{ private: // Control instead of FixedText so we can also use this for <VirtualDevicecreate_virtual_device( override
// // [G|S]etText which exists in their shared baseclass
VclPtr> m_xLabel;
virtualvoidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtualvoid set_font(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtualvoid set_font_color(const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}virtualvoid drawOutputDevice rOutput,const & , const Size&rSizePixel ;
class SalInstanceContainer : public }
{
VclPtrvcl:Window>m_xContainer
public:
SalInstanceContainer(::* pContainer,SalInstanceBuilder*pBuilder, bool bTakeOwnership); virtual HandleEventListener& rEvent; virtualvoid connect_container_focus_changed(const Link<Container&, void/java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77 virtualvoid child_grab_focus
SalInstanceLabelControl*pLabel,SalInstanceBuilder*pBuilderbool bTakeOwnership; virtual css::uno virtual set_labelconstOUString) override
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
class SalInstanceWindow :
{ private:
VclPtr::Window>m_xWindow;
DECL_LINK(HelpHdl, vcl::Window&, bool);
void override_child_help(vcl::Windowjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
void clear_child_help(vcl::Window* pParent)java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
virtual window_move x, y overridejava.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
virtual Size get_size() const override;
virtual get_positionconst;
virtual void implResetDefault:WindowpWindow
virtualbool get_resizable() const override;
virtualbool has_toplevel_focus() const override;
virtualvoid present() override;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtualbool is_default_widget(const weld::Widget* pCandidatejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
void(const & rStroverride;
virtual OUString get_window_state(vcl::WindowDataMask nMask) const override;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
class SalInstanceDialog : public SalInstanceWindow,
{ 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
virtualvoid set_default_response(int nResponse) class SalInstanceAssistant public, public weldjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
class SalInstanceAssistant : public SalInstanceDialog, publicvirtual ::<VclPtr<VclGrid>> m_aAddedGrids;
{ protected:
VclPtr<vcljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:
std
std:vector<clPtrTabPage ;
std:vectorint ;
std::vector<VclPtr<VclGrid>> java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 7
IdleboolbTakeOwnership
find_page(tdu16string_view rIdent; int find_id(int nId) const;
comprisedof multiple subwidgets onsider lot // one thing for focus virtual has_focus( override
//off by default for direct SpinButtons, MetricSpinButton enables it void();
virtualint() 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 const sal_Int32 nRet =m_xComboBox-GetSelectedEntryPos classSalInstanceComboBox public, virtual::ComboBox
{ protected:
/owner for/ComboBoxjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
::<stdshared_ptr>> m_aUserData;
VclPtr<vcl_type> m_xComboBox;
ScopedVclPtr<MenuButton> m_xMenuButtonjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
OUString m_sMenuButtonRow;
public:
SalInstanceComboBox(vcl_type* pComboBox, SalInstanceBuilder
: SalInstanceWidget(pComboBox, pBuilder, bTakeOwnership) // one thing for focus
, m_xComboBox)
{
}
virtualint get_active() const override ||( & (>HasFocus |m_xMenuButton->())java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
{ const sal_Int32 ifnRet= LISTBOX_ENTRY_NOTFOUND) return -1; return nRet;
}
// ComboBoxes are comprised of multiple subwidgets, consider the lot as = nullptr // one thing for focus bool() override
{ return m_xWidget->HasChildPathFocus()
|| (m_xMenuButton && (m_xMenuButton->}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual OUString get_active_id()
sal_Int32 nPos = m_xComboBox->GetSelectedEntryPos( java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 const OUString* pRet; if (nPos != LISTBOX_ENTRY_NOTFOUND
pRetm_xComboBox->SelectEntryPos() else
pRetjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 if (!pRet) return{ return *pRet;
}
virtualvoid set_active_id(const OUString& rStr) override
{ for (int i = 0; i < get_count(); ++i)
{ const OUString* pId = >SetNoSelection if; continue; if (*pId == rStr)
m_xComboBox->SelectEntryPos(i);
}
}
virtualvoid set_active(int pos) override
{
assert(_ComboBox->sUpdateMode(
&& dont when thawNotedoesn" "survive a " "freeze");
pos 1)
{
m_xComboBox->SetNoSelection();
;
}
m_xComboBox->SelectEntryPos(pos);
}
OUString (int) {returnm_xComboBox-GetEntry);}
virtual OUString get_id(int pos) const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 const freeze); if !) return OUString();
*;
}
virtual set_id , const& rId
{
m_aUserDataemplace_back::make_unique<>(rId)
m_xComboBox->SetEntryData( java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
virtualvirtualint get_count( constoverride returnm_xComboBox->etEntryCount;} bool bKeepExisting) override
{
freeze(); if (!bKeepExistingconst sal_Int32 =m_xComboBox-(rStr
(; for (const -1
{
(-1 rItem, .sId() nullptr&.sId
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
thaw();
}
intfind_idconstOUString rStrconst override
{ for (int i = 0; i < get_count(); ++i) void()
{ const OUString m_aUserData.(); if (!pIdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 continue; if (*pId == rStr) return i;
} return -1;
}
m_xMenuButton->SetPopupMenu(pPopup, false);
m_xMenuButton->Show
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
virtualvoid
{
disable_notify_events();
m_xToggleButton->Check(active
enable_notify_eventsjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
}
virtual OUString get_uri() const override { return OUString()constoverride{returnm_xButton-();java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
class SalInstanceDrawingArea : public SalInstanceWidget, publicvirtual weld::DrawingArea
{
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 8
VclPtr<VclDrawingArea> m_xDrawingArea;
// SalInstanceWidget has a generic listener for all these // events, ignore the ones we have specializations for // in VclDrawingArea virtualvoid HandleEventListener(VclWindowEvent& rEvent) override;
virtualvoid set_item_image_mirrored(const OUString& rIdentconst css:no:Reference<ss:graphic:XGraphic> ) overridejava.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
struct SalInstanceTreeIter final : public weld::TreeIter
{
SalInstanceTreeIter SalInstanceTreeIter*pOrig
: iter(pOrig ? pOrig-{
{
}
SalInstanceTreeIter(SvTreeListEntry* pIter)
: iter(pIter {
{
} virtualbool equal(const TreeIter& rOther) const override
{ return iter == static_cast<const SalInstanceTreeIter&>(rOther::java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
}
SvTreeListEntry* iter;
;
class SalInstanceTreeView : public SalInstanceWidget, m_aCheckButtonData
{ protected: // owner for UserData
std::vector<std::unique_ptr<OUString>> m_aUserData;
VclPtr<SvTabListBox> m_xTreeView;
SvLBoxButtonData m_aCheckButtonData;
SvLBoxButtonData m_aRadioButtonData; // 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, SvTreeListBox,void;
DECL_LINK, SvTreeListBox);
DECL_LINK(DoubleClickHdl, SvTreeListBox*, bool);
DECL_LINK(ExpandingHdl, SvTreeListBox*, bool);
DECL_LINK(EndDragHdl, HeaderBar*, void);
DECL_LINK, HeaderBarvoid
DECL_LINK(ToggleHdl, , SvTreeListEntry, );
DECL_LINK(ModelChangedHdl, SvTreeListBox*, void);
DECL_LINK(StartDragHdl, SvTreeListBox*, bool);
(SalInstanceTreeViewFinishDragHdlSvTreeListBoxvoidjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
DECL_LINK(EditingEntryHdl, SvTreeListEntry*, bool);
DECL_LINK(EditedEntryHdl, const IterString&, bool);
DECL_LINK(VisibleRangeChangedHdl, SvTreeListBox*, void);
DECL_LINK(CompareHdl, const SvSortData&, sal_Int32);
DECL_LINK(PopupMenuHdl, const CommandEvent&, bool);
(TooltipHdlSvTreeListEntry OUString)
DECL_LINK(CustomRenderHdl, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
DECL_LINK(CustomMeasureHdl, svtree_measure_args, Size);
bool
// 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 intto_internal_model(nt col)const
int to_external_model(int col) const;
bool IsDummyEntry(SvTreeListEntry voidset_font_color(SvTreeListEntry*, Color& Color
using SalInstanceWidget::set_sensitive; using SalInstanceWidget::get_sensitive;
void et_sensitive weld:TreeIter&rIter,bool bSensitive,int col 1 ;
virtual set_sensitiveintpos,bool, col-)override;
virtualvoid set_sensitivevirtual get_sensitive weld:& rIter,int) constoverridejava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
virtualvoid set_text_align(const weld::TreeIter&java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 40
virtualvoid set_text_align(int = -) override
virtualvoidconnect_editing( Linkconst weld:TreeIter, bool> rStartLinkjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
Link< &, > rEndLink override;
virtualvoidremove_selection( overridejava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
virtualintcount_selected_rows) override;
virtualint
virtualint iter_compare(const weld::TreeIter& a, const weldvirtualvoid();
virtualvoid move_subtree(weld::TreeIter& rNode, const weld::TreeIterconststd:function<ntconstweld:TreeIter& ::TreeIter&& ) override
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
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.