Difference between revisions of "Documentation/DevGuide/Spreadsheets/Indentation"
From Apache OpenOffice Wiki
< Documentation | DevGuide
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Documentation/Developers Guide/Spreadsheet Documents) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
Line 6: | Line 6: | ||
|NextPage=Documentation/DevGuide/Spreadsheets/Equally Formatted Cell Ranges | |NextPage=Documentation/DevGuide/Spreadsheets/Equally Formatted Cell Ranges | ||
}} | }} | ||
− | {{DISPLAYTITLE:Indentation}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Spreadsheets/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Indentation}} | ||
<!--<idltopic>com.sun.star.util.XIndent</idltopic>--> | <!--<idltopic>com.sun.star.util.XIndent</idltopic>--> | ||
The methods of the interface <idl>com.sun.star.util.XIndent</idl> change the left indentation of the cell contents. This interface is supported by cells, cell ranges and collections of cell ranges. The indentation is incremental and decremental, independent for each cell. | The methods of the interface <idl>com.sun.star.util.XIndent</idl> change the left indentation of the cell contents. This interface is supported by cells, cell ranges and collections of cell ranges. The indentation is incremental and decremental, independent for each cell. |
Revision as of 10:26, 14 May 2009
The methods of the interface com.sun.star.util.XIndent change the left indentation of the cell contents. This interface is supported by cells, cell ranges and collections of cell ranges. The indentation is incremental and decremental, independent for each cell.
- The method
decrementIndent()
reduces the indentation of each cell by 1. - The method
incrementIndent()
enlarges the indentation of each cell by 1.
The following sample shows how to increase the cell indentation by 1.
// --- Change indentation. --- com.sun.star.util.XIndent xIndent = (com.sun.star.util.XIndent) UnoRuntime.queryInterface(com.sun.star.util.XIndent.class, xCellRange); xIndent.incrementIndent();
Due to a bug, this interface does not work in the current implementation. Workaround: Use the paragraph property ParaIndent. |
Content on this page is licensed under the Public Documentation License (PDL). |