Home
last modified time | relevance | path

Searched refs:xSolver (Results 1 – 2 of 2) sorted by relevance

/aoo42x/main/sc/source/ui/miscdlgs/
H A Dsolverutil.cxx51 uno::Reference<sheet::XSolver> xSolver; in lcl_CreateSolver() local
60 xSolver = uno::Reference<sheet::XSolver>( xInterface, uno::UNO_QUERY ); in lcl_CreateSolver()
66 if ( !xSolver.is() && xFac.is() ) in lcl_CreateSolver()
71 xSolver = uno::Reference<sheet::XSolver>( xInterface, uno::UNO_QUERY ); in lcl_CreateSolver()
78 return xSolver; in lcl_CreateSolver()
143 uno::Reference<sheet::XSolver> xSolver; in GetSolver() local
163 while ( xEnum->hasMoreElements() && !xSolver.is() ) in GetSolver()
175 xSolver = lcl_CreateSolver( xIntFac, xCtx ); in GetSolver()
182 OSL_ENSURE( xSolver.is(), "can't get solver" ); in GetSolver()
183 return xSolver; in GetSolver()
[all …]
H A Doptsolver.cxx986 DBG_ASSERT( xSolver.is(), "can't get solver component" ); in CallSolver()
987 if ( !xSolver.is() ) in CallSolver()
990 xSolver->setDocument( xDocument ); in CallSolver()
991 xSolver->setObjective( aObjective ); in CallSolver()
992 xSolver->setVariables( aVariables ); in CallSolver()
993 xSolver->setConstraints( aConstraints ); in CallSolver()
994 xSolver->setMaximize( bMaximize ); in CallSolver()
997 uno::Reference<beans::XPropertySet> xOptProp(xSolver, uno::UNO_QUERY); in CallSolver()
1015 xSolver->solve(); in CallSolver()
1016 sal_Bool bSuccess = xSolver->getSuccess(); in CallSolver()
[all …]

Completed in 15 milliseconds