Language
The Free and Open Productivity Suite
:: com :: sun :: star :: awt ::
|
interface XUnitConversion |
|
- Description
- allows converting between different measurement units
- Since
- OOo 3.0
|
Methods' Details |
convertPointToLogic
- Description
- converts the given Point, which is specified in pixels, into the given logical unit
- Parameter Point
- A given Point in a well known type
- Parameter TargetUnit
- A type from ::com::sun::star::util::MeasureUnit in which the Point will convert to.
- Returns
- Returns a new Point in the TargetUnit type format.
|
|
convertPointToPixel
- Description
- converts the given Point, which is specified in the given logical unit, into pixels
- Parameter Point
- A given Point in the SourceUnit type
- Parameter SourceUnit
- The type from ::com::sun::star::util::MeasureUnit of the Point.
- Returns
- Return a new Point in Pixel type format.
|
|
convertSizeToLogic
- Description
- converts the given Size, which is specified in pixels, into the given logical unit
- Parameter aSize
- A given Size in a well known type
- Parameter TargetUnit
- A type from ::com::sun::star::util::MeasureUnit in which the Size will convert to.
- Returns
- Returns a new Size in the TargetUnit type format.
|
|
convertSizeToPixel
- Description
- converts the given Size, which is specified in the given logical unit, into pixels
- Parameter Size
- A given Size in a well known type
- Parameter TargetUnit
- The type from ::com::sun::star::util::MeasureUnit of the Size.
- Returns
- Returns a new Size in the TargetUnit type format.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.