Home
last modified time | relevance | path

Searched refs:xDoc (Results 1 – 25 of 182) sorted by relevance

12345678

/trunk/main/unoxml/qa/complex/unoxml/
H A DDOMTest.java129 XDocument xDoc = in testXDocumentBuilder() local
447 xDoc, xDoc.getOwnerDocument()); in testXDocument()
462 xDoc.normalize(); in testXDocument()
473 xDoc.setPrefix("foo"); in testXDocument()
481 xDoc.appendChild(null); in testXDocument()
1253 xDoc, xDoc.getOwnerDocument()); in testXAttr()
2286 xDoc.appendChild(xRoot); in testXNodeList_ChildList()
2330 xDoc.appendChild(xRoot); in testXNodeList_ElementList()
2466 xDoc.appendChild(xRoot); in testXXPathAPI()
2604 xDoc.appendChild(xRoot); in testXXPathObject()
[all …]
/trunk/main/sc/workben/
H A Dtest.cxx292 if (xDoc) in lcl_GetView()
366 if (xDoc) in lcl_DoCount()
420 if (xDoc) in lcl_Annotations()
485 if (xDoc) in lcl_Cursor()
612 if (xDoc) in lcl_Cells()
667 if (!xDoc) return; in lcl_Sheet()
739 if (!xDoc) return; in lcl_Names()
1701 if (xDoc) in IMPL_LINK()
1743 if (xDoc) in IMPL_LINK()
1840 if (xDoc) in IMPL_LINK()
[all …]
/trunk/main/framework/qa/complex/XUserInputInterception/
H A DEventTest.java183 checkListener(xDoc); in checkTextDocument()
185 closeDoc(xDoc); in checkTextDocument()
196 XComponent xDoc = null; in checkImpressDocument() local
204 checkListener(xDoc); in checkImpressDocument()
206 closeDoc(xDoc); in checkImpressDocument()
247 checkListener(xDoc); in checkMathDocument()
249 closeDoc(xDoc); in checkMathDocument()
268 checkListener(xDoc); in checkDrawDocument()
270 closeDoc(xDoc); in checkDrawDocument()
289 checkListener(xDoc); in checkCalcDocument()
[all …]
/trunk/main/sfx2/source/appl/
H A Dappopen.cxx177 if ( !xDoc.Is() ) in DocAlreadyLoaded()
180 while( xDoc.Is() ) in DocAlreadyLoaded()
184 !xDoc->IsAbortingImport() && !xDoc->IsLoading() ) in DocAlreadyLoaded()
195 xDoc = SfxObjectShell::GetNext( *xDoc, 0, sal_False ); in DocAlreadyLoaded()
221 return xDoc; in DocAlreadyLoaded()
455 if ( !xDoc.Is() ) in LoadTemplate()
460 if ( !xDoc.Is() ) in LoadTemplate()
467 xDoc->DoClose(); in LoadTemplate()
468 xDoc.Clear(); in LoadTemplate()
492 xDoc->DoClose(); in LoadTemplate()
[all …]
/trunk/main/ucb/source/ucp/tdoc/
H A Dtdoc_docmgr.cxx229 xDoc( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
233 = xDoc->getDocumentStorage(); in notifyEvent()
332 xDoc( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
333 OSL_ENSURE( xDoc.is(), in notifyEvent()
337 = xDoc->getDocumentStorage(); in notifyEvent()
369 OSL_ENSURE( xDoc.is(), in notifyEvent()
373 = xDoc->getDocumentStorage(); in notifyEvent()
415 = xDoc->getDocumentStorage(); in notifyEvent()
548 OSL_ENSURE( xDoc.is(), in buildDocumentsList()
552 = xDoc->getDocumentStorage(); in buildDocumentsList()
[all …]
/trunk/main/xmloff/source/chart/
H A DSchXMLChartContext.cxx134 if( ! xDoc.is()) in lcl_removeEmptyChartTypeGroups()
137 uno::Reference< chart2::XDiagram > xDia( xDoc->getFirstDiagram()); in lcl_removeEmptyChartTypeGroups()
708 uno::Reference< beans::XPropertySet > xProp( xDoc, uno::UNO_QUERY ); in EndElement()
753 uno::Reference< chart::XDiagram > xDiagram( xDoc->getDiagram() ); in EndElement()
1026 uno::Reference< beans::XPropertySet > xProp( xDoc, uno::UNO_QUERY ); in CreateChildContext()
1043 if( xDoc.is()) in CreateChildContext()
1056 if( xDoc.is()) in CreateChildContext()
1139 DBG_ASSERT( xDoc.is(), "No valid document!" ); in InitChart()
1140 uno::Reference< frame::XModel > xModel (xDoc, uno::UNO_QUERY ); in InitChart()
1154 xDoc.is()) in InitChart()
[all …]
H A DSchXMLImport.cxx186 Reference< chart::XChartDocument > xDoc( xChartModel, uno::UNO_QUERY ); in CreateChartContext() local
187 if( xDoc.is()) in CreateChartContext()
189 mxChartDoc = xDoc; in CreateChartContext()
446 const Reference< chart2::XChartDocument > & xDoc ) in DeleteDataSeries()
448 if( xDoc.is() ) in DeleteDataSeries()
452 xDoc->getFirstDiagram(), uno::UNO_QUERY_THROW ); in DeleteDataSeries()
493 const Reference< chart2::XChartDocument > & xDoc, in GetNewDataSeries()
499 if(!xDoc.is()) in GetNewDataSeries()
505 xDoc->getFirstDiagram(), uno::UNO_QUERY_THROW ); in GetNewDataSeries()
715 void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComponent >& xDoc ) in setTargetDocument() argument
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_svtools/
H A DAccessibleTabBar.java47 static XComponent xDoc; field in AccessibleTabBar
56 if (xDoc != null) { in cleanup()
57 closeDoc(xDoc); in cleanup()
83 if (xDoc != null) { in createTestEnvironment()
84 closeDoc(xDoc); in createTestEnvironment()
94 xDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class, in createTestEnvironment()
111 XWindow xWindow = UnoRuntime.queryInterface(XModel.class, xDoc). in createTestEnvironment()
146 protected void closeDoc(XComponent xDoc) { in closeDoc() argument
148 XCloseable.class, xDoc); in closeDoc()
H A DAccessibleTabBarPageList.java75 static XComponent xDoc; field in AccessibleTabBarPageList
84 if (xDoc != null) { in cleanup()
111 if (xDoc != null) { in createTestEnvironment()
120 xDoc = SOF.createDrawDoc(null); in createTestEnvironment()
166 UnoRuntime.queryInterface(XLayerSupplier.class, xDoc); in createTestEnvironment()
195 XCloseable.class, xDoc); in closeDoc()
H A DAccessibleTabBarPage.java74 static XComponent xDoc; field in AccessibleTabBarPage
83 if (xDoc != null) { in cleanup()
84 util.DesktopTools.closeDoc(xDoc); in cleanup()
111 if (xDoc != null) xDoc.dispose(); in createTestEnvironment()
118xDoc = (XComponent) UnoRuntime.queryInterface(XComponent.class, SOF.createCalcDoc(null));// SOF.cr… in createTestEnvironment()
/trunk/main/sfx2/source/notify/
H A Deventsupplier.cxx682 TModelList::iterator pIt = impl_searchDoc(xDoc); in disposing()
693 css::uno::Reference< css::frame::XModel > xDoc; in has() local
694 aElement >>= xDoc; in has()
700 TModelList::iterator pIt = impl_searchDoc(xDoc); in has()
715 css::uno::Reference< css::frame::XModel > xDoc; in insert() local
716 aElement >>= xDoc; in insert()
717 if (!xDoc.is()) in insert()
730 m_lModels.push_back(xDoc); in insert()
752 css::uno::Reference< css::frame::XModel > xDoc; in remove() local
753 aElement >>= xDoc; in remove()
[all …]
/trunk/main/framework/qa/complex/loadAllDocuments/
H A DCheckXComponentLoader.java357 XComponent xDoc = null; in impl_createTempOfficeDocument() local
361 xDoc = xLoader.loadComponentFromURL(sSourceURL, "_blank", 0, lLoadProps); in impl_createTempOfficeDocument()
362 assertNotNull("Could create office document, which should be saved as temp one.", xDoc); in impl_createTempOfficeDocument()
365 XStorable xStore = UnoRuntime.queryInterface(XStorable.class, xDoc); in impl_createTempOfficeDocument()
369 XCloseable xClose = UnoRuntime.queryInterface(XCloseable.class, xDoc); in impl_createTempOfficeDocument()
641 XComponent xDoc = null; in loadURL() local
644 xDoc = m_xLoader.loadComponentFromURL(sURL, sTarget, nFlags, in loadURL()
647 if (xDoc != null) { in loadURL()
663 if (xDoc != null) { in loadURL()
664 xDoc.dispose(); in loadURL()
[all …]
/trunk/main/embeddedobj/source/commonembedding/
H A Dpersistence.cxx285 if ( xDoc.is() ) in SwitchOwnPersistence()
286 SwitchDocToStorage_Impl( xDoc, m_xObjectStorage ); in SwitchOwnPersistence()
353 if ( xDoc.is() ) in InitNewDocument_Impl()
516 uno::Reference< document::XStorageBasedDocument > xDoc in LoadDocumentFromStorage_Impl() local
528 if ( !xDoc.is() ) in LoadDocumentFromStorage_Impl()
561 if ( xDoc.is() ) in LoadDocumentFromStorage_Impl()
745 xDoc->switchToStorage( xStorage ); in SwitchDocToStorage_Impl()
768 uno::Reference< document::XStorageBasedDocument > xDoc; in StoreDocToStorage_Impl() local
775 if ( xDoc.is() ) in StoreDocToStorage_Impl()
791 xDoc->storeToStorage( xStorage, aArgs ); in StoreDocToStorage_Impl()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_svx/
H A DSvxDrawPage.java97 static XSpreadsheetDocument xDoc = null; field in SvxDrawPage
109 xDoc = SOF.createCalcDoc(null); in initialize()
122 util.DesktopTools.closeDoc(xDoc); in cleanup()
150 XComponent.class, xDoc); in createTestEnvironment()
161 XDrawPagesSupplier.class, xDoc); in createTestEnvironment()
198 (XComponent) UnoRuntime.queryInterface(XComponent.class, xDoc), in createTestEnvironment()
203 tEnv.addObjRelation("Shape", new InstCreator(xDoc, sDsc)); in createTestEnvironment()
H A DAccessiblePresentationGraphicShape.java51 static XComponent xDoc; field in AccessiblePresentationGraphicShape
60 xDoc = SOF.createImpressDoc(null); in initialize()
62 UnoRuntime.queryInterface(XModel.class, xDoc); in initialize()
76 util.DesktopTools.closeDoc(xDoc); in cleanup()
90 UnoRuntime.queryInterface(XMultiServiceFactory.class, xDoc); in createTestEnvironment()
99 DrawTools.getShapes(DrawTools.getDrawPage(xDoc,0)).add(oShape); in createTestEnvironment()
/trunk/main/sc/source/ui/vba/
H A Dvbaworkbooks.cxx68 void setUpDocumentModules( const uno::Reference< sheet::XSpreadsheetDocument >& xDoc ) in setUpDocumentModules() argument
70 uno::Reference< frame::XModel > xModel( xDoc, uno::UNO_QUERY ); in setUpDocumentModules()
109 … uno::Reference<container::XNameAccess > xSheets( xDoc->getSheets(), uno::UNO_QUERY_THROW ); in setUpDocumentModules()
137 …Context >& xContext, const uno::Reference< sheet::XSpreadsheetDocument > &xDoc, const uno::Referen… in getWorkbook() argument
140 uno::Reference< frame::XModel > xModel( xDoc, uno::UNO_QUERY ); in getWorkbook()
163 …uno::Reference< sheet::XSpreadsheetDocument > xDoc( m_xEnumeration->nextElement(), uno::UNO_QUERY_… in nextElement() local
164 return getWorkbook( m_xContext, xDoc, m_xParent ); in nextElement()
192 uno::Reference< sheet::XSpreadsheetDocument > xDoc( aSource, uno::UNO_QUERY_THROW ); in createCollectionObject() local
193 return getWorkbook( mxContext, xDoc, mxParent ); in createCollectionObject()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_toolkit/
H A DAccessibleScrollBar.java82 private static XComponent xDoc; field in AccessibleScrollBar
100 if (xDoc != null) { in cleanup()
128 if (xDoc != null) { in createTestEnvironment()
138 xDoc = SOF.createDrawDoc(null); in createTestEnvironment()
145 XModel aModel = (XModel) UnoRuntime.queryInterface(XModel.class, xDoc); in createTestEnvironment()
180 util.DesktopTools.closeDoc(xDoc); in closeDoc()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/mod/_sc/
H A DScDrawPageObj.java51 static XSpreadsheetDocument xDoc = null; field in ScDrawPageObj
62 xDoc = SOF.createCalcDoc(null); in initialize()
76 UnoRuntime.queryInterface(XComponent.class, xDoc); in cleanup()
106 UnoRuntime.queryInterface(XComponent.class, xDoc); in createTestEnvironment()
114 UnoRuntime.queryInterface(XDrawPagesSupplier.class,xDoc); in createTestEnvironment()
147 tEnv.addObjRelation("Shape", new InstCreator(xDoc, sDsc)) ; in createTestEnvironment()
/trunk/main/framework/qa/complex/framework/recovery/
H A DCrashThread.java41 public XComponent xDoc = null; field in CrashThread
44 public CrashThread(XComponent xDoc, XMultiServiceFactory msf) { in CrashThread() argument
45 this.xDoc = xDoc; in CrashThread()
51 XModel xModel = (XModel) UnoRuntime.queryInterface(XModel.class, xDoc); in run()
/trunk/main/sw/source/ui/vba/
H A Dvbadocuments.cxx60 …omponentContext >& xContext, const uno::Reference< text::XTextDocument > &xDoc, const uno::Any& aA… in getDocument() argument
63 uno::Reference< frame::XModel > xModel( xDoc, uno::UNO_QUERY ); in getDocument()
79 uno::Reference< text::XTextDocument > xDoc( m_xEnumeration->nextElement(), uno::UNO_QUERY_THROW ); in nextElement() local
80 return getDocument( m_xContext, xDoc, m_aApplication ); in nextElement()
107 uno::Reference< text::XTextDocument > xDoc( aSource, uno::UNO_QUERY_THROW ); in createCollectionObject() local
108 return getDocument( mxContext, xDoc, Application() ); in createCollectionObject()
/trunk/main/chart2/source/controller/main/
H A DChartModelClone.cxx191 Reference< XChartDocument > xDoc( i_model, UNO_QUERY ); in ImplApplyDataToModel() local
192 OSL_ASSERT( xDoc.is() && xDoc->hasInternalDataProvider() ); in ImplApplyDataToModel()
195 if( xDoc.is() && xDoc->hasInternalDataProvider()) in ImplApplyDataToModel()
197 … Reference< XAnyDescriptionAccess > xCurrentData( xDoc->getDataProvider(), UNO_QUERY ); in ImplApplyDataToModel()
/trunk/main/framework/qa/complex/framework/autosave/
H A DAutoSave.java285 private void saveDoc(XInterface xDoc, in saveDoc() argument
296 XModel xModel = UnoRuntime.queryInterface(XModel.class, xDoc); in saveDoc()
333 private void closeDoc(XInterface xDoc) in closeDoc() argument
345 XCloseable xClose = UnoRuntime.queryInterface(XCloseable.class, xDoc); in closeDoc()
443 XInterface xDoc = createBigCalcDoc(); in impl_checkConcurrentAutoSaveToNormalUISave() local
458 saveDoc(xDoc, utils.getOfficeTemp(m_xSMGR) + "/test_calc.ods"); in impl_checkConcurrentAutoSaveToNormalUISave()
459 closeDoc(xDoc); in impl_checkConcurrentAutoSaveToNormalUISave()
/trunk/main/sw/source/ui/app/
H A Ddocshini.cxx474 uno::Reference< text::XTextDocument > xDoc(GetBaseModel(), uno::UNO_QUERY); in AddLink() local
475 ((SwXTextDocument*)xDoc.get())->Reactivate(this); in AddLink()
512 uno::Reference< text::XTextDocument > xDoc(GetBaseModel(), uno::UNO_QUERY); in RemoveLink() local
513 ((SwXTextDocument*)xDoc.get())->Invalidate(); in RemoveLink()
533 uno::Reference< text::XTextDocument > xDoc(GetBaseModel(), uno::UNO_QUERY); in InvalidateModel() local
534 ((SwXTextDocument*)xDoc.get())->Invalidate(); in InvalidateModel()
539 uno::Reference< text::XTextDocument > xDoc(GetBaseModel(), uno::UNO_QUERY); in ReactivateModel() local
540 ((SwXTextDocument*)xDoc.get())->Reactivate(this); in ReactivateModel()
/trunk/main/desktop/source/app/
H A Ddispatchwatcher.cxx216 Reference < XPrintable > xDoc; in executeDispatchRequests() local
333xDoc = Reference < XPrintable >( ::comphelper::SynchronousDispatch::dispatch( xDesktop, aName, aTa… in executeDispatchRequests()
362 if ( xDoc.is() ) in executeDispatchRequests()
370 xDoc->setPrinter( aPrinterArgs ); in executeDispatchRequests()
377 xDoc->print( aPrinterArgs ); in executeDispatchRequests()
387 Reference < XCloseable > xClose( xDoc, UNO_QUERY ); in executeDispatchRequests()
392 Reference < XComponent > xComp( xDoc, UNO_QUERY ); in executeDispatchRequests()
/trunk/main/chart2/source/controller/dialogs/
H A Ddlg_DataSource.cxx62 const Reference< chart2::XChartDocument > & xDoc );
73 const Reference< chart2::XChartDocument > & xDoc ) in DocumentChartTypeTemplateProvider()
75 if( xDoc.is()) in DocumentChartTypeTemplateProvider()
77 Reference< chart2::XDiagram > xDia( xDoc->getFirstDiagram()); in DocumentChartTypeTemplateProvider()
84 xDoc->getChartTypeManager(), uno::UNO_QUERY ) )); in DocumentChartTypeTemplateProvider()

Completed in 134 milliseconds

12345678