2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2011-03-31 10:05:04 +02:00
|
|
|
/*
|
|
|
|
* 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 .
|
|
|
|
*/
|
2013-11-05 02:17:53 +01:00
|
|
|
#ifndef INCLUDED_SW_INC_WDOCSH_HXX
|
|
|
|
#define INCLUDED_SW_INC_WDOCSH_HXX
|
2004-08-23 07:42:42 +00:00
|
|
|
#include "swdllapi.h"
|
2000-09-18 16:15:01 +00:00
|
|
|
#include "docsh.hxx"
|
|
|
|
|
2015-03-30 22:21:02 +02:00
|
|
|
class SW_DLLPUBLIC SwWebDocShell : public SwDocShell
|
2000-09-18 16:15:01 +00:00
|
|
|
{
|
2015-03-30 22:21:02 +02:00
|
|
|
sal_uInt16 m_nSourcePara; ///< Active line in source view.
|
2007-10-22 14:09:39 +00:00
|
|
|
|
2000-09-18 16:15:01 +00:00
|
|
|
public:
|
2011-04-18 23:11:33 +02:00
|
|
|
// But implement yourself.
|
2007-09-27 07:17:54 +00:00
|
|
|
SFX_DECL_INTERFACE(SW_WEBDOCSHELL)
|
2004-10-04 18:01:20 +00:00
|
|
|
SFX_DECL_OBJECTFACTORY();
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2014-04-18 18:04:32 +02:00
|
|
|
private:
|
|
|
|
/// SfxInterface initializer.
|
|
|
|
static void InitInterface_Impl();
|
|
|
|
|
|
|
|
public:
|
2016-09-08 09:23:17 +02:00
|
|
|
SwWebDocShell();
|
2016-09-13 13:09:01 +02:00
|
|
|
virtual ~SwWebDocShell() override;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
virtual void FillClass( SvGlobalName * pClassName,
|
2015-03-12 14:53:28 +02:00
|
|
|
SotClipboardFormatId * pClipFormat,
|
2013-03-05 10:35:52 +01:00
|
|
|
OUString * pAppName,
|
|
|
|
OUString * pLongUserName,
|
|
|
|
OUString * pUserName,
|
2008-12-12 12:52:51 +00:00
|
|
|
sal_Int32 nFileFormat,
|
2015-10-12 16:04:04 +02:00
|
|
|
bool bTemplate = false ) const override;
|
2015-03-30 22:21:02 +02:00
|
|
|
sal_uInt16 GetSourcePara()const { return m_nSourcePara; }
|
|
|
|
void SetSourcePara(sal_uInt16 nSet) { m_nSourcePara = nSet; }
|
2000-09-18 16:15:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|