POI supports drawing shapes using the Microsoft Office drawing tools. Shapes on a sheet are organized in a hiearchy of groups and and shapes. The top-most shape is the patriarch. This is not visisble on the sheet at all. To start drawing you need to call createPatriarch on the HSSFShee...
This guide is for you. If you're after more in-depth coverage of the HSSF and XSSF user-APIs, please consult theHOWTOguide as it contains actual descriptions of how to use this stuff.(想要快速使用 HSSF 和 XSSF 读写电子表格?本指南适合您。如果您想要更深入地了解 HSSF 和 XSSF 用户 API,...
If you're being observant you'll noticed that the shapes that are added to the group use a new type of anchor: the HSSFChildAnchor. What happens is that the created group has it's own coordinate space for shapes that are placed into it. POI defaults this to (0,0,1023,255) but you...