Issue 86925 - Conversion code Pixel To Logic to Pixel
Summary: Conversion code Pixel To Logic to Pixel
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: chne
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 14:21 UTC by lars.langhans
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description lars.langhans 2008-03-11 14:21:47 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.
Comment 1 lars.langhans 2008-05-29 08:45:56 UTC
fixed
Comment 2 lars.langhans 2008-06-06 11:36:05 UTC
reassign
Comment 3 marc.neumann 2008-06-06 14:26:53 UTC
-> lla: how to test this?
Comment 4 lars.langhans 2008-06-09 10:12:46 UTC
We (LLA, CN) will create an api test for this.
Comment 5 lars.langhans 2008-06-12 09:14:28 UTC
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.
Comment 6 lars.langhans 2008-06-12 09:15:15 UTC
reassigned

LLA->CN: please verify
Comment 7 chne 2008-06-12 09:26:14 UTC
ok in cws
Comment 8 chne 2008-08-25 16:16:38 UTC
ok in master => close