<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ekansh Jha on Medium]]></title>
        <description><![CDATA[Stories by Ekansh Jha on Medium]]></description>
        <link>https://medium.com/@ekanshjha?source=rss-60cecad88924------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LiyIRC7hPEqf4JJa.</url>
            <title>Stories by Ekansh Jha on Medium</title>
            <link>https://medium.com/@ekanshjha?source=rss-60cecad88924------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 12:16:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ekanshjha/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Google Summer of Code — Final Submission]]></title>
            <link>https://medium.com/@ekanshjha/google-summer-of-code-final-submission-6368ac46fcc?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/6368ac46fcc</guid>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Sun, 12 Aug 2018 19:13:23 GMT</pubDate>
            <atom:updated>2018-08-12T19:21:10.621Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Image result for libreoffice gsoc" src="https://cdn-images-1.medium.com/proxy/1*JheMtanYBeWVJYgLFAAKcQ.jpeg" /></figure><p>For the last three months, I’ve been working with <strong>Libreoffice</strong>, an open source organisation selected for the <a href="https://summerofcode.withgoogle.com/"><strong>Google Summer of Code</strong></a> program. Working at LibreOffice has been a great experience for me. It has been really steep learning curve this summer under Google Summer of Code. This has further enhanced my interest towards open source.</p><h3>Project Motivation and Overview</h3><p>SmartArt is a nice feature that allows users to quickly add charts/diagrams to presentations. LibreOffice has a partial implementation as an experimental feature, my project was to implement as many features and to correctly render the smartart. Interested folks can click <a href="https://medium.com/@ekanshjha/google-summer-of-code18-project-description-374dd14049bb">here</a>.</p><h3>All GSoC related Patches</h3><p>In chronological order(Some of them are under review at this point of time):</p><ol><li><a href="https://gerrit.libreoffice.org/55080">Unit test for Line algorithm</a></li></ol><p><a href="https://gerrit.libreoffice.org/54606">2. tdf#117761 Corrected Snake Algorithm</a></p><p><a href="https://gerrit.libreoffice.org/54866">3. Smartart: Corrected Line Algorithm</a></p><p><a href="https://gerrit.libreoffice.org/55564">4. coverity#1436015 UNUSED_VALUE</a></p><p><a href="https://gerrit.libreoffice.org/54112">5. Smartart : test documents</a></p><p><a href="https://gerrit.libreoffice.org/56795">6. Unit test for Snake Algorithm</a></p><p><a href="https://gerrit.libreoffice.org/55891">7. Unit test for Chevron Smartart and modified Unit test for Line algorithm.</a></p><p><a href="https://gerrit.libreoffice.org/56939">8. Support txAnchorVert parameter</a></p><p><a href="https://gerrit.libreoffice.org/57415">9. Node layout information</a></p><p><a href="https://gerrit.libreoffice.org/57260">10. Support parTxRTLAlign parameter</a></p><p><a href="https://gerrit.libreoffice.org/57268">11. Support ctrShpMap(Center Shape Mapping) Paramter</a></p><p><a href="https://gerrit.libreoffice.org/57553">12. Smartart Pyramid: Support Inverted Pyramid</a></p><p><a href="https://gerrit.libreoffice.org/57637">13. Unit test: Smartart-Chevron</a></p><p><a href="https://gerrit.libreoffice.org/57584">14. Smartart Inverted Pyramid Unit test</a></p><p><a href="https://gerrit.libreoffice.org/57405">15. Unit test: Smartart Pyramid</a></p><p><a href="https://gerrit.libreoffice.org/57862">16. Composite algorithm: support parameter ar</a></p><p><a href="https://gerrit.libreoffice.org/57977">17. Composite Algorithm: Adding constraint value support</a></p><p><a href="https://gerrit.libreoffice.org/58310">18. Smartart Right to left Chevron</a></p><p><a href="https://gerrit.libreoffice.org/58314">19. Unit test: SmartArt Chevron right to left</a></p><p><a href="https://gerrit.libreoffice.org/58548">20. Smartart: Added Hierarchy Algorithm</a></p><p><a href="https://gerrit.libreoffice.org/55359">21. Support autoTxRot parameter in Text algorithm</a></p><p><a href="https://gerrit.libreoffice.org/58624">22. Support autotxRot</a></p><p><a href="https://gerrit.libreoffice.org/57241">23. SmartArt Pyramid: Now lays out shapes</a></p><h3>Future work</h3><p>There is still a lot of features to implement to correctly render all the smartarts after which, creating of dialogue box to directly create smartart into the document can be done to ease users and increase the productivity.</p><p>There was so much to grasp during GSoC and I would like to thank the LibreOffice community for continuously helping and supporting me to complete the project.</p><p>Thank you <strong>Google</strong> for such an awesome summer program.</p><h3>Quick Links</h3><p>If you want to contribute to LibreOffice : <a href="https://wiki.documentfoundation.org/Development/GetInvolved">Get involved</a></p><p>Summer of Code Project Page: <a href="https://summerofcode.withgoogle.com/projects/#5390502426312704">https://summerofcode.withgoogle.com/projects/#5390502426312704</a></p><p>Ideas Page: <a href="https://wiki.documentfoundation.org/Development/GSoC/Ideas#SmartArt_editing_in_Impress">https://wiki.documentfoundation.org/Development/GSoC/Ideas#SmartArt_editing_in_Impress</a></p><p>Week wise reports: <a href="https://medium.com/@ekanshjha">https://medium.com/@ekanshjha</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6368ac46fcc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 10]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-10-e89dc3a2f274?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/e89dc3a2f274</guid>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[unit-testing]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Mon, 23 Jul 2018 14:52:39 GMT</pubDate>
            <atom:updated>2018-07-23T14:53:01.909Z</atom:updated>
            <content:encoded><![CDATA[<p>This week I focused on supporting inverted pyramid and implementing it’s unit test with unit test of smartart chevron which supports on line algorithm.</p><p><strong><em>Smartart Pyramid: Support Inverted Pyramid</em></strong></p><p>I’ve worked to implement the support such that when powerpoint presentation imported from MS PPT 2007 it shows the inverted pyramid. If you want to test it you can go to libreoffice/sd/qa/unit/data/pptx and open smartart-invertedPyramid.pptx on libreoffice impress.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VGenFIH69f9MafJ__WZr5A.png" /><figcaption>Inverted Pyramid after implementation.</figcaption></figure><p>There are some parameters which needs to be supported and they can be done in followup patches.</p><p><strong><em>Smartart Inverted Pyramid Unit test</em></strong></p><p>This unit test is regarding the inverted pyramid which tests the parameters and appearance for example it’s rotation and text etc.</p><p><strong><em>Unit test: Smartart-Chevron</em></strong></p><p>This Unit test is regarding the smartart which relates to line algorithm but it was not implemented until now, it’ll test the linearity when spreading the children by asserting the number of shapes, Y position and text inside the shapes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e89dc3a2f274" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 9]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-9-ae76572a7f45?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae76572a7f45</guid>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Sun, 15 Jul 2018 06:17:11 GMT</pubDate>
            <atom:updated>2018-07-15T06:17:11.607Z</atom:updated>
            <content:encoded><![CDATA[<p>This week I’ve submitted some patches which relates to unit testing, laying out of shapes, and supporting some parameter.</p><p><strong><em>Support ctrShpMap(Center Shape Mapping) Parameter</em></strong></p><p>It relates to the cycle algorithm. A value of none specifies to place nodes around a circle. A value of fNode specifies to place the first node in the center and the remaining nodes around the circle with default is none. In simple language it specifies where to place nodes in relation to the center circle.</p><p><strong><em>Support parTxRTLAlign(Parent Text Right to Left Align) parameter</em></strong></p><p>If the graphic is used with language settings that display text from right to left(like Hebrew), the text should align to the right. There are two parent text(LTR and RTL) alignment parameters that determine the value to use according to system settings. So for that graphic, we should also include parTxRTLAlign (parent text right-to-left align) with default is center.</p><p><strong><em>SmartArt Pyramid</em></strong></p><p>This algorithm was initially not implemented, because of that it was not able to show shapes which relates to pyramid, but with this patch, It rendered correctly except some minor adjustment values issues which can be fixed in the upcoming patches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m_XpzoxZPkqkqZdSGcD_3w.png" /><figcaption><strong>Pyramid before the implementation</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hb1LFQm4bfc8y7QoZEy9fg.png" /><figcaption><strong>Pyramid after the implementation</strong></figcaption></figure><p><strong><em>Node layout information</em></strong></p><p>Added two cases in switch statement:</p><p>AnimLvl: This variable is used to indicate the animate by level string which is displayed to a user in the user interface. When animLvl is set to ctr. This is being defined in a radial type diagram which allows the user to specify that animation is to start at the center of the diagram.</p><p>AnimOne: This variable is used to indicate the string to use for one-by-one animation in the user interface. This is used primarily when defining hierarchical diagrams to specify different ways animations applies to different levels of the diagram.</p><p><strong><em>Unit test: Smartart Pyramid</em></strong></p><p>Added unit testing for Pyramid which tests the Y-position, text in shape and height of the child. But a error is creating problem for building it, tried rebase but it didn’t work, would be awesome if anyone can point to the cause of that error.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae76572a7f45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 8]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-8-51460e17192f?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/51460e17192f</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[xml]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Mon, 09 Jul 2018 10:24:01 GMT</pubDate>
            <atom:updated>2018-07-09T11:30:57.371Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve added the support to text anchor vertical parameter in text algorithm which specifies the y-axis anchoring of the text area in a shape according to: t(top), mid(middle, default), b(bottom).</p><p>If the text is text is a bulleted list, it should be left aligned and top aligned. For the first level of text within a shape, the default is to center the text vertically and horizontally, so these behaviors are changed using the parameters parTxLTRAlign (parent text LTR align) and txAnchorVert (text anchor vertical), setting them to l (left) and t (top), respectively. I’ve submitted the patch regarding this.</p><p>I’m trying to support more features which will improve the algorithms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51460e17192f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 7]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-7-e3c5dbd9eccd?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3c5dbd9eccd</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[gsoc]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Mon, 02 Jul 2018 07:25:58 GMT</pubDate>
            <atom:updated>2018-07-02T07:25:58.748Z</atom:updated>
            <content:encoded><![CDATA[<p>I started this week with adding support to one of the feature “txAnchorVert” which specifies the y-axis anchoring of the text area in a shape, but due to the problem I was facing in git, I was unable to push the patch.</p><p>However, I think the problem is solved and I have pushed the patch of Unit test for snake algorithm based smartarts, which tests the position of the child nodes in normal from left to right layout and from right to left layout, but I think it should show merge conflict as it is related to one of the patch which is not merged, but it’s not showing merge conflict.</p><p>I’ll be including more unit tests in order to check the smartart features, smartart documents, and will fix some of the issues in the upcoming week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3c5dbd9eccd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 6]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-6-442e270ad4ef?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/442e270ad4ef</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Mon, 25 Jun 2018 07:24:42 GMT</pubDate>
            <atom:updated>2018-06-25T07:24:42.322Z</atom:updated>
            <content:encoded><![CDATA[<p>This week, I have written unit test regarding the Basic block diagram, for normal i.e., from right to left as well as for reverse i.e., from left to right, but i don’t know why, jenkins is comparing that unit test with old code base that was without my change, I am working to find out what could be the possible cause for this.</p><p>I plan to write unit tests for various smartarts, such that when they are fixed we can find out by the unit test if anything is wrong or not.</p><p>Moreover, I am trying to fix some issues regarding smartart-pyramid and working to fix the issues where visibility of the bullets is off.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=442e270ad4ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 5]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-5-7a6765265537?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a6765265537</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[gsoc]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Sun, 17 Jun 2018 13:59:25 GMT</pubDate>
            <atom:updated>2018-06-17T14:16:10.558Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week was the week of evaluation with minor fixes in the code I submitted.</p><p>I got information about the Coverity error in my submitted patch “Corrected Line Algorithm” : “*** CID 1436015: Code maintainability issues (UNUSED_VALUE)”.</p><p>I’ve fixed that in this week. Moreover, child width and height doesn’t depend on nIncX and nIncY, so I’ve removed that code, it relates only to the position of the child. I’ve submitted the patch with the name “coverity#1436015 UNUSED_VALUE” and it has been merged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*h72Ndt13pvxJ4sxZ2aQMGA.png" /><figcaption><strong>Old Smartart Maxdepth</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jGgksr2somQraEDD3pqVCA.png" /><figcaption><strong>New Smartart MaxDepth</strong></figcaption></figure><p>There is no such significant change in the rendering of the smartart but it was important for future changes.</p><p>I have also submitted the unit test for the Line Algorithm which asserts the position of the child nodes as well as it asserts that the child nodes are in the same horizontal level.</p><p>I’ll submit more unit tests in the coming week with some major changes in the smartarts, and will be adding the test documents to test the rendering of the shapes.</p><p>P.S. I passed my first evaluation. Thanks to the whole community.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a6765265537" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 4]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-4-4ccdc1b91a2f?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ccdc1b91a2f</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Fri, 08 Jun 2018 17:32:18 GMT</pubDate>
            <atom:updated>2018-06-08T20:41:14.232Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XMEnk3BhdCp1s8mY" /></figure><p>I’ve learnt a lot this month and have solved issues regarding smartart import.</p><h3>Quick Review</h3><p>I started by adding the number of Microsoft Powerpoint 2007 test documents which were unable to load correctly in LibreOffice and pushing them.</p><p>Later on, I worked on Snake algorithm and first, I corrected Snake algorithm as it was not able to render the diagrams properly and then implementing the support to the same Direction and Reverse Direction. The algorithm works quite well. Now it displays correct position of child layout nodes along a linear path in two dimensions, with the correct number of rows and columns and aspect ratio, this algorithm is for smartarts like Basic Block List — grouped blocks of information. It also specifies the behaviour of the direction that additional nodes are added to new rows or columns in the snake algorithm.</p><p>I then changed my concentration to Line algorithm as it was also incorrectly rendered, I fixed the aspect ratio related problem, earlier it displayed odd height of the children nodes as compared to their width.</p><p>I have added the unit test for Line algorithm in that, TestMaxDepth test checks the linear (lin) algorithm such that it arranges child layout nodes along a linear path.</p><h3>Present Week Work</h3><p>I’ve added support to autoTxRot parameter in Text algorithm it specifies how text is oriented relative to the shape, according to values: none, upright(default) and gravity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*gqwFSiqQzfR38L63Y5VAMg.png" /><figcaption>Enumeration Values and their description</figcaption></figure><p>I’ve changed just a bit in upright value as it rotates the text negative to the rotation of the shape.</p><h3>Future Work</h3><p>For autoTxRot: I’ll be creating a document that shows the various possibilities of the rotation, and a unit test that asserts that they are fine after the patch (and fail without it) — in a follow-up commit.</p><p>For Line Algorithm: will be creating a unit test that asserts that the shapes are at the same positions as in PowerPoint.</p><p>Test Documents: Adding more test documents to test the features of the shapes.</p><p>For Snake Algorithm: Adding unit tests for these changes &amp; also for the revDir and sameDir.</p><p>There is a lot of work in improvement like rendering of pyramid shapes. I’ll be fixing more issues in the next month.</p><p>P.S. Please read my previous blog for project description and week-wise report.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ccdc1b91a2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GSoC’18: SmartArt Week 3]]></title>
            <link>https://medium.com/@ekanshjha/gsoc18-smartart-week-3-9638c1a1c1c6?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/9638c1a1c1c6</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Sat, 02 Jun 2018 17:49:54 GMT</pubDate>
            <atom:updated>2018-06-03T13:44:57.815Z</atom:updated>
            <content:encoded><![CDATA[<p>Week 2 of the GSoC coding period is completed successfully. I have been successful in upgrading the existing Smartart Algorithm.</p><p>In Week 1 and 2, I added new methods to Snake Algorithm which is for Basic Block list smartart types. Please Click <a href="https://medium.com/@ekanshjha/google-summer-of-code18-first-and-second-week-f0b090d163fd">here</a> if you want to read the previous Blog.</p><p>This Week I started with Line Algorithm which displays odd ratio of height and width.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZEaP9AXyE22yfdMcP3FsTg.png" /><figcaption>Old Chevron Smartart</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K7s-OfVlBJm7Wd0IkFWdcQ.png" /><figcaption>Old Smartart MaxDept</figcaption></figure><p>Changed some code so that Smartart displays Satisfying height to width ratio, will improve height to width ratio if asked by mentors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h72Ndt13pvxJ4sxZ2aQMGA.png" /><figcaption>New Smartart MaxDept</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UyM444Of-o5RKSQ4aOvZNw.png" /><figcaption>New Chevron Smartart</figcaption></figure><p>I’ve written a unit test for Line Algorithm, particularly for Smartart MaxDepth, such that the child spreads across the x-axis.</p><p>Last Week, I mentioned about adding some new Style to Snake Algorithm with reverse Direction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*eZdDTU8YMvDS7IVaNbJ0bA.png" /><figcaption>Reverse Direction</figcaption></figure><p>When we pass reverse Direction(revDir) parameter in the code it should behave as mentioned above, but it was not implemented until now. I’ve added support to this feature as the child nodes will be displayed in the snake manner described above. Please see the below image for a more clear idea.</p><p>‘Test’ is the first node and ‘a’ is the second node and normally will be spread along the x-axis, but when smartart changes row, third node ‘b’ should be placed below the second node and this pattern will continue until the last node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXz_sF2m8aJhelFafYPq4w.png" /><figcaption>Basic Block LIst with reverse Direction for 5nodes</figcaption></figure><p>Below is the behavior when Basic Block list is applied to 8 nodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_mcsuerXRBCk4O1THpClew.png" /><figcaption>Basic Block LIst with reverse Direction for 8 nodes</figcaption></figure><p>I have learnt a lot, thanks to the whole community. I’ll be fixing more issues in the upcoming week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9638c1a1c1c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Summer of Code’18: First and Second Week]]></title>
            <link>https://medium.com/@ekanshjha/google-summer-of-code18-first-and-second-week-f0b090d163fd?source=rss-60cecad88924------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0b090d163fd</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[libreoffice]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Ekansh Jha]]></dc:creator>
            <pubDate>Fri, 25 May 2018 05:49:55 GMT</pubDate>
            <atom:updated>2018-06-08T20:38:29.769Z</atom:updated>
            <content:encoded><![CDATA[<p>Google summer of code’s community bonding part has ended a week before and the coding period started.</p><p>My Project is on <a href="https://wiki.documentfoundation.org/Development/GSoC/Ideas#SmartArt_editing_in_Impress"><em>Smartart Editing in impress</em></a><em>.</em></p><p>I’ll be describing my project in a <a href="https://medium.com/@ekanshjha/google-summer-of-code18-project-description-374dd14049bb">separate blog</a>.</p><p>There are so many smartarts which require proper rendering in LibreOffice and hence, I started with Snake Algorithm which is for basic block List.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*Ys1rMRf0f-ES-2bXNeP-uw.png" /><figcaption>SmartArt in Microsoft Office 2007</figcaption></figure><p>Here is the layout which LibreOffice render.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A-LpBrScooKNaXhDmkUSpQ.png" /><figcaption>Incorrectly Implemented: SmartArt in Libreoffice</figcaption></figure><p>As it is clear the number of rows and columns were different from the Microsoft office designed layout as well as the last node position also differ from the original. I made some changes which fix this issue and I am happy to see the results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RvZG1l4gzt28sqfvxEWb6Q.png" /><figcaption>Corrected SmartArt in Libreoffice</figcaption></figure><p>I have corrected the Snake Algorithm: Now it displays correct position of child layout nodes along a linear path in two dimensions, with the correct number of rows and columns and aspect ratio, this algorithm is for smartarts like Basic Block List — grouped blocks of information. It also specifies the behaviour of the direction that additional nodes are added to new rows or columns in the snake algorithm.</p><p>I have implemented for the same Direction and submitted it, waiting for the review:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*HE8n9EMVi4KqsgeUQDFkxA.png" /></figure><p>To Do: If this patch got merged then, in the upcoming week I’ll be implementing this algorithm for the reverse direction:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*eZdDTU8YMvDS7IVaNbJ0bA.png" /></figure><p>I have learnt a lot, thanks to the whole community. I’ll be fixing more issues in the upcoming week.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0b090d163fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>