Environment
Aspose.Words for Java 26.7 (build 26.7.0)
JDK 17 or later; reproduced on macOS
Bug
A Japanese DOCX that uses kinsoku shori settings (w:noLineBreaksAfter w:lang="ja-JP", w:noLineBreaksBefore, w:characterSpac…...DOCX with kinsoku settings + shapes + TOC drops pages during Document... ) combined with flowchart/shape content and a Table of Contents...