I want to make changes to a Word 2007 programming document so that it ONLY displays the "Normal" style, all user styles created by the user, and the "Clear Formatting" option in the styles panel.
Now I can show custom styles and a clear formatting option, but not the Normal style.
From: - http://msdn.microsoft.com/fr-fr/library/documentformat.openxml.wordprocessing.stylepaneformatfilter.aspx
0x1000 - indicates that there should be a style that removes all formatting and styles from the text. 0x0002 - indicates that only styles with the customStyle attribute should be displayed in the list of document styles.
I summarize the hexadecimal values โโabove to get 1002 to show both custom styles and transparent formatting. But I donโt see a way to show a โnormalโ style, because it is built in style. However, when you apply clear formatting in any paragraph, the default word is Normal style. However, users want to see the "normal" style .: - (
Is there any way to do this?
source
share