svdomeas.cxx (f6e50924) svdomeas.cxx (ae2dc0fa)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 594 unchanged lines hidden (view full) ---

603 if (bTextDirty)
604 {
605 SdrOutliner& rOutliner=ImpGetDrawOutliner();
606 OutlinerParaObject* pOutlinerParaObject = SdrTextObj::GetOutlinerParaObject();
607 if(pOutlinerParaObject==NULL)
608 {
609 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_ROTA90BLANCS), EE_FEATURE_FIELD), ESelection(0,0));
610 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_VALUE), EE_FEATURE_FIELD),ESelection(0,1));
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 594 unchanged lines hidden (view full) ---

603 if (bTextDirty)
604 {
605 SdrOutliner& rOutliner=ImpGetDrawOutliner();
606 OutlinerParaObject* pOutlinerParaObject = SdrTextObj::GetOutlinerParaObject();
607 if(pOutlinerParaObject==NULL)
608 {
609 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_ROTA90BLANCS), EE_FEATURE_FIELD), ESelection(0,0));
610 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_VALUE), EE_FEATURE_FIELD),ESelection(0,1));
611 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_UNIT), EE_FEATURE_FIELD),ESelection(0,2));
612 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_ROTA90BLANCS), EE_FEATURE_FIELD),ESelection(0,3));
611 rOutliner.QuickInsertText(String(sal_Unicode(' ')), ESelection(0,2));
612 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_UNIT), EE_FEATURE_FIELD),ESelection(0,3));
613 rOutliner.QuickInsertField(SvxFieldItem(SdrMeasureField(SDRMEASUREFIELD_ROTA90BLANCS), EE_FEATURE_FIELD),ESelection(0,4));
613
614 if(GetStyleSheet())
615 rOutliner.SetStyleSheet(0, GetStyleSheet());
616
617 rOutliner.SetParaAttribs(0, GetObjectItemSet());
618
619 // casting auf nonconst
620 const_cast<SdrMeasureObj*>(this)->NbcSetOutlinerParaObject( rOutliner.CreateParaObject() );

--- 877 unchanged lines hidden ---
614
615 if(GetStyleSheet())
616 rOutliner.SetStyleSheet(0, GetStyleSheet());
617
618 rOutliner.SetParaAttribs(0, GetObjectItemSet());
619
620 // casting auf nonconst
621 const_cast<SdrMeasureObj*>(this)->NbcSetOutlinerParaObject( rOutliner.CreateParaObject() );

--- 877 unchanged lines hidden ---