TextCharacterSpacingControl.cxx (d29c2fc2) TextCharacterSpacingControl.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

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

180 else
181 {
182 //set custom tips
183 maVSSpacing.ReplaceItemImages(6, maImgCus,0);
184 if(mnCustomKern > 0)
185 {
186 String aStrTip( maStrCusE); //LAST CUSTOM no tip defect //add
187 aStrTip.Append( String::CreateFromDouble( (double)mnCustomKern / 10));
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

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

180 else
181 {
182 //set custom tips
183 maVSSpacing.ReplaceItemImages(6, maImgCus,0);
184 if(mnCustomKern > 0)
185 {
186 String aStrTip( maStrCusE); //LAST CUSTOM no tip defect //add
187 aStrTip.Append( String::CreateFromDouble( (double)mnCustomKern / 10));
188 aStrTip.Append( xub_Unicode(' ') );
188 aStrTip.Append(maStrUnit); // modify
189 maVSSpacing.SetItemText(6,aStrTip);
190 }
191 else if(mnCustomKern < 0)
192 {
193 String aStrTip(maStrCusC) ; //LAST CUSTOM no tip defect //add
194 aStrTip.Append( String::CreateFromDouble( (double)-mnCustomKern / 10));
189 aStrTip.Append(maStrUnit); // modify
190 maVSSpacing.SetItemText(6,aStrTip);
191 }
192 else if(mnCustomKern < 0)
193 {
194 String aStrTip(maStrCusC) ; //LAST CUSTOM no tip defect //add
195 aStrTip.Append( String::CreateFromDouble( (double)-mnCustomKern / 10));
196 aStrTip.Append( xub_Unicode( ' ' ) );
195 aStrTip.Append(maStrUnit); // modify
196 maVSSpacing.SetItemText( 6, aStrTip );
197 }
198 else
199 {
200 String aStrTip(maStrCusN) ; //LAST CUSTOM no tip defect //add
201 maVSSpacing.SetItemText( 6, aStrTip );
202 }

--- 269 unchanged lines hidden ---
197 aStrTip.Append(maStrUnit); // modify
198 maVSSpacing.SetItemText( 6, aStrTip );
199 }
200 else
201 {
202 String aStrTip(maStrCusN) ; //LAST CUSTOM no tip defect //add
203 maVSSpacing.SetItemText( 6, aStrTip );
204 }

--- 269 unchanged lines hidden ---