Examples of XPresentationSupplier


Examples of com.sun.star.presentation.XPresentationSupplier

        // creation of testobject here
        // first we write what we are intend to do to log file
        log.println( "creating a test environment" );

        log.println( "get presentation" );
        XPresentationSupplier oPS = (XPresentationSupplier)
            UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
        XInterface oObj = oPS.getPresentation();

        log.println( "get custom presentation" );
        XCustomPresentationSupplier oCPS = (XCustomPresentationSupplier)
            UnoRuntime.queryInterface(
                XCustomPresentationSupplier.class, xImpressDoc);
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

   
   
    private void fillImpressDocWithContent(XComponent xImpressDoc){
       
        log.println( "get presentation" );
        XPresentationSupplier oPS = (XPresentationSupplier)
            UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
        XInterface oObj = oPS.getPresentation();

        log.println( "get custom presentation" );
        XCustomPresentationSupplier oCPS = (XCustomPresentationSupplier)
            UnoRuntime.queryInterface(
                XCustomPresentationSupplier.class, xImpressDoc);
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

        // creation of testobject here
        // first we write what we are intend to do to log file
        log.println( "creating a test environment" );

        log.println( "get presentation" );
        XPresentationSupplier oPS = (XPresentationSupplier)
            UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
        XInterface oObj = oPS.getPresentation();

        log.println( "get custom presentation" );
        XCustomPresentationSupplier oCPS = (XCustomPresentationSupplier)
            UnoRuntime.queryInterface(
                XCustomPresentationSupplier.class, xImpressDoc);
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

   
   
    private void fillImpressDocWithContent(XComponent xImpressDoc){
       
        log.println( "get presentation" );
        XPresentationSupplier oPS = (XPresentationSupplier)
            UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
        XInterface oObj = oPS.getPresentation();

        log.println( "get custom presentation" );
        XCustomPresentationSupplier oCPS = (XCustomPresentationSupplier)
            UnoRuntime.queryInterface(
                XCustomPresentationSupplier.class, xImpressDoc);
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier


      /* start an endless presentation which is displayed in
         full-screen mode and placed on top */

      XPresentationSupplier xPresSupplier = (XPresentationSupplier)
        UnoRuntime.queryInterface( XPresentationSupplier.class, xDrawDoc );
      XPresentation xPresentation = xPresSupplier.getPresentation();
      XPropertySet xPresPropSet = (XPropertySet)
        UnoRuntime.queryInterface( XPropertySet.class, xPresentation );
      xPresPropSet.setPropertyValue( "IsEndless", new Boolean( true ) );
      xPresPropSet.setPropertyValue( "IsAlwaysOnTop", new Boolean( true ) );
      xPresPropSet.setPropertyValue( "Pause", new Integer( 0 ) );
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

      xNameContainer.insertByName( "LongVersion", xContainer );

      /* which custom show is to use
         can been set in the presentation settings */

      XPresentationSupplier xPresSupplier = (XPresentationSupplier)
        UnoRuntime.queryInterface( XPresentationSupplier.class, xDrawDoc );
      XPresentation xPresentation = xPresSupplier.getPresentation();
      XPropertySet xPresPropSet = (XPropertySet)
        UnoRuntime.queryInterface( XPropertySet.class, xPresentation );
      xPresPropSet.setPropertyValue( "CustomShow", "ShortVersion" );
    }
    catch( Exception ex )
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier


      /* start an endless presentation which is displayed in
         full-screen mode and placed on top */

      XPresentationSupplier xPresSupplier = (XPresentationSupplier)
        UnoRuntime.queryInterface( XPresentationSupplier.class, xDrawDoc );
      XPresentation xPresentation = xPresSupplier.getPresentation();
      XPropertySet xPresPropSet = (XPropertySet)
        UnoRuntime.queryInterface( XPropertySet.class, xPresentation );
      xPresPropSet.setPropertyValue( "IsEndless", new Boolean( true ) );
      xPresPropSet.setPropertyValue( "IsAlwaysOnTop", new Boolean( true ) );
      xPresPropSet.setPropertyValue( "Pause", new Integer( 0 ) );
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

        // creation of testobject here
        // first we write what we are intend to do to log file
        log.println( "creating a test environment" );

        log.println( "get presentation" );
        XPresentationSupplier oPS = (XPresentationSupplier)
            UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
        XInterface oObj = oPS.getPresentation();

        log.println( "get custom presentation" );
        XCustomPresentationSupplier oCPS = (XCustomPresentationSupplier)
            UnoRuntime.queryInterface(
                XCustomPresentationSupplier.class, xImpressDoc);
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

      xNameContainer.insertByName( "LongVersion", xContainer );

      /* which custom show is to use
         can been set in the presentation settings */

      XPresentationSupplier xPresSupplier = (XPresentationSupplier)
        UnoRuntime.queryInterface( XPresentationSupplier.class, xDrawDoc );
      XPresentation xPresentation = xPresSupplier.getPresentation();
      XPropertySet xPresPropSet = (XPropertySet)
        UnoRuntime.queryInterface( XPropertySet.class, xPresentation );
      xPresPropSet.setPropertyValue( "CustomShow", "ShortVersion" );
    }
    catch( Exception ex )
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

   
   
    private void fillImpressDocWithContent(XComponent xImpressDoc){
       
        log.println( "get presentation" );
        XPresentationSupplier oPS = (XPresentationSupplier)
            UnoRuntime.queryInterface(XPresentationSupplier.class, xImpressDoc);
        XInterface oObj = oPS.getPresentation();

        log.println( "get custom presentation" );
        XCustomPresentationSupplier oCPS = (XCustomPresentationSupplier)
            UnoRuntime.queryInterface(
                XCustomPresentationSupplier.class, xImpressDoc);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.