Kaydet (Commit) e57e81ad authored tarafından Jaskaran Singh's avatar Jaskaran Singh Kaydeden (comit) Markus Mohrhard

Implement Interface for Importing Styles via Orcus

Change-Id: I2ec4cb1ad358e2e4a49e82e916a54fae81558937
üst 2aea6d51
...@@ -258,7 +258,12 @@ private: ...@@ -258,7 +258,12 @@ private:
double mnSize; double mnSize;
Color maColor; Color maColor;
bool mbHasFontAttr;
bool mbHasUnderlineAttr;
FontLineStyle meUnderline; FontLineStyle meUnderline;
FontLineStyle meUnderlineType;
FontLineStyle meUnderlineWidth;
Color maUnderlineColor; Color maUnderlineColor;
font(); font();
...@@ -275,6 +280,10 @@ private: ...@@ -275,6 +280,10 @@ private:
Color maFgColor; Color maFgColor;
Color maBgColor; Color maBgColor;
bool mbHasFillAttr;
fill();
void applyToItemSet(SfxItemSet& rSet) const; void applyToItemSet(SfxItemSet& rSet) const;
}; };
...@@ -291,6 +300,8 @@ private: ...@@ -291,6 +300,8 @@ private:
}; };
std::map<orcus::spreadsheet::border_direction_t, border_line> border_lines; std::map<orcus::spreadsheet::border_direction_t, border_line> border_lines;
bool mbHasBorderAttr;
border(); border();
void applyToItemSet(SfxItemSet& rSet) const; void applyToItemSet(SfxItemSet& rSet) const;
...@@ -306,6 +317,8 @@ private: ...@@ -306,6 +317,8 @@ private:
bool mbPrintContent; bool mbPrintContent;
bool mbFormulaHidden; bool mbFormulaHidden;
bool mbHasProtectionAttr;
protection(); protection();
void applyToItemSet(SfxItemSet& rSet) const; void applyToItemSet(SfxItemSet& rSet) const;
}; };
...@@ -317,6 +330,9 @@ private: ...@@ -317,6 +330,9 @@ private:
{ {
OUString maCode; OUString maCode;
bool mbHasNumberFormatAttr;
number_format();
void applyToItemSet(SfxItemSet& rSet) const; void applyToItemSet(SfxItemSet& rSet) const;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment