summaryrefslogtreecommitdiff
path: root/svx/source/sdr/primitive2d/sdrattributecreator.cxx
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2015-09-07 11:37:27 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-09-20 13:05:15 +0200
commitaa77b170cb8aee744aa207f5b1ecfdd0bc0e90e2 (patch)
treef4cd747a95d4b3684e3a1307278ad7d6241a085d /svx/source/sdr/primitive2d/sdrattributecreator.cxx
parente910e775cf9982b6e14df2630ca21026efe09d65 (diff)
chained editeng: Add chaining attributes and chaining primitive creation logic
Change-Id: I957d5261dd847fe5e950441585e879cfd5ae2fb2
Diffstat (limited to 'svx/source/sdr/primitive2d/sdrattributecreator.cxx')
-rw-r--r--svx/source/sdr/primitive2d/sdrattributecreator.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
index 522236729c62..2ec29edf342f 100644
--- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx
+++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
@@ -520,6 +520,11 @@ namespace drawinglayer
{
const SdrTextObj& rTextObj = rText.GetObject();
+ // Save chaining attributes
+ bool bToBeChained = rTextObj.IsToBeChained();
+ bool bChainable = rTextObj.IsChainable();
+
+
if(rText.GetOutlinerParaObject() && rText.GetModel())
{
// added TextEdit text suppression
@@ -578,7 +583,9 @@ namespace drawinglayer
SDRTEXTANI_SCROLL == eAniKind || SDRTEXTANI_ALTERNATE == eAniKind || SDRTEXTANI_SLIDE == eAniKind,
bInEditMode,
static_cast<const SdrTextFixedCellHeightItem&>(rSet.Get(SDRATTR_TEXT_USEFIXEDCELLHEIGHT)).GetValue(),
- bWrongSpell);
+ bWrongSpell,
+ bToBeChained,
+ bChainable);
}
return attribute::SdrTextAttribute();