<div dir="ltr"><div><div>Hi all,<br>I was working on this enhancement before.. But had stopped for some time for getting some fresh way of solving it.<br>This is still my second hack, so please bear with me :p.. </div><br>
I was going through the source using some random keywords and found a code pointer to the function sd::FrameView::ReadUserDataSequence (there are multiple implementations of ReadUserDataSequence, but i think this has the answer) in /sd/source/ui/view/frmview.cxx..<br>
</div>This has reference to another function sd::FrameView::SetSelectedPageOnLoad..<br><div><div><pre class="" id="comment_text_11"><a href="http://docs.libreoffice.org/sd/html/classsd_1_1FrameView.html#aa52d470e1ee409a897dec8d4d7918d9f">http://docs.libreoffice.org/sd/html/classsd_1_1FrameView.html#aa52d470e1ee409a897dec8d4d7918d9f</a></pre>
Here it says, the function is for storing the page that was selected while last saving the document. And there is also the function sd::FrameView::GetSelectedPageOnLoa, to get that page. <br></div><div>The way i understood the functions, this is the key for the solution to my bug. Is the implementation of the above mentioned functions is what i have to manipulate to get my result??<br>
</div><div>I am currently tracking the working of GetPageKindOnLoad( ) and SetPageKindOnLoad( ), because I think that the Page Kind property is working properly.<br></div><div>Can somebody tell me if i am on the right track, or guide me to the right track, please? :)<br>
</div><div><pre><a href="http://opengrok.libreoffice.org/s?defs=GetPageKindOnLoad&project=core"></a><br></pre> </div></div></div>