LibreOffice Module sc (master) 1
|
#include <worksheetfragment.hxx>
Public Member Functions | |
void | SetSqref (const OUString &rChars) |
void | SetFormula1 (const OUString &rChars) |
void | SetFormula2 (const OUString &rChars) |
void | SetValidation (WorksheetHelper &rTarget) |
void | importDataValidation (const AttributeList &rAttribs) |
Imports the dataValidation element containing data validation settings. More... | |
bool | isFormula1Set () const |
bool | isFormula2Set () const |
Static Public Member Functions | |
static void | importDataValidation (SequenceInputStream &rStrm, WorksheetHelper &rTarget) |
Imports the DATAVALIDATION record containing data validation settings. More... | |
Private Attributes | |
std::unique_ptr< ValidationModel > | mxValModel |
OUString | maSqref |
OUString | maFormula1 |
OUString | maFormula2 |
Definition at line 27 of file worksheetfragment.hxx.
void oox::xls::DataValidationsContextBase::importDataValidation | ( | const AttributeList & | rAttribs | ) |
Imports the dataValidation element containing data validation settings.
Definition at line 94 of file worksheetfragment.cxx.
References oox::AttributeList::getBool(), oox::AttributeList::getString(), oox::AttributeList::getToken(), oox::AttributeList::getXString(), maFormula1, maFormula2, maSqref, mxValModel, XML_none, and XML_type.
Referenced by oox::xls::DataValidationsContext::onCreateContext(), oox::xls::ExtDataValidationsContext::onCreateContext(), and oox::xls::DataValidationsContext::onCreateRecordContext().
|
static |
Imports the DATAVALIDATION record containing data validation settings.
Definition at line 116 of file worksheetfragment.cxx.
References oox::xls::FormulaProcessorBase::convertStringToStringList(), oox::getFlag(), ScRangeList::GetTopLeftCorner(), oox::xls::FormulaParser::importFormula(), oox::xls::ValidationModel::maErrorMessage, oox::xls::ValidationModel::maErrorTitle, oox::xls::ValidationModel::maInputMessage, oox::xls::ValidationModel::maInputTitle, oox::xls::ValidationModel::maRanges, oox::xls::ValidationModel::maTokens1, oox::xls::ValidationModel::maTokens2, oox::xls::ValidationModel::mbAllowBlank, oox::xls::ValidationModel::mbNoDropDown, oox::xls::ValidationModel::mbShowErrorMsg, oox::xls::ValidationModel::mbShowInputMsg, oox::xls::ValidationModel::mnType, rStrm, rTarget, oox::xls::ValidationModel::setBiffErrorStyle(), oox::xls::ValidationModel::setBiffOperator(), oox::xls::ValidationModel::setBiffType(), and oox::xls::Validation.
|
inline |
Definition at line 38 of file worksheetfragment.hxx.
References maFormula1.
Referenced by oox::xls::DataValidationsContext::onCreateContext().
|
inline |
Definition at line 39 of file worksheetfragment.hxx.
References maFormula2.
Referenced by oox::xls::DataValidationsContext::onCreateContext().
|
inline |
Definition at line 31 of file worksheetfragment.hxx.
References maFormula1.
Referenced by oox::xls::DataValidationsContext::onCharacters(), and oox::xls::ExtDataValidationsContext::onCharacters().
|
inline |
Definition at line 32 of file worksheetfragment.hxx.
References maFormula2.
Referenced by oox::xls::DataValidationsContext::onCharacters(), and oox::xls::ExtDataValidationsContext::onCharacters().
|
inline |
Definition at line 30 of file worksheetfragment.hxx.
References maSqref.
Referenced by oox::xls::ExtDataValidationsContext::onCharacters().
void oox::xls::DataValidationsContextBase::SetValidation | ( | WorksheetHelper & | rTarget | ) |
Definition at line 75 of file worksheetfragment.cxx.
References maFormula1, maFormula2, maSqref, mxValModel, and rTarget.
Referenced by oox::xls::DataValidationsContext::onEndElement(), and oox::xls::ExtDataValidationsContext::onEndElement().
|
private |
Definition at line 45 of file worksheetfragment.hxx.
Referenced by importDataValidation(), isFormula1Set(), SetFormula1(), and SetValidation().
|
private |
Definition at line 46 of file worksheetfragment.hxx.
Referenced by importDataValidation(), isFormula2Set(), SetFormula2(), and SetValidation().
|
private |
Definition at line 44 of file worksheetfragment.hxx.
Referenced by importDataValidation(), SetSqref(), and SetValidation().
|
private |
Definition at line 42 of file worksheetfragment.hxx.
Referenced by importDataValidation(), and SetValidation().