/* -*- 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 .
*/
SwDoc & m_rDoc;
SwPaM * m_pCurrentPaM; bool m_bDeleteRepeated; /// has a delete action been repeated?
};
} // namespace sw
class SwUndoFormatColl final : public SwUndo, private SwUndRng
{
UIName maFormatName;
std::unique_ptr<SwHistory> mpHistory; // for correct <ReDo(..)> and <Repeat(..)> // boolean, which indicates that the attributes are reset at the nodes // before the format has been applied. constbool mbReset; // boolean, which indicates that the list attributes had been reset at // the nodes before the format has been applied. constbool mbResetListAttrs;
@return the shortened string
*/
OUString
ShortenString(const OUString & rStr, sal_Int32 nLength, std::u16string_view aFillStr); /** Denotes special characters in a string.
The rStr is split into parts containing special characters and parts not containing special characters. In a part containing special characters all characters are equal. These parts are maximal.
@param aStr the string to denote in @param bQuoted add quotation marks to the text
The resulting string is generated by concatenating the found parts. The parts without special characters are surrounded by "'". The parts containing special characters are denoted as "n x", where n is the length of the part and x is the representation of the special character (i. e. "tab(s)").
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.