LibreOffice Module sc (master) 1
|
#include <TableFillingAndNavigationTools.hxx>
Public Member Functions | |
AddressWalkerWriter (const ScAddress &aInitialAddress, ScDocShell *pDocShell, ScDocument &rDocument, formula::FormulaGrammar::Grammar eGrammar) | |
void | writeFormula (const OUString &aFormula) |
void | writeFormulas (const std::vector< OUString > &rFormulas) |
void | writeMatrixFormula (const OUString &aFormula, SCCOL nCols=1, SCROW nRows=1) |
void | writeString (const OUString &aString) |
void | writeString (const char *aCharArray) |
void | writeBoldString (const OUString &aString) |
void | writeValue (double aValue) |
Public Member Functions inherited from AddressWalker | |
AddressWalker (const ScAddress &aInitialAddress) | |
ScAddress | current (SCCOL aRelativeCol=0, SCROW aRelativeRow=0, SCTAB aRelativeTab=0) |
void | reset () |
void | resetColumn () |
void | resetRow () |
void | nextColumn () |
void | nextRow () |
void | newLine () |
void | push (SCCOL aRelativeCol=0, SCROW aRelativeRow=0, SCTAB aRelativeTab=0) |
Private Attributes | |
ScDocShell * | mpDocShell |
ScDocument & | mrDocument |
formula::FormulaGrammar::Grammar | meGrammar |
Additional Inherited Members | |
Public Attributes inherited from AddressWalker | |
std::vector< ScAddress > | mAddressStack |
ScAddress | mCurrentAddress |
ScAddress | mMinimumAddress |
ScAddress | mMaximumAddress |
Definition at line 72 of file TableFillingAndNavigationTools.hxx.
AddressWalkerWriter::AddressWalkerWriter | ( | const ScAddress & | aInitialAddress, |
ScDocShell * | pDocShell, | ||
ScDocument & | rDocument, | ||
formula::FormulaGrammar::Grammar | eGrammar | ||
) |
Definition at line 152 of file TableFillingAndNavigationTools.cxx.
void AddressWalkerWriter::writeBoldString | ( | const OUString & | aString | ) |
Definition at line 210 of file TableFillingAndNavigationTools.cxx.
References EditEngine::CreateTextObject(), EE_CHAR_WEIGHT(), ScDocShell::GetDocFunc(), ScDocument::GetEditEngine(), EditEngine::GetEmptyItemSet(), AddressWalker::mCurrentAddress, mpDocShell, mrDocument, SfxItemSet::Put(), EditEngine::QuickSetAttribs(), ScDocFunc::SetEditCell(), ScEditEngineDefaulter::SetTextCurrentDefaults(), and WEIGHT_BOLD.
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScAnalysisOfVarianceDialog::AnovaTwoFactor(), ScChiSquareTestDialog::ApplyOutput(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScFourierAnalysisDialog::ApplyOutput(), ScFTestDialog::ApplyOutput(), ScMovingAverageDialog::ApplyOutput(), ScTTestDialog::ApplyOutput(), ScZTestDialog::ApplyOutput(), and ScRegressionDialog::WriteRawRegressionResults().
void AddressWalkerWriter::writeFormula | ( | const OUString & | aFormula | ) |
Definition at line 160 of file TableFillingAndNavigationTools.cxx.
References ScDocShell::GetDocFunc(), AddressWalker::mCurrentAddress, meGrammar, mpDocShell, mrDocument, and ScDocFunc::SetFormulaCell().
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScAnalysisOfVarianceDialog::AnovaTwoFactor(), ScChiSquareTestDialog::ApplyOutput(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScFourierAnalysisDialog::ApplyOutput(), ScFTestDialog::ApplyOutput(), ScTTestDialog::ApplyOutput(), ScZTestDialog::ApplyOutput(), ScAnalysisOfVarianceDialog::RowColumn(), ScRegressionDialog::WritePredictionsWithResiduals(), ScRegressionDialog::WriteRegressionANOVAResults(), ScRegressionDialog::WriteRegressionEstimatesWithCI(), and ScRegressionDialog::WriteRegressionStatistics().
void AddressWalkerWriter::writeFormulas | ( | const std::vector< OUString > & | rFormulas | ) |
Definition at line 166 of file TableFillingAndNavigationTools.cxx.
References ScDocShell::GetDocFunc(), ScDocShell::GetDocument(), ScAddress::IncRow(), ScDocument::MaxRow(), AddressWalker::mCurrentAddress, meGrammar, mpDocShell, mrDocument, nLength, ScAddress::Row(), and ScDocFunc::SetFormulaCells().
Referenced by ScMovingAverageDialog::ApplyOutput().
void AddressWalkerWriter::writeMatrixFormula | ( | const OUString & | aFormula, |
SCCOL | nCols = 1 , |
||
SCROW | nRows = 1 |
||
) |
Definition at line 188 of file TableFillingAndNavigationTools.cxx.
References ScRange::aEnd, ScRange::aStart, ScDocFunc::EnterMatrix(), ScDocShell::GetDocFunc(), ScAddress::IncCol(), ScAddress::IncRow(), AddressWalker::mCurrentAddress, meGrammar, and mpDocShell.
Referenced by ScFourierAnalysisDialog::ApplyOutput(), ScTTestDialog::ApplyOutput(), ScZTestDialog::ApplyOutput(), ScRegressionDialog::WritePredictionsWithResiduals(), ScRegressionDialog::WriteRawRegressionResults(), and ScRegressionDialog::WriteRegressionEstimatesWithCI().
void AddressWalkerWriter::writeString | ( | const char * | aCharArray | ) |
Definition at line 205 of file TableFillingAndNavigationTools.cxx.
References writeString().
void AddressWalkerWriter::writeString | ( | const OUString & | aString | ) |
Definition at line 200 of file TableFillingAndNavigationTools.cxx.
References ScDocShell::GetDocFunc(), AddressWalker::mCurrentAddress, mpDocShell, and ScDocFunc::SetStringCell().
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScAnalysisOfVarianceDialog::AnovaTwoFactor(), ScChiSquareTestDialog::ApplyOutput(), ScDescriptiveStatisticsDialog::ApplyOutput(), ScFourierAnalysisDialog::ApplyOutput(), ScFTestDialog::ApplyOutput(), ScMatrixComparisonGenerator::ApplyOutput(), ScTTestDialog::ApplyOutput(), ScZTestDialog::ApplyOutput(), ScAnalysisOfVarianceDialog::RowColumn(), ScRegressionDialog::WritePredictionsWithResiduals(), ScRegressionDialog::WriteRawRegressionResults(), ScRegressionDialog::WriteRegressionANOVAResults(), ScRegressionDialog::WriteRegressionEstimatesWithCI(), ScRegressionDialog::WriteRegressionStatistics(), and writeString().
void AddressWalkerWriter::writeValue | ( | double | aValue | ) |
Definition at line 222 of file TableFillingAndNavigationTools.cxx.
References ScDocShell::GetDocFunc(), AddressWalker::mCurrentAddress, mpDocShell, and ScDocFunc::SetValueCell().
Referenced by ScAnalysisOfVarianceDialog::AnovaSingleFactor(), ScAnalysisOfVarianceDialog::AnovaTwoFactor(), ScChiSquareTestDialog::ApplyOutput(), ScExponentialSmoothingDialog::ApplyOutput(), ScFTestDialog::ApplyOutput(), ScTTestDialog::ApplyOutput(), ScZTestDialog::ApplyOutput(), and ScRegressionDialog::WriteRegressionANOVAResults().
|
private |
Definition at line 76 of file TableFillingAndNavigationTools.hxx.
Referenced by writeFormula(), writeFormulas(), and writeMatrixFormula().
|
private |
Definition at line 74 of file TableFillingAndNavigationTools.hxx.
Referenced by writeBoldString(), writeFormula(), writeFormulas(), writeMatrixFormula(), writeString(), and writeValue().
|
private |
Definition at line 75 of file TableFillingAndNavigationTools.hxx.
Referenced by writeBoldString(), writeFormula(), and writeFormulas().