Hello, I ended up solving my problem going about it the other way around
adding the text to an auto expanding Textshape, then capturing the size that
way.
Thanks anyway...
// get internal service factory of the document
XMultiServiceFactory xWriterFactory_tmp =
Hello folks, just wondering if there is a more accurate way of converting
pixels to 1/00mm in OpenOffice... Other than the 72 DPI type of calculation
people use?
Currently I do the following:
if (fontDescriptor[i].Name.equalsIgnoreCase(Arial)) {
Hello Chris,
On Wednesday 13 January 2010, 18:49, Chris Fleischmann wrote:
Hello folks, just wondering if there is a more accurate way of converting
pixels to 1/00mm in OpenOffice... Other than the 72 DPI type of calculation
people use?
Currently I do the following:
if
Thanks for the hints... I have since tried the following:
// get internal service factory of the document
XMultiServiceFactory xWriterFactory_tmp = (XMultiServiceFactory)
UnoRuntime.queryInterface(
XMultiServiceFactory.class, xWriterComponent_sdraw_dest);