If you wanted to sort by Heading 2 paragraphs, you should also use Outline view, but you would have to first select all the Heading 2 paragraphs subordinate to a particular Heading 1 paragraph and then sort. However, in Outline view, the highest-level headings are sorted, bringing along the subordinate heading levels and body text. Had you skipped the first two steps and performed the sort in any view besides Outline view, every paragraph would have been sorted alphabetically and therefore rearranged so that subordinate paragraphs would be separated from their headings. My version loads the docx files each containing just some heading text an. Click on OK to accept the default settings in the dialog box. What steps will reproduce the problem I have uploaded a simple class (which is based on your ConvertDocxStructuresToPDF.java) along with the two docx it converts.Step 4: Click the Style to select the heading style you. Before numbering the multiple headings, you should know how many heading styles existing in your document, and make sure that the relationship of the link. Step 2:Click More button to bring up more Search Options Step 3: Click Format mark pop up options below.
Step 1: Click Home > Find and select the Advance Find mark. Place the cursor at the beginning of the first heading and press Ctrl+Shift+End to select everything through the end of the document. The Find and Replace function in word is the most commonly way to select all heading paragraphs.(This step is not strictly necessary, but does make the screen a bit more readable.) Using the controls on the Outlining toolbar, collapse the headings so that only the first-level headings are shown.Switch to Outline view by clicking on the Outline view button that appears just to the left of the horizontal scroll bar.You'll see it near the top of the Word window, directly to the right of the Home tab. For instance, you can sort the document based on first-level headings (paragraphs that use the Heading 1 style) by following these steps: You can also open an existing document by double-clicking it.
A useful trick you can use when developing some types of documents is the ability to sort the various parts of the document based on the headings you use.