summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2000-11-20 11:10:03 +0000
committerMichael Brauer <mib@openoffice.org>2000-11-20 11:10:03 +0000
commita492bd84ac0e4e02a0922fcb99050e70cdc952fd (patch)
treebbf30ea5ffd7014b05d31fa11476471a0869c056
parentb946815c41025c00b73464fedbdfa7ef91fc0367 (diff)
setting columns for frames now works
-rw-r--r--sw/source/core/unocore/unoframe.cxx17
1 files changed, 15 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index b341029b3c6e..b208d6bf359c 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoframe.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: mib $ $Date: 2000-11-16 12:49:04 $
+ * last change: $Author: mib $ $Date: 2000-11-20 12:10:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -198,6 +198,9 @@
#ifndef _FMTANCHR_HXX
#include <fmtanchr.hxx>
#endif
+#ifndef _FMTCLDS_HXX
+#include <fmtclds.hxx>
+#endif
#ifndef _NDTXT_HXX
#include <ndtxt.hxx>
#endif
@@ -729,6 +732,13 @@ sal_Bool SwFrameProperties_Impl::AnyToItemSet(SfxItemSet& rSet, SfxItemSet&)
((SfxPoolItem&)aBool).PutValue(*pEdit, 0);
rSet.Put(aBool);
}
+ uno::Any* pColumns;
+ if(GetProperty(C2S(UNO_NAME_TEXT_COLUMNS), pColumns))
+ {
+ SwFmtCol aCol;
+ ((SfxPoolItem&)aCol).PutValue(*pColumns, MID_COLUMNS);
+ rSet.Put(aCol);
+ }
return bRet;
}
/****************************************************************************
@@ -2648,6 +2658,9 @@ sal_uInt16 SwXOLEListener::FindEntry( const EventObject& rEvent,SwOLENode** ppNd
/*------------------------------------------------------------------------
$Log: not supported by cvs2svn $
+ Revision 1.9 2000/11/16 12:49:04 mib
+ TextWrap, SurroundContour and ContourOutside to work now
+
Revision 1.8 2000/11/15 15:00:48 os
chg: use optimized SfxItemPropertySet::get/setPropertyValue - methods