/************************************************************************* * * $RCSfile: fmtftn.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 17:14:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * - GNU Lesser General Public License Version 2.1 * - Sun Industry Standards Source License Version 1.1 * * Sun Microsystems Inc., October, 2000 * * GNU Lesser General Public License Version 2.1 * ============================================= * Copyright 2000 by Sun Microsystems, Inc. * 901 San Antonio Road, Palo Alto, CA 94303, USA * * 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. * * 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. * * 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 * * * Sun Industry Standards Source License Version 1.1 * ================================================= * The contents of this file are subject to the Sun Industry Standards * Source License Version 1.1 (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.openoffice.org/license.html. * * Software provided under this License is provided on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. * See the License for the specific provisions governing your rights and * obligations concerning the Software. * * The Initial Developer of the Original Code is: Sun Microsystems, Inc. * * Copyright: 2000 by Sun Microsystems, Inc. * * All Rights Reserved. * * Contributor(s): _______________________________________ * * ************************************************************************/ #ifndef _FMTFTN_HXX #define _FMTFTN_HXX #ifndef _STRING_HXX //autogen #include #endif #ifndef _SFXPOOLITEM_HXX //autogen #include #endif class SwDoc; // ATT_FTN ********************************************************** class SwFmtFtn: public SfxPoolItem { friend class SwTxtFtn; SwTxtFtn* pTxtAttr; //mein TextAttribut String aNumber; //Benutzerdefinierte 'Nummer' USHORT nNumber; //Automatische Nummerierung BOOL bEndNote; //Ist es eine Endnote? // geschuetzter CopyCtor SwFmtFtn& operator=(const SwFmtFtn& rFtn); SwFmtFtn( const SwFmtFtn& ); public: SwFmtFtn( BOOL bEndNote = FALSE ); ~SwFmtFtn(); // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxPoolItem* Create(SvStream &, USHORT nVer) const; virtual SvStream& Store(SvStream &, USHORT nIVer) const; virtual USHORT GetVersion( USHORT nFFVer ) const; const String &GetNumStr() const { return aNumber; } const USHORT &GetNumber() const { return nNumber; } BOOL IsEndNote() const { return bEndNote;} void SetNumStr( const String& rStr ) { aNumber = rStr; } void SetNumber( USHORT nNo ) { nNumber = nNo; } void SetEndNote( BOOL b ); void SetNumber( const SwFmtFtn& rFtn ) { nNumber = rFtn.nNumber; aNumber = rFtn.aNumber; } const SwTxtFtn *GetTxtFtn() const { return pTxtAttr; } SwTxtFtn *GetTxtFtn() { return pTxtAttr; } void GetFtnText( String& rStr ) const; // returnt den anzuzeigenden String der Fuss-/Endnote String GetViewNumStr( const SwDoc& rDoc, BOOL bInclStrs = FALSE ) const; }; #endif /libreoffice-7-6+backports'>distro/collabora/libreoffice-7-6+backports LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2016-03-10Avoid reserved identifierStephan Bergmann
2016-03-10Avoid reserved identifiersStephan Bergmann
2016-03-04-Werror,-WundefStephan Bergmann
2016-03-04-Werror,-Wunused-macrosStephan Bergmann
2016-02-23new loplugin: commaoperatorNoel Grandin
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
2016-02-16use consistent #define checks for the Windows platformNoel Grandin
2016-01-26-Werror,-Wunused-parameter (clang-cl)Stephan Bergmann
2016-01-10Fix typosAndrea Gelmini
2015-11-23loplugin:unusedfields in soltools/Noel Grandin
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-02loplugin:unusedmethodsNoel Grandin
2015-09-30Fix typosAndrea Gelmini
2015-07-04Fix typosAndrea Gelmini
2015-06-16-fsanitize=nonnull-attributeStephan Bergmann
2015-04-02loplugin:staticmethodsNoel Grandin
2015-03-02V804: Decreased performanceCaolán McNamara
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
2014-12-09warning C4267: conversion from 'size_t' to 'int' (MSVC 64-bit)Stephan Bergmann
2014-12-09warning C4267: conversion from 'size_t' to 'int' (MSVC 64-bit)Stephan Bergmann
2014-11-06coverity#1000834 Use of untrusted string valueCaolán McNamara
2014-10-28coverity#982185 silence Unchecked return value from libraryCaolán McNamara
2014-10-04coverity#706158 Copy into fixed size bufferNorbert Thiebaud
2014-10-02coverity#1233618 Overlapping buffer in memory copyCaolán McNamara
2014-09-04coverity#1019334 Explicit null dereferencedCaolán McNamara
2014-06-24mkdepend: cleanup indentation and function declarationsNoel Grandin
2014-06-24remove use of register keyword in C filesNoel Grandin
2014-06-17-Wstrict-prototypesStephan Bergmann
2014-05-30coverity#705235 Missing break in switchCaolán McNamara
2014-05-30coverity#705236 Missing break in switchCaolán McNamara
2014-05-30coverity#705237 Missing break in switchCaolán McNamara
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin
2014-05-24coverity#982647 Missing break in switchCaolán McNamara
2014-05-22Fix some memory leak in soltools/cpp toolStephan Bergmann
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
2014-04-10Clean up function declarationStephan Bergmann
2014-04-04Move prototype to includeStephan Bergmann
2014-03-31Typo #elsif -> #elifStephan Bergmann
2013-11-17WaE: 'PATH_MAX' : macro redefinitionTor Lillqvist
2013-11-16Fix for VS 2013 compilationJesús Corrius
2013-08-30WaE: size_t/unsigned int: possible loss of dataTor Lillqvist
2013-08-22left shift of 1 by 31 places cannot be represented in type 'int'Stephan Bergmann
2013-08-21We don't seem to actually need glibc getoptTor Lillqvist
2013-07-14Mark as constTakeshi Abe
2013-05-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl
2013-04-24error: too many arguments in call to 'pr_dummy' [-Werror]Stephan Bergmann
2013-04-24gbuild: get rid of processdeps.awkMichael Stahl