Hi i’m using LibreOffice 6.3.1.2 . When i’m tryanig convert docx to pdf its converting not correct .
This is my docx file1579763573.docx and converted pdf 2pdf.png
Have you opened it in LibreOffice? The difference in the document layout is not related to PDF export. Of course, the problem is because of incorrect data formatting (where whenever user wants some data to always start on a new page, that data must start with a page break) - but however, you might want to file a bug about interoperability issue to the bug tracker.
Background
The creator of this document (you?) inserted 3 empty paragraphs in Word to push the offending section to next page.
Word and Writer handle spacing differently. This means that the preceding paragraph probably ends a little higher up when you use Writer, so you need more spacing.
Word’s default paragraph has additional spacing above or below, whereas Writer’s default paragraph is without added spacing, so you probably get less spacing.
Solution
As Mike Kaganski said in the comments (albeit in not so many words, which is why I elaborate on it):
If you want СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ
to start a new page, you should not insert spacing (which, as explained above, is not entirely predictable) but rather use a hard page break before that heading. There are different ways to do that:
- Keyboard shortcut: With text cursor at the start of the heading, press ctrl+enter. (Cmd+enter on a Mac, if I recall correctly.)
- Menu: With text cursor at the start of the heading, select menu item
Insert - Page break
- Formatting: With text cursor anywhere in the heading, select
Format - Paragraph
- Select the
Text flow
tab - In the
Break
section tickInsert
. - Select
Type
Page,Position
Before. - By style: Alter an existing paragraph style or create a new one with the text flow settings above. and apply that style.
All the above operations will yield the same result. For larger documents where you have several instances of this requirement, the style approach is much easier to work with. This also makes your document behave more consistently when you edit it, and when you transition between contexts (different applications, different page sizes, paper vs. computer screen vs. phone vs. voice screen reader, etc.)