/aoo4110/main/ucb/source/ucp/tdoc/ |
H A D | tdoc_docmgr.cxx | 216 if ( (*it).second.xModel == xModel ) in notifyEvent() 281 if ( (*it).second.xModel == xModel ) in notifyEvent() 328 if ( (*it).second.xModel == xModel ) in notifyEvent() 364 if ( (*it).second.xModel == xModel ) in notifyEvent() 403 if ( (*it).second.xModel == xModel ) in notifyEvent() 523 aValue >>= xModel; in buildDocumentsList() 532 if ( (*it).second.xModel == xModel ) in buildDocumentsList() 645 if ( !xModel.is() ) in isDocumentPreview() 649 xModel->getArgs() ); in isDocumentPreview() 658 if ( !xModel.is() ) in isHelpDocument() [all …]
|
/aoo4110/main/sw/source/ui/vba/ |
H A D | vbaheaderfooterhelper.cxx | 40 …uno::Reference< text::XPageCursor > xPageCursor( word::getXTextViewCursor( xModel ), uno::UNO_QUER… in isHeader() 41 …uno::Reference< beans::XPropertySet > xStyleProps( word::getCurrentPageStyle( xModel ), uno::UNO_Q… in isHeader() 71 if( isHeader( xModel, xCurrentText ) ) in isFirstPageHeader() 83 if( isHeader( xModel, xCurrentText ) ) in isEvenPagesHeader() 99 …uno::Reference< text::XPageCursor > xPageCursor( word::getXTextViewCursor( xModel ), uno::UNO_QUER… in isFooter() 130 if( isFooter( xModel, xCurrentText ) ) in isFirstPageFooter() 141 if( isFooter( xModel, xCurrentText ) ) in isEvenPagesFooter() 157 if( isHeader( xModel, xCurrentText ) ) in isPrimaryHeader() 159 …return( !( isFirstPageHeader( xModel, xCurrentText ) && isEvenPagesHeader( xModel, xCurrentText ) … in isPrimaryHeader() 166 if( isHeader( xModel, xCurrentText ) ) in isPrimaryFooter() [all …]
|
H A D | wordvbahelper.cxx | 47 SwDocShell* getDocShell( const uno::Reference< frame::XModel>& xModel ) in getDocShell() argument 49 uno::Reference< lang::XUnoTunnel > xTunnel( xModel, uno::UNO_QUERY_THROW ); in getDocShell() 54 SwView* getView( const uno::Reference< frame::XModel>& xModel ) in getView() argument 56 SwDocShell* pDocShell = getDocShell( xModel ); in getView() 60 …tViewCursor > getXTextViewCursor( const uno::Reference< frame::XModel >& xModel ) throw (uno::Runt… in getXTextViewCursor() argument 62 uno::Reference< frame::XController > xController = xModel->getCurrentController(); in getXTextViewCursor() 68 uno::Reference< style::XStyle > getCurrentPageStyle( const uno::Reference< frame::XModel >& xModel … in getCurrentPageStyle() argument 70 …uno::Reference< beans::XPropertySet > xCursorProps( getXTextViewCursor( xModel ), uno::UNO_QUERY_T… in getCurrentPageStyle() 73 uno::Reference< style::XStyleFamiliesSupplier > xSytleFamSupp( xModel, uno::UNO_QUERY_THROW ); in getCurrentPageStyle() 81 sal_Int32 getPageCount( const uno::Reference< frame::XModel>& xModel ) throw (uno::RuntimeException) in getPageCount() argument [all …]
|
/aoo4110/main/oox/source/xls/ |
H A D | viewsettings.cxx | 480 xModel->maFirstPos = xModel->maSecondPos = CellAddress( getSheetIndex(), 0, 0 ); in finalizeImport() 484 xModel->mfSplitX = xModel->mfSplitY = 0.0; in finalizeImport() 488 xModel->mbShowGrid = true; in finalizeImport() 490 xModel->mbShowZeros = true; in finalizeImport() 511 if( (xModel->mnPaneState == XML_frozen) || (xModel->mnPaneState == XML_frozenSplit) ) in finalizeImport() 518 …if( (xModel->mfSplitX >= 1.0) && (xModel->maFirstPos.Column + xModel->mfSplitX <= rMaxApiPos.Colum… in finalizeImport() 519 nHSplitPos = static_cast< sal_Int32 >( xModel->maFirstPos.Column + xModel->mfSplitX ); in finalizeImport() 521 … if( (xModel->mfSplitY >= 1.0) && (xModel->maFirstPos.Row + xModel->mfSplitY <= rMaxApiPos.Row) ) in finalizeImport() 522 nVSplitPos = static_cast< sal_Int32 >( xModel->maFirstPos.Row + xModel->mfSplitY ); in finalizeImport() 595 return xModel; in createSheetView() [all …]
|
/aoo4110/main/bean/com/sun/star/comp/beans/ |
H A D | OfficeDocument.java | 45 private com.sun.star.frame.XModel xModel; field in OfficeDocument 52 super( xModel ); in OfficeDocument() 54 this.xModel = xModel; in OfficeDocument() 78 return xModel.getURL(); in getURL() 83 return xModel.getArgs(); in getArgs() 89 xModel.connectController( xController ); in connectController() 100 xModel.lockControllers(); in lockControllers() 105 xModel.unlockControllers(); in unlockControllers() 110 return xModel.hasControllersLocked(); in hasControllersLocked() 115 return xModel.getCurrentController(); in getCurrentController() [all …]
|
/aoo4110/main/sc/source/ui/vba/ |
H A D | excelvbahelper.cxx | 133 implnPaste( const uno::Reference< frame::XModel>& xModel ) in implnPaste() argument 136 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in implnPaste() 146 implnCopy( const uno::Reference< frame::XModel>& xModel ) in implnCopy() argument 148 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in implnCopy() 161 implnCut( const uno::Reference< frame::XModel>& xModel ) in implnCut() argument 163 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in implnCut() 181 ScTabViewShell* pTabViewShell = getBestViewShell( xModel ); in implnPasteSpecial() 224 ScDocShell* pDocShell = getDocShell( xModel ); in getBestViewShell() 234 return getBestViewShell( xModel ); in getCurrentBestViewShell() 238 getViewFrame( const uno::Reference< frame::XModel >& xModel ) in getViewFrame() argument [all …]
|
H A D | vbaworkbook.cxx | 66 uno::Reference< frame::XModel > xModel = getModel(); in getSheet() local 68 if ( xModel.is() ) in getSheet() 71 xModel->getCurrentController(), uno::UNO_QUERY ); in getSheet() 222 return new ScVbaWorksheet( this, mxContext, xSheet, xModel ); in getActiveSheet() 234 uno::Reference< frame::XModel > xModel( getModel() ); in Worksheets() local 270 uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_QUERY_THROW ); in getPrecisionAsDisplayed() local 271 ScDocument* pDoc = excel::getDocShell( xModel )->GetDocument(); in getPrecisionAsDisplayed() 277 uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_QUERY_THROW ); in setPrecisionAsDisplayed() local 278 ScDocument* pDoc = excel::getDocShell( xModel )->GetDocument(); in setPrecisionAsDisplayed() 312 uno::Reference< frame::XModel > xModel( getModel(), uno::UNO_SET_THROW ); in Names() local [all …]
|
H A D | vbahelper.cxx | 241 uno::Reference< frame::XModel > xModel; in getCurrentDocument() local 247 return xModel; in getCurrentDocument() 269 if ( sal_False == ( aModel >>= xModel ) || in getCurrentDocument() 270 !xModel.is() ) in getCurrentDocument() 279 if ( !xModel.is() ) in getCurrentDocument() 284 return xModel; in getCurrentDocument() 289 ::rtl::OUStringToOString( xModel->getURL(), in getCurrentDocument() 302 return xModel; in getCurrentDocument() 320 ScDocShell* pDocShell = getDocShell( xModel ); in getBestViewShell() 330 return getBestViewShell( xModel ); in getCurrentBestViewShell() [all …]
|
H A D | vbaapplication.cxx | 138 return static_cast< SfxObjectShell* >( excel::getDocShell( xModel ) ); in GetDocShell() 208 return new ScVbaWorkbook( this, mxContext, xModel ); in getActiveWorkbook() 218 return new ScVbaWorkbook( this, mxContext, xModel ); in getThisWorkbook() 231 uno::Reference< frame::XModel > xModel( getCurrentDocument() ); in getSelection() local 338 uno::Reference< frame::XModel > xModel = getCurrentDocument(); in getActiveWindow() local 371 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in setStatusBar() local 531 xModel->getCurrentController(), uno::UNO_QUERY_THROW ); in GoTo() 632 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in setCursor() local 638 setCursorHelper( xModel, rPointer, sal_False ); in setCursor() 646 setCursorHelper( xModel, rPointer, sal_True ); in setCursor() [all …]
|
/aoo4110/main/sc/source/core/tool/ |
H A D | chartlock.cxx | 74 if( xModel.is() ) in lcl_getAllLivingCharts() 75 aRet.push_back( xModel ); in lcl_getAllLivingCharts() 98 Reference< frame::XModel > xModel( *aIter ); in ScChartLockGuard() local 99 if( xModel.is()) in ScChartLockGuard() 100 xModel->lockControllers(); in ScChartLockGuard() 118 if( xModel.is()) in ~ScChartLockGuard() 119 xModel->unlockControllers(); in ~ScChartLockGuard() 130 if(!xModel.is()) in AlsoLockThisChart() 133 WeakReference< frame::XModel > xWeakModel(xModel); in AlsoLockThisChart() 142 xModel->lockControllers(); in AlsoLockThisChart() [all …]
|
/aoo4110/main/vbahelper/source/msforms/ |
H A D | vbacontrol.cxx | 410 const uno::Reference< frame::XModel >& xModel ) throw (uno::RuntimeException) in createShapeControl() 423 … return new ScVbaComboBox( xVbaParent, xContext, xControlShape, xModel, xGeoHelper.release() ); in createShapeControl() 425 … return new ScVbaButton( xVbaParent, xContext, xControlShape, xModel, xGeoHelper.release() ); in createShapeControl() 427 … return new ScVbaLabel( xVbaParent, xContext, xControlShape, xModel, xGeoHelper.release() ); in createShapeControl() 429 … return new ScVbaTextBox( xVbaParent, xContext, xControlShape, xModel, xGeoHelper.release() ); in createShapeControl() 433 … return new ScVbaListBox( xVbaParent, xContext, xControlShape, xModel, xGeoHelper.release() ); in createShapeControl() 435 … return new ScVbaSpinButton( xVbaParent, xContext, xControlShape, xModel, xGeoHelper.release() ); in createShapeControl() 437 … return new ScVbaImage( xVbaParent, xContext, xControlShape, xModel, xGeoHelper.release() ); in createShapeControl() 446 const uno::Reference< frame::XModel >& xModel, in createUserformControl() 475 … xVBAControl.set( new ScVbaLabel( xVbaParent, xContext, xControl, xModel, xGeoHelper.release() ) ); in createUserformControl() [all …]
|
/aoo4110/main/chart2/source/controller/chartapiwrapper/ |
H A D | ChartDocumentWrapper.cxx | 879 if( xModel.is() ) in attachResource() 888 if( xModel.is() ) in getURL() 897 if( xModel.is() ) in getArgs() 906 if( xModel.is() ) in connectController() 915 if( xModel.is() ) in disconnectController() 923 if( xModel.is() ) in lockControllers() 931 if( xModel.is() ) in unlockControllers() 939 if( xModel.is() ) in hasControllersLocked() 948 if( xModel.is() ) in getCurrentController() 959 if( xModel.is() ) in setCurrentController() [all …]
|
/aoo4110/main/sw/source/core/doc/ |
H A D | docxforms.cxx | 97 Reference<XModel> xModel( in initXForms() local 100 DBG_ASSERT( xModel.is(), "no model?" ); in initXForms() 101 if( xModel.is() ) in initXForms() 103 xModel->setID( sName ); in initXForms() 104 Reference<XFormsUIHelper1>( xModel, UNO_QUERY )->newInstance( in initXForms() 107 xModel->initialize(); in initXForms() 108 xXForms->insertByName( sName, makeAny( xModel ) ); in initXForms() 135 Reference< xforms::XModel > xModel( in disposeXForms() local 138 if( xModel.is() ) in disposeXForms() 142 xModel->getBindings(), UNO_QUERY ); in disposeXForms() [all …]
|
/aoo4110/main/extensions/source/propctrlr/ |
H A D | eformshelper.cxx | 341 if ( xModel.is() ) in getBindingNames() 380 Reference< xforms::XModel > xModel; in getCurrentFormModel() local 393 return xModel; in getCurrentFormModel() 534 …Reference< XNameAccess > xBindingNames( xModel.is() ? xModel->getBindings() : Reference< XSet >(),… in implGetOrCreateBinding() 544 xBinding = xModel->createBinding( ); in implGetOrCreateBinding() 554 xBinding = xModel->createBinding( ); in implGetOrCreateBinding() 570 xModel->getBindings()->insert( makeAny( xBinding ) ); in implGetOrCreateBinding() 632 Reference< xforms::XModel > xModel( xHelper, UNO_QUERY_THROW ); in getModelElementUIName() local 682 if ( xModel.is() ) in getAllElementUINames() 683 …xElements = xElements.query( ( _eType == Submission ) ? xModel->getSubmissions() : xModel->getBind… in getAllElementUINames() [all …]
|
/aoo4110/main/dbaccess/source/ui/app/ |
H A D | subcomponentmanager.cxx | 101 Reference< XModel > xModel; member 113 ,xModel() in SubComponentDescriptor() 143 if ( xModel.is() ) in impl_constructFrom() 181 if ( _desc.xModel.is() ) in operator ()() 182 return _desc.xModel.get(); in operator ()() 263 if ( !_rCompDesc.xModel.is() ) in lcl_fallbackToAnotherController() 412 if ( !comp->xModel.is() ) in disposing() 518 if ( aElement.xModel.is() ) in onSubComponentOpened() 547 if ( pos->xModel.is() ) in activateSubFrame() 548 o_rComponent = pos->xModel.get(); in activateSubFrame() [all …]
|
/aoo4110/main/vbahelper/source/vbahelper/ |
H A D | vbahelper.cxx | 257 return getBestViewShell( xModel ); 377 uno::Reference< frame::XModel > xModel; in getCurrentDoc() local 383 return xModel; in getCurrentDoc() 406 !xModel.is() ) in getCurrentDoc() 427 return xModel; in getCurrentDoc() 433 uno::Reference< frame::XModel > xModel; in getCurrentDocCtx() local 437 return xModel; in getCurrentDocCtx() 465 return xModel; in getCurrentExcelDoc() 481 return xModel; in getCurrentWordDoc() 927 if ( xModel.is() ) in setCursorHelper() [all …]
|
H A D | vbaapplicationbase.cxx | 192 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in getScreenUpdating() local 193 return !xModel->hasControllersLocked(); in getScreenUpdating() 199 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in setScreenUpdating() local 201 ::basic::vba::lockControllersOfAllDocuments( xModel, !bUpdate ); in setScreenUpdating() 207 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in getDisplayStatusBar() local 224 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in setDisplayStatusBar() local 261 ::basic::vba::enableContainerWindowsOfAllDocuments( xModel, bInteractive ); in setInteractive() 295 uno::Reference< frame::XModel > xModel; in Run() local 301 xModel = StarBASIC::GetModelFromBasic( pMod ); in Run() 304 if ( !xModel.is() ) in Run() [all …]
|
/aoo4110/main/chart2/source/controller/main/ |
H A D | ControllerCommandDispatch.cxx | 113 const Reference< frame::XModel > & xModel ); 173 const Reference< frame::XModel > & xModel ) in update() 199 aSelObjCID, xModel ) ); in update() 204 ChartModelHelper::findDiagram( xModel ), in update() 209 ChartModelHelper::findDiagram( xModel ), in update() 314 void update( const Reference< frame::XModel > & xModel ); 385 void ModelState::update( const Reference< frame::XModel > & xModel ) in update() argument 490 if( m_apModelState.get() && xModel.is()) in initialize() 491 m_apModelState->update( xModel ); in initialize() 493 if( m_apControllerState.get() && xModel.is()) in initialize() [all …]
|
H A D | ChartFrameloader.cxx | 90 uno::Reference< frame::XModel > xModel; in load() local 98 xModel.set( (*aIt).second.get< uno::Reference< frame::XModel > >()); in load() 104 if( ! xModel.is()) in load() 107 xModel.set( in load() 136 if(xController.is()&&xModel.is()) in load() 138 xModel->connectController(xController); in load() 139 xModel->setCurrentController(xController); in load() 140 xController->attachModel(xModel); in load() 160 uno::Reference< frame::XLoadable > xLoadable( xModel, uno::UNO_QUERY_THROW ); in load() 172 uno::Reference< frame::XLoadable > xLoadable( xModel, uno::UNO_QUERY_THROW ); in load()
|
/aoo4110/main/chart2/source/tools/ |
H A D | ChartModelHelper.cxx | 96 …eference< XDiagram > ChartModelHelper::findDiagram( const uno::Reference< frame::XModel >& xModel ) in findDiagram() argument 98 uno::Reference< XChartDocument > xChartDoc( xModel, uno::UNO_QUERY ); in findDiagram() 144 const uno::Reference< frame::XModel > & xModel ) in getDataSeries() 146 return getDataSeries( uno::Reference< chart2::XChartDocument >( xModel, uno::UNO_QUERY )); in getDataSeries() 151 const uno::Reference< frame::XModel >& xModel in getChartTypeOfSeries() 162 awt::Size ChartModelHelper::getPageSize( const uno::Reference< frame::XModel >& xModel ) in getPageSize() argument 165 uno::Reference< embed::XVisualObject > xVisualObject(xModel,uno::UNO_QUERY); in getPageSize() 172 …rtModelHelper::setPageSize( const awt::Size& rSize, const uno::Reference< frame::XModel >& xModel ) in setPageSize() argument 174 uno::Reference< embed::XVisualObject > xVisualObject(xModel,uno::UNO_QUERY); in setPageSize() 180 void ChartModelHelper::triggerRangeHighlighting( const uno::Reference< frame::XModel >& xModel ) in triggerRangeHighlighting() argument [all …]
|
H A D | TitleHelper.cxx | 102 uno::Reference< XChartDocument > xChartDoc( xModel, uno::UNO_QUERY ); in lcl_getTitleParent() 110 xResult.set( xModel, uno::UNO_QUERY ); in lcl_getTitleParent() 131 , const uno::Reference< frame::XModel >& xModel ) in getTitle() 133 uno::Reference< XTitled > xTitled( lcl_getTitleParent( nTitleIndex, xModel ) ); in getTitle() 142 , const uno::Reference< frame::XModel >& xModel in createTitle() 147 uno::Reference< XTitled > xTitled( lcl_getTitleParent( eTitleType, xModel ) ); in createTitle() 168 xTitled = lcl_getTitleParent( eTitleType, xModel ); in createTitle() 339 ::com::sun::star::frame::XModel >& xModel ) in removeTitle() 341 uno::Reference< XTitled > xTitled( lcl_getTitleParent( nTitleIndex, xModel ) ); in removeTitle() 352 ::com::sun::star::frame::XModel >& xModel ) in getTitleType() [all …]
|
/aoo4110/main/framework/source/helper/ |
H A D | tagwindowasmodified.cxx | 128 css::uno::Reference< css::util::XModifiable > xModel (m_xModel.get (), css::uno::UNO_QUERY); in modified() local 131 ( ! xModel.is () ) || in modified() 133 (aEvent.Source != xModel) in modified() 140 ::sal_Bool bModified = xModel->isModified (); in modified() 206 css::uno::Reference< css::frame::XModel > xModel(m_xModel.get(), css::uno::UNO_QUERY); in disposing() local 208 (xModel.is () ) && in disposing() 209 (aEvent.Source == xModel) in disposing() 228 css::uno::Reference< css::frame::XModel > xModel ; in impl_update() local 230 xModel = xController->getModel (); in impl_update() 234 ( ! xModel.is ()) in impl_update() [all …]
|
/aoo4110/main/dbaccess/source/filter/xml/ |
H A D | dbloader2.cxx | 458 if ( !xModel.is() ) in load() 483 if ( bCreateNew && xModel.is() ) in load() 508 if ( !xModel.is() ) in load() 521 bool bNeedLoad = ( xModel->getURL().getLength() == 0 ); in load() 534 xModel->attachResource( _rURL, aResource ); in load() 547 Reference< XModel2 > xModel2( xModel, UNO_QUERY_THROW ); in load() 550 xController->attachModel( xModel ); in load() 551 xModel->connectController( xController.get() ); in load() 554 xModel->setCurrentController( xController.get() ); in load() 586 m_sCurrentURL = xModel->getURL(); in load() [all …]
|
/aoo4110/main/framework/qa/complex/XUserInputInterception/ |
H A D | EventTest.java | 301 XModel xModel = UnoRuntime.queryInterface(XModel.class, xDoc); in checkListener() local 303 XUserInputInterception xUII = getUII(xModel); in checkListener() 305 checkMouseListener(xUII, xModel); in checkListener() 306 checkKeyListener(xUII, xModel); in checkListener() 320 private void checkKeyListener(XUserInputInterception xUII, XModel xModel) { in checkKeyListener() argument 353 private void checkMouseListener(XUserInputInterception xUII, XModel xModel) { in checkMouseListener() argument 379 private XUserInputInterception getUII(XModel xModel){ in getUII() argument 381 XController xController = xModel.getCurrentController(); in getUII() 481 private XModel xModel = null; field in EventTest.EventTrigger 491 this.xModel = model; in EventTrigger() [all …]
|
/aoo4110/main/basctl/source/basicide/ |
H A D | documentenumeration.cxx | 101 … OSL_PRECOND( _io_rDocDesc.xModel.is(), "lcl_getDocumentControllers_nothrow: illegal model!" ); in lcl_getDocumentControllers_nothrow() 106 Reference< XModel2 > xModel2( _io_rDocDesc.xModel, UNO_QUERY ); in lcl_getDocumentControllers_nothrow() 116 else if ( _io_rDocDesc.xModel.is() ) in lcl_getDocumentControllers_nothrow() 117 … _io_rDocDesc.aControllers.push_back( _io_rDocDesc.xModel->getCurrentController() ); in lcl_getDocumentControllers_nothrow() 146 Reference< XModel > xModel( xController->getModel() ); in lcl_getDocuments_nothrow() local 147 if ( !xModel.is() ) in lcl_getDocuments_nothrow() 152 if ( aEncounteredModels.find( xModel ) != aEncounteredModels.end() ) in lcl_getDocuments_nothrow() 156 aEncounteredModels.insert( xModel ); in lcl_getDocuments_nothrow() 160 aDescriptor.xModel = xModel; in lcl_getDocuments_nothrow()
|