274#define WB_RANGESELECT (WinBits(0x00200000))
275#define WB_MULTISELECT (WinBits(0x00400000))
276#define WB_MINSCROLL (WinBits(0x20000000))
277#define WB_INSERTTAB (WinBits(0x40000000))
278#define WB_STDTABBAR WB_BORDER
294#define TPB_DISPLAY_NAME_ALLFLAGS (TabBarPageBits::Blue | TabBarPageBits::Italic | TabBarPageBits::Underline)
352 SVT_DLLPRIVATE void ImplInitSettings(
bool bFont,
bool bBackground );
355 Color& rSelectColor,
Color& rSelectTextColor);
378 virtual void AddTabClick();
379 OUString GetAuxiliaryText(sal_uInt16 nPageId)
const;
380 void SetAuxiliaryText(sal_uInt16 nPageId,
const OUString& rText );
388 virtual void dispose()
override;
394 virtual void Resize()
override;
401 virtual void DoubleClick();
403 virtual void ActivatePage();
404 virtual bool DeactivatePage();
405 virtual bool StartRenaming();
407 virtual void EndRenaming();
410 virtual void InsertPage( sal_uInt16 nPageId,
const OUString& rText,
413 void RemovePage( sal_uInt16 nPageId );
414 void MovePage( sal_uInt16 nPageId, sal_uInt16 nNewPos );
416 Color GetTabBgColor( sal_uInt16 nPageId )
const;
417 void SetTabBgColor( sal_uInt16 nPageId,
const Color& aTabBgColor );
421 bool IsPageEnabled( sal_uInt16 nPageId )
const;
426 sal_uInt16 GetPageCount()
const;
427 sal_uInt16 GetPageId( sal_uInt16 nPos )
const;
428 sal_uInt16 GetPagePos( sal_uInt16 nPageId )
const;
430 sal_uInt16 GetPageId(
const Point& rPos )
const;
438 void SetFirstPageId( sal_uInt16 nPageId );
439 void MakeVisible( sal_uInt16 nPageId );
441 void SelectPage( sal_uInt16 nPageId,
bool bSelect );
442 sal_uInt16 GetSelectPageCount()
const;
443 bool IsPageSelected( sal_uInt16 nPageId )
const;
444 void SetProtectionSymbol( sal_uInt16 nPageId,
bool bProtection );
449 bool StartEditMode( sal_uInt16 nPageId );
450 void EndEditMode(
bool bCancel =
false );
453 bool IsInEditMode()
const;
469 void SetEffectiveRTL(
bool bRTL );
471 bool IsEffectiveRTL()
const;
474 sal_uInt16 ShowDropPos(
const Point& rPos );
476 void SwitchPage(
const Point& rPos );
477 void EndSwitchPage();
479 virtual void SetPageText( sal_uInt16 nPageId,
const OUString& rText );
480 OUString GetPageText( sal_uInt16 nPageId )
const;
493 void SetScrollAlwaysEnabled(
bool bScrollAlwaysEnabled);
495 Size CalcWindowSizePixel()
const;
500 void SetAddButtonEnabled(
bool bAddButtonEnabled);
503 virtual css::uno::Reference<css::accessibility::XAccessible>
CreateAccessible()
override;
sal_uInt16 GetEditPageId() const
static const sal_uInt16 PAGE_NOT_FOUND
sal_uInt16 GetCurPagePos() const
std::unique_ptr< TabBar_Impl > mpImpl
void SetSelectHdl(const Link< TabBar *, void > &rLink)
tools::Long GetSplitSize() const
bool IsMirrored() const
Returns true, if the control is set to mirrored mode (see SetMirrored()).
DECL_DLLPRIVATE_LINK(ContextMenuHdl, const CommandEvent &, void)
DECL_DLLPRIVATE_LINK(MousePressHdl, const MouseEvent &, bool)
void SetEditText(const OUString &rText)
bool mbScrollAlwaysEnabled
const OUString & GetEditText() const
void SetScrollAreaContextHdl(const Link< const CommandEvent &, void > &rLink)
tools::Long mnCurMaxWidth
DECL_DLLPRIVATE_LINK(ImplClickHdl, weld::Button &, void)
Link< TabBar *, void > maSelectHdl
bool IsEditModeCanceled() const
Link< const CommandEvent &, void > maScrollAreaContextHdl
DECL_DLLPRIVATE_LINK(ImplAddClickHandler, weld::Button &, void)
void SetSplitHdl(const Link< TabBar *, void > &rLink)
sal_uInt16 GetCurPageId() const
static const sal_uInt16 APPEND
Link< TabBar *, void > maSplitHdl
tools::Long mnMaxPageWidth
virtual void dispose() override
void SetStyle(WinBits nStyle)
virtual void RequestHelp(const HelpEvent &rHEvt)
virtual void StateChanged(StateChangedType nStateChange)
void SetHelpText(const OUString &rHelpText)
virtual void MouseButtonDown(const MouseEvent &rMEvt)
virtual void MouseButtonUp(const MouseEvent &rMEvt)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
const OUString & GetHelpId() const
virtual bool PreNotify(NotifyEvent &rNEvt)
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()
virtual void MouseMove(const MouseEvent &rMEvt)
virtual void DataChanged(const DataChangedEvent &rDCEvt)
SAL_DLLPRIVATE void ImplInit(vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
const OUString & GetHelpText() const
void SetHelpId(const OUString &)
virtual void SetCurPageId(const OUString &rName) override
void Clear(EHistoryType eHistory)
TabBarAllowRenamingReturnCode