Apache OpenOffice (AOO) Bugzilla – Issue 86925
Conversion code Pixel To Logic to Pixel
Last modified: 2013-02-24 21:09:32 UTC
We need conversion code to convert VCL Pixel to 1/100mm and vice versa. Background: We have a Java String and a FontDescriptor and would like to know, how long a given String in 1/100mm is. At the moment there exist no api interfaces to calulate such thing.
fixed
reassign
-> lla: how to test this?
We (LLA, CN) will create an api test for this.
There exists now a complex test in sub directory qa/complex/xunitconversion. 1. Simply start an office with parameter -accept="socket,host=localhost,port=8100;urp;" 2. start a shell and start the solar environment 3. goto the project toolkit then into the above give sub directory 4. compile the test by 'dmake' 5. start the test by 'dmake run' The test finished with 'PASSED, OK' if there are no problems. For more information take a look into the XUnitConversionTest.java source file in the above given sub directory.
reassigned LLA->CN: please verify
ok in cws
ok in master => close