Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface XTextLayoutConstrains
Description
specifies the layout contstraints for a text field.

Methods' Summary
getMinimumSize returns the minimum size for a given number of columns and lines.  
getColumnsAndLines returns the ideal number of columns and lines for displaying this text.  
Methods' Details
getMinimumSize
Size
getMinimumSize( [in] short  nCols,
[in] short  nLines );

Description
returns the minimum size for a given number of columns and lines.
getColumnsAndLines
void
getColumnsAndLines( [out] short  nCols,
[out] short  nLines );

Description
returns the ideal number of columns and lines for displaying this text.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

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