summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/PropertyMap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/PropertyMap.hxx')
-rw-r--r--writerfilter/source/dmapper/PropertyMap.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index 2b46d5ddef5b..1e30a018b721 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -158,6 +158,7 @@ class SectionPropertyMap : public PropertyMap
::com::sun::star::table::BorderLine* m_pBorderLines[4];
sal_Int32 m_nBorderDistances[4];
+ sal_Int32 m_nBorderParams;
bool m_bTitlePage;
sal_Int16 m_nColumnCount;
@@ -202,6 +203,9 @@ class SectionPropertyMap : public PropertyMap
bool HasHeader( bool bFirstPage ) const;
bool HasFooter( bool bFirstPage ) const;
+ void SetBorderDistance( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xStyle,
+ PropertyIds eMarginId, PropertyIds eDistId, sal_Int32 nDistance, sal_Int32 nOffsetFrom );
+
public:
explicit SectionPropertyMap(bool bIsFirstSection);
~SectionPropertyMap();
@@ -227,6 +231,7 @@ public:
bool bFirst );
void SetBorder( BorderPosition ePos, sal_Int32 nLineDistance, const ::com::sun::star::table::BorderLine& rBorderLine );
+ void SetBorderParams( sal_Int32 nSet ) { m_nBorderParams = nSet; }
void SetColumnCount( sal_Int16 nCount ) { m_nColumnCount = nCount; }
void SetColumnDistance( sal_Int32 nDist ) { m_nColumnDistance = nDist; }
@@ -376,6 +381,9 @@ typedef boost::shared_ptr<ParagraphProperties> ParagraphPropertiesPtr;
/*-- 14.06.2007 12:12:34---------------------------------------------------
property map of a stylesheet
-----------------------------------------------------------------------*/
+
+#define WW_OUTLINE_MAX sal_Int16( 9 )
+
class StyleSheetPropertyMap : public PropertyMap, public ParagraphProperties
{
@@ -405,6 +413,8 @@ class StyleSheetPropertyMap : public PropertyMap, public ParagraphProperties
sal_Int32 mnListId;
sal_Int16 mnListLevel;
+
+ sal_Int16 mnOutlineLevel;
public:
explicit StyleSheetPropertyMap();
~StyleSheetPropertyMap();
@@ -479,6 +489,12 @@ public:
sal_Int16 GetListLevel() const { return mnListLevel; }
void SetListLevel(sal_Int16 nLevel) { mnListLevel = nLevel; }
+ sal_Int16 GetOutlineLevel() const { return mnOutlineLevel; }
+ void SetOutlineLevel(sal_Int16 nLevel)
+ {
+ if ( nLevel < WW_OUTLINE_MAX )
+ mnOutlineLevel = nLevel;
+ }
};
/*-- 27.12.2007 12:38:06---------------------------------------------------