LibreOffice
LibreOffice 24.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 More... | |
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 More... | |
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 More... | |
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 More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
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 | |
) |
com::sun::star::awt::Point convertPointToPixel | ( | [in] com::sun::star::awt::Point | Point, |
[in] short | SourceUnit | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |
com::sun::star::awt::Size convertSizeToLogic | ( | [in] com::sun::star::awt::Size | Size, |
[in] short | TargetUnit | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |
com::sun::star::awt::Size convertSizeToPixel | ( | [in] com::sun::star::awt::Size | Size, |
[in] short | SourceUnit | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |