[Libreoffice-commits] core.git: Branch 'feature/gsoc-calc-enhanced-db-range' - sc/source

Akash Shetye shetyeakash at gmail.com
Wed Jun 26 12:06:10 PDT 2013


 sc/source/filter/inc/stylesbuffer.hxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 23a858414fb781a39b521e55ce430d8b754bafea
Author: Akash Shetye <shetyeakash at gmail.com>
Date:   Thu Jun 27 00:34:10 2013 +0530

    Adds header file to commit 809154544ea1f49a1d7ef0f4b49b3378112f54d0.
    
    Forgot to add header file stylesbuffer.cxx to commit.
    
    Change-Id: I3541a7f584be3ef23b2ac1f22e6ae4309b5f2296

diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx
index 10a18ab..a548327 100644
--- a/sc/source/filter/inc/stylesbuffer.hxx
+++ b/sc/source/filter/inc/stylesbuffer.hxx
@@ -795,6 +795,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;
 
@@ -1011,6 +1013,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;


More information about the Libreoffice-commits mailing list