measureproperties.cxx (f6e50924) | measureproperties.cxx (fad7b0c6) |
---|---|
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 --- 99 unchanged lines hidden (view full) --- 108 { 109 // call parent 110 TextProperties::ForceDefaultAttributes(); 111 112 // force ItemSet 113 GetObjectItemSet(); 114 115 //#71958# by default, the show units Bool-Item is set as hard | 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 --- 99 unchanged lines hidden (view full) --- 108 { 109 // call parent 110 TextProperties::ForceDefaultAttributes(); 111 112 // force ItemSet 113 GetObjectItemSet(); 114 115 //#71958# by default, the show units Bool-Item is set as hard |
116 // attribute to sal_True to aviod confusion when copying SdrMeasureObj's | 116 // attribute to sal_True to avoid confusion when copying SdrMeasureObj's |
117 // from one application to another 118 mpItemSet->Put(SdrMeasureShowUnitItem(sal_True)); 119 120 basegfx::B2DPolygon aNewPolygon; 121 aNewPolygon.append(basegfx::B2DPoint(100.0, 0.0)); 122 aNewPolygon.append(basegfx::B2DPoint(200.0, 400.0)); 123 aNewPolygon.append(basegfx::B2DPoint(0.0, 400.0)); 124 aNewPolygon.setClosed(true); --- 13 unchanged lines hidden --- | 117 // from one application to another 118 mpItemSet->Put(SdrMeasureShowUnitItem(sal_True)); 119 120 basegfx::B2DPolygon aNewPolygon; 121 aNewPolygon.append(basegfx::B2DPoint(100.0, 0.0)); 122 aNewPolygon.append(basegfx::B2DPoint(200.0, 400.0)); 123 aNewPolygon.append(basegfx::B2DPoint(0.0, 400.0)); 124 aNewPolygon.setClosed(true); --- 13 unchanged lines hidden --- |