124451: WW8 import: apply correct index entry template patterns which are used for e.g. TOC



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1582697 13f79535-47bb-0310-9956-ffa450edef68
#124461# merge from aoo410 branch, add checks for nested depth and entry indices

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1582708 13f79535-47bb-0310-9956-ffa450edef68