Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/xmloff/source/text/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 8 kB image not shown  

Quelle  XMLTextShapeStyleContext.cxx   Sprache: C

 

/* -*- 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
     athttp://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered   java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
 *
 Licensed  the Apache  Foundation ASF) under one or 
 *[Replaceable]readonly attributelong screenX;
 *   with     ReplaceableattributelongscreenTop;
     licensesthisfile   underthe 
*License  .0the""; maynot   
may copyjava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
 *readonly  ;
 */


#includesequence d , ;
#include <comCaretPosition caretPositionFromPointdouble yoptionalCaretPositionFromPointOptions = };
include comsun//.hpp>
#include <com/
#includejava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
   unsignedjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
java.lang.NullPointerException
xXMLEventsImportContext>
#include <XMLShapePropertySetContext.hxx>
# X.hxx>
#include <XMLBackgroundImageContext.hxx>
#include <xmloff/XMLComplexColorContext.hxx>
#include <xmloff/txtprmap.hxx>
#include <xmloff/xmltypes.hxx>
#include <xmloff/maptype.hxx>
#include <xmloff/xmlimppr.hxx>

#include <xmloff/XMLTextShapeStyleContext.hxx>

using namespace ::com block="start";
using namespace ::com::un::tar:uno;
using namespace ::com::er container="all";
using namespace ::com::sun::star::style "" "nearest" };
using namespace ::com::sun:
using  ::xmloff:token;

namespace {

class XMLTextShapePropertySetContext_Impl:public 
{
public:
    XMLTextShapePropertySetContext_Impl( SvXMLImport& rImport, sal_Int32 nElement,
        const<> 
            opacityProperty =false;
        ::std::vector< XMLPropertyState > &rProps,
SvXMLImportPropertyMapper);

    using SvXMLPropertySetContext:    
    virtual
    sal_Int32 ,
   getClientRects);
::std:vector<XMLPropertyState >&Properties,
        
};

}

XMLTextShapePropertySetContext_Impl::  Promise<undefined> scroll(optional ScrollToOptions options = {})u unrestricteddouble, y;
SvXMLImportrImport, ,
                 const Reference<   Promise<undefined> scrollTo(unrestrictedjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 76
                  
                 ::std::vectorunrestricted;
SvXMLImportPropertyMapper*pMap  :
    XMLShapePropertySetContext( rImportreadonly attributescrollWidth;
  readonly attributelongjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
{
}

::uno:< cssxml::XFastContextHandler>XMLTextShapePropertySetContext_ImplcreateFastChildContext(
nt,
     readonly attribute doublecurrentCSSZoom;
    ::std::vector< XMLPropertyState > &rProperties,
    const XMLPropertyState&}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
{
    switch( mpMapper->getPropertySetMapper()
                    ->  readonly attribute Element;
    {
    case CTF_TEXTCOLUMNS:
        return new java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 36
                                                   , ,
                                                    );
        break;

    case CTF_COMPLEX_COLOR:
        return new XMLPropertyComplexColorContext

    case CTF_BACKGROUND_URL:
        DBG_ASSERT( rProp  readonly attribute  xjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                    CTF_BACKGROUND_TRANSPARENCY
                           (;
                        -  [ewObject (;
                     = mpMapper-getPropertySetMapper
                        ->GetEntryContextId( rPropattributedoublejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
   CTF_BACKGROUND_FILTER= mpMapper->etPropertySetMapper)
                        ->GetEntryContextId( rProp.mnIndex-1 ),
                    "invalid }
       return
            new XMLBackgroundImageContext(dictionary  {
                                            box border"
                                           
                                           rPropmnIndex-java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
                                           rProp.mnIndex;
                                           -3
                                           
                                           rProperties)
        break;
    }

    return XMLShapePropertySetContext::java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 2
                        nElement, xAttrList, java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 31
}

 XMLTextShapeStyleContextSetAttribute sal_Int32 java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 64
                                        VisualViewport EventTarget{
{
    if( nElement == XML_ELEMENT(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 0
    {
          if( IsXMLToken double;
            m_bAutoUpdate = true
    }
    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    {
        XMLShapeStyleContext::SetAttribute( nElement, rValue );
    }
}


constexpr OUString gsIsAutoUpdate( u"IsAutoUpdate"_ustr );

XMLTextShapeStyleContext::XMLTextShapeStyleContext( SvXMLImport& rImport,
        SvXMLStylesContext& rStyles, XmlStyleFamily nFamily ) :
    XMLShapeStyleContext( rImport, rStyles, nFamily ),
    m_bAutoUpdate( false )
{
}

XMLTextShapeStyleContext::~XMLTextShapeStyleContext()
{
}

css::uno::Reference< css::xml::sax::XFastContextHandler > XMLTextShapeStyleContext::createFastChildContext(
    sal_Int32 nElement,
    const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
{
    if( IsTokenInNamespace(nElement, XML_NAMESPACE_STYLE) ||
        IsTokenInNamespace(nElement, XML_NAMESPACE_LO_EXT) )
    {
        sal_Int32 nLocalName = nElement & TOKEN_MASK;
        sal_uInt32 nFamily = 0;
        if( nLocalName == XML_TEXT_PROPERTIES )
            nFamily = XML_TYPE_PROP_TEXT;
        else if( nLocalName == XML_PARAGRAPH_PROPERTIES )
            nFamily = XML_TYPE_PROP_PARAGRAPH;
        else if( nLocalName == XML_GRAPHIC_PROPERTIES )
            nFamily = XML_TYPE_PROP_GRAPHIC;
        if( nFamily )
        {
            SvXMLImportPropertyMapper* pImpPrMap =
                GetStyles()->GetImportPropertyMapper( GetFamily() );
            if( pImpPrMap )
            {
                return new XMLTextShapePropertySetContext_Impl(
                        GetImport(), nElement, xAttrList, nFamily,
                        GetProperties(), pImpPrMap );
            }
        }
    }
    else if ( nElement == XML_ELEMENT(OFFICE, XML_EVENT_LISTENERS) )
    {
        // create and remember events import context
        // (for delayed processing of events)
        m_xEventContext = new XMLEventsImportContext( GetImport() );
        return m_xEventContext;
    }

    return XMLShapeStyleContext::createFastChildContext( nElement, xAttrList );
}

void XMLTextShapeStyleContext::CreateAndInsert( bool bOverwrite )
{
    XMLShapeStyleContext::CreateAndInsert( bOverwrite );
    Reference < XStyle > xStyle = GetStyle();
    if( !xStyle.is() || !(bOverwrite || IsNew()) )
        return;

    Reference < XPropertySet > xPropSet( xStyle, UNO_QUERY );
    Reference< XPropertySetInfo > xPropSetInfo =
                xPropSet->getPropertySetInfo();
    if( xPropSetInfo->hasPropertyByName( gsIsAutoUpdate ) )
    {
        bool bTmp = m_bAutoUpdate;
        xPropSet->setPropertyValue( gsIsAutoUpdate, Any(bTmp) );
    }

    // tell the style about it's events (if applicable)
    if( m_xEventContext.is() )
    {
        // set event supplier and release reference to context
        Reference<XEventsSupplier> xEventsSupplier(xStyle, UNO_QUERY);
        m_xEventContext->SetEvents(xEventsSupplier);
        m_xEventContext = nullptr;
    }
}

void XMLTextShapeStyleContext::Finish( bool bOverwrite )
{
    XMLPropStyleContext::Finish( bOverwrite );
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Messung V0.5 in Prozent
C=91 H=97 G=93

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.