How and where, exactly, is the position of last editing stored?
Or should it be the last position of the insertion cursor?
Or …
I think, you should ask a Writer-developer about that, e.g. Michael Stahl.
I guess it is stored in settings.xml in the part ooo:view-settings in the properties ViewAreaTop or VisibleTop. At least when I save to flat format, change the cursor position and save again, these values are changed. The numbers there are in 1/100 mm. They might be the distance from start of the document. The file, that uses these values is view.cxx (revision 39b5a39b) - OpenGrok cross reference for /core/sw/source/uibase/uiview/view.cxx
Thanks!
For the understanding:
- I don’t need the feature actually myself. (No longer writing long texts needing editing again and again.)
- Only trying to support FLOSS by contributions to this site and to the forum.openoffice.org.
- Both mentioned sites contain lots of topics with complaints about “not opening at last position” (of cursor or of editing) or similar.
- There were related bug reports. Current leader: tdf# [140147](140147 – Position of cursor not saved correctly (see comment 46 for bibisect).
- I’m wondering for what reasons there never was a stable final solution.
- Also wondering for what reasons the feature seems to be not described in the Writer guide.
- Also wondering for what reason the feature’s implementation is not based on the reliably working bookmarking feature.
- I already published a (kind of) solution which is a “workarund” on the surface, but ptobably simply a better solution or a “new feature”. See Apache OpenOffice Community Forum - Automatically setting bookmarks with strictly formatted names; also concerning the "open-to-last-position-issue" - (View topic)
- Recent test:
Worked correctly in 4.4.7 portable in the mode of “last-editing-position” depending on the profile.
Depending on unknown circumstances there may occur correct working or an offset to the right of (e.g.) about 7.5 cm (limited by EOL) under V24.2.0.2.
I will now try to contact the named developer directly.