|
LibreOffice
LibreOffice 26.2 SDK API Reference
|
allows converting between different measurement units More...
import "XUnitConversion.idl";
Public Member Functions | |
| com::sun::star::awt::Point | convertPointToLogic ([in] com::sun::star::awt::Point Point, [in] short TargetUnit) raises ( com::sun::star::lang::IllegalArgumentException ) |
| converts the given Point, which is specified in pixels, into the given logical unit | |
| com::sun::star::awt::Point | convertPointToPixel ([in] com::sun::star::awt::Point Point, [in] short SourceUnit) raises ( com::sun::star::lang::IllegalArgumentException ) |
| converts the given Point, which is specified in the given logical unit, into pixels | |
| com::sun::star::awt::Size | convertSizeToLogic ([in] com::sun::star::awt::Size Size, [in] short TargetUnit) raises ( com::sun::star::lang::IllegalArgumentException ) |
| converts the given Size, which is specified in pixels, into the given logical unit | |
| com::sun::star::awt::Size | convertSizeToPixel ([in] com::sun::star::awt::Size Size, [in] short SourceUnit) raises ( com::sun::star::lang::IllegalArgumentException ) |
| converts the given Size, which is specified in the given logical unit, into pixels | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
allows converting between different measurement units
| com::sun::star::awt::Point convertPointToLogic | ( | [in] com::sun::star::awt::Point | Point, | |||
| [in] short | TargetUnit ) | |||||
| raises | ( | com::sun::star::lang::IllegalArgumentException ) | ||||
converts the given Point, which is specified in pixels, into the given logical unit
| Point | A given Point in a well known type |
| TargetUnit | A type from com::sun::star::util::MeasureUnit in which the Point will convert to. |
| com::sun::star::awt::Point convertPointToPixel | ( | [in] com::sun::star::awt::Point | Point, | |||
| [in] short | SourceUnit ) | |||||
| raises | ( | com::sun::star::lang::IllegalArgumentException ) | ||||
converts the given Point, which is specified in the given logical unit, into pixels
| Point | A given Point in the SourceUnit type |
| SourceUnit | The type from com::sun::star::util::MeasureUnit of the Point. |
| com::sun::star::awt::Size convertSizeToLogic | ( | [in] com::sun::star::awt::Size | Size, | |||
| [in] short | TargetUnit ) | |||||
| raises | ( | com::sun::star::lang::IllegalArgumentException ) | ||||
converts the given Size, which is specified in pixels, into the given logical unit
| Size | A given Size in a well known type |
| TargetUnit | A type from com::sun::star::util::MeasureUnit in which the Size will convert to. |
| com::sun::star::awt::Size convertSizeToPixel | ( | [in] com::sun::star::awt::Size | Size, | |||
| [in] short | SourceUnit ) | |||||
| raises | ( | com::sun::star::lang::IllegalArgumentException ) | ||||
converts the given Size, which is specified in the given logical unit, into pixels
| Size | A given Size in a well known type |
| SourceUnit | The type from com::sun::star::util::MeasureUnit of the Size. |