<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I am a trainee and have been assigned a project to debug and correct one bug of LiBo. I am assigned this <a href="https://bugassistant.libreoffice.org/show_bug.cgi?id=57171" target="_blank">bug</a>. As of now I have identified this much:-</div>
<div style="font-family:arial,sans-serif;font-size:13px"><ul><li style="margin-left:15px">Comments folder with comment1.xml , CommentAuthors are getting created in the PPTx So this is an FileOpen issue</li><li style="margin-left:15px">
I have also identified that pptx opens and is handled from ../oox/source/ppt/presentationfragmenthandler.cxx (finalizeimport)<br></li><li style="margin-left:15px">There are handlers for Notes, Layouts etc but none for Annotations.<br>
</li><li style="margin-left:15px">Furthermore I have also identified that Annotations are considered as smarttags and are not exactly treated as part of the Presentation and hence have no data structures in the SlidePersistPtr<br>
</li></ul></div><div style="font-family:arial,sans-serif;font-size:13px">As of now I can identify whether a slide has a comment in it or not using following in presentationfragmenthandler.cxx (finalizeimport) :- </div><div style="font-family:arial,sans-serif;font-size:13px">
OUString aCommentFragmentPath = xSlideFragmentHandler->getFragmentPathFromFirstType( CREATE_OFFICEDOC_RELATION_TYPE( "comment" ) );</div><div style="font-family:arial,sans-serif;font-size:13px"> if ( !aCommentFragmentPath.isEmpty() ) { ... //comment present }</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Furthermore:- </div><div style="font-family:arial,sans-serif;font-size:13px"><ul><li style="margin-left:15px">
../sd/source/core/annotations have a few incomplete implementations for the Annotations (Annotations.cxx AnnotationAccess.cxx etc)</li><li style="margin-left:15px">In presentationfragmenthandler there needs to another handler for comments but I am stuck on how this can be implemented.</li>
</ul></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">So can you please guide how should I go about solving this issue ? </div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Eagerly waiting for your reply...</div><div style="font-family:arial,sans-serif;font-size:13px">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">
Vinaya Mandke</div></div>