Files
libreoffice/sw/inc/wdocsh.hxx

76 lines
2.4 KiB
C++
Raw Normal View History

2000-09-18 16:15:01 +00:00
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 16:15:01 +00:00
*
* $RCSfile: wdocsh.hxx,v $
2000-09-18 16:15:01 +00:00
*
* $Revision: 1.8 $
2000-09-18 16:15:01 +00:00
*
* last change: $Author: rt $ $Date: 2005-12-14 14:47:26 $
2000-09-18 16:15:01 +00:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2000-09-18 16:15:01 +00:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2000-09-18 16:15:01 +00:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
2000-09-18 16:15:01 +00:00
*
* This library 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 for more details.
2000-09-18 16:15:01 +00:00
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
2000-09-18 16:15:01 +00:00
*
************************************************************************/
#ifndef _SWWDOCSH_HXX
#define _SWWDOCSH_HXX
#ifndef INCLUDED_SWDLLAPI_H
#include "swdllapi.h"
#endif
#ifndef _SWDOCSH_HXX
2000-09-18 16:15:01 +00:00
#include "docsh.hxx"
#endif
2000-09-18 16:15:01 +00:00
#ifndef SW_SWDLL_HXX
#include <swdll.hxx>
#endif
class SW_DLLPUBLIC SwWebDocShell: public SwDocShell
2000-09-18 16:15:01 +00:00
{
USHORT nSourcePara; // aktive Zeile in der SourceView
public:
// aber selbst implementieren
SFX_DECL_INTERFACE(SW_WEBDOCSHELL);
SFX_DECL_OBJECTFACTORY();
2000-09-18 16:15:01 +00:00
TYPEINFO();
SwWebDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED);
~SwWebDocShell();
virtual void FillClass( SvGlobalName * pClassName,
sal_uInt32 * pClipFormat,
2000-09-18 16:15:01 +00:00
String * pAppName,
String * pLongUserName,
String * pUserName,
sal_Int32 nFileFormat ) const;
2000-09-18 16:15:01 +00:00
USHORT GetSourcePara()const
{return nSourcePara;}
void SetSourcePara(USHORT nSet)
{nSourcePara = nSet;}
};
#endif