/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#pragma once
#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS) #error"don't use this in new code" #endif
// class SvHeaderTabListBox ---------------------------------------------------
class HeaderBar; namespace vcl { struct SvHeaderTabListBoxImpl;
} class AccessibleBrowseBoxHeaderCell;
class UNLESS_MERGELIBS_MORE(VCL_DLLPUBLIC) SvHeaderTabListBox final : public SvTabListBox, public vcl::IAccessibleTableProvider
{ private: bool m_bFirstPaint;
VclPtr<HeaderBar> m_xHeaderBar;
rtl::Reference<AccessibleTabListBox> m_xAccessible;
std::vector<rtl::Reference<AccessibleBrowseBoxHeaderCell>> m_aAccessibleChildren;
/** @return The count of the rows. */ virtual sal_Int32 GetRowCount() const override; /** @return The count of the columns. */ virtual sal_uInt16 GetColumnCount() const override;
/** @return The position of the current row. */ virtual sal_Int32 GetCurrRow() const override; /** @return The position of the current column. */ virtual sal_uInt16 GetCurrColumn() const override;
/** @return The description of a row.
@param _nRow The row which description is in demand. */ virtual OUString GetRowDescription( sal_Int32 _nRow ) const override; /** @return The description of a column.
@param _nColumn The column which description is in demand. */ virtual OUString GetColumnDescription( sal_uInt16 _nColumn ) const override;
/** @return <TRUE/>, if the object has a row header. */ virtualbool HasRowHeader() const override; //GetColumnId /** @return <TRUE/>, if the object can focus a cell. */ virtualbool GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumn ) override;
//the default NotifyStartDrag is weird to me, and defaults to enabling all //possibilities when drag starts, while restricting it to some subset of //the configured drag drop mode would make more sense to me, but I'm not //going to change the baseclass virtual DragDropMode NotifyStartDrag() override { return GetDragDropMode(); }
¤ 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.0.1Bemerkung:
(vorverarbeitet)
¤
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.