I have been using HWPF for developing a little tool that I need and mostly it is working fine except for two problems.
1) I am seemingly unable to detect if a table has a border or not. I don't care what colour it is or how large it is or anything else "fancy" just to know if it is there or not. I have tried getting and examing the BorderCode from both table cells and rows and I am not getting anything useful aka comparing a table with no border to one with a border both give me the same results. I'm not even sure anymore if I am looking in the right place. Again all I want to know is if there is any line of any colour/size etc around the table or any cells or not. 2) Getting the colour used for a CharacterRun. There are two methods for doing this, one seems to return one of 16 "Word" colors (?) and the other translates that into an rgb int. The problem is Word can use more than these colours, and does, and the colour returned doesn't seem to actually be very close to the real colour. For example a dark blue is turning brown. I know that Word must store these colors somewhere... Any help, suggestions with either of these would be most appreciated. Especially (1) which is really unpleasant for me currently. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
