<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Janit Anjaria</b> <span dir="ltr"><<a href="mailto:janit92@gmail.com">janit92@gmail.com</a>></span><br>
Date: Tue, Apr 16, 2013 at 2:55 PM<br>Subject: Help to make it possible to add custom animation to Master Slides.<br>To: libreoffice-dev <<a href="mailto:libreoffice@lists.freedesktop.org">libreoffice@lists.freedesktop.org</a>><br>
<br><br><div dir="ltr">Hey!<br><br><div>I have been looking into this bug/feature( and others too ;) ) since quite a time and have figured out ways to overcome and solve this bug which LO has.<br><br></div><div>-->Yes, i am talking about bug#41572 : <br>

<br><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41572" target="_blank"><font color="#0066cc">https://bugs.freedesktop.org/</font><font color="#0066cc">show_bug.cgi?id=41572</font></a><br><br></div><div>-->I have seen and dig into the bug quite a lot and also into the matter.And got a patch that has dealt with the same but it hasnt been complete(that is what i suppose,or it has not solved the full purpose.) :<br>

<br><a href="http://cgit.freedesktop.org/libreoffice/build/tree/patches/dev300/sd_effects_styles.diff?h=master-backup" target="_blank"><font color="#0066cc">http://cgit.freedesktop.org/</font><font color="#0066cc">libreoffice/build/tree/</font><font color="#0066cc">patches/dev300/sd_effects_</font><font color="#0066cc">styles.diff?h=master-backup</font></a><br>

<br></div><div>I have understood and have tried to digest the code in this patch and have almost understood the workflow(flow of logic/concept).<br><br>But there have been certain places where i think i am not yet cent percent clear and would like to get some guidance from your end. <br>

<br></div><div>--> Line#2995 : </div><div><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 12pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000"></font></span> </p><p style="margin:0cm 0cm 12pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">BOOL AnimationTabPage::FillItemSet( SfxItemSet&
rItemSet )</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">The function defined here is something that is not
digestable and is creating ambiguity for me.<br>
<br>
</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000"> </font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">--> Line#3022 :<br>
<br>
void AnimationTabPage::Reset( const SfxItemSet& rSet )</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000"> </font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">-->I think after going through about 3800 lines
of code there,i am in a dilemma about the actual concept of Presets and
SfxItemSets.<br>
<br>
</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">It would be great if someone could provide me an
indepth conceptual clarity on that so i can move ahead and plan to add something
other than something that has already been worked on.<br>
<br>
</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 12pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">And i think once i am more-n-more clear with it i
can redo the reading and grasping of the already existing patch so as to guide
me on the path to move ahead.</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">-->Apart from making it possible to add all the
animation(esp. custom animation effects) to the master slide..i would also like
to suggest something extra which can improve the utility of the feature.<br>
<br>
</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">-->We can provide something like a
popup/box,etc. that can provide a user to select the slide no. as well as the
textbox no. upon which he/she wants to apply the corresponding CustomAnimation
Effect.<br>
<br>
</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">-->This is something that is not a part of the code in
the patch(according to what i have interpreted,because it deals with various
other animation effects as well),and this can surely act like a cherry on the
cake and solve the purpose of this feature in the most efficient
manner.(because that is something the indepth meaning of the bug#41572).<br>
<br>
</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">-->It would be great if someone can also help me out
on this(in terms of code pointers for the UI,as well for the concept part) so i
can start digging the code more-n-more and contribute to this project in the
most efficient manner.<br>
<br>
</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 12pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">-->Any other suggestions are welcome,and i am sure it
would be a boon as it would help me to enhance this crusial feature in the best
possible manner.</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">Regards,</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Courier New";font-size:10pt"><font color="#000000">Janit</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 10pt"><span style="line-height:115%;font-size:10pt"><font color="#000000" face="Calibri"> </font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><br></div><pre><code><code></code></code> </pre></div>
</div><br></div>