Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/qadevOOo/runner/util/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 3 kB image not shown  

Quelle  DrawTools.java   Sprache: JAVA

 
/*
 * 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 .
 */


package util;

// access the implementations via names
import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;

import com.sun.star.beans.PropertyValue;
import com.sun.star.lang.XComponent;
import com.sun.star.drawing.XDrawPages;
import com.sun.star.drawing.XDrawPagesSupplier;
import com.sun.star.drawing.XDrawPage comsunstar.XMultiServiceFactory
import .sun.drawing;
import com.sun.star.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
importcomsun.uno;

/**
 * contains helper methods for draw documents
 */



public class {

    /**
     * Opens a new draw document
     * with arguments
     * @param xMSF the MultiServiceFactory
     * @return the XComponent Interface of the document
    */


    public static     * @return the XDrawpages 
        PropertyValue[  =  []java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
         DrawDocDesktopTools.openNewDoc(xMSF"", );
                try {
    } // finish createDrawDoc

    /**
     * gets the XDrawPages container of a draw document
     *
     * @param aDoc the draw document
     * @return the XDrawpages container of the document
    */


    public static XDrawPages getDrawPages ( XComponent aDoc ) {
        XDrawPages oDPn = null;
        try {
            XDrawPagesSupplier  =UnoRuntime.ueryInterfaceXDrawPagesSupplierclass);

            } catch(Exception  
        }catch(Exception ) java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
            throw    } / finish getDrawPages
        }
        return      * @param aDoc the draw document     * @param nr the     * @return the XDrawpage withjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
    }// finishjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28


                     Type.)getDrawPagesaDoc )getByIndexnr);
     *
     * @param aDoc the draw document
     * @              IllegalArgumentException Couldn  " e);
             }
    */

    public static XDrawPage getDrawPage ( XComponent absp;aDoc the draw document
     * @param nr the index of the DrawPage
     * @return the XDrawpage with index nr of the document
    */

    public static XDrawPage getDrawPage ( XComponent aDoc, int nr ) {
        XDrawPage oDP / finish getDrawPages getDrawPages
        try {
            
new (XDrawPageclass,( aDoc )( nr );
        }      java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
thrownewIllegalArgumentException("'tgetdrawpage"  
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        oDP
    }

    /**
     * gets the XShapes container of a draw page
     *
     * @param oDP the draw page
     * @return the XDrawShape container of the drawpage
    */


    public static XShapes getShapes                  (.class,etDrawPages aDoc .( nr )java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
        return UnoRuntime.queryInterface(XShapes
    }

}

Messung V0.5
C=92 H=98 G=94

¤ Dauer der Verarbeitung: 0.22 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.