/* -*- 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 .
*/
namespace com::sun::star { namespace i18n { class XCharacterClassification; }
}
class XMLTransformerContext; struct XMLTransformerActionInit; class XMLMutableAttributeList;
const sal_uInt16 INVALID_ACTIONS = 0xffff;
class XMLTransformerBase : public cppu::WeakImplHelper<css::xml::sax::XExtendedDocumentHandler,
css::lang::XServiceInfo,
css::lang::XInitialization>
{ friendclass XMLTransformerContext;
// This method is called after the namespace map has been updated, but // before a context for the current element has been pushed.
XMLTransformerContext *CreateContext( sal_uInt16 nPrefix, const OUString& rLocalName, const OUString& rQName );
/** renames the given rOutAttributeValue if one of the parameters contains a matching token in its lower 16 bits. The value is converted to the token that is given in the upper 16 bits of the matching parameter.
*/ staticbool RenameAttributeValue( OUString& rOutAttributeValue,
sal_Int32 nParam1,
sal_Int32 nParam2,
sal_Int32 nParam3 );
/** converts the '.' that separates fractions of seconds in a dateTime string into a ',' that was used in the OOo format
@param rDateTime A dateTime string that will be parsed and changed in case a match was found. @return <TRUE/> if the given string was changed
*/ staticbool ConvertRNGDateTimeToISO( OUString& rDateTime );
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.