LibreOffice Module sc (master) 1
|
#include <tokenuno.hxx>
Public Member Functions | |
ScFormulaParserObj (ScDocShell *pDocSh) | |
virtual | ~ScFormulaParserObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual css::uno::Sequence< css::sheet::FormulaToken > SAL_CALL | parseFormula (const OUString &aFormula, const css::table::CellAddress &rReferencePos) override |
virtual OUString SAL_CALL | printFormula (const css::uno::Sequence< css::sheet::FormulaToken > &aTokens, const css::table::CellAddress &rReferencePos) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
void | SetCompilerFlags (ScCompiler &rCompiler) const |
Private Attributes | |
css::uno::Sequence< const css::sheet::FormulaOpCodeMapEntry > | maOpCodeMapping |
css::uno::Sequence< css::sheet::ExternalLinkInfo > | maExternalLinks |
ScCompiler::OpCodeMapPtr | mxOpCodeMap |
ScDocShell * | mpDocShell |
sal_Int16 | mnConv |
bool | mbEnglish |
bool | mbIgnoreSpaces |
bool | mbCompileFAP |
bool | mbRefConventionChartOOXML |
Definition at line 50 of file tokenuno.hxx.
ScFormulaParserObj::ScFormulaParserObj | ( | ScDocShell * | pDocSh | ) |
Definition at line 75 of file tokenuno.cxx.
|
overridevirtual |
Definition at line 86 of file tokenuno.cxx.
References ScDocShell::GetDocument(), mpDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 178 of file tokenuno.cxx.
References lcl_GetFormulaParserMap().
|
overridevirtual |
Definition at line 255 of file tokenuno.cxx.
References maExternalLinks, maOpCodeMapping, mbCompileFAP, mbEnglish, mbIgnoreSpaces, mbRefConventionChartOOXML, mnConv, SC_UNO_COMPILEENGLISH, SC_UNO_COMPILEFAP, SC_UNO_EXTERNALLINKS, SC_UNO_FORMULACONVENTION, SC_UNO_IGNORELEADING, SC_UNO_OPCODEMAP, and SC_UNO_REF_CONV_CHARTOOXML.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 94 of file tokenuno.cxx.
References SfxHint::GetId(), and mpDocShell.
|
overridevirtual |
Definition at line 129 of file tokenuno.cxx.
References ScCompiler::CompileString(), ScTokenConversion::ConvertToTokenSequence(), ScUnoConversion::FillScAddress(), ScDocShell::GetDocument(), ScDocument::GetGrammar(), mpDocShell, SetCompilerFlags(), and ScAddress::UNINITIALIZED.
|
overridevirtual |
Definition at line 152 of file tokenuno.cxx.
References aBuffer, ScTokenConversion::ConvertToTokenArray(), formula::FormulaCompiler::CreateStringFromTokenArray(), ScUnoConversion::FillScAddress(), ScDocShell::GetDocument(), ScDocument::GetGrammar(), mpDocShell, SetCompilerFlags(), and ScAddress::UNINITIALIZED.
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 102 of file tokenuno.cxx.
References aConvMap, formula::FormulaGrammar::CONV_UNSPECIFIED, formula::FormulaGrammar::CONV_XL_OOX, formula::FormulaCompiler::EnableJumpCommandReorder(), formula::FormulaCompiler::EnableStopOnError(), ScCompiler::GetOpCodeMap(), maExternalLinks, mbCompileFAP, mbEnglish, mbRefConventionChartOOXML, mnConv, mxOpCodeMap, nConvMapCount, ScCompiler::SetExternalLinks(), ScCompiler::SetFormulaLanguage(), ScCompiler::SetRefConvention(), and ScCompiler::SetRefConventionChartOOXML().
Referenced by parseFormula(), and printFormula().
|
overridevirtual |
Definition at line 184 of file tokenuno.cxx.
References aConvMap, formula::FormulaGrammar::CONV_XL_OOX, formula::FormulaCompiler::CreateOpCodeMap(), ScDocShell::GetDocument(), ScDocument::GetGrammar(), maExternalLinks, maOpCodeMapping, mbCompileFAP, mbEnglish, mbIgnoreSpaces, mbRefConventionChartOOXML, mnConv, mpDocShell, mxOpCodeMap, nConvMapCount, SC_UNO_COMPILEENGLISH, SC_UNO_COMPILEFAP, SC_UNO_EXTERNALLINKS, SC_UNO_FORMULACONVENTION, SC_UNO_IGNORELEADING, SC_UNO_OPCODEMAP, and SC_UNO_REF_CONV_CHARTOOXML.
|
overridevirtual |
|
private |
Definition at line 58 of file tokenuno.hxx.
Referenced by getPropertyValue(), SetCompilerFlags(), and setPropertyValue().
|
private |
Definition at line 57 of file tokenuno.hxx.
Referenced by getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 64 of file tokenuno.hxx.
Referenced by getPropertyValue(), SetCompilerFlags(), and setPropertyValue().
|
private |
Definition at line 62 of file tokenuno.hxx.
Referenced by getPropertyValue(), SetCompilerFlags(), and setPropertyValue().
|
private |
Definition at line 63 of file tokenuno.hxx.
Referenced by getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 65 of file tokenuno.hxx.
Referenced by getPropertyValue(), SetCompilerFlags(), and setPropertyValue().
|
private |
Definition at line 61 of file tokenuno.hxx.
Referenced by getPropertyValue(), SetCompilerFlags(), and setPropertyValue().
|
private |
Definition at line 60 of file tokenuno.hxx.
Referenced by Notify(), parseFormula(), printFormula(), setPropertyValue(), and ~ScFormulaParserObj().
|
private |
Definition at line 59 of file tokenuno.hxx.
Referenced by SetCompilerFlags(), and setPropertyValue().