summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkash Shetye <shetyeakash@gmail.com>2013-06-27 00:34:10 +0530
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-08-05 14:30:20 -0400
commit16aab2ee8a9f30a7cd9bcabf8b0947b0c0a897cf (patch)
tree21fd244c5c8099f7575542e2b0d48aea4760122e
parent9d29ba1b3c76cc9a88dd9f52aa79495dbcaeb38d (diff)
Adds header file to commit 809154544ea1f49a1d7ef0f4b49b3378112f54d0.
Forgot to add header file stylesbuffer.cxx to commit. Change-Id: I3541a7f584be3ef23b2ac1f22e6ae4309b5f2296
-rw-r--r--sc/source/filter/inc/stylesbuffer.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx
index c8c783de7919..c3fa63eb4129 100644
--- a/sc/source/filter/inc/stylesbuffer.hxx
+++ b/sc/source/filter/inc/stylesbuffer.hxx
@@ -793,6 +793,8 @@ public:
explicit TableStyle( const WorkbookHelper& rHelper, const OUString& rTableStyleName );
void importTableStyleElement( const AttributeList& rAttribs );
void finalizeImport();
+ const OUString& getTableStyleName() const;
+ ScDBDataFormatting& getTableFormatting(); //not const since it will be edited and put in ScDBData objects
private:
typedef ::boost::shared_ptr< ::ScDBDataFormatting > TableFormattingRef;
@@ -1009,6 +1011,9 @@ public:
void writeStyleXfToPropertySet( PropertySet& rPropSet, sal_Int32 nXfId ) const;
bool hasBorder( sal_Int32 nBorderId ) const;
+ /**Returns the TableStyleRef for given table style name*/
+ TableStyleRef getTableStyle( OUString& rTableStyleName );
+
private:
typedef RefVector< Font > FontVector;
typedef RefVector< Border > BorderVector;