Examples of XPresentationSupplier


Examples of com.sun.star.presentation.XPresentationSupplier

        return document;
      }
      return null;
    } else if (xServiceInfo
        .supportsService("com.sun.star.presentation.PresentationDocument")) {
      XPresentationSupplier presentationSupplier = (XPresentationSupplier) UnoRuntime
          .queryInterface(XPresentationSupplier.class, xComponent);
      if (presentationSupplier != null) {
        PresentationDocument document = new PresentationDocument(
            presentationSupplier, intitialProperties);
        document.setServiceProvider(serviceProvider);
View Full Code Here

Examples of com.sun.star.presentation.XPresentationSupplier

        return document;
      }
      return null;
    }
    else if (xServiceInfo.supportsService("com.sun.star.presentation.PresentationDocument")) {
      XPresentationSupplier presentationSupplier = (XPresentationSupplier) UnoRuntime.queryInterface(XPresentationSupplier.class,
          xComponent);
      if (presentationSupplier != null) {
        PresentationDocument document = new PresentationDocument(presentationSupplier,
            intitialProperties);
        document.setServiceProvider(serviceProvider);
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

   
   
    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


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

   
   
    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

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