LibreOffice Module sc (master) 1
|
#include <XMLStylesExportHelper.hxx>
Public Member Functions | |
ScMyValidationsContainer () | |
~ScMyValidationsContainer () | |
void | AddValidation (const css::uno::Any &aAny, sal_Int32 &nValidationIndex) |
void | WriteValidations (ScXMLExport &rExport) |
const OUString & | GetValidationName (const sal_Int32 nIndex) |
Static Public Member Functions | |
static OUString | GetCondition (ScXMLExport &rExport, const ScMyValidation &aValidation) |
static OUString | GetBaseCellAddress (const ScDocument *pDoc, const ScAddress &aCell) |
static void | WriteMessage (ScXMLExport &rExport, const OUString &sTitle, const OUString &sMessage, const bool bShowMessage, const bool bIsHelpMessage) |
Private Attributes | |
std::vector< ScMyValidation > | aValidationVec |
Definition at line 60 of file XMLStylesExportHelper.hxx.
ScMyValidationsContainer::ScMyValidationsContainer | ( | ) |
Definition at line 72 of file XMLStylesExportHelper.cxx.
ScMyValidationsContainer::~ScMyValidationsContainer | ( | ) |
Definition at line 76 of file XMLStylesExportHelper.cxx.
void ScMyValidationsContainer::AddValidation | ( | const css::uno::Any & | aAny, |
sal_Int32 & | nValidationIndex | ||
) |
Definition at line 80 of file XMLStylesExportHelper.cxx.
References ScMyValidation::aAlertStyle, ScMyValidation::aBaseCell, ScMyValidation::aOperator, ScMyValidation::aValidationType, aValidationVec, ScMyValidation::bIgnoreBlanks, ScMyValidation::bShowErrorMessage, ScMyValidation::bShowInputMessage, i, nCount, ScMyValidation::nShowList, SC_UNONAME_ERRALSTY, SC_UNONAME_ERRMESS, SC_UNONAME_ERRTITLE, SC_UNONAME_IGNOREBL, SC_UNONAME_INPMESS, SC_UNONAME_INPTITLE, SC_UNONAME_SHOWERR, SC_UNONAME_SHOWINP, SC_UNONAME_SHOWLIST, SC_UNONAME_TYPE, ScMyValidation::sErrorMessage, ScMyValidation::sErrorTitle, ScMyValidation::sFormula1, ScMyValidation::sFormula2, ScMyValidation::sInputMessage, ScMyValidation::sInputTitle, and ScMyValidation::sName.
|
static |
Definition at line 260 of file XMLStylesExportHelper.cxx.
References formula::FormulaGrammar::CONV_OOO, and ScRangeStringConverter::GetStringFromAddress().
Referenced by WriteValidations().
|
static |
Definition at line 146 of file XMLStylesExportHelper.cxx.
References ScMyValidation::aOperator, ScMyValidation::aValidationType, ScXMLExport::GetDocument(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), ScDocument::GetStorageGrammar(), formula::FormulaGrammar::GRAM_ODFF, ScMyValidation::sFormula1, ScMyValidation::sFormula2, XML_NAMESPACE_OF, and XML_NAMESPACE_OOOC.
Referenced by WriteValidations().
const OUString & ScMyValidationsContainer::GetValidationName | ( | const sal_Int32 | nIndex | ) |
Definition at line 407 of file XMLStylesExportHelper.cxx.
References aValidationVec, o3tl::make_unsigned(), and nIndex.
|
static |
Definition at line 267 of file XMLStylesExportHelper.cxx.
References SvXMLExport::AddAttribute(), convertLineEnd(), SvXMLExport::GetTextParagraphExport(), i, LINEEND_LF, XML_DISPLAY, XML_ERROR_MESSAGE, XML_FALSE, XML_HELP_MESSAGE, XML_NAMESPACE_TABLE, XML_NAMESPACE_TEXT, XML_P, XML_TITLE, and XML_TRUE.
Referenced by WriteValidations().
void ScMyValidationsContainer::WriteValidations | ( | ScXMLExport & | rExport | ) |
Definition at line 308 of file XMLStylesExportHelper.cxx.
References SvXMLExport::AddAttribute(), aSeq, aValidationVec, XMLEventExport::ExportSingleEvent(), GetBaseCellAddress(), GetCondition(), ScXMLExport::GetDocument(), SvXMLExport::GetEventExport(), comphelper::InitPropertySequence(), SfxApplication::IsXScriptURL(), sScript, u, WriteMessage(), XML_ALLOW_EMPTY_CELL, XML_BASE_CELL_ADDRESS, XML_CONDITION, XML_CONTENT_VALIDATION, XML_CONTENT_VALIDATIONS, XML_DISPLAY_LIST, XML_ERROR_MACRO, XML_EXECUTE, XML_FALSE, XML_INFORMATION, XML_MESSAGE_TYPE, XML_NAME, XML_NAMESPACE_TABLE, XML_NO, XML_SORT_ASCENDING, XML_STOP, XML_TRUE, XML_UNSORTED, and XML_WARNING.
|
private |
Definition at line 63 of file XMLStylesExportHelper.hxx.
Referenced by AddValidation(), GetValidationName(), and WriteValidations().