Issue 86140 - style copy via Template Organizer does not copy Font type and weight
Summary: style copy via Template Organizer does not copy Font type and weight
Status: REOPENED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.3.1
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-15 21:43 UTC by tab
Modified: 2017-05-20 11:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Result of applying copied style, explained. (8.33 KB, text/plain)
2008-02-15 21:47 UTC, tab
no flags Details
Template from which style was copied (19.56 KB, text/plain)
2008-02-15 21:48 UTC, tab
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tab 2008-02-15 21:43:05 UTC
Copying a text style copies the font size but not the font (arial) or weight
(bold). See StylCopy.odt
Comment 1 tab 2008-02-15 21:47:26 UTC
Created attachment 51538 [details]
Result of applying copied style, explained.
Comment 2 tab 2008-02-15 21:48:58 UTC
Created attachment 51539 [details]
Template from which style was copied
Comment 3 michael.ruess 2008-02-18 13:18:25 UTC
MRU->OS: open attached template. Via Template Organizer copy the style "Titre 3"
from the template into a new document -> Style has font "Times new Roman"
instead of Arial and also the "Bold" attribute has been forgotten by the copy
process.
Maybe the attribute have not been copied because they were inherited from the
parent styles?
Comment 4 Oliver Specht 2008-02-18 14:02:58 UTC
As can be seen in the paragraph style dialog of the template document the style
"Titre 3" contains a font size of 14pt and top/bottom paragraph spacing. 
The organizer does not and should not copy values inherited from other styles. 
Comment 5 tab 2008-02-18 15:22:28 UTC
'The organizer does not and should not copy values inherited from other
 styles.'
* Is this specified in the documentation?
* So, the size (14) was copied because it was not inherited from Titre2?
* This behaviour conflicts with what most users expect from a 'copy' operation
--ie, a copy should be identical.
Comment 6 Oliver Specht 2008-02-18 16:50:56 UTC
->tab: I can't see your problem. The style contains three attributes. The new
style contains the same three attributes, too. From my point of view this is an
exact copy. 
It's in the nature of styles that they inherit attributes from their parents and
from the document's default settings. The first page of the style dialog shows
the name of the parent style and the values that are defined in this style. All
other dialog pages show the resulting attributes. A "deep" copy in the organizer
doesn't make sense as it would break the style feature.
Comment 7 tab 2008-02-19 16:24:11 UTC
os writes: The style contains three attributes. The new
style contains the same three attributes, too. From my point of view this is an
exact copy.
**The original specifies 'three attributes': Font: arial; typeface: bold; size:
14pt. The copy has, of course the same 'three attributes', but two have
different values: Font: Times New Roman; typeface: regular; only the size is
copied. You call that an 'exact copy'?
  Semantics aside, I copy a style because I like its look --say, arial bold; why
should a 'Titre3' in DocumentB look different from a 'Titre3' in DocumentA? Does
not consistency require that a style look the same everywhere --within a
document, and from one document to another? (Of course, I can edit the copy of
Titre3 and make it different from the original, but that's another matter.)
  Why is only the size copied?
  'The first page of the style dialog shows the name of the parent style and the
values that are defined in this style.
All other dialog pages show the resulting attributes.'
**What do you mean by 'first' and 'other dialog pages'? Are you referring to
tabs like 'Organizer', 'font', 'tabs'?
Comment 8 Oliver Specht 2008-02-20 06:54:30 UTC
->tab: Styles are hierarchical definitions. The actual setting applied by a
style is the result of the settings of the style, it's parents and document or
application default settings. 
In case of your template the setting of the font name comes from the application
defaults. If I open your template document here I the font is Arial. That's my
setting here. 

To see the style dialog put the cursor into a paragraph that uses the Style
"Titre 3" and call "Edit paragraph style" from the context menu or open the
Stylist, select the style and call Edit from the context menu there.
Comment 9 tab 2008-06-18 03:20:27 UTC
os: 0: 'The actual setting applied by a
style is the result of the settings of the style, its parent...'
Sounds confusing to me. In the end, which settings are inherited, and which ones
can be set anew? (Back to my question: Why is only the size copied?) Obviously,
'Linked with' should not mean 'identical to'.
I set the font to xyz, why, and when, should it change to 'your setting' Arial?
Let me attempt to answer my own question: If I leave a field (say, Font) blank,
that means I want to retain the 'Linked' font. That would make sense. But it
does not work that way --I tried it.
1: 'To see the style dialog...' I know how to modify a style. Copying a style
was supposed to save me some work...
Comment 10 Marcus 2017-05-20 11:19:52 UTC
Reset assigne to the default "issues@openoffice.apache.org".