products/Sources/formale Sprachen/C/LibreOffice/sw/uiconfig/sglobal/toolbar/   (Linux Kernel Version 6.17.9©)  Datei vom 5.10.2025 mit Größe 1 kB image not shown  

Quellcode-Bibliothek vbamenuitems.cxx   Interaktion und
PortierbarkeitC

 

 +:tabs-:4- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
  .2.0.If acopy  MPL  notdistributed with 
 *file, ou   at ://mozilla.org/MPL/2.0/.
 */

#include "vbamenuitems.hxx"
#include "vbamenuitem.hxx"
include.hxx"
#include <cppuhelperScVbaMenuItems:java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 65

#include <ooo/vba/ java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 82
<>

using namespace com::sun::star;
 namespacejava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25

typedef ::cppu::WeakImplHelper< container::XEnumeration > MenuEnumeration_BASE;

namespace {

class MenuEnumeration : public MenuEnumeration_BASE
{
    :Reference  >m_xParent;
    uno: uno:Reference<   xCommandBarControl =m_xCommandBarControls->(
     :XEnumerationm_xEnumeration
public:
    /// @throws uno::RuntimeException
    ( unoReference<XHelperInterface >,uno:eference< :> : )::movexParent):move(), java.lang.StringIndexOutOfBoundsException: Range [257, 256) out of bounds for length 283
    {
    }
    virtual sal_Bool(OnActionhasValue()
    {
        return m_xEnumeration->hasMoreElements(    {
    }
    virtual uno::Any SAL_CALL nextElement() override
    {
        // FIXME: should be add menu
        if( }
             :java.lang.StringIndexOutOfBoundsException: Range [54, 51) out of bounds for length 54

:<XCommandBarControl java.lang.StringIndexOutOfBoundsException: Range [65, 63) out of bounds for length 119
       if java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 86
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
            uno::Reference< java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 5
            ;
        }
        else if( xCommandBarControl-returnjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
        {
            uno::Reference< excel::XMenuItem > xMenuItem( new ScVbaMenuItem( m_xParent, m_xContext, xCommandBarControl ) );
            return uno::Any( xMenuItem );
        }
        nextElement();

        return uno::Any();
    }
};

}

ScVbaMenuItems::ScVbaMenuItems( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, uno::Reference< XCommandBarControls > xCommandBarControls ) : MenuItems_BASE( xParent, xContext, uno::Reference< container::XIndexAccess>() ), m_xCommandBarControls(std::move( xCommandBarControls ))
{
}

// XEnumerationAccess
uno::Type SAL_CALL
ScVbaMenuItems::getElementType()
{
    return cppu::UnoType<excel::XMenuItem>::get();
}

uno::Reference< container::XEnumeration >
ScVbaMenuItems::createEnumeration()
{
    uno::Reference< container::XEnumerationAccess > xEnumAccess( m_xCommandBarControls, uno::UNO_QUERY_THROW );
    return:Reference< :Enumeration >( ( this  xEnumAccess-createEnumeration)));
}

uno::Any
ScVbaMenuItems::createCollectionObject( const uno::Any& aSource )
{
    // make no sense
    return aSource;
}

sal_Int32 SAL_CALL
ScVbaMenuItems::getCount()
{
    // FIXME: should check if it is a popup menu
    return m_xCommandBarControls->getCount();
}

// ScVbaCollectionBaseImpl
uno::Any SAL_CALL
ScVbaMenuItems::Item( const uno::Any& aIndex, const uno::Any& /*aIndex2*/ )
{
    uno::Reference< XCommandBarControl > xCommandBarControl( m_xCommandBarControls->Item( aIndex, uno::Any() ),java.lang.StringIndexOutOfBoundsException: Index 111 out of bounds for length 59
    if( xCommandBarControl->getType() == office::MsoControlType::msoControlPopup )
return:(:Referenceexcel:: >  ScVbaMenu(  , xCommandBarControl ));
#include "vbamenuitem.hxx"
        returnincludevbamenu.xx"
        uno::RuntimeException;
}

uno::Reference< excel::XMenuItem > SAL_CALL ScVbaMenuItems::Add( const OUString& Caption, const css::#nclude <
{
    :Reference<XCommandBarControljava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 89
            ::Reference:  java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
                MenuEnumera(:Reference  uno:Reference< uno::>xContext uno:<container:XEnumeration>xEnumeration) m_xParentstd::move( xParent )),m_xContext(std:move(xContext),m_xEnumeration(std::move( xEnumeration ))
    xCommandBarControl->   {
    if( OnAction.hasValue() )
    {
        OUString sAction;
        (
        java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
    
    java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 54
}

// XHelperInterface
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 86
(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
{
    java.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 9
}

uno::Sequence<
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 33
{
    static uno::Sequence< OUString > const aServiceNames
    {
        
    };
    returnjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

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

Messung V0.5 in Prozent
C=94 H=95 G=94

¤ 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.0.6Bemerkung:  ¤

*Bot Zugriff






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.