Automatic line wrapping method: 1. Drag a text box component on the design interface and put the text content into it. Select the text box component, find the "Stretch With Overflow" property in the properties panel, and set it to true. When the text content exceeds the width of the text box, it will automatically wrap; 2. Select the table component and change the line that needs to be wrapped. Put the content into the cell, select the cell, find the "Stretch With Overflow" property in the properties panel, and set it to true.
There are many ways to implement automatic text wrapping in ireport. Two methods are provided below:
Method 1:
Method 2:
The above is the detailed content of What are the methods for automatic line wrapping in ireport?. For more information, please follow other related articles on the PHP Chinese website!