diff options
author | Muhammad Haggag <mhaggag@gmail.com> | 2012-04-22 21:20:25 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-03 11:12:12 +0200 |
commit | 7e8c0bd73ee59ff3041e55268c77203373962e51 (patch) | |
tree | a7a257f5ae1a48ebb30818c450a215f4817456da /editeng/inc/editeng/boxitem.hxx | |
parent | 002127460ad4b18fd66723e93c3d308ffc7207b1 (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 'editeng/inc/editeng/boxitem.hxx')
-rw-r--r-- | editeng/inc/editeng/boxitem.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/editeng/inc/editeng/boxitem.hxx b/editeng/inc/editeng/boxitem.hxx index 46597705fc92..1d9062f9cf6f 100644 --- a/editeng/inc/editeng/boxitem.hxx +++ b/editeng/inc/editeng/boxitem.hxx @@ -48,7 +48,16 @@ namespace rtl { class OUString; } #define BOX_LINE_LEFT ((sal_uInt16)2) #define BOX_LINE_RIGHT ((sal_uInt16)3) +/** +This version causes SvxBoxItem to store the 4 cell spacing distances separately +when serializing to stream. +*/ #define BOX_4DISTS_VERSION ((sal_uInt16)1) +/** +This version causes SvxBoxItem to store the styles for its border lines when +serializing to stream. +*/ +#define BOX_BORDER_STYLE_VERSION ((sal_uInt16)2) class EDITENG_DLLPUBLIC SvxBoxItem : public SfxPoolItem { |