/* -*- 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_TXTFTN_HXX #define INCLUDED_SW_INC_TXTFTN_HXX #include namespace rtl { class OUString; } class SwNodeIndex; class SwTextNode; class SwNodes; class SwDoc; class SwFrm; class SW_DLLPUBLIC SwTextFootnote : public SwTextAttr { SwNodeIndex * m_pStartNode; SwTextNode * m_pTextNode; sal_uInt16 m_nSeqNo; public: SwTextFootnote( SwFormatFootnote& rAttr, sal_Int32 nStart ); virtual ~SwTextFootnote(); inline SwNodeIndex *GetStartNode() const { return m_pStartNode; } void SetStartNode( const SwNodeIndex *pNode, bool bDelNodes = true ); void SetNumber( const sal_uInt16 nNumber, const OUString &sNumStr ); void CopyFootnote(SwTextFootnote & rDest, SwTextNode & rDestNode) const; // Get and set TextNode pointer. inline const SwTextNode& GetTextNode() const; void ChgTextNode( SwTextNode* pNew ) { m_pTextNode = pNew; } // Create a new empty TextSection for this footnote. void MakeNewTextSection( SwNodes& rNodes ); // Delete the FootnoteFrame from page. void DelFrms( const SwFrm* ); // Check conditional paragraph styles. void CheckCondColl(); // For references to footnotes. sal_uInt16 SetSeqRefNo(); void SetSeqNo( sal_uInt16 n ) { m_nSeqNo = n; } // For Readers. sal_uInt16 GetSeqRefNo() const { return m_nSeqNo; } static void SetUniqueSeqRefNo( SwDoc& rDoc ); }; inline const SwTextNode& SwTextFootnote::GetTextNode() const { assert( m_pTextNode ); return *m_pTextNode; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ n value='distro/collabora/co-23.05'>distro/collabora/co-23.05 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Expand)Author
2019-04-13loplugin:sequentialassign in editeng..extensionsNoel Grandin
2019-04-10tdf#42949 Fix IWYU warnings in include/vclGabor Kelemen
2019-04-08tdf#42949 Fix IWYU warnings in include/sfx2/[t-z]*Gabor Kelemen
2019-04-04weld ClassificationDialogCaolán McNamara
2019-04-04LOK logic is good for non-lok hereCaolán McNamara
2019-04-04this line is equivalent to InvalidateAtWindowCaolán McNamara
2019-04-02tdf#108423 autocorrect English word i' -> I’László Németh
2019-04-01tdf#120703 PVS: Silence V522 warningsMike Kaganski
2019-03-31tdf#120703 PVS: remove redundant static castsMike Kaganski
2019-03-28loplugin:useuniqueptr in ImpEditEngine::WriteItemListAsRTFNoel Grandin
2019-03-25tdf#42949 Fix IWYU warnings in include/sfx2/[a-D]*Gabor Kelemen
2019-03-07tdf#121686: fix assert in SvxAutoCorrect::FnChgToEnEmDash (editeng)Julien Nabet
2019-03-07log nice exception messages whereever possibleNoel Grandin
2019-03-06loplugin:unnecessaryparen improve member expressionNoel Grandin
2019-03-05re-land "new loplugin typedefparam""Noel Grandin
2019-03-04simplify UNO getTypes methodsNoel Grandin
2019-02-28use the xmlTextWriterPtr typedef consistentlyNoel Grandin
2019-02-27loplugin:unusedfields look for classes where we can make all the..Noel Grandin
2019-02-25-Werror,-Wunused-private-fieldStephan Bergmann
2019-02-23loplugin:unusedfields in editengNoel Grandin
2019-02-21weld HangulHanjaConversionDialogCaolán McNamara
2019-02-20drop unused argumentCaolán McNamara
2019-02-20Simplify containers iterations in desktop, dtrans, editeng, extensionsArkadiy Illarionov
2019-02-19Simplify ranges overlapping conditionArkadiy Illarionov
2019-02-13Pointer is pointlessNoel Grandin
2019-02-12sw btlr writing mode: implement UNO APIMiklos Vajna
2019-02-12sw btlr wrting mode: implement document modelMiklos Vajna
2019-02-08loplugin:indentation in editeng..extensionsNoel Grandin
2019-01-29Add comments to autocorrect functionsIlmari Lauhakangas
2019-01-22tdf#42949 Fix IWYU warnings in include/xmloff/*Gabor Kelemen
2019-01-21o3tl::make_unique -> std::make_unique in dbaccess...frameworkGabor Kelemen
2019-01-17Check OS_FOR_BUILD for behavior of sed executed during buildStephan Bergmann
2019-01-17Non-standard sed -i option is different on macOS than with GNU sedStephan Bergmann
2019-01-11Drop o3tl/clamp.hxx, use C++17 std::clamp insteadStephan Bergmann
2019-01-11Replace OUStringBuffer::appendCopy with append(std::u16string_view)Stephan Bergmann