[1.0] Configurable first page number (w/ patch)

• Dec 21, 2010 - 23:26
Type
Functional
Severity
S5 - Suggestion
Status
closed
Project

Purpose: To allow the user to set the initial page number of a score
Applications: Large scores can be broken in more manageable smaller files or composite scores with different settings can be made of several files, while keeping the page sequence.
Notes: Initial page number is set through an additional item in Page Settings dlg box, stored in the PageFormat and written/read to/from the .msc? file.

A patch is attached; most of the code comes from the trunk; extensively tested with branch.

Attachment Size
initial_page_number-branch_r3782.patch 41.94 KB

Comments

Status (old) active fixed

Patch and more applied to branch r3794
In particular, the patch was not functional (page.h was missing), and small adjustement in the UI file.
No change of MSC format version for that one. 0.9.6 will be able to open a file, but the page offset will be 0.

Oh! I'm sorry for the the lack of page.h diff (separating the modified files in functional blocks was less simple than expected): I could have provided it quickly on request.

"No change of MSC format version for that one. 0.9.6 will be able to open a file, but the page offset will be 0."

I do not understand this choice: if this datum is not kept across sessions it is going to be largely useless (and to generate additional support requests).

M.

Update:

Looked in the updated source: initial page number IS written to and read from .msc.

I understand lasconic comment in the sense that released 0.9.6.x will not be updated to read this new tag from the file, only the next version will; this makes a lot more sense! :-)

M.

Sorry, I was not clear. But you finally got the point :) It's a quite tiny feature, so I decided to not change the file version number. 0.9.6 will open the file without warning but without the good page numbers too.