Roop and I have been talking about how headers can be implemented. I remember Pierre bringing this up the other day, but I hadn't really read up on headers at that point to comment. Headers are just lists. They are just paragraph's with a list style and the "text:h" tag. To make them work, we need 1. Make paragraph styles with list styles work (the patches I sent do that). 2. A mechanism to mark something as a header. This has to come with some trickery of the style manager UI since there is no such thing as "header style". Currently, we look into outline-level to determine if it is a header or paragraph. So the UI will need to set this attribute. 3. Sometimes the _same_ list style is used for lists and headers. This means that our KoListStyle will have QTextLists that hold both list and header items. We can either fix our ListItemsHelper to "skip" over header items. Or, we can maintain two KoListStyle for every list-style - one of lists, other for headers and then have a KoStyleManager::listStyle(name, bool isHeaderStyle). Ugly. Any other suggestions? Girish _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel