I need the ability to read and set margins for sheets in a workbook. It's just four simple records and manipulating them where needed.
Created attachment 2371 [details] Patch for Sheet, HSSFSheet, BiffViewer, and RecordFactory for the new records
Created attachment 2372 [details] The Margin record files.
I created 4 records (1 for each margin) and a margin interface. The interface is so I can play with the margin without knowing which particular margin it is. I've added getter and setter methods that take a constant representing which margin. I did this because I didn't think redundant functions for each margin was necessary. I did create the constants for this. Please email me with any questions.
cool. I'll apply this shortly if someone else doesn't beat me too it. Please add yourself as a developer on the src/documentation/xdocs/who.xml page which matches to: http://jakarta.apache.org/poi/who.html -- You're a frequent and valued developer on this project and I feel you should be recognized. Thanks -Andy.
I'll get you the update to who.xml as soon as I can upload my code. I've got some tests for the actual records (just the basic ones). I'll would gladly take some additional suggestions for some other tests.
please remember to lable these [PATCH] in subject. (we read those bugs first ;-))
applied please cross check.
Created attachment 2439 [details] Margin record tests. Add whenever you want.
Everything looks good. I've added the tests that the record generator created. When you add those I'd consider it verified.