/* -*- 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_TXTFLCNT_HXX #define INCLUDED_SW_INC_TXTFLCNT_HXX #include class SwFlyInContentFrame; class SwFrame; class SwTextNode; class SwDoc; // Attribute for line-bound frames (without end index). class SwTextFlyCnt : public SwTextAttr { SwFlyInContentFrame *_GetFlyFrame( const SwFrame *pCurrFrame ); public: SwTextFlyCnt( SwFormatFlyCnt& rAttr, sal_Int32 nStart ); // Sets anchor in pFormat and void SetAnchor( const SwTextNode *pNode ); inline SwFlyInContentFrame *GetFlyFrame( const SwFrame *pCurrFrame ); inline const SwFlyInContentFrame *GetFlyFrame( const SwFrame *pCurrFrame ) const; // creates for itself a new FlyFrameFormat. void CopyFlyFormat( SwDoc* pDoc ); }; inline SwFlyInContentFrame *SwTextFlyCnt::GetFlyFrame( const SwFrame *pCurrFrame ) { return _GetFlyFrame( pCurrFrame ); } inline const SwFlyInContentFrame *SwTextFlyCnt::GetFlyFrame( const SwFrame *pCurrFrame ) const { return (const_cast(this))->_GetFlyFrame( pCurrFrame ); } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ reoffice-6-4'>distro/cib/libreoffice-6-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-01-20Some more loplugin:cstylecast: testtoolsStephan Bergmann
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
2014-12-18testtools: Use appropriate OUString functions on string constantsStephan Bergmann
2014-12-16testtools: Use appropriate OUString functions on string constantsStephan Bergmann
2014-12-12testtools: Use appropriate OUString functions on string constantsStephan Bergmann
2014-12-11java: reduce visibility of fields and methodsNoel Grandin
2014-12-05java: remove some unused fieldsNoel Grandin
2014-11-27Remove dead dmake makefile.mkStephan Bergmann
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
2014-10-16java: when rethrowing, store the original exceptionNoel Grandin
2014-10-07java: remove unnecessary adding of empty stringsNoel Grandin
2014-09-18Use instsetoo_native-generated uno ini-file for both instdir and instsetsStephan Bergmann
2014-09-16Missing dependency on uno ini-fileStephan Bergmann
2014-08-20remove more unnecessary constructor declarationsNoel Grandin
2014-08-20java: don't catch and then just rethrow an exceptionNoel Grandin
2014-08-19java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
2014-08-14java: remove commented out codeNoel Grandin
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
2014-08-08java: use an empty block rather than an empty statementNoel Grandin
2014-08-08java: remove unused variablesNoel Grandin
2014-08-05java: remove commented out codeNoel Grandin
2014-06-05various: remove SAL_THROW macroNoel Grandin
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
2014-05-08various: sal_Bool->boolNoel Grandin
2014-04-28prefer makefile-gmake-modeTakeshi Abe
2014-04-09Clean up function declarationsStephan Bergmann
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
2014-03-29typo: inteface -> interfaceThomas Arnhold
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
2014-03-10testtools: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
2014-02-27normalize values of CROSS_COMPILINGMichael Stahl
2014-02-27Remove visual noise from testtoolsAlexander Wilms
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
2014-02-23Remove unneccessary commentsAlexander Wilms
2014-02-10Typo: execption -> exceptionJulien Nabet
2014-02-04gbuild: component files for Jars in NONE layer and move testComponentMichael Stahl
2014-01-28bool improvementsStephan Bergmann
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
2013-12-16Clean-up uno/lbnames.hStephan Bergmann
2013-12-04Revert "throw new ..." fix in Managed C++ codeStephan Bergmann
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin
2013-11-19-Werror,-Wunused-variableStephan Bergmann
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann