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

fix RTF import of default fFitShapeToText

Change-Id: I7813ea4b3a2cb97c334bca04e6ff556690725b5f
üst 5c706a48
......@@ -33,6 +33,7 @@
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/text/SizeType.hpp>
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/WrapTextMode.hpp>
#include <com/sun/star/text/WritingMode.hpp>
......@@ -95,6 +96,9 @@ std::vector<beans::PropertyValue> RTFSdrImport::getTextFrameDefaults()
aPropertyValue.Name = "BottomBorderDistance";
aPropertyValue.Value <<= sal_Int32(0);
aRet.push_back(aPropertyValue);
aPropertyValue.Name = "SizeType";
aPropertyValue.Value <<= text::SizeType::FIX;
aRet.push_back(aPropertyValue);
return aRet;
}
......
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