summaryrefslogtreecommitdiff
path: root/sw/inc/fmtornt.hxx
diff options
context:
space:
mode:
authorMuhammad Haggag <mhaggag@gmail.com>2012-04-22 21:20:25 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-03 11:12:12 +0200
commit7e8c0bd73ee59ff3041e55268c77203373962e51 (patch)
treea7a257f5ae1a48ebb30818c450a215f4817456da /sw/inc/fmtornt.hxx
parent002127460ad4b18fd66723e93c3d308ffc7207b1 (diff)
fdo#31005 Table Autoformats do not save/apply all properties
This change expands the number of properties supported by autoformats, mainly for Writer. Some improvements affect Calc as well (e.g. border styles are now preserved for Calc). Common: boxitem.hxx, frmitems.cxx * Added a new version for SvxBoxItem serialization that includes border styles. * Updated SvxBoxItem and SvxBorderLine serialization logic accordingly. Writer: fmtornt.hxx, attrfrm.cxx * Added serialization/deserialization logic for SwFmtVertOrient. Writer: tblafmt.hxx, tblafmt.cxx, ndtbl.cxx * Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50. * Autoformats now record the text orientation and vertical alignment of table cells. * Autoformats now record the following table-level properties: - Break - Keep with next paragraph - Repeat heading - Allow table split across pages - Allow rows to break across pages - Merge adjacent line styles - Table shadow Calc: autoform.hxx, autoform.cxx * Added support for reading/writing writer-specific data as binary blobs. * Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50.
Diffstat (limited to 'sw/inc/fmtornt.hxx')
-rw-r--r--sw/inc/fmtornt.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/fmtornt.hxx b/sw/inc/fmtornt.hxx
index ac196412fba5..a4055da5db8f 100644
--- a/sw/inc/fmtornt.hxx
+++ b/sw/inc/fmtornt.hxx
@@ -64,6 +64,9 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+ SvStream& Store(SvStream &rStream, sal_uInt16 itemVersion) const;
+ SfxPoolItem* Create(SvStream &rStream, sal_uInt16 itemVersion) const;
+
sal_Int16 GetVertOrient() const { return eOrient; }
sal_Int16 GetRelationOrient() const { return eRelation; }
void SetVertOrient( sal_Int16 eNew ) { eOrient = eNew; }