writer: importing styles from file not copying all style attributes

asked 2020-09-01 07:32:17 +0100

blashrkh gravatar image

In writer: Can someone please confirm whether the following behaviour is accurate?

  1. Import styles from file to new document. Using Styles (menu) → Load Styles
  2. import works fine. except some styles do not have all their font effects applied. For example "casing set to uppercase" is not importet.
  3. this may not be the only property which is not copied across.

This results in a loss of formatting information where the style in the recipient document is incomplete and does not include all formatting.

Please note that copying a style assumes that all attributes editable by right-clicking on "modify..." [style name] under the styles pane (F11) are supported to be copied / transferred to a new document.

Can someone confirm this is a problem or a fix for this?

edit retag flag offensive close merge delete

Comments

1

Why do you need a confirmation for a bug on the Ask site? If you have found a bug, please file it to bug tracker. Asking for confirmation here is duplicating the effort (people do something to reproduce here, then people do something to reproduce on the bug tracker anyway), thinking that time of volunteers here is less valuable than that of volunteers on the bug tracker?

Mike Kaganski gravatar imageMike Kaganski ( 2020-09-01 09:02:53 +0100 )edit
2

Before reporting a bug, make sure the Overwrite box in the import dialog is checked: if it isn't, styles with same name are not imported and you end up with the pre-existing definition in the "importing" document.

A much more reliable way to format consistently and uniformly a set of documents is to base them on a template. Whenever you update your template, the style changes are forwarded to the documents as soon as you open them.

Basing a document on a template (when this has not been done from the start) can be done any time with the DocumentTemplateChanger extension.

ajlittoz gravatar imageajlittoz ( 2020-09-01 09:24:17 +0100 )edit
2

If you want someone to test, at least, you must provide a test case. Read this and this.

gabix gravatar imagegabix ( 2020-09-01 13:24:07 +0100 )edit