Ask Your Question
1

Load styles does not override document styles

asked 2018-11-11 23:08:09 +0200

carnish gravatar image

I create a new document from a plain text document then want to apply styles from another document or from a template.

When I 'load styles', I expect those loaded styles to override such styles as 'default'. But this does not happen.

How can I force the document to override the initial styles with the imported styles? Or perhaps I misunderstand something?

edit retag flag offensive close merge delete

Comments

Very recently I wrote and tested user code for loading (and overwriting) styles, and it worked as expected. This was with V6.1 (6.1.1 or 6.1.2).
What version do you use? (Always give information that may be relevant.)
First of all tell what you actually tried step by step.

Lupp gravatar imageLupp ( 2018-11-12 00:00:52 +0200 )edit
2

Version: 6.0.6.2 Build ID: 1:6.0.6-0ubuntu0.18.04.1 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: en-CA (en_CA.UTF-8); Calc:

Styles Dialog / Load Styles/ Select Template Name

To document the steps for you I just went through again and this time I checked all the load options including 'overwrite' . That has done the trick. Thanks for sending me on that adventure.

carnish gravatar imagecarnish ( 2018-11-12 01:02:25 +0200 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2018-11-12 10:07:20 +0200

Lupp gravatar image

updated 2018-11-12 10:07:46 +0200

(Just to mark this question as answered:)

The answer was given by the OP in his comment on the question: "...I just went through again and this time I checked all the load options including 'overwrite' . That has done the trick."

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-11-11 23:08:09 +0200

Seen: 65 times

Last updated: Nov 12 '18