2000-09-18 16:15:01 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 10:07:23 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:07:23 +00:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:07:23 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:07:23 +00:00
|
|
|
* $RCSfile: flypos.hxx,v $
|
|
|
|
* $Revision: 1.5 $
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:07:23 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:07:23 +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.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:07:23 +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).
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 10:07:23 +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.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef _FLYPOS_HXX
|
|
|
|
#define _FLYPOS_HXX
|
|
|
|
|
|
|
|
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/svarray.hxx>
|
2009-01-05 14:06:42 +00:00
|
|
|
#include <swdllapi.h>
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
class SwFrmFmt;
|
|
|
|
class SwNodeIndex;
|
|
|
|
|
|
|
|
// Struktur zum Erfragen der akt. freifliegenden Rahmen am Dokument.
|
2009-01-05 14:06:42 +00:00
|
|
|
class SW_DLLPUBLIC SwPosFlyFrm
|
2000-09-18 16:15:01 +00:00
|
|
|
{
|
|
|
|
const SwFrmFmt* pFrmFmt; // das FlyFrmFmt
|
|
|
|
// SwPosition* pPos; // Position in den ContentNode
|
|
|
|
SwNodeIndex* pNdIdx; // es reicht ein Index auf den Node
|
|
|
|
UINT32 nOrdNum;
|
|
|
|
public:
|
|
|
|
SwPosFlyFrm( const SwNodeIndex& , const SwFrmFmt*, USHORT nArrPos );
|
|
|
|
virtual ~SwPosFlyFrm(); // virtual fuer die Writer (DLL !!)
|
|
|
|
|
|
|
|
// operatoren fuer das Sort-Array
|
|
|
|
BOOL operator==( const SwPosFlyFrm& );
|
|
|
|
BOOL operator<( const SwPosFlyFrm& );
|
|
|
|
|
|
|
|
const SwFrmFmt& GetFmt() const { return *pFrmFmt; }
|
|
|
|
const SwNodeIndex& GetNdIndex() const { return *pNdIdx; }
|
|
|
|
UINT32 GetOrdNum() const { return nOrdNum; }
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef SwPosFlyFrm* SwPosFlyFrmPtr;
|
2009-01-05 14:06:42 +00:00
|
|
|
SV_DECL_PTRARR_SORT_VISIBILITY( SwPosFlyFrms, SwPosFlyFrmPtr, 0, 40, SW_DLLPUBLIC )
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2003-10-06 13:31:00 +00:00
|
|
|
#endif // _FLYPOS_HXX
|