2002-02-06 14:50:40 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* $RCSfile: pgrditem.hxx,v $
|
|
|
|
* $Revision: 1.6 $
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
2008-04-10 17:54:28 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2002-02-06 14:50:40 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef _SVX_PGRDITEM_HXX
|
|
|
|
#define _SVX_PGRDITEM_HXX
|
|
|
|
|
|
|
|
// include ---------------------------------------------------------------
|
|
|
|
|
|
|
|
#include <svtools/eitem.hxx>
|
2005-01-21 14:07:06 +00:00
|
|
|
#include "svx/svxdllapi.h"
|
|
|
|
|
2002-02-06 14:50:40 +00:00
|
|
|
// class SvxParaGridItem -------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
[Beschreibung]
|
|
|
|
Paragraph snap to grid
|
|
|
|
*/
|
|
|
|
|
2005-01-21 14:07:06 +00:00
|
|
|
class SVX_DLLPUBLIC SvxParaGridItem : public SfxBoolItem
|
2002-02-06 14:50:40 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
TYPEINFO();
|
|
|
|
|
2007-05-10 13:20:54 +00:00
|
|
|
SvxParaGridItem( const BOOL bSnapToGrid /*= TRUE*/,
|
|
|
|
const USHORT nId );
|
2002-02-06 14:50:40 +00:00
|
|
|
|
|
|
|
// "pure virtual Methoden" vom SfxPoolItem
|
|
|
|
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
|
|
|
|
virtual SfxPoolItem* Create(SvStream &, USHORT) const;
|
|
|
|
virtual USHORT GetVersion( USHORT nFileVersion ) const;
|
|
|
|
|
|
|
|
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
|
|
|
|
SfxMapUnit eCoreMetric,
|
|
|
|
SfxMapUnit ePresMetric,
|
|
|
|
String &rText, const IntlWrapper * = 0 ) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|