-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new InsertionPosition for structural elements in metadata editor #3486
Comments
Yes and no. Actually there is no need to insert a new option, the selection has to be deleted. Seen in this way, #3601 is more precise. All other options make no sense: Example: You have assigned pages 14-37 to a chapter structure.
Now select pages 30-32 and select the new structure element from selected pages function to make a table (as a child of the chapter). What would mean option 1: "As first sub-element of the current element"?
Pages 30-32 should not appear before pages 14-29. What would mean option 2: "As last sub-element of the current element"?
Pages 30-32 should not appear after pages 33-37. What would mean option 3: "As parent element of the current element"?
⚡ Child contains images not contained in parent. |
Closed as duplicate to #3601 |
Since pages are re-numbered when reorderering them via drag'n'drop, it is very likely that the current numbering of pages at any given time is not necessarily final. To take your first example: if pages 30-32 are added to a table that is the first child of the parent chapter, the pages will be re-labeled to 14-16 inside the table, and all following pages in the chapter will be re-labeled to 33-37. We had many discussions about the re-labeling of pages on drag'n'drop manipulation, and it has been explicitely stated that resetting the ORDERLABEL attribute on drag'n'drop is one of the required consequences when assigning pages to structural elements. Additionally, since selected pages in the gallery do not need to be consecutive, removing the current position-options when creating a new structural element would result in an ambigious position to insert the new element. To stay with your example: if you select pages 30 and 32 (but not page 31) in the chapter and than create a new structural element from these selected pages, should it be inserted at the position where page 30 was or where page 32 was? For situations like this, the user has to select a specific position where to insert the new structural element. @subhhwendt, @andre-hohmann, @sebastian-meyer and @oliver-stoehr : could you comment on this topic? |
As Kitodo is always more complicated as it seems and many decision lead to unforeseen options, i suggest:
|
Related to #3476 |
When creating new structural elements in the metadata editor from selected consecutive pages, an additional option should be added for adding the structural element at the position of the selected pages (e.g. the index of the first selected page in the parent structural element).
The text was updated successfully, but these errors were encountered: