Issue 23605

Summary: "Use printer metrics for document formatting" seems not to work in SO 7.0
Product: General Reporter: Oliver Brinzing <oliver.brinzing>
Component: uiAssignee: h.ilter
Status: CLOSED IRREPRODUCIBLE QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 RC5   
Target Milestone: AOO Later   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
"Use printer metrics for document formatting" demo file none

Description Oliver Brinzing 2003-12-16 17:05:50 UTC
Hi,

I have a problem with the PrinterIndependendLayout:

open a *new* writer document with SO 70, type some words and save
as *.sxw file (the option "Use printer metrics for document formatting"
is unchecked)

After reloading, the "Use printer metrics for document formatting"
in Tools -> Text Document -> General is always checked ...

Open the same document in OO 1.1.0 (645m18) ... the box is unchecked ...

Do I have a configuration problem or is it a bug ???

regards

Oliver


from the online help:

> "Use printer metrics for document formatting"
> Specifies that printer metrics are applied for printing and also
> for formatting the display on the screen. If this box is not checked,
> a printer independent layout will be used for screen display and
> printing.
>
> If you set this option for the current document and then save the
> document, for example in an older binary format, this option will
> not be saved. If you later open the file from the older format, this
> option will be set on by default
Comment 1 h.ilter 2003-12-17 15:18:17 UTC
I saved file with unchecked metric, reload it, close and opened it -> it still
unchecked.
Comment 2 h.ilter 2003-12-18 09:30:11 UTC
The properties of using printer metrics will not saved in any configuration
file. It is a property of the document and will be saved with the document.
If you have a document where you can reproduce the problem, please attach it as
bugdoc so I can see what's going on.
Please keep this place for the communication and do not send email's.
Comment 3 Oliver Brinzing 2003-12-18 10:18:11 UTC
Created attachment 12007 [details]
"Use printer metrics for document formatting" demo file
Comment 4 h.ilter 2004-01-05 11:35:31 UTC
I used the demo and compared with soffice7 and OOo1.1
The printer metric is not checked in both versions.
Comment 5 Oliver Brinzing 2004-01-31 08:41:16 UTC
Hi,

meanwhile I know what happend:

I have the following entry in the "common.xcu":

<node oor:name="Load">
 <prop oor:name="UserDefinedSettings" oor:type="xs:boolean">
  <value>false</value>
 </prop>
</node>

this affects, that the user props of the document 
are *not* loaded with the document ... 

In this case (after opening a writer document) the 
"use printer metrics document formating" are *always*
enabled ...

What is strange is, that the "UserDefinedSettings"
seems not to affect the equivalent calc prop 
"use printer metrics document formating" ... in
the calc area ...

regards

Oliver
Comment 6 h.ilter 2004-03-16 12:18:32 UTC
Please have a look.
Comment 7 frank 2004-03-16 15:00:39 UTC
This is because Calc does not store this setting in the document.

Frank
Comment 8 h.ilter 2004-04-27 14:49:04 UTC
Set as WORKSFORME in cause of no reproducible problem.
Comment 9 h.ilter 2004-04-27 14:50:16 UTC
.