Hi Wei Min Am 24.08.2009 10:01, schrieb Wei Min Teo: > > I am trying to open and read the different headers of different pages on a > document in order to sort them. So far, my code works fine for openoffice > files, i'm able to access each page and get their relevant pagestyle names to > get the different headers. However, using this same code on MS files however > seem to result on a bug. The problem is as follows: > Beside that, wouldn't it be a better (and faster) approach to iterate over all page styles of the doc, check if the style is used (XStyle.isInUse()) and then get the header from the style?
Regards Peter --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org