Kaydet (Commit) e0a2be86 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: add RowInteropGrabBag UNO property for table rows

Change-Id: I59e0d24e04ebabdaa2fdb23fbc47c649d4872853
üst a37c6614
...@@ -85,6 +85,16 @@ published service TextTableRow ...@@ -85,6 +85,16 @@ published service TextTableRow
*/ */
[optional, property, maybevoid] boolean IsSplitAllowed; [optional, property, maybevoid] boolean IsSplitAllowed;
/** Grab bag of row properties, used as a string-any map for interop purposes.
@since LibreOffice 4.4
<p>This property is intentionally not handled by the ODF filter. Any
member that should be handled there should be first moved out from this grab
bag to a separate property.</p>
*/
[optional, property] sequence<com::sun::star::beans::PropertyValue> RowInteropGrabBag;
}; };
......
...@@ -897,6 +897,7 @@ ...@@ -897,6 +897,7 @@
#define UNO_NAME_CHAR_INTEROP_GRAB_BAG "CharInteropGrabBag" #define UNO_NAME_CHAR_INTEROP_GRAB_BAG "CharInteropGrabBag"
#define UNO_NAME_TEXT_VERT_ADJUST "TextVerticalAdjust" #define UNO_NAME_TEXT_VERT_ADJUST "TextVerticalAdjust"
#define UNO_NAME_CELL_INTEROP_GRAB_BAG "CellInteropGrabBag" #define UNO_NAME_CELL_INTEROP_GRAB_BAG "CellInteropGrabBag"
#define UNO_NAME_ROW_INTEROP_GRAB_BAG "RowInteropGrabBag"
#define UNO_NAME_TABLE_INTEROP_GRAB_BAG "TableInteropGrabBag" #define UNO_NAME_TABLE_INTEROP_GRAB_BAG "TableInteropGrabBag"
#endif #endif
......
...@@ -209,6 +209,7 @@ sal_uInt16 aTableLineSetRange[] = { ...@@ -209,6 +209,7 @@ sal_uInt16 aTableLineSetRange[] = {
RES_PROTECT, RES_PROTECT, RES_PROTECT, RES_PROTECT,
RES_VERT_ORIENT, RES_VERT_ORIENT, RES_VERT_ORIENT, RES_VERT_ORIENT,
RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1,
RES_FRMATR_GRABBAG, RES_FRMATR_GRABBAG,
0 0
}; };
......
...@@ -1697,6 +1697,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s ...@@ -1697,6 +1697,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ OUString(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE, cppu::UnoType<sal_Int16>::get() , PROPERTY_NONE, MID_FRMSIZE_SIZE_TYPE }, { OUString(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE, cppu::UnoType<sal_Int16>::get() , PROPERTY_NONE, MID_FRMSIZE_SIZE_TYPE },
{ OUString(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE, cppu::UnoType<sal_Int16>::get() , PROPERTY_NONE, MID_FRMSIZE_WIDTH_TYPE }, { OUString(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE, cppu::UnoType<sal_Int16>::get() , PROPERTY_NONE, MID_FRMSIZE_WIDTH_TYPE },
{ OUString(UNO_NAME_IS_SPLIT_ALLOWED), RES_ROW_SPLIT, cppu::UnoType<bool>::get() , PropertyAttribute::MAYBEVOID, 0}, { OUString(UNO_NAME_IS_SPLIT_ALLOWED), RES_ROW_SPLIT, cppu::UnoType<bool>::get() , PropertyAttribute::MAYBEVOID, 0},
{ OUString(UNO_NAME_ROW_INTEROP_GRAB_BAG), RES_FRMATR_GRABBAG, cppu::UnoType< cppu::UnoSequenceType<css::beans::PropertyValue> >::get(), PROPERTY_NONE, 0 },
{ OUString(), 0, css::uno::Type(), 0, 0 } { OUString(), 0, css::uno::Type(), 0, 0 }
}; };
......
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