Package com.sun.star.beans

Examples of com.sun.star.beans.NamedValue


       
        super.m_ObjectName = "stardiv.one.form.component.CurrencyField";

        super.m_kindOfControl="CurrencyField";
       
        NamedValue myProp = new NamedValue();
        myProp.Name = "DataField";
        myProp.Value = "Identifier";
        super.m_propertiesToSet.add(myProp);

        super.m_ChangePropertyName = "Value";
View Full Code Here


    {
        com.sun.star.form.binding.XValueBinding cellBinding = null;
        try
        {
            CellAddress address = new CellAddress( sheet, column, row );
            Object[] initParam = new Object[] { new NamedValue( "BoundCell", address ) };
            cellBinding = (com.sun.star.form.binding.XValueBinding)UnoRuntime.queryInterface(
                com.sun.star.form.binding.XValueBinding.class,
                createInstanceWithArguments(
                    supportIntegerValues ? "com.sun.star.table.ListPositionCellBinding"
                                         : "com.sun.star.table.CellValueBinding",
View Full Code Here

        com.sun.star.form.binding.XListEntrySource entrySource = null;
        try
        {
            CellRangeAddress rangeAddress = new CellRangeAddress( sheet, column,
                topRow, column, bottomRow );
            Object[] initParam = new Object[] { new NamedValue( "CellRange", rangeAddress ) };
            entrySource = (com.sun.star.form.binding.XListEntrySource)UnoRuntime.queryInterface(
                com.sun.star.form.binding.XListEntrySource.class,
                createInstanceWithArguments(
                    "com.sun.star.table.CellRangeListSource", initParam ) );
        }
View Full Code Here

       
        super.m_kindOfControl="RadioButton";
       
        super.m_ObjectName = "stardiv.one.form.component.RadioButton";

        NamedValue myProp = new NamedValue();
        myProp.Name = "DataField";
        myProp.Value = DBTools.TST_STRING_F;
        super.m_propertiesToSet.add(myProp);
       
        super.m_LCShape_Type = "GroupBox";
View Full Code Here

       
        super.m_kindOfControl="NumericField";
       
        super.m_ObjectName = "stardiv.one.form.component.NumericField";

        NamedValue DataField = new NamedValue();
        DataField.Name = "DataField";
        DataField.Value = DBTools.TST_DOUBLE_F;
        super.m_propertiesToSet.add(DataField);
       
        super.m_LCShape_Type = "FixedText";
View Full Code Here

       
        super.m_kindOfControl="NumericField";
       
        super.m_ObjectName = "stardiv.one.form.component.NumericField";

        NamedValue DataField = new NamedValue();
        DataField.Name = "DataField";
        DataField.Value = DBTools.TST_DOUBLE_F;
        super.m_propertiesToSet.add(DataField);
       
        super.m_LCShape_Type = "FixedText";
View Full Code Here

                Object oFilterFactory = xContext.getServiceManager().createInstanceWithContext( "com.sun.star.document.FilterFactory", xContext );
                XContainerQuery xQuery = ( XContainerQuery )UnoRuntime.queryInterface( XContainerQuery.class, oFilterFactory );
                if ( xQuery != null )
                {
                    NamedValue[] aRequest = new NamedValue[2];
                    aRequest[0] = new NamedValue( "Type", aTypeName );
                    aRequest[1] = new NamedValue( "DocumentService", aDocServiceName );
                   
                    XEnumeration xSet = xQuery.createSubSetEnumerationByProperties( aRequest );
                    if ( xSet != null )
                    {
                        boolean bAcceptable = false;
View Full Code Here

        XComponentContext ctxt = tParam.getComponentContext();
        try {
            return ProviderTestEnvironment.create(
                ctxt.getServiceManager().createInstanceWithArgumentsAndContext(
                    "com.sun.star.configuration.ConfigurationProvider",
                    new Object[] { new NamedValue("Locale", "*") },
                    ctxt));
        } catch (com.sun.star.uno.Exception e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

            "XMSF.serviceNamesWithArgs",
            new String[] {
                "com.sun.star.configuration.ConfigurationAccess",
                "com.sun.star.configuration.ConfigurationUpdateAccess" });
        Object[] args = new Object[] {
            new NamedValue("nodepath", "/org.openoffice.Setup") };
        env.addObjRelation("XMSF.Args", new Object[][] { args, args });
        env.addObjRelation(
            "needArgs", "com.sun.star.configuration.ConfigurationProvider");
        return env;
    }
View Full Code Here

       
        super.m_kindOfControl="RadioButton";
       
        super.m_ObjectName = "stardiv.one.form.component.RadioButton";

        NamedValue myProp = new NamedValue();
        myProp.Name = "DataField";
        myProp.Value = DBTools.TST_STRING_F;
        super.m_propertiesToSet.add(myProp);
       
        super.m_LCShape_Type = "GroupBox";
View Full Code Here

TOP

Related Classes of com.sun.star.beans.NamedValue

Copyright © 2018 www.massapicom. 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.