The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: util ::

interface XStringWidth
Description
An interface that encapsulates the abstract notion of string width.
See also
XStringAbbreviation

Methods' Summary
queryStringWidth compute the width of a given string.  
Methods' Details
queryStringWidth
long
queryStringWidth( [in] string  aString );

Description
compute the width of a given string.

Depending on the implementation of this interface, the width of a string can be rather different things, like the number of characters in the string, or the width in pixel when displayed with a specific font.

Parameter aString
The string that is to be measured.
Returns
the string's width.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.