Difference between revisions of "User:Camillem/I47600 Summary"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Legacy files handling (to be further discussed): Compare old - new)
m (Starting with a new document in default setting)
Line 100: Line 100:
 
|}
 
|}
  
'''1''' Such severe change with default setting must not be. Therefore old sheets, which have no print range and now 'entire sheet' setting, have to be converted on import. The question is, whether this should be down quietly.
+
'''1''' Such severe change with default setting must not be. Therefore old sheets, which have no print range and no 'entire sheet' setting, have to be converted on import. The question is, whether this should be down quietly.
  
 
'''2''' This behavior is unexpected for the user. Here the new version has an important improvement.
 
'''2''' This behavior is unexpected for the user. Here the new version has an important improvement.

Revision as of 14:13, 22 October 2009

Points to address about Issue 47600

Detailed specification on Regina's page

new behaviour of the application (Consensus OK)

  • When you create a new file : table:print should be set to true (or not set) on every sheet.
  • When adding a print range on a sheet, other sheets should not be altered.

Interface (to be further discussed)

Sub menu in Format > Print Ranges menu

Currently

   Format > Print Range > Define
                          Add
                          Remove
                          -------
                          Edit

Proposal discussed

   Format > Sheet Print Settings (tbd : or keep the initial item "Print range")  
                                 > Add print range
                                   Define print range (tbd : remove it to unclutter the menu / keep it, as it's often used cf. Feedback data)
                                   Edit print ranges...
                                   [x]Default print range (tbd : Undo Print Range or Remove or Delete or Print entire sheet)
                                   ------------
                                   [x]Don't print this sheet (tbd : Use affirmative sentence "Print this sheet", or "Exclude sheet"  
                                                                      Replace this with two menu items  Enable Print - Disable Print


If it is agreed to exclude the repeat column/row options from the Edit print ranges dialogue (see below), the menu will have to be updated accordingly.

Edit print ranges dialogue

  1. Remove the "none" option
  2. Put the repeat row/columns options in a different dialogue : cf. Regina's proposal


Contextual menu in Page Break preview mode

Currently

   Context Menu >  Define Print Range
                   Add Print Range
                   (Undo Print Range)

Legacy files handling (to be further discussed)

According to the ODF spec, sheets with the table:print attribute set to false should not be printed. Unfortunately, OOo currently sets this attribute to false for every sheet of a new file. It has been decided to fix this in order to have a behaviour of the app which is more predictable and compliant to the specs. The problem is that if the application behaves correctly, the files created with a previous version of the app without any print range, won't print at all. This is the majority of the files.

  • Solution A : when all the sheets of a spreadsheet have their attribute table:print set to false, automagically set them to true. Pros: it will fix the problem seamlessly for most cases. Cons: it becomes impossible to have a spreadsheet with all sheets excluded from printing (but who would do that?)
    • Solution A1: test the version of the last editor of the document. Pros: it allows the new application to have files with all sheets set to "don't print" Cons : more code complexity, slows the opening process.
    • Solution A2: don't test it.Pros : no impact on perfomance and complexity of code. Cons : impossible to have a spreadsheet with all sheets excluded from printing (but who would do that?)
  • Solution B : Inform the user why it spreadsheet won't print. Pros: nothing is done automatically to the file. Every user will get the warning, which can be very disturbing and

Christoph's answer:

  • Don't touch existing documents when opened (One reason is that people would open a document and instantly get a "changed" notification without doing anything. From experience it is known that people can get really angry ;-))
  • The code changes for the print dialog can be re-used for numerous other print problems. They are not specific to any ODFversion.

Overview for relationes between old and new version

Regina 12:20, 22 October 2009 (UTC)

Starting with a new document in default setting

Action Old version on old documents New version on old document without converting New version on new documents and old, converted documents Old version on new documents
Printing without any changes All sheets are printed. No sheet is printed. 1 All sheets are printed. All sheets are printed
Setting a print range Only the print range is printed, no other sheet is printed 2 Only the print range is printed, no other sheets are printed The print range is printed and all other sheets are printed The print range is printed and all other sheets are printed
Inserting a new sheet All sheets are printed Only the new sheet is printed All sheets are printed The new sheet is not printed, all other sheets are printed 3
Inserting a print range and a new sheet Only the print range is printed, no other sheet is printed 2 The print range is printed, the new sheet is printed, other sheets are not printed The print range is printed and all other sheets are printed The print range is printed, all old sheets are printed, the new sheet is not printed 4

1 Such severe change with default setting must not be. Therefore old sheets, which have no print range and no 'entire sheet' setting, have to be converted on import. The question is, whether this should be down quietly.

2 This behavior is unexpected for the user. Here the new version has an important improvement.

3 Should the export filter change back the converting?

4 Users who have solved problem 2 will be able to set the necessary "entire sheet" print setting.

Starting with a new document in default setting and added a print range in the start application

Action Old version on old documents New version on old document without converting New version on new documents (old documents are not converted) Old version on new documents
Printing without any changes Only the print range is printed Only the print range is printed The print range is printed and all other sheets are printed. The print range is printed and all other sheets are printed.
Adding a print range Only the print ranges are printed. Only the print ranges are printed. The print ranges are printed and all other sheets are printed. The print ranges are printed and all other sheets are printed.
Inserting a new sheet Only the print range is printed, the new sheet is not printed.5 The print range and the new sheet are printed, other sheets are not printed. The print range and all other sheets are printed. The new sheet is not printed, the print range and all other sheets are printed.5
Removing the print range All sheets are printed The sheet with the removed print range is printed, all other sheets are not printed. 6 All sheets are printed The sheet with the removed print range is not printed, all others are printed.7

5 It is no worsening.

6 This can be handled, when converting is not only applied on import but also in this situation.

7 I see no solution to get the old behavior automatically, because the action is done in the old version. But at least users who use the dialog to remove print ranges should know the setting "entire sheet" which is needed here.

Steps to implement the behaviour (to be further discussed)

Personal tools