Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

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 and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.