Home
last modified time | relevance | path

Searched refs:xField (Results 1 – 25 of 49) sorted by relevance

12

/trunk/main/sw/qa/complex/writer/
H A DCheckCrossReferences.java58 … com.sun.star.text.XTextField xField = (com.sun.star.text.XTextField)UnoRuntime.queryInterface( in getNextField() local
61 assertNotNull("Cannot retrieve next field.", xField); in getNextField()
62 return xField; in getNextField()
79 … com.sun.star.text.XTextField xField = (com.sun.star.text.XTextField)UnoRuntime.queryInterface( in getNextField() local
82 assertNotNull("Cannot retrieve next field.", xField); in getNextField()
83 return xField; in getNextField()
93 com.sun.star.text.XTextField xField ) { in getFieldProps() argument
96 com.sun.star.beans.XPropertySet.class, xField ); in getFieldProps()
103 public void checkField( com.sun.star.text.XTextField xField, in checkField() argument
115 String aFldResult = xField.getPresentation( false ); in checkField()
[all …]
/trunk/test/testuno/source/fvt/uno/sw/crossreference/
H A DCheckCrossReferences.java101 public XPropertySet getFieldProps(XTextField xField) { in getFieldProps() argument
102 XPropertySet xProps = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xField); in getFieldProps()
106 …public void checkField(XTextField xField, XPropertySet xProps, short nFormat, String aExpectedFldR… in checkField() argument
111 String aFldResult = xField.getPresentation(false); in checkField()
133 XTextField xField = null; in checkCrossReferences() local
136 xField = getNextField(); in checkCrossReferences()
137 xProps = getFieldProps(xField); in checkCrossReferences()
138 checkField(xField, xProps, ReferenceFieldPart.NUMBER, FldResult2); in checkCrossReferences()
139 checkField(xField, xProps, ReferenceFieldPart.NUMBER_NO_CONTEXT, FldResult1); in checkCrossReferences()
140 checkField(xField, xProps, ReferenceFieldPart.NUMBER_FULL_CONTEXT, FldResult3); in checkCrossReferences()
[all …]
/trunk/main/toolkit/source/controls/
H A Dunocontrols.cxx3147 uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY );
3148 xField->enableRepeat( mbRepeat );
3150 xField->addSpinListener( &maSpinListeners );
3159 uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY ); in addSpinListener() local
3160 xField->addSpinListener( &maSpinListeners ); in addSpinListener()
3168 uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY ); in removeSpinListener() local
3169 xField->removeSpinListener( &maSpinListeners ); in removeSpinListener()
3176 uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY ); in up() local
3177 if ( xField.is() ) in up()
3178 xField->up(); in up()
[all …]
/trunk/main/svx/source/form/
H A Dformcontroller.cxx460 Reference< XPropertySet > xField; member
464 :xField(_xField) in FmFieldInfo()
466 {xField->getPropertyValue(FM_PROP_NAME) >>= aFieldName;} in FmFieldInfo()
870 …Reference< XPropertySet > xField( xModelProps->getPropertyValue( FM_PROP_BOUNDFIELD ), UNO_QUERY_T… in getFastPropertyValue() local
876 predicateTree( sErrorMsg, sFilterValue, xFormatter, xField ); in getFastPropertyValue()
1444 Reference< XPropertySet > xField; in toggleAutoFields() local
1445 xSet->getPropertyValue(FM_PROP_BOUNDFIELD) >>= xField; in toggleAutoFields()
1448 if ( xField.is() in toggleAutoFields()
1449 && ::comphelper::hasProperty( FM_PROP_AUTOINCREMENT, xField ) in toggleAutoFields()
1450 … && ::comphelper::getBOOL( xField->getPropertyValue( FM_PROP_AUTOINCREMENT ) ) in toggleAutoFields()
[all …]
H A Dfmvwimp.cxx1203 Reference< XPropertySet > xField; in implCreateFieldControl() local
1209 xFields->getByName(sFieldName) >>= xField; in implCreateFieldControl()
1210 if ( !xField.is() ) in implCreateFieldControl()
1247 sal_Int32 nDataType = ::comphelper::getINT32(xField->getPropertyValue(FM_PROP_FIELDTYPE)); in implCreateFieldControl()
1257 if (::comphelper::hasProperty(FM_PROP_ISCURRENCY, xField)) in implCreateFieldControl()
1258 bIsCurrency = ::comphelper::getBOOL(xField->getPropertyValue(FM_PROP_ISCURRENCY)); in implCreateFieldControl()
1312 … if ( !createControlLabelPair( *pOutDev, 0, 0, xField, xNumberFormats, nOBJID, sLabelPostfix, in implCreateFieldControl()
1334 … if ( createControlLabelPair( *pOutDev, 0, 1000, xField, xNumberFormats, OBJ_FM_TIMEFIELD, in implCreateFieldControl()
/trunk/main/svx/source/fmcomp/
H A Dfmgridcl.cxx269 Reference< XPropertySet > xField; in ExecuteDrop() local
279 if (aColumn.has(daColumnObject))aColumn[daColumnObject] >>= xField; in ExecuteDrop()
320 if (!xField.is()) in ExecuteDrop()
362 xFields->getByName(sFieldName) >>= xField; in ExecuteDrop()
364 if (!xField.is()) in ExecuteDrop()
375 m_pImpl->aDropData[daColumnObject] <<= xField; in ExecuteDrop()
399 Reference< XPropertySet > xField; variable
409 m_pImpl->aDropData[daColumnObject] >>= xField;
429 xField->getPropertyValue(FM_PROP_FIELDTYPE) >>= nDataType;
499 if ( ::comphelper::hasProperty(FM_PROP_ISCURRENCY, xField)
[all …]
H A Dgridcell.cxx142 …32 _nFieldPos, const Reference< ::com::sun::star::beans::XPropertySet >& xField, sal_Int32 nTypeId) in CreateControl() argument
147 if (xField != m_xField) in CreateControl()
150 m_xField = xField; in CreateControl()
151 xField->getPropertyValue(FM_PROP_FORMATKEY) >>= m_nFormatKey; in CreateControl()
153 m_bReadOnly = ::comphelper::getBOOL(xField->getPropertyValue(FM_PROP_ISREADONLY)); in CreateControl()
154 m_bAutoValue = ::comphelper::getBOOL(xField->getPropertyValue(FM_PROP_AUTOINCREMENT)); in CreateControl()
155 … m_nFieldType = (sal_Int16)::comphelper::getINT32(xField->getPropertyValue(FM_PROP_FIELDTYPE)); in CreateControl()
431 String DbGridColumn::GetCellText(const Reference< ::com::sun::star::sdb::XColumn >& xField, const R… in GetCellText() argument
434 if (xField.is()) in GetCellText()
438 aText = pTextCell->GetText(xField, xFormatter); in GetCellText()
[all …]
/trunk/main/oox/source/drawingml/
H A Dtextrun.cxx131 …Reference< XTextField > xField( xFactory->createInstance( CREATE_OUSTRING( "com.sun.star.text.Text… in insertAt() local
132 if( xField.is() ) in insertAt()
137 PropertySet aFieldProps( xField ); in insertAt()
140 Reference< XTextContent > xContent( xField, UNO_QUERY); in insertAt()
147 aTextField.xTextField = xField; in insertAt()
/trunk/main/dbaccess/source/ui/browser/
H A Dsbagrid.cxx865 Reference< XPropertySet > xField = ((SbaGridControl*)GetParent())->getField(nModelPos); in PreExecuteColumnContextMenu() local
867 if ( xField.is() ) in PreExecuteColumnContextMenu()
869 switch( ::comphelper::getINT32(xField->getPropertyValue(PROPERTY_TYPE)) ) in PreExecuteColumnContextMenu()
908 … Reference< XPropertySet > xField = ((SbaGridControl*)GetParent())->getField(nModelPos); in PostExecuteColumnContextMenu() local
910 if(!xField.is()) in PostExecuteColumnContextMenu()
914 vClipboardList.push_back(::boost::shared_ptr<OTableRow>(new OTableRow(xField))); in PostExecuteColumnContextMenu()
1096 Reference< XPropertySet > xField = getField(nModelPos); in SetColAttrs() local
1097 …::dbaui::callColumnFormatDialog(xAffectedCol,xField,pFormatter,this);//(Window::GetSettings().GetL… in SetColAttrs()
1568 Reference< XPropertySet > xField = getField(GetModelColumnPos(nCol)); in AcceptDrop() local
1569 if (!xField.is()) in AcceptDrop()
[all …]
H A Dbrwctrlr.cxx2178 Reference< XPropertySet > xField(getBoundField(), UNO_QUERY); in Execute() local
2179 if (!xField.is()) in Execute()
2186 xParser->setOrder(::rtl::OUString()); xParser->appendOrderByColumn(xField, bSortUp), in Execute()
2205 Reference< XPropertySet > xField(getBoundField(), UNO_QUERY); in Execute() local
2206 if (!xField.is()) in Execute()
2212 xField->getPropertyValue(PROPERTY_NAME) >>= sName; in Execute()
2239 if ( xField.is() ) in Execute()
2242 xField->getPropertyValue(PROPERTY_TYPE) >>= nType; in Execute()
2258 xParser->appendHavingClauseByColumn(xField,sal_True,nOp), in Execute()
2267 xParser->appendFilterByColumn(xField,sal_True,nOp), in Execute()
/trunk/main/stoc/source/inspect/
H A Dintrospection.cxx529 …Reference<XIdlField> xField = (XIdlField*)(aInterfaceSeq1.getConstArray()[ nSequenceIndex ].get()); in setPropertyValueByIndex() local
530 Reference<XIdlField2> xField2(xField, UNO_QUERY); in setPropertyValueByIndex()
537 if( xField.is() ) in setPropertyValueByIndex()
539 xField->set( obj, aValue ); in setPropertyValueByIndex()
645 …Reference<XIdlField> xField = (XIdlField*)(aInterfaceSeq1.getConstArray()[ nSequenceIndex ].get()); in getPropertyValueByIndex() local
646 if( xField.is() ) in getPropertyValueByIndex()
648 aRet = xField->get( obj ); in getPropertyValueByIndex()
2385 Reference<XIdlField> xField = pFields[i]; in implInspect() local
2386 Reference<XIdlClass> xPropType = xField->getType(); in implInspect()
2394 ::rtl::OUString aFieldName = xField->getName(); in implInspect()
[all …]
/trunk/main/xmloff/source/text/
H A Dtxtvfldi.cxx1180 Reference<XPropertySet> xField; in EndElement() local
1181 if (CreateField(xField, in EndElement()
1186 Reference<XDependentTextField> xDepField(xField, UNO_QUERY); in EndElement()
1193 Reference<XTextContent> xTextContent(xField, UNO_QUERY); in EndElement()
1202 xField->setPropertyValue(sPropertyDatabaseFormat,aAny); in EndElement()
1205 aValueHelper.PrepareField(xField); in EndElement()
1211 xField->setPropertyValue(sPropertyIsVisible, aAny); in EndElement()
1216 xField->setPropertyValue(sPropertyCurrentPresentation, in EndElement()
/trunk/main/forms/source/runtime/
H A Dformoperations.cxx1330 Reference< XPropertySet > xField; in impl_getCurrentBoundField_nothrow() local
1336 xControlModel->getPropertyValue( PROPERTY_BOUNDFIELD ) >>= xField; in impl_getCurrentBoundField_nothrow()
1344 return xField; in impl_getCurrentBoundField_nothrow()
1500 aParam.xField = xBoundField; in impl_executeAutoSort_throw()
1572 aParam.xField = xBoundField; in impl_executeAutoFilter_throw()
1680 m_xParser->appendOrderByColumn( pParam->xField, pParam->bUp ); in impl_appendOrderByColumn_throw()
1688 if ( pParam->xField.is() ) in impl_appendFilterByColumn_throw()
1691 pParam->xField->getPropertyValue(PROPERTY_FIELDTYPE) >>= nType; in impl_appendFilterByColumn_throw()
1703 m_xParser->appendFilterByColumn( pParam->xField, sal_True,nOp ); in impl_appendFilterByColumn_throw()
/trunk/main/sw/source/core/unocore/
H A Dunoportenum.cxx613 const uno::Reference<text::XTextField> xField(xMeta, uno::UNO_QUERY); in lcl_CreateMetaPortion() local
615 pPortion->SetTextField(xField); in lcl_CreateMetaPortion()
858 Reference<XTextField> xField = in lcl_ExportHints() local
860 pPortion->SetTextField(xField); in lcl_ExportHints()
882 Reference<XTextField> xField = in lcl_ExportHints() local
884 pPortion->SetTextField(xField); in lcl_ExportHints()
904 Reference<XTextField> xField = in lcl_ExportHints() local
906 pPortion->SetTextField(xField); in lcl_ExportHints()
/trunk/main/forms/source/component/
H A DRadioButton.cxx385 Reference< XPropertySet > xField( getField() ); in commitControlValueToDbColumn() local
386 OSL_PRECOND( xField.is(), "ORadioButtonModel::commitControlValueToDbColumn: not bound!" ); in commitControlValueToDbColumn()
387 if ( xField.is() ) in commitControlValueToDbColumn()
394 xField->setPropertyValue( PROPERTY_VALUE, makeAny( getReferenceValue() ) ); in commitControlValueToDbColumn()
H A DFormattedField.cxx702 Reference<XPropertySet> xField = getField(); in onConnectedDbColumn() local
703 if ( xField.is() ) in onConnectedDbColumn()
704 xField->getPropertyValue( PROPERTY_FIELDTYPE ) >>= m_nFieldType; in onConnectedDbColumn()
720 if (xField.is()) in onConnectedDbColumn()
722 aFmtKey = xField->getPropertyValue(PROPERTY_FORMATKEY); in onConnectedDbColumn()
723 xField->getPropertyValue(PROPERTY_FIELDTYPE) >>= nType ; in onConnectedDbColumn()
752 if (xField.is()) in onConnectedDbColumn()
H A DPattern.cxx199 Reference< XPropertySet > xField( getField() ); in onConnectedDbColumn() local
200 if ( !xField.is() ) in onConnectedDbColumn()
203 …btools::FormattedColumnValue( getContext(), Reference< XRowSet >( _rxForm, UNO_QUERY ), xField ) ); in onConnectedDbColumn()
H A DDate.cxx226 Reference<XPropertySet> xField = getField(); in onConnectedDbColumn() local
227 if (xField.is()) in onConnectedDbColumn()
233 xField->getPropertyValue(PROPERTY_FIELDTYPE) >>= nFieldType; in onConnectedDbColumn()
H A DTime.cxx223 Reference<XPropertySet> xField = getField(); in onConnectedDbColumn() local
224 if (xField.is()) in onConnectedDbColumn()
230 xField->getPropertyValue(PROPERTY_FIELDTYPE) >>= nFieldType; in onConnectedDbColumn()
H A DEdit.cxx616 Reference< XPropertySet > xField = getField(); in onConnectedDbColumn() local
617 if ( xField.is() ) in onConnectedDbColumn()
619 …btools::FormattedColumnValue( getContext(), Reference< XRowSet >( _rxForm, UNO_QUERY ), xField ) ); in onConnectedDbColumn()
627xField->getPropertyValue(::rtl::OUString::createFromAscii("Precision")) >>= nFieldLen; in onConnectedDbColumn()
/trunk/main/extensions/source/bibliography/
H A Ddatman.cxx858 Reference< XPropertySet > xField; in InsertFields() local
866 xFields->getByName( *pFields ) >>= xField; in InsertFields()
873 xField->getPropertyValue(sType) >>= nType; in InsertFields()
904 xCurrentCol->setPropertyValue(sFormatKey, xField->getPropertyValue(sFormatKey)); in InsertFields()
1501 Reference< XPropertySet > xField; in loadControlModel() local
1508 aElement >>= xField; in loadControlModel()
1509 …Reference< XPropertySetInfo > xInfo = xField.is() ? xField->getPropertySetInfo() : Reference< XPr… in loadControlModel()
1514 xField->getPropertyValue(sType) >>= nFormatKey; in loadControlModel()
/trunk/main/wizards/com/sun/star/wizards/text/
H A DTextFieldHandler.java101 … XInterface xField = (XInterface) xMSFDoc.createInstance("com.sun.star.text.TextField.User"); in insertUserField() local
102 … XDependentTextField xDepField = UnoRuntime.queryInterface(XDependentTextField.class, xField); in insertUserField()
103 XTextContent xFieldContent = UnoRuntime.queryInterface(XTextContent.class, xField); in insertUserField()
/trunk/main/sc/source/ui/unoobj/
H A Dfielduno.cxx322 uno::Reference<text::XTextField> xField(GetObjectByIndex_Impl(nIndex)); in getByIndex() local
323 if (xField.is()) in getByIndex()
324 return uno::makeAny(xField); in getByIndex()
979 uno::Reference<text::XTextField> xField(GetObjectByIndex_Impl(nIndex)); in getByIndex() local
980 if (xField.is()) in getByIndex()
981 return uno::makeAny(xField); in getByIndex()
/trunk/main/svx/source/inc/
H A Dgridcell.hxx164 …com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xField, sal_Int32 nTypeId…
167 … ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xField(m_xField); in UpdateControl()
168 CreateControl(m_nFieldPos, xField, m_nTypeId); in UpdateControl()
179 …onst ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >& xField, const ::com::sun:…
852 const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >& xField,
855 …d UpdateFromField(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >& xField, in UpdateFromField() argument
857 { m_pCellControl->UpdateFromField(xField, xFormatter); } in UpdateFromField()
888 const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >& xField,
/trunk/main/connectivity/source/parse/
H A Dsqlnode.cxx172 ,xField(_xField) in SQLParseNodeParameter()
483 if (rParam.xField.is() && SQL_ISRULE(pSubTree,subquery)) in impl_parseNodeToString_throw()
484 aNewParam.xField = NULL; in impl_parseNodeToString_throw()
487 if (rParam.xField.is() && SQL_ISRULE(pSubTree,column_ref)) in impl_parseNodeToString_throw()
495 …if ( rParam.xField->getPropertySetInfo()->hasPropertyByName( OMetaConnection::getPropMap().getName… in impl_parseNodeToString_throw()
497 …rParam.xField->getPropertyValue( OMetaConnection::getPropMap().getNameByIndex( nNamePropertyId ) )… in impl_parseNodeToString_throw()
683 if (rParam.xField.is()) in impl_parseLikeNodeToString_throw()
691 …rParam.xField->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME)) >>… in impl_parseLikeNodeToString_throw()
1127 const Reference< XPropertySet > & xField) in predicateTree()
1141 m_xField = xField; in predicateTree()

12