Home
last modified time | relevance | path

Searched refs:xComponent (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/aoo41x/test/testuno/source/fvt/uno/sw/page/
H A DCheckPage.java104 XComponent xComponent = unoApp.newDocument("swriter"); in testPage() local
106 …SWUtil.setDefaultPageStyleProperty(xComponent, isLandscapeProperty, new Boolean(this.isLandscape)); in testPage()
107 SWUtil.setDefaultPageStyleProperty(xComponent, widthProperty, Integer.valueOf(this.width)); in testPage()
108 SWUtil.setDefaultPageStyleProperty(xComponent, heightProperty, Integer.valueOf(this.height)); in testPage()
115 unoApp.saveDocument(xComponent, tempFilePathODT); in testPage()
116 unoApp.closeDocument(xComponent); in testPage()
117 xComponent = unoApp.loadDocument(tempFilePathODT); in testPage()
132 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testPage()
133 unoApp.closeDocument(xComponent); in testPage()
134 xComponent = unoApp.loadDocument(tempFilePathDOC); in testPage()
[all …]
H A DCheckFooterHeader.java111 XComponent xComponent = unoApp.newDocument("swriter"); in testFooterHeader() local
113 SWUtil.setDefaultPageStyleProperty(xComponent, m_onProperty, new Boolean(true)); in testFooterHeader()
117 SWUtil.setDefaultPageStyleProperty(xComponent, m_HeightProperty, Integer.valueOf(m_Height)); in testFooterHeader()
120 unoApp.saveDocument(xComponent, tempFilePathODT); in testFooterHeader()
121 unoApp.closeDocument(xComponent); in testFooterHeader()
122 xComponent = unoApp.loadDocument(tempFilePathODT); in testFooterHeader()
132 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testFooterHeader()
133 unoApp.closeDocument(xComponent); in testFooterHeader()
134 xComponent = unoApp.loadDocument(tempFilePathDOC); in testFooterHeader()
138 height = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, m_HeightProperty)).intValue(); in testFooterHeader()
[all …]
H A DCheckBorder.java110 XComponent xComponent = unoApp.newDocument("swriter"); in testFooterHeaderBorder() local
112 SWUtil.setDefaultPageStyleProperty(xComponent, onProperty, new Boolean(true)); in testFooterHeaderBorder()
113 SWUtil.setDefaultPageStyleProperty(xComponent, borderProperty, borderLine); in testFooterHeaderBorder()
117 unoApp.saveDocument(xComponent, tempFilePathODT); in testFooterHeaderBorder()
118 unoApp.closeDocument(xComponent); in testFooterHeaderBorder()
119 xComponent = unoApp.loadDocument(tempFilePathODT); in testFooterHeaderBorder()
127 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testFooterHeaderBorder()
128 unoApp.closeDocument(xComponent); in testFooterHeaderBorder()
129 xComponent = unoApp.loadDocument(tempFilePathDOC); in testFooterHeaderBorder()
130 actualBorderLine = (BorderLine)SWUtil.getDefaultPageStyleProperty(xComponent, borderProperty); in testFooterHeaderBorder()
[all …]
H A DCheckBackColor.java94 XComponent xComponent = unoApp.newDocument("swriter"); in testFooterHeaderBackground() local
96 SWUtil.setDefaultPageStyleProperty(xComponent, onProperty, new Boolean(true)); in testFooterHeaderBackground()
97 SWUtil.setDefaultPageStyleProperty(xComponent, backColorProperty, Integer.valueOf(backColor)); in testFooterHeaderBackground()
100 unoApp.saveDocument(xComponent, tempFilePathODT); in testFooterHeaderBackground()
101 unoApp.closeDocument(xComponent); in testFooterHeaderBackground()
102 xComponent = unoApp.loadDocument(tempFilePathODT); in testFooterHeaderBackground()
110 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testFooterHeaderBackground()
111 unoApp.closeDocument(xComponent); in testFooterHeaderBackground()
112 xComponent = unoApp.loadDocument(tempFilePathDOC); in testFooterHeaderBackground()
113 … color = ((Integer)SWUtil.getDefaultPageStyleProperty(xComponent, backColorProperty)).intValue(); in testFooterHeaderBackground()
[all …]
H A DCheckShadowFormat.java118 XComponent xComponent = unoApp.newDocument("swriter"); in testFooterHeader() local
120 SWUtil.setDefaultPageStyleProperty(xComponent, onProperty, new Boolean(true)); in testFooterHeader()
121 SWUtil.setDefaultPageStyleProperty(xComponent, shadowFormatProperty, this.shadowFormat); in testFooterHeader()
124 unoApp.saveDocument(xComponent, tempFilePathODT); in testFooterHeader()
125 unoApp.closeDocument(xComponent); in testFooterHeader()
126 xComponent = unoApp.loadDocument(tempFilePathODT); in testFooterHeader()
133 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testFooterHeader()
134 unoApp.closeDocument(xComponent); in testFooterHeader()
135 xComponent = unoApp.loadDocument(tempFilePathDOC); in testFooterHeader()
136 …actualShadowFormat = (ShadowFormat)SWUtil.getDefaultPageStyleProperty(xComponent, shadowFormatProp… in testFooterHeader()
[all …]
H A DCheckPageLayout.java95 XComponent xComponent = unoApp.newDocument("swriter"); in testPageStyleLayout() local
96 …SWUtil.setDefaultPageStyleProperty(xComponent, this.pageStyleLayoutProperty, this.pageStyleLayout); in testPageStyleLayout()
99 unoApp.saveDocument(xComponent, tempFilePathODT); in testPageStyleLayout()
100 unoApp.closeDocument(xComponent); in testPageStyleLayout()
101 xComponent = unoApp.loadDocument(tempFilePathODT); in testPageStyleLayout()
103 …lPageStyleLayout = (PageStyleLayout)SWUtil.getDefaultPageStyleProperty(xComponent, this.pageStyleL… in testPageStyleLayout()
108 SWUtil.saveAsDoc(xComponent, FileUtil.getUrl(tempFilePathDOC)); in testPageStyleLayout()
109 unoApp.closeDocument(xComponent); in testPageStyleLayout()
110 xComponent = unoApp.loadDocument(tempFilePathDOC); in testPageStyleLayout()
112 …actualPageStyleLayout = (PageStyleLayout)SWUtil.getDefaultPageStyleProperty(xComponent, this.pageS… in testPageStyleLayout()
[all …]
H A DCheckBackGraphic.java96 XComponent xComponent = unoApp.newDocument("swriter"); in testFooterHeaderBackground() local
98 SWUtil.setDefaultPageStyleProperty(xComponent, onProperty, new Boolean(true)); in testFooterHeaderBackground()
99 SWUtil.setDefaultPageStyleProperty(xComponent, backGraphicURLProperty, backGraphicURL); in testFooterHeaderBackground()
102 unoApp.saveDocument(xComponent, tempFilePathODT); in testFooterHeaderBackground()
103 unoApp.closeDocument(xComponent); in testFooterHeaderBackground()
104 xComponent = unoApp.loadDocument(tempFilePathODT); in testFooterHeaderBackground()
106 String graphic = (String)SWUtil.getDefaultPageStyleProperty(xComponent, backGraphicURLProperty); in testFooterHeaderBackground()
111 unoApp.closeDocument(xComponent); in testFooterHeaderBackground()
/aoo41x/test/testuno/source/testlib/uno/
H A DPageUtil.java48 static public int getDrawPageCount(XComponent xComponent) { in getDrawPageCount() argument
50 .queryInterface(XDrawPagesSupplier.class, xComponent); in getDrawPageCount()
68 .queryInterface(XDrawPagesSupplier.class, xComponent); in getDrawPageByIndex()
87 .queryInterface(XDrawPagesSupplier.class, xComponent); in insertNewDrawPageByIndex()
102 .queryInterface(XDrawPagesSupplier.class, xComponent); in removeDrawPage()
136 .queryInterface(XMasterPagesSupplier.class, xComponent); in getMasterPageCount()
154 .queryInterface(XMasterPagesSupplier.class, xComponent); in getMasterPageByIndex()
167 .queryInterface(XMasterPagesSupplier.class, xComponent); in insertNewMasterPageByIndex()
175 static public void removeMasterPage(XComponent xComponent, in removeMasterPage() argument
178 .queryInterface(XMasterPagesSupplier.class, xComponent); in removeMasterPage()
[all …]
/aoo41x/main/odk/examples/DevelopersGuide/Drawing/
H A DPageHelper.java52 static public int getDrawPageCount( XComponent xComponent ) in getDrawPageCount() argument
56 XDrawPagesSupplier.class, xComponent ); in getDrawPageCount()
69 XDrawPagesSupplier.class, xComponent ); in getDrawPageByIndex()
82 XDrawPagesSupplier.class, xComponent ); in insertNewDrawPageByIndex()
93 XDrawPagesSupplier.class, xComponent ); in removeDrawPage()
119 XMasterPagesSupplier.class, xComponent ); in getMasterPageCount()
132 XMasterPagesSupplier.class, xComponent ); in getMasterPageByIndex()
144 XMasterPagesSupplier.class, xComponent ); in insertNewMasterPageByIndex()
155 XMasterPagesSupplier.class, xComponent ); in removeMasterPage()
189 XServiceInfo.class, xComponent ); in isImpressDocument()
[all …]
/aoo41x/test/testuno/source/fvt/uno/sw/breaks/
H A DCheckBreaks.java86 XComponent xComponent = unoApp.newDocument("swriter"); in testInsertDeleteLineBreak() local
101 unoApp.closeDocument(xComponent); in testInsertDeleteLineBreak()
102 xComponent = unoApp.loadDocument(tempFilePathODT); in testInsertDeleteLineBreak()
115 unoApp.closeDocument(xComponent); in testInsertDeleteLineBreak()
116 xComponent = unoApp.loadDocument(tempFilePathDOC); in testInsertDeleteLineBreak()
127 unoApp.closeDocument(xComponent); in testInsertDeleteLineBreak()
148 unoApp.closeDocument(xComponent); in testInsertDeletePageBreak()
149 xComponent = unoApp.loadDocument(tempFilePathODT); in testInsertDeletePageBreak()
163 unoApp.closeDocument(xComponent); in testInsertDeletePageBreak()
164 xComponent = unoApp.loadDocument(tempFilePathDOC); in testInsertDeletePageBreak()
[all …]
/aoo41x/main/toolkit/test/accessibility/
H A DAccessibleComponentHandler.java34 XAccessibleComponent xComponent = in createHandler() local
37 if (xComponent != null) in createHandler()
38 return new AccessibleComponentHandler (xComponent); in createHandler()
48 public AccessibleComponentHandler (XAccessibleComponent xComponent) in AccessibleComponentHandler() argument
50 if (xComponent != null) in AccessibleComponentHandler()
59 XAccessibleComponent xComponent = in createChild() local
62 if (xComponent != null) in createChild()
80 com.sun.star.awt.Size aSize = xComponent.getSize(); in createChild()
86 com.sun.star.awt.Rectangle aBBox = xComponent.getBounds(); in createChild()
93 nColor = xComponent.getForeground(); in createChild()
[all …]
/aoo41x/main/connectivity/source/cpool/
H A DZConnectionPool.cxx87 if (xComponent.is()) in OConnectionPool()
88 xComponent->addEventListener(this); in OConnectionPool()
123 if ( xComponent.is() ) in dispose()
125 xComponent->removeEventListener(m_pConnectionPool); in dispose()
127 xComponent->dispose(); in dispose()
171 if (xComponent.is()) in clear()
172 xComponent->removeEventListener(this); in clear()
233 if (xComponent.is()) in createNewConnection()
234 xComponent->addEventListener(this); in createNewConnection()
303 if (xComponent.is()) in getPooledConnection()
[all …]
/aoo41x/main/wizards/com/sun/star/wizards/document/
H A DOfficeDocument.java80 … XEventsSupplier xEventsSuppl = UnoRuntime.queryInterface(XEventsSupplier.class, xComponent); in attachEventCall()
96 public static void dispose(XMultiServiceFactory xMSF, XComponent xComponent) in dispose() argument
100 if (xComponent != null) in dispose()
102 XModifiable xModified = UnoRuntime.queryInterface(XModifiable.class, xComponent); in dispose()
103 XModel xModel = UnoRuntime.queryInterface(XModel.class, xComponent); in dispose()
146 … XComponent xComponent = xComponentLoader.loadComponentFromURL(sURL, "_self", 0, loadValues); in createNewDocument() local
150 oDocument = UnoRuntime.queryInterface(XTextDocument.class, xComponent); in createNewDocument()
154 oDocument = UnoRuntime.queryInterface(XSpreadsheetDocument.class, xComponent); in createNewDocument()
292 XStorable xStoreable = UnoRuntime.queryInterface(XStorable.class, xComponent); in store()
326 public static boolean close(XComponent xComponent) in close() argument
[all …]
/aoo41x/main/svx/source/xml/
H A Dxmlexport.cxx52 …l, const uno::Reference<io::XOutputStream>& xOut, const Reference< lang::XComponent >& xComponent ) in SvxDrawingLayerExport() argument
54 …return SvxDrawingLayerExport( pModel, xOut, xComponent, "com.sun.star.comp.DrawingLayer.XMLExporte… in SvxDrawingLayerExport()
57 …ference<io::XOutputStream>& xOut, const Reference< lang::XComponent >& xComponent, const char* pEx… in SvxDrawingLayerExport() argument
67 Reference< lang::XComponent > xSourceDoc( xComponent ); in SvxDrawingLayerExport()
156 Reference< lang::XComponent > xComponent; in SvxDrawingLayerExport() local
157 return SvxDrawingLayerExport( pModel, xOut, xComponent ); in SvxDrawingLayerExport()
162 …t uno::Reference<io::XInputStream>& xInputStream, const Reference< lang::XComponent >& xComponent ) in SvxDrawingLayerImport() argument
164 …return SvxDrawingLayerImport( pModel, xInputStream, xComponent, "com.sun.star.comp.Draw.XMLOasisIm… in SvxDrawingLayerImport()
177 Reference< lang::XComponent > xTargetDocument( xComponent ); in SvxDrawingLayerImport()
277 Reference< lang::XComponent > xComponent; in SvxDrawingLayerImport() local
[all …]
/aoo41x/main/sdext/source/presenter/
H A DPresenterPaneBase.cxx93 Reference<XComponent> xComponent (mxContentCanvas, UNO_QUERY); in disposing() local
95 if (xComponent.is()) in disposing()
96 xComponent->dispose(); in disposing()
102 if (xComponent.is()) in disposing()
103 xComponent->dispose(); in disposing()
107 Reference<XComponent> xComponent (mxBorderCanvas, UNO_QUERY); in disposing() local
109 if (xComponent.is()) in disposing()
110 xComponent->dispose(); in disposing()
114 Reference<XComponent> xComponent (mxBorderWindow, UNO_QUERY); in disposing() local
116 if (xComponent.is()) in disposing()
[all …]
H A DPresenterNotesView.cxx172 Reference<XComponent> xComponent (static_cast<XWeak*>(mpToolBar.get()), UNO_QUERY); in disposing() local
174 if (xComponent.is()) in disposing()
175 xComponent->dispose(); in disposing()
178 Reference<XComponent> xComponent (mxToolBarCanvas, UNO_QUERY); in disposing() local
180 if (xComponent.is()) in disposing()
181 xComponent->dispose(); in disposing()
184 Reference<XComponent> xComponent (mxToolBarWindow, UNO_QUERY); in disposing() local
186 if (xComponent.is()) in disposing()
187 xComponent->dispose(); in disposing()
194 if (xComponent.is()) in disposing()
[all …]
/aoo41x/main/sd/source/ui/framework/module/
H A DToolPanelModule.cxx76 Reference<lang::XComponent> xComponent ( in LocalReadOnlyModeObserver() local
78 if (xComponent.is()) in LocalReadOnlyModeObserver()
79 xComponent->addEventListener(this); in LocalReadOnlyModeObserver()
88 Reference<lang::XComponent> xComponent (static_cast<XWeak*>(mpObserver.get()), UNO_QUERY); in disposing() local
89 if (xComponent.is()) in disposing()
90 xComponent->dispose(); in disposing()
92 xComponent = Reference<lang::XComponent>( in disposing()
94 if (xComponent.is()) in disposing()
95 xComponent->removeEventListener(this); in disposing()
/aoo41x/main/sd/source/ui/framework/factories/
H A DBasicToolBarFactory.cxx106 Reference<lang::XComponent> xComponent (mxConfigurationController, UNO_QUERY); in Shutdown() local
107 if (xComponent.is()) in Shutdown()
108 xComponent->removeEventListener(static_cast<lang::XEventListener*>(this)); in Shutdown()
152 Reference<lang::XComponent> xComponent (mxConfigurationController, UNO_QUERY); in initialize() local
153 if (xComponent.is()) in initialize()
154 xComponent->addEventListener(static_cast<lang::XEventListener*>(this)); in initialize()
218 Reference<XComponent> xComponent (rxToolBar, UNO_QUERY); in releaseResource() local
219 if (xComponent.is()) in releaseResource()
220 xComponent->dispose(); in releaseResource()
H A DBasicPaneFactory.cxx164 Reference<XComponent> xComponent (iDescriptor->mxPane, UNO_QUERY); in disposing() local
165 if (xComponent.is()) in disposing()
167 xComponent->removeEventListener(this); in disposing()
168 xComponent->dispose(); in disposing()
309 Reference<lang::XComponent> xComponent (xPane, UNO_QUERY); in createResource() local
310 if (xComponent.is()) in createResource()
311 xComponent->addEventListener(this); in createResource()
363 Reference<XComponent> xComponent (rxPane, UNO_QUERY); in releaseResource() local
364 if (xComponent.is()) in releaseResource()
368 xComponent->removeEventListener(this); in releaseResource()
[all …]
/aoo41x/main/sal/test/unloading/
H A DunloadTest.cxx204 Reference<XComponent> xComponent( xContext, UNO_QUERY); in test1() local
205 xComponent->dispose(); in test1()
248 Reference<XComponent> xComponent( xContext, UNO_QUERY); in test2() local
249 xComponent->dispose(); in test2()
292 Reference<XComponent> xComponent( xContext, UNO_QUERY); in test3() local
293 xComponent->dispose(); in test3()
340 Reference<XComponent> xComponent( xContext, UNO_QUERY); in test4() local
341 xComponent->dispose(); in test4()
397 xComponent->dispose(); in test5()
452 xComponent->dispose(); in test6()
[all …]
/aoo41x/main/comphelper/source/misc/
H A Dinstancelocker.cxx326 uno::Reference< lang::XComponent > xComponent( m_xWrapper.get(), uno::UNO_QUERY ); in disposing() local
328 if ( xComponent.is() ) in disposing()
330 try { xComponent->dispose(); } in disposing()
385 uno::Reference< lang::XComponent > xComponent( m_xWrapper.get(), uno::UNO_QUERY ); in notifyClosing() local
387 if ( xComponent.is() ) in notifyClosing()
389 try { xComponent->dispose(); } in notifyClosing()
449 if ( xComponent.is() ) in notifyTermination()
451 try { xComponent->dispose(); } in notifyTermination()
489 uno::Reference< lang::XComponent > xComponent( m_xWrapper.get(), uno::UNO_QUERY ); in Init() local
491 if ( xComponent.is() ) in Init()
[all …]
/aoo41x/main/sd/source/ui/slidesorter/controller/
H A DSlsListener.cxx94 Reference<XComponent> xComponent (xBroadcaster, UNO_QUERY); in Listener() local
95 if (xComponent.is()) in Listener()
96 xComponent->addEventListener ( in Listener()
176 Reference<XComponent> xComponent (xBroadcaster, UNO_QUERY); in ReleaseListeners() local
177 if (xComponent.is()) in ReleaseListeners()
178 xComponent->removeEventListener ( in ReleaseListeners()
249 Reference<XComponent> xComponent (xController, UNO_QUERY); in ConnectToController() local
250 if (xComponent.is()) in ConnectToController()
252 xComponent->addEventListener ( in ConnectToController()
285 if (xComponent.is()) in DisconnectFromController()
[all …]
/aoo41x/main/framework/source/helper/
H A Docomponentaccess.cxx178 css::uno::Reference< XComponent > xComponent = impl_getFrameComponent( seqFrames[nFrame] ); in impl_collectAllChildComponents() local
179 if( xComponent.is() == sal_True ) in impl_collectAllChildComponents()
183 seqComponents[nComponentCount-1] = xComponent; in impl_collectAllChildComponents()
196 css::uno::Reference< XComponent > xComponent = css::uno::Reference< XComponent >(); in impl_getFrameComponent() local
202 xComponent = css::uno::Reference< XComponent >( xFrame->getComponentWindow(), UNO_QUERY ); in impl_getFrameComponent()
211 xComponent = css::uno::Reference< XComponent >( xModel, UNO_QUERY ); in impl_getFrameComponent()
216 xComponent = css::uno::Reference< XComponent >( xController, UNO_QUERY ); in impl_getFrameComponent()
220 return xComponent; in impl_getFrameComponent()
/aoo41x/main/accessibility/source/standard/
H A Dvclxaccessiblestatusbar.cxx152 Reference< XComponent > xComponent( xChild, UNO_QUERY ); in RemoveChild() local
153 if ( xComponent.is() ) in RemoveChild()
154 xComponent->dispose(); in RemoveChild()
249 Reference< XComponent > xComponent( m_aAccessibleChildren[i], UNO_QUERY ); in ProcessWindowEvent() local
250 if ( xComponent.is() ) in ProcessWindowEvent()
251 xComponent->dispose(); in ProcessWindowEvent()
279 Reference< XComponent > xComponent( m_aAccessibleChildren[i], UNO_QUERY ); in disposing() local
280 if ( xComponent.is() ) in disposing()
281 xComponent->dispose(); in disposing()
/aoo41x/main/sd/source/ui/tools/
H A DEventMultiplexer.cxx293 Reference<XComponent> xComponent (xConfigurationController, UNO_QUERY); in Implementation() local
294 if (xComponent.is()) in Implementation()
353 Reference<XComponent> xComponent (xConfigurationController, UNO_QUERY); in ReleaseListeners() local
354 if (xComponent.is()) in ReleaseListeners()
355 xComponent->removeEventListener(static_cast<beans::XPropertyChangeListener*>(this)); in ReleaseListeners()
426 Reference<lang::XComponent> xComponent (xController, UNO_QUERY); in ConnectToController() local
427 if (xComponent.is()) in ConnectToController()
429 xComponent->addEventListener ( in ConnectToController()
513 Reference<lang::XComponent> xComponent (xController, UNO_QUERY); in DisconnectFromController() local
514 if (xComponent.is()) in DisconnectFromController()
[all …]

Completed in 175 milliseconds

12345678910>>...12