When you want to define data which is “constant” all over the document, the best place to do it is File
>Properties
. You insert them with a field from the DocInformation
tab, Type Custom and the name you gave. I have done that in the revised sample file.
Since I don’t know what you want to do with “No firmowce”, I left it where you put it. If if keeps the same Yes/No value all over the document, record it in File
>Properties
where you have a dedicated format for Yes/No.
Your use of sections in header and footer is faulty IMHO. Though it is perfectly legal in header and footer, I never did so because header and footer contain only short “titles” which are not expected to be handled by a complex text flow management. A section is meant to temporarily change the number of columns in a page with text flowing from one column to the next, with optionally balanced height. Your definitely not in this case in the header/footer.
I removed the sections there (all the more since you have nested sections in the footer).
The nature of data in the footer suggests to use a table which avoids the flow issues. I also made the last column wider to accommodate the email address. I changed the image anchor to As character so that the image size governs the footer height (which was not the case as To character. The image then aligns according to what is configured in the paragraph style.
I didn’t change the footer in FirmowkaNastepneStrony page style. You can do it easily (this is a good home exercise).
Your use of tables at the beginning of the letter again is clumsy. For the “date” paragraph, define a dedicated paragraph style with a right-aligned tab stop at right of printable area. You enter your first data as usual (the entry field), then Tab for the date field.
There is no need of a table for the addressee (if this is it). You have a built-in paragraph style Adressee awaiting proper configuration for this role. Adjust spacing above and below; change Before Text indent to start at middle of a line and you’re done.
I don’t know if it is your sample or your routine. Your text is Default Paragraph Style. This is an error because this style is intended to define “universal” attributes shared by all other styles. It comes into play when you want to manage smartly the appearance of your document. The Writer-standard style for text is Text Body.
Styles are your best friends. Learn how to use them. At least, read the Writer Guide.
Corrected sample file: firmówka23.odt (25.0 KB)