A family of Microsoft word processing software products for creating web, email, and print documents.
There is no way to "synchronize" the views so that a collapsed heading in Print Layout view is also collapsed in Outline view (if that is what you are asking).
If you mean that you want to define indents that are displayed in Print Layout view and that are also printed, you have to modify the styles you are using (heading styles and possible other styles as well, depending on what you want).
For a numbered outline with indents, define the indents in the Multilevel List dialog box; see https://shaunakelly.com/word/numbering/numbering20072010.html.