/* -*- 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
virtual std::unique_ptr<weld::MessageDialog> weld_message_dialog(const OUString& java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
std:<weldEntryTreeViewjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
weld_scrolled_window(const OUString& id, boolconst & treeviewid);
class VCL_DLLPUBLIC SalInstanceWidget : publicvirtual weld::Widget
{ protected:
VclPtr<vcl
std::unique_ptrSalInstanceWidget(vclWindowpWidget* pBuilder bTakeOwnership
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
constbool 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 filtervoid ( ; // 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
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 forvoid(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;
class SalInstanceDialog : public SalInstanceWindow, publicvirtual 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
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
WeldTextFilter SalInstanceEntry:publicSalInstanceWidgetpublicvirtual 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
// SpinButton may be comprised of multiple subwidgets, consider the lot as // one thing for focus virtualbool
//off by default for direct SpinButtons, MetricSpinButton enables it void();
virtualunsignedint 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 : publicboolhas_focus)const;
{ protected: // owner for ListBox/ComboBox UserData SetUseThousandSep
std::vector<std::shared_ptr<OUStringvirtualunsigned get_digits
VclPtr<vcl_type> m_xComboBox;
ScopedVclPtr<MenuButton> m_xMenuButton;
OUString m_sMenuButtonRow;
const OUString* stdvector::<OUString m_aUserDatajava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
{ returnstatic_cast<const OUString*>(m_xComboBox->GetEntryData(index));
}
// ComboBoxes are comprised of multiple subwidgets, consider the lot as // one thing for focus virtualbool 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
for (int i = 0
{ const OUString* pId = getEntryData(i); if (!pId)
if (*pId == rStr)
m_xComboBox->SelectEntryPos()
}
}
virtualvoid 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);
}
virtualint 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
}
virtualbool get_popup_shown() const overridejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
virtualvoid 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();
}
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;
}
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
}
get_menu_button_widthconsto
{ ifOutputDevicepDefaultApplicationGetDefaultDevicejava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
|| rEvent.GetId() == VclEventId::DropdownClose)
{
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
}
virtualvoid 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)
}
// SalInstanceWidget has a generic listener for all these // events, ignore the ones we have specializations for // in VclDrawingArea virtualvoid HandleEventListener(VclWindowEvent& rEvent
class SalInstanceToolbar : public SalInstanceWidget, publicvirtual 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);
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);
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
} virtualbool 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
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
virtualvoid set_sensitive(int pos, bool bSensitive, intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtualvoid set_extra_row_indent(const weld::TreeIter& rIter, void(weldColumnToggleType) overridejava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
virtualvoid set_text_emphasis(const weld::TreeIter& rIter, bool bOn, int col) override;
virtualvoid set_text_emphasis(int pos
virtualbool get_text_emphasis(const weld::TreeIter& rIter, int col) const override;
virtualbool get_text_emphasis(int pos, int col) const override;
void set_text_align(SvTreeListEntry* pEntry, double fAlign, int col);
virtualvoid set_text_align(const
virtualvoid set_text_align(intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtualvoid connect_editing( Link ::TreeIter >&rStartLinkjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85 const Link<const iter_string&, bool>& bool(int,) override
virtualvoid start_editing(const weld::
virtualvoid end_editing() override;
voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtualvoid set_image(int pos, const OUString& rImage, int col = -1) override;
virtualvoid set_image(const weld::TreeIterconst Linkconstiter_stringbool&rEndLink)overridejava.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90 int col = -1) override;
virtualvoid 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
virtualvoid set_image(const weld::TreeIter& rIter int = - override
virtualbool get_sort_order() const override intget_height_rows ) constoverridejava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
virtualvoid set_sort_indicator(TriState eState, int col) override;
virtual get_sort_indicator ) constoverride
virtualint get_sort_columnjava.lang.StringIndexOutOfBoundsException: Index 0 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.