KOffice – TDE office suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.5KB

  1. /* This file is part of the KDE project
  2. Copyright 2002 Laurent Montel <montel@kde.org>
  3. Copyright 2002 John Dailey <dailey@vt.edu>
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Library General Public
  6. License as published by the Free Software Foundation; either
  7. version 2 of the License, or (at your option) any later version.
  8. This library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Library General Public License for more details.
  12. You should have received a copy of the GNU Library General Public License
  13. along with this library; see the file COPYING.LIB. If not, write to
  14. the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  15. * Boston, MA 02110-1301, USA.
  16. */
  17. #include "KSpreadLayoutIface.h"
  18. #include "KSpreadRowIface.h"
  19. #include "kspread_format.h"
  20. #include <tqbrush.h>
  21. using namespace KSpread;
  22. RowIface::RowIface(RowFormat *_lay)
  23. :LayoutIface(_lay)
  24. {
  25. m_rowLayout=_lay;
  26. }
  27. void RowIface::update()
  28. {
  29. //todo
  30. }
  31. int RowIface::row()
  32. {
  33. return m_rowLayout->row();
  34. }
  35. void RowIface::setHide(bool _hide)
  36. {
  37. m_rowLayout->setHide(_hide);
  38. }
  39. bool RowIface::isHide()const
  40. {
  41. return m_rowLayout->isHide();
  42. }
  43. void RowIface::setHeight( int _h )
  44. {
  45. m_rowLayout->setHeight(_h);
  46. }
  47. int RowIface::height()
  48. {
  49. return m_rowLayout->height();
  50. }