Word DOC import: List Styles
Posted: 2013-12-04 23:23:53
Can a macro rename a list style? If so, I think a macro could improve the process of importing MS Word documents that include list formatting.
It appears to me that MS Word has named paragraph styles but does not have named list styles. In Word, paragraph styles include list formatting. In Nisus, Paragraph styles can incorporate list formatting only by reference to a named List style. Therefore, when importing a Word document, Nisus will create both a Paragraph style and a List style for each Word paragraph style that includes list formatting.
This would be perfect except for one shortcoming: When Nisus imports a Word doc, it is not apparent in the list of styles which List styles are associated with which Paragraph styles. Nisus' import function assigns to the list style associated with each imported paragraph style a generic name like "Number list 1" rather than giving it the same name as the associated paragraph style. Furthermore, the associated Paragraph style does not show a link to the List style.
I think the above confusion could be overcome by a macro, run immediately after importing a Word doc into Nisus, that does two things:
For every list style actually used in the document:
1. change the name of the list style to the name of the paragraph style applied to the text to which that list style is applied.
2. modify the paragraph style to add that list style as one of the parameters of the paragraph style.
Ultimately, it would be better to build these steps into the Word import process.
It appears to me that MS Word has named paragraph styles but does not have named list styles. In Word, paragraph styles include list formatting. In Nisus, Paragraph styles can incorporate list formatting only by reference to a named List style. Therefore, when importing a Word document, Nisus will create both a Paragraph style and a List style for each Word paragraph style that includes list formatting.
This would be perfect except for one shortcoming: When Nisus imports a Word doc, it is not apparent in the list of styles which List styles are associated with which Paragraph styles. Nisus' import function assigns to the list style associated with each imported paragraph style a generic name like "Number list 1" rather than giving it the same name as the associated paragraph style. Furthermore, the associated Paragraph style does not show a link to the List style.
I think the above confusion could be overcome by a macro, run immediately after importing a Word doc into Nisus, that does two things:
For every list style actually used in the document:
1. change the name of the list style to the name of the paragraph style applied to the text to which that list style is applied.
2. modify the paragraph style to add that list style as one of the parameters of the paragraph style.
Ultimately, it would be better to build these steps into the Word import process.