> Why is there a magic upper bound of 1023 and 255 ? > How does the actual column width and row height interfere with this > parameters ?
The first four arguments define offsets within the top-left and bottom-right cells. x offset is measured in 1/1023 of the cell width. y offset is measured in 1/255 of the cell height. For example, if you want to define an anchor with the top-left in the middle of A1 and the bottom-right in the middle of B4 you need to write something like this: HSSFClientAnchor anchor = new HSSFClientAnchor( 300, //x offset in A1 is 300/1023 of the cell with 100, //y offset in A1 is 100/255 of the cell height 700, //x offset in B4 is 700/1023 of the cell with 200, //y offset in A1 is 300/1023 of the cell height 0, //A 0, //1 1, //B 3 //4 ); Regards, Yegor > I hope someone can help me. > Thanks. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
