I am able to retrieve the style name in every paragraph for the whole document.
But i am not able to do the same page by page can any one help me.
Here the AS code which i am using:
tell application “Microsoft Word”
set this_application to active document
set a to count of paragraph of this_application
set pc1 to get range information text object of selection information type active end page number
set pc2 to get range information text object of selection information type number of pages in document
repeat with cc from 1 to a
set sn to style of text object of paragraph cc of active document
–set cn to content of text object of paragraph cc of active document
end repeat
end tell
This above code works for every paragraph of the entire document.