/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * 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 . */ #ifndef INCLUDED_SW_INC_WDOCSH_HXX #define INCLUDED_SW_INC_WDOCSH_HXX #include "swdllapi.h" #include "docsh.hxx" class SW_DLLPUBLIC SwWebDocShell : public SwDocShell { sal_uInt16 m_nSourcePara; ///< Active line in source view. public: // But implement yourself. SFX_DECL_INTERFACE(SW_WEBDOCSHELL) SFX_DECL_OBJECTFACTORY(); private: /// SfxInterface initializer. static void InitInterface_Impl(); public: SwWebDocShell(); virtual ~SwWebDocShell() override; virtual void FillClass( SvGlobalName * pClassName, SotClipboardFormatId * pClipFormat, OUString * pAppName, OUString * pLongUserName, OUString * pUserName, sal_Int32 nFileFormat, bool bTemplate = false ) const override; sal_uInt16 GetSourcePara()const { return m_nSourcePara; } void SetSourcePara(sal_uInt16 nSet) { m_nSourcePara = nSet; } }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ption> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/svl/source/filerec
AgeCommit message (Expand)Author
2016-03-09loplugin:constantparam in svlNoel Grandin
2016-03-01loplugin:unuseddefaultparam in svlNoel Grandin
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-09-30Fix typosAndrea Gelmini
2015-07-06loplugin:unusedmethods svlNoel Grandin
2015-07-04Fix typosAndrea Gelmini
2015-06-30Fix typosAndrea Gelmini
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
2015-01-16remove unnecessary parenthesesNoel Grandin
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
2014-11-06coverity#1242693 Untrusted value as argumentCaolán McNamara
2014-07-25fdo#39468 Make svl/ German comment cleanPhilipp Weissenbacher
2014-06-30Translate German comments in filerec.cxx and doxygen-ify.Jeroen Nijhof
2014-04-06coverity#708246: Unitialized scalar fieldNorbert Thiebaud
2014-04-04coverity#708244 Uninitialized scalar fieldCaolán McNamara
2014-03-25Adapt to sal/log.hxxStephan Bergmann
2014-02-25svl: don't forget about big-endian parts in filerec.cxxDouglas Mencken
2014-02-19coverity#738853 Uninitialized scalar fieldCaolán McNamara
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
2014-01-28bool improvementsStephan Bergmann
2014-01-22convert more SvStream::operator<< callsNoel Grandin
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin
2013-07-17fdo#62475 removed pointless commentsJelle van der Waa
2013-03-04sal_Bool to boolTakeshi Abe