Package com.sun.star.util

Examples of com.sun.star.util.XRefreshable.refresh()


                                    " contains the sum of some random numbers.", false );

                            // Refresh the document
                            XRefreshable xRefresh = (XRefreshable) UnoRuntime.queryInterface(
                                    XRefreshable.class, mxDoc );
                            xRefresh.refresh();
                    }
            }
            catch (Exception e)
            {
                    e.printStackTrace ( System.out );
View Full Code Here


                    xChildProps.setPropertyValue( "BackColor", new Integer(13421823));

                    // Refresh the document, so the linked section matches the Child_Section
                    XRefreshable xRefresh = (XRefreshable) UnoRuntime.queryInterface(
                            XRefreshable.class, mxDoc );
                    xRefresh.refresh();
            }
            catch (Exception e)
            {
                    e.printStackTrace ( System.out );
            }
View Full Code Here

    public void refreshTables()
    {
        final XTablesSupplier suppTables = UnoRuntime.queryInterface(XTablesSupplier.class, m_connection);
        final XRefreshable refresh = UnoRuntime.queryInterface( XRefreshable.class, suppTables.getTables() );
        refresh.refresh();
    }

    public XSingleSelectQueryComposer createSingleSelectQueryComposer() throws Exception
    {
        final XMultiServiceFactory connectionFactory = UnoRuntime.queryInterface( XMultiServiceFactory.class, m_connection );
View Full Code Here

  }

    protected void refreshDocument(XComponent document) {
    XRefreshable refreshable = (XRefreshable) UnoRuntime.queryInterface(XRefreshable.class, document);
    if (refreshable != null) {
      refreshable.refresh();
    }
  }

  protected static PropertyValue property(String name, Object value) {
      PropertyValue property = new PropertyValue();
View Full Code Here

    }

    public void refreshTextFields()
    {
        XRefreshable xUp = (XRefreshable) UnoRuntime.queryInterface(XRefreshable.class, xTextFieldsSupplier.getTextFields());
        xUp.refresh();
    }

    public String getUserFieldContent(XTextCursor xTextCursor)
    {
        try
View Full Code Here

  }

    protected void refreshDocument(XComponent document) {
    XRefreshable refreshable = (XRefreshable) UnoRuntime.queryInterface(XRefreshable.class, document);
    if (refreshable != null) {
      refreshable.refresh();
    }
  }

  protected static PropertyValue property(String name, Object value) {
      PropertyValue property = new PropertyValue();
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.