Home
last modified time | relevance | path

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

12345678

/AOO42X/main/unoxml/qa/complex/unoxml/
H A DDOMTest.java110 XDocument xDoc = xBuilder.newDocument(); in testXDocumentBuilder() local
111 assertNotNull("newDocument", xDoc); in testXDocumentBuilder()
121 XDocument xDoc = xBuilder.parse(xIn); in testXDocumentBuilder() local
122 assertNotNull("XDocumentBuilder.parse", xDoc); in testXDocumentBuilder()
129 XDocument xDoc = in testXDocumentBuilder() local
131 assertNotNull("XDocumentBuilder.parseURI", xDoc); in testXDocumentBuilder()
152 XDocument xDoc = xBuilder.newDocument(); in testXDocument() local
163 XAttr xAttr = xDoc.createAttribute("foo"); in testXDocument()
180 XAttr xAttr = xDoc.createAttributeNS(ns, "e:foo"); in testXDocument()
186 XCDATASection xCDS = xDoc.createCDATASection("foo"); in testXDocument()
[all …]
/AOO42X/main/sc/workben/
H A Dtest.cxx291 XSpreadsheetDocumentRef xDoc = lcl_GetDocument(); // Calc-Model in lcl_GetView() local
292 if (xDoc) in lcl_GetView()
293 xView = xDoc->getDDELinks(); //! temporaer zum Testen !!!!!!!!! in lcl_GetView()
301 const XSpreadsheetDocumentRef& xDoc, in lcl_OutputNames() argument
315 XCellRef xCell = xDoc->getCell(aAdr); in lcl_OutputNames()
323 xCell = xDoc->getCell(aAdr); in lcl_OutputNames()
365 XSpreadsheetDocumentRef xDoc = lcl_GetDocument(); // Calc-Model in lcl_DoCount() local
366 if (xDoc) in lcl_DoCount()
369 xDoc->queryInterface(XActionLockable::getSmartUik()); in lcl_DoCount()
371 xDoc->queryInterface(XCalculate::getSmartUik()); in lcl_DoCount()
[all …]
/AOO42X/main/framework/qa/complex/XUserInputInterception/
H A DEventTest.java158 public void closeDoc(XInterface xDoc) { in closeDoc() argument
159 XCloseable xClose = UnoRuntime.queryInterface(XCloseable.class, xDoc); in closeDoc()
175 XTextDocument xDoc = null; in checkTextDocument() local
178 xDoc = m_SOF.createTextDoc("WriterTest"); in checkTextDocument()
183 checkListener(xDoc); in checkTextDocument()
185 closeDoc(xDoc); in checkTextDocument()
196 XComponent xDoc = null; in checkImpressDocument() local
199 xDoc = m_SOF.createImpressDoc("ImpressTest"); in checkImpressDocument()
204 checkListener(xDoc); in checkImpressDocument()
206 closeDoc(xDoc); in checkImpressDocument()
[all …]
/AOO42X/main/sfx2/source/appl/
H A Dappopen.cxx172 SfxObjectShellRef xDoc; in DocAlreadyLoaded() local
177 if ( !xDoc.Is() ) in DocAlreadyLoaded()
179 xDoc = SfxObjectShell::GetFirst( 0, sal_False ); // include hidden files in DocAlreadyLoaded()
180 while( xDoc.Is() ) in DocAlreadyLoaded()
182 if ( xDoc->GetMedium() && in DocAlreadyLoaded()
183 xDoc->GetCreateMode() == SFX_CREATE_MODE_STANDARD && in DocAlreadyLoaded()
184 !xDoc->IsAbortingImport() && !xDoc->IsLoading() ) in DocAlreadyLoaded()
187 INetURLObject aUrl( xDoc->GetMedium()->GetName() ); in DocAlreadyLoaded()
189 (!bForbidVisible || !SfxViewFrame::GetFirst( xDoc, sal_True )) && in DocAlreadyLoaded()
190 !xDoc->IsLoading()) in DocAlreadyLoaded()
[all …]
/AOO42X/main/ucb/source/ucp/tdoc/
H A Dtdoc_docmgr.cxx145 getDocumentId( const uno::Reference< uno::XInterface > & xDoc ) in getDocumentId() argument
150 uno::Reference< beans::XPropertySet > xPropSet( xDoc, uno::UNO_QUERY ); in getDocumentId()
176 uno::Reference< uno::XInterface > xNormalizedIFace( xDoc, uno::UNO_QUERY ); in getDocumentId()
229 xDoc( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
230 OSL_ENSURE( xDoc.is(), "Got no document::XStorageBasedDocument!" ); in notifyEvent()
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()
368 xDoc( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
[all …]
/AOO42X/main/xmloff/source/chart/
H A DSchXMLChartContext.cxx132 void lcl_removeEmptyChartTypeGroups( const uno::Reference< chart2::XChartDocument > & xDoc ) in lcl_removeEmptyChartTypeGroups() argument
134 if( ! xDoc.is()) in lcl_removeEmptyChartTypeGroups()
137 uno::Reference< chart2::XDiagram > xDia( xDoc->getFirstDiagram()); in lcl_removeEmptyChartTypeGroups()
707 uno::Reference< chart::XChartDocument > xDoc = mrImportHelper.GetChartDocument(); in EndElement() local
708 uno::Reference< beans::XPropertySet > xProp( xDoc, uno::UNO_QUERY ); in EndElement()
709 uno::Reference< chart2::XChartDocument > xNewDoc( xDoc, uno::UNO_QUERY ); in EndElement()
715 uno::Reference< beans::XPropertySet > xTitleProp( xDoc->getTitle(), uno::UNO_QUERY ); in EndElement()
732 uno::Reference< beans::XPropertySet > xTitleProp( xDoc->getSubTitle(), uno::UNO_QUERY ); in EndElement()
753 uno::Reference< chart::XDiagram > xDiagram( xDoc->getDiagram() ); in EndElement()
880 …sPropertySets( maSeriesDefaultsAndStyles, uno::Reference< frame::XModel >(xDoc, uno::UNO_QUERY ) ); in EndElement()
[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 …]
/AOO42X/main/qadevOOo/tests/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()
/AOO42X/main/sfx2/source/notify/
H A Deventsupplier.cxx678 css::uno::Reference< css::frame::XModel > xDoc(aEvent.Source, UNO_QUERY); in disposing() local
682 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()
725 TModelList::iterator pIt = impl_searchDoc(xDoc); in insert()
730 m_lModels.push_back(xDoc); in insert()
[all …]
/AOO42X/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 …]
/AOO42X/main/embeddedobj/source/commonembedding/
H A Dpersistence.cxx284 …uno::Reference< document::XStorageBasedDocument > xDoc( m_pDocHolder->GetComponent(), uno::UNO_QUE… in SwitchOwnPersistence() local
285 if ( xDoc.is() ) in SwitchOwnPersistence()
286 SwitchDocToStorage_Impl( xDoc, m_xObjectStorage ); in SwitchOwnPersistence()
351 uno::Reference< document::XStorageBasedDocument > xDoc( xLoadable, uno::UNO_QUERY ); in InitNewDocument_Impl() local
352 …OSL_ENSURE( xDoc.is(), "OCommonEmbeddedObject::InitNewDocument_Impl: cannot recover from a storage… in InitNewDocument_Impl()
353 if ( xDoc.is() ) in InitNewDocument_Impl()
358 xDoc->loadFromStorage( m_xRecoveryStorage, aLoadArgs.getPropertyValues() ); in InitNewDocument_Impl()
359 SwitchDocToStorage_Impl( xDoc, m_xObjectStorage ); in InitNewDocument_Impl()
516 uno::Reference< document::XStorageBasedDocument > xDoc in LoadDocumentFromStorage_Impl() local
521 if ( !xDoc.is() && !xLoadable.is() ) ///BUG: This should be || instead of && ? in LoadDocumentFromStorage_Impl()
[all …]
/AOO42X/main/qadevOOo/tests/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()
/AOO42X/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()
/AOO42X/main/qadevOOo/tests/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()
/AOO42X/main/qadevOOo/tests/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()
/AOO42X/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()

12345678