-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Page ToC additional option +Top of Page in new container #1712
Comments
I think automating this won't work due to this OneNote API bug. Here's why. Your main objective is to preserve the author information by injecting a new outline at the top of the page. We can inject a new outline at the top. But that means the existing outline(s) needs to move down by the height of the new ToC outline. Just modifying the location of an outline would overwrite author/lastModifiedTime information on all children within that outline. While you can move outlines manually through the OneNote UI without affecting author info, it doesn't work the same through the Interop API. <one:Outline selected="partial">
<one:Position x="36.0" y="90.0" z="0" />
<one:Size width="309.1365356445312" height="40.28314971923828" />
...
</one:Outline> |
Well, it could just overlap the outline on top of whatever is there, like your second pic, and then let the user deal with it. Maybe another checkbox option? It would have to place it in a consistent location, regardless of where the existing outlines are located. Is that OK? |
"It would have to place it in a consistent location," |
Problem to Solve
Sorry for brevity, doing in a hurry.
I have just reviewed about 20 pages (older ones) and added a ToC.
To avoid breaking the author info on the page, I do the work around of:
Overview
I am having a bit of deja-vu, so if I have raised and this is already a request, let me know and I'll "buy you a coffee" for your wated time :-).
New Feature/Solution
add another to the dropdown: New container - At Top of Page -In front
possibly abbreviated to "Top of Page, new container"
It would save a bit of time on the 9000 pages I need to add this to over time.
The text was updated successfully, but these errors were encountered: