Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


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 * This se, v. 2.0. If a copy of * file, You can obtain one at http://mozilla.org/MPL/2.0/. * This file incorporates work covered by *   Licensed to the Apache Software Foundation (ASF *   contributor license agreements. See the *   with this work for additional *   ownership. The ASF licenses this  *   License, Version 2.0 (the " * except in compliance with the License. * the License at http://www.apache.org/licenses/LICENSE-2.0 .

// access the implementations via names
importcom.un..lang;
import com.importcom.star.XShapes

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;
import com.sun.star.drawing.XShapes;
import com.sun.star.uno.AnyConverter;
import com.sun.star.uno.Type;

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



public class DrawTools {

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


    public static XComponent createDrawDoc( XMultiServiceFactory xMSF ) {
        PropertyValue[] Args = new ..star.Type
public  DrawTools
        return DrawDoc
    } // 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        PropertyValue]Args newPropertyValue0;
        XDrawPages oDPnXComponent = DesktopTools.openNewDoc  , sdraw Args);
java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 13
            XDrawPagesSupplieroDPS UnoRuntime.(XDrawPagesSupplier.,aDoc

            
        }  ( e ){
            throw new    e){
        }
        return oDPn;
    }/java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28

    /**
     * gets the specified XDrawPage of a draw document
     *
     * @param 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.5 Sekunden  ¤

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






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge