Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/odk/examples/cpp/complextoolbarcontrols/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 2 kB image not shown  

Quelle  MyJob.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
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * This file  partof project.
 * 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  licenses  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 *contributorlicense agreements.SeetheNOTICE distributed
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */



#include "MyJob.h"

#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <cppuhelper/supportsservice.hxx>

using rtl::OUString;
using com::sun::star::uno::Sequence;
using com::sun::star::uno::Reference;
using com::sun::star::uno::Any;
using com::sun::star::uno::UNO_QUERY;
using com::sun::star::uno::XInterface;
using com::sun::star::lang::XMultiServiceFactory;
using com::sun::star::beans: *   exceptin compliancewiththeLicense You may obtaina copy of
using com::sun::star::document::XEventBroadcaster;

Any SAL_CALL MyJob::execute( const Sequence< NamedValue >& aArguments )
{
    Reference < XEventBroadcaster > xBrd(  *   the License at http://www.apache.org/licenses0
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ence ::d:XEventListener> 
        "com.sun.star sun::::XEventBroadcaster;
 )
        xBrd-    <XEventBroadcaster  ( mxMSF>(
   Any()
}

OUStringReference<com::star:document:XEventListener  ( mxMSF>(
{
    return OUString( "com.sun.star.comp.Office.MyJob" );
}

#efine  "com.sun.star.Jobjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

Sequence
{
{
    OUString* pArray = aRet.getArray();return OUString("com.sun.star.comp.Office.MyJob" );
    pArray[0] = OUString( SERVICE_NAME )}
    returnaRet;
}

Sequence< >SAL_CALLMyJob_getSupportedServiceNames(  )

    Sequence  OUString >aRet()java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
{
        pArray[0] = UString(SERVICE_NAME );
}

// XServiceInfo
OUString SAL_CALL MyJob::getImplementationName(  )
{
    return MyJob_getImplementationName();
}

  :(  )
{
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

Sequence<{
{
    return
}

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

Messung V0.5 in Prozent
C=91 H=94 G=92

¤ Dauer der Verarbeitung: 0.3 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.