/* -*- 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 .
*/
/** For now this method assumes that nTab1 == nTab2 * The algorithm will be much more complicated if nTab1 != nTab2
*/ bool DeleteArea( SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2,
SCROW nRow2, SCTAB nTab2 );
// For use in SAL_DEBUG etc. Output format not guaranteed to be stable. template<typename charT, typename traits> inline std::basic_ostream<charT, traits> & operator <<(std::basic_ostream<charT, traits> & stream, const ScRangeList& rRangeList)
{
stream << "("; for (size_t i = 0; i < rRangeList.size(); ++i)
{ if (i > 0)
stream << ",";
stream << rRangeList[i];
}
stream << ")";
return stream;
}
// RangePairList: // aRange[0]: actual range, // aRange[1]: data for that range, e.g. Rows belonging to a ColName class SC_DLLPUBLIC ScRangePairList final : public SvRefBase
{ public: virtual ~ScRangePairList() override;
ScRangePairList* Clone() const; void Append( const ScRangePair& rRangePair )
{
maPairs.push_back( rRangePair );
} void Join( const ScRangePair&, bool bIsInList = false ); void UpdateReference( UpdateRefMode, const ScDocument&, const ScRange& rWhere,
SCCOL nDx, SCROW nDy, SCTAB nDz ); void DeleteOnTab( SCTAB nTab );
ScRangePair* Find( const ScAddress& );
ScRangePair* Find( const ScRange& );
std::vector<const ScRangePair*>
CreateNameSortedArray( ScDocument& ) const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.