/trunk/main/chart2/source/tools/ |
H A D | PropertyHelper.cxx | 189 const Reference< lang::XMultiServiceFactory > & xFact, in addLineDashUniqueNameToTable() 192 if( xFact.is()) in addLineDashUniqueNameToTable() 195 xFact->createInstance( C2U( "com.sun.star.drawing.DashTable" )), in addLineDashUniqueNameToTable() 206 const Reference< lang::XMultiServiceFactory > & xFact, in addGradientUniqueNameToTable() 209 if( xFact.is()) in addGradientUniqueNameToTable() 224 const Reference< lang::XMultiServiceFactory > & xFact, in addTransparencyGradientUniqueNameToTable() 227 if( xFact.is()) in addTransparencyGradientUniqueNameToTable() 241 const Reference< lang::XMultiServiceFactory > & xFact, in addHatchUniqueNameToTable() 244 if( xFact.is()) in addHatchUniqueNameToTable() 258 const Reference< lang::XMultiServiceFactory > & xFact, in addBitmapUniqueNameToTable() [all …]
|
H A D | ChartViewHelper.cxx | 48 uno::Reference< lang::XMultiServiceFactory > xFact( xChartModel, uno::UNO_QUERY ); in setViewToDirtyState() local 49 if( xFact.is() ) in setViewToDirtyState() 52 xFact->createInstance( CHART_VIEW_SERVICE_NAME ), uno::UNO_QUERY ); in setViewToDirtyState()
|
H A D | RegressionCurveCalculator.cxx | 150 …Reference< lang::XMultiServiceFactory > xFact( comphelper::getProcessServiceFactory(), uno::UNO_QU… in getFormattedRepresentation() local 151 if( xFact.is()) in getFormattedRepresentation() 152 xNumFormatter.set( xFact->createInstance( in getFormattedRepresentation()
|
/trunk/main/chart2/source/model/template/ |
H A D | StockChartTypeTemplate.cxx | 305 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForIndex() local 307 if(xFact.is()) in getChartTypeForIndex() 314 … xCT.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_COLUMN ), uno::UNO_QUERY ); in getChartTypeForIndex() 318 … xCT.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_LINE ), uno::UNO_QUERY ); in getChartTypeForIndex() 325 … xCT.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_LINE ), uno::UNO_QUERY ); in getChartTypeForIndex() 341 Reference< lang::XMultiServiceFactory > xFact( in createChartTypes() local 362 xFact->createInstance( in createChartTypes() 376 xFact->createInstance( in createChartTypes() 402 xFact->createInstance( in createChartTypes() 510 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForNewSeries() local [all …]
|
H A D | ColumnLineChartTypeTemplate.cxx | 189 Reference< lang::XMultiServiceFactory > xFact( in createChartTypes() local 217 xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_COLUMN ), uno::UNO_QUERY_THROW ); in createChartTypes() 236 … xCT.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_LINE ), uno::UNO_QUERY_THROW ); in createChartTypes() 375 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForIndex() local 377 if(xFact.is()) in getChartTypeForIndex() 380 … xCT.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_COLUMN ), uno::UNO_QUERY ); in getChartTypeForIndex() 382 xCT.set( xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_LINE ), uno::UNO_QUERY ); in getChartTypeForIndex() 395 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForNewSeries() local 397 xResult.set( xFact->createInstance( in getChartTypeForNewSeries()
|
H A D | PieChartTypeTemplate.cxx | 295 Reference< lang::XMultiServiceFactory > xFact( in createChartTypes() local 299 xFact->createInstance( CHART2_SERVICE_NAME_CHARTTYPE_PIE ), uno::UNO_QUERY_THROW ); in createChartTypes() 418 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForIndex() local 420 xResult.set( xFact->createInstance( in getChartTypeForIndex() 446 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForNewSeries() local 448 xResult.set( xFact->createInstance( in getChartTypeForNewSeries()
|
H A D | BubbleChartTypeTemplate.cxx | 242 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForIndex() local 244 xResult.set( xFact->createInstance( in getChartTypeForIndex() 263 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForNewSeries() local 265 xResult.set( xFact->createInstance( in getChartTypeForNewSeries()
|
H A D | LineChartTypeTemplate.cxx | 306 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForIndex() local 308 xResult.set( xFact->createInstance( in getChartTypeForIndex() 338 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForNewSeries() local 340 xResult.set( xFact->createInstance( in getChartTypeForNewSeries()
|
H A D | ScatterChartTypeTemplate.cxx | 340 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForIndex() local 342 xResult.set( xFact->createInstance( in getChartTypeForIndex() 372 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForNewSeries() local 374 xResult.set( xFact->createInstance( in getChartTypeForNewSeries()
|
H A D | NetChartTypeTemplate.cxx | 185 Reference< lang::XMultiServiceFactory > xFact( in getChartTypeForIndex() local 189 xResult.set( xFact->createInstance( in getChartTypeForIndex() 192 xResult.set( xFact->createInstance( in getChartTypeForIndex()
|
/trunk/main/svx/inc/svx/ |
H A D | svdtrans.hxx | 67 SVX_DLLPUBLIC void ResizeRect(Rectangle& rRect, const Point& rRef, const Fraction& xFact, const Fra… 68 inline void ResizePoint(Point& rPnt, const Point& rRef, Fraction xFact, Fraction yFact); 69 void ResizePoly(Polygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact); 70 void ResizeXPoly(XPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact); 71 void ResizePoly(PolyPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact… 72 void ResizeXPoly(XPolyPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFa… 124 inline void ResizePoint(Point& rPnt, const Point& rRef, Fraction xFact, Fraction yFact) in ResizePoint() argument 126 if (xFact.GetDenominator()==0) xFact=Fraction(xFact.GetNumerator(),1); // DivZero abfangen in ResizePoint() 128 …rPnt.X()=rRef.X()+ Round(((double)(rPnt.X()-rRef.X())*xFact.GetNumerator())/xFact.GetDenominator()… in ResizePoint()
|
H A D | svdedtv.hxx | 245 …void ResizeMarkedObj(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy=f… 246 …void ResizeMultMarkedObj(const Point& rRef, const Fraction& xFact, const Fraction& yFact, const bo… 261 …onst Point& rRef, const Fraction& xFact, const Fraction& yFact, sal_Bool bCopy=sal_False) { Resize… in ResizeAllMarked() argument
|
/trunk/main/svx/source/svdraw/ |
H A D | svdogrp.cxx | 462 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in NbcResize() 477 ResizePoint(aRefPoint,rRef,xFact,yFact); in NbcResize() 483 pObj->NbcResize(rRef,xFact,yFact); in NbcResize() 486 ResizeRect(aOutRect,rRef,xFact,yFact); in NbcResize() 613 void SdrObjGroup::Resize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) in Resize() argument 615 if (xFact.GetNumerator()!=xFact.GetDenominator() || yFact.GetNumerator()!=yFact.GetDenominator()) { in Resize() 616 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in Resize() 632 ResizePoint(aRefPoint,rRef,xFact,yFact); in Resize() 640 if (pObj->IsEdgeObj()) pObj->Resize(rRef,xFact,yFact); in Resize() 644 if (!pObj->IsEdgeObj()) pObj->Resize(rRef,xFact,yFact); in Resize() [all …]
|
H A D | svdtrans.cxx | 52 Fraction xFact(rxFact); in ResizeRect() local 57 if (xFact.GetDenominator()==0) { in ResizeRect() 59 if (xFact.GetNumerator()>=0) { // DivZero abfangen in ResizeRect() 60 xFact=Fraction(xFact.GetNumerator(),1); in ResizeRect() 63 xFact=Fraction(xFact.GetNumerator(),-1); in ResizeRect() 67 …rRect.Left() =rRef.X()+Round(((double)(rRect.Left() -rRef.X())*xFact.GetNumerator())/xFact.GetDe… in ResizeRect() 68 …rRect.Right() =rRef.X()+Round(((double)(rRect.Right() -rRef.X())*xFact.GetNumerator())/xFact.GetDe… in ResizeRect() 94 ResizePoint(rPoly[i],rRef,xFact,yFact); in ResizePoly() 102 ResizePoint(rPoly[i],rRef,xFact,yFact); in ResizeXPoly() 110 ResizePoly(rPoly[i],rRef,xFact,yFact); in ResizePoly() [all …]
|
H A D | svdovirt.cxx | 385 void SdrVirtObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) in NbcResize() argument 387 rRefObj.NbcResize(rRef-aAnchor,xFact,yFact); in NbcResize() 423 void SdrVirtObj::Resize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) in Resize() argument 425 if (xFact.GetNumerator()!=xFact.GetDenominator() || yFact.GetNumerator()!=yFact.GetDenominator()) { in Resize() 427 rRefObj.Resize(rRef-aAnchor,xFact,yFact); in Resize()
|
H A D | svdotxtr.cxx | 149 void SdrTextObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) in NbcResize() argument 157 FASTBOOL bXMirr=(xFact.GetNumerator()<0) != (xFact.GetDenominator()<0); in NbcResize() 174 ResizeRect(aRect,rRef,xFact,yFact); in NbcResize() 197 ResizePoint(aPol[a], rRef, xFact, yFact); in NbcResize()
|
/trunk/main/chart2/qa/complex/chart2/ |
H A D | TestCaseOldAPI.java | 519 assertTrue( "document is no factory", xFact != null ); in testChartType() 524 String aServices[] = xFact.getAvailableServiceNames(); in testChartType() 539 XDiagram.class, xFact.createInstance( aMyServiceName )); in testChartType() 603 assertTrue( "document is no factory", xFact != null ); in testDataSeriesAndPoints() 619 xFact.createInstance( "com.sun.star.drawing.GradientTable" )); in testDataSeriesAndPoints() 661 xFact.createInstance( "com.sun.star.drawing.HatchTable" )); in testDataSeriesAndPoints() 778 assertTrue( "document is no factory", xFact != null ); in testStockProperties() 782 XDiagram.class, xFact.createInstance( aMyServiceName )); in testStockProperties() 824 assertTrue( "document is no factory", xFact != null ); in testFactory() 968 private XComponentContext getComponentContext( XMultiServiceFactory xFact ) in getComponentContext() argument [all …]
|
/trunk/main/chart2/source/inc/ |
H A D | PropertyHelper.hxx | 54 ::com::sun::star::lang::XMultiServiceFactory > & xFact, 65 ::com::sun::star::lang::XMultiServiceFactory > & xFact, 77 ::com::sun::star::lang::XMultiServiceFactory > & xFact, 88 ::com::sun::star::lang::XMultiServiceFactory > & xFact, 99 ::com::sun::star::lang::XMultiServiceFactory > & xFact,
|
/trunk/main/svtools/source/misc/ |
H A D | transfer.cxx | 219 Reference< XMultiServiceFactory > xFact( ::comphelper::getProcessServiceFactory() ); in ImplSetParameterString() local 224 if( xFact.is() ) in ImplSetParameterString() 565 Reference< XMultiServiceFactory > xFact( ::comphelper::getProcessServiceFactory() ); in lostOwnership() local 567 if( xFact.is() ) in lostOwnership() 1142 Reference< XMultiServiceFactory > xFact( ::comphelper::getProcessServiceFactory() ); in CopyToClipboard() local 1144 if( xFact.is() ) in CopyToClipboard() 1179 Reference< XMultiServiceFactory > xFact( ::comphelper::getProcessServiceFactory() ); in CopyToSelection() local 1181 if( xFact.is() ) in CopyToSelection() 1474 if( xFact.is() ) in FillDataFlavorExVector() 2503 Reference< XMultiServiceFactory > xFact( ::comphelper::getProcessServiceFactory() ); in IsEqual() local [all …]
|
/trunk/main/embeddedobj/source/general/ |
H A D | xcreator.cxx | 102 uno::Reference < uno::XInterface > xFact( m_xFactory->createInstance( aEmbedFactory ) ); in createInstanceInitNew() local 103 uno::Reference< embed::XEmbedObjectCreator > xEmbCreator( xFact, uno::UNO_QUERY ); in createInstanceInitNew() 107 uno::Reference < embed::XEmbedObjectFactory > xEmbFact( xFact, uno::UNO_QUERY ); in createInstanceInitNew() 215 uno::Reference< uno::XInterface > xFact = m_xFactory->createInstance( aEmbedFactory ); in createInstanceInitFromEntry() local 217 uno::Reference< embed::XEmbedObjectCreator > xEmbCreator( xFact, uno::UNO_QUERY ); in createInstanceInitFromEntry() 221 uno::Reference < embed::XEmbedObjectFactory > xEmbFact( xFact, uno::UNO_QUERY ); in createInstanceInitFromEntry()
|
/trunk/main/xmloff/source/draw/ |
H A D | XMLGraphicsDefaultStyle.cxx | 96 Reference< XMultiServiceFactory > xFact( GetImport().GetModel(), UNO_QUERY ); in SetDefaults() local 97 if( !xFact.is() ) in SetDefaults() 100 …Reference< XPropertySet > xDefaults( xFact->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM("… in SetDefaults()
|
/trunk/main/comphelper/source/misc/ |
H A D | storagehelper.cxx | 133 uno::Reference< lang::XSingleServiceFactory > xFact; in GetStorageFromURL2() local 138 xFact = GetStorageFactory( xFactory ); in GetStorageFromURL2() 140 xFact = GetFileSystemStorageFactory( xFactory ); in GetStorageFromURL2() 144 if (!xFact.is()) throw uno::RuntimeException(); in GetStorageFromURL2() 147 xFact->createInstanceWithArguments( aArgs ), uno::UNO_QUERY ); in GetStorageFromURL2()
|
/trunk/main/chart2/source/controller/chartapiwrapper/ |
H A D | WrappedStockProperties.cxx | 168 … Reference< lang::XMultiServiceFactory > xFact( xChartDoc->getChartTypeManager(), uno::UNO_QUERY ); in getPropertyValue() local 170 DiagramHelper::getTemplateForDiagram( xDiagram, xFact ); in getPropertyValue() 241 … Reference< lang::XMultiServiceFactory > xFact( xChartDoc->getChartTypeManager(), uno::UNO_QUERY ); in getPropertyValue() local 243 DiagramHelper::getTemplateForDiagram( xDiagram, xFact ); in getPropertyValue()
|
/trunk/main/xmloff/source/chart/ |
H A D | SchXMLImport.cxx | 740 Reference< lang::XMultiServiceFactory > xFact( xChild->getParent(), uno::UNO_QUERY ); in setTargetDocument() local 741 if( xFact.is() ) in setTargetDocument() 744 … Reference< util::XNumberFormatsSupplier > xNumberFormatsSupplier( xFact, uno::UNO_QUERY ); in setTargetDocument() 750 … const uno::Sequence< OUString > aServiceNames( xFact->getAvailableServiceNames()); in setTargetDocument() 756 xFact->createInstance( aDataProviderServiceName ), uno::UNO_QUERY ); in setTargetDocument()
|
/trunk/main/chart2/source/controller/accessibility/ |
H A D | AccessibleChartElement.cxx | 122 Reference< lang::XMultiServiceFactory > xFact( xSelSupp, uno::UNO_QUERY ); in InitTextEdit() local 123 if( xFact.is()) in InitTextEdit() 126 xFact->createInstance( CHART_ACCESSIBLE_TEXT_SERVICE_NAME ), uno::UNO_QUERY ); in InitTextEdit()
|