namespace sc
{ /// Direction or orientation of the results enumclass FormatResultDirection
{
ROW,
COLUMN
};
/// A field data for a format output, struct FormatOutputField
{
tools::Long nDimension = -2;
OUString aName;
sal_Int32 nIndex = -1; bool bMatchesAll = false; bool bSet = false;
};
/// Data for a entry of a format output, which matches a one format entry struct FormatOutputEntry
{
FormatType eType = FormatType::None;
std::optional<SCTAB> onTab = std::nullopt;
std::shared_ptr<ScPatternAttr> pPattern;
/// data for a "line" of one row/column axis struct LineData
{ /// primary axis depending if we are row or column oriented (when selecting a column or row we get a "line")
std::optional<SCCOLROW> oLine = std::nullopt; /// secondary axis depending if we are row or column oriented (position in a line)
std::optional<SCCOLROW> oPosition = std::nullopt; /// fields of a line
std::vector<FieldData> maFields;
};
/** Format output class, which is responsible to check if any of the formats and matches the
* pivot table output, and applies the cell attributes when the match is found. */ class FormatOutput
{ private:
ScDPObject& mrObject;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.