Week 2 - update

2022-06-25 Thread Hannah Meeks
Hi,

This week I fixed my changes from the previous week, I also looked at the
XFind method on writer and wrote macro tests in word to test find and
replace.
Struggled for a while before finding this :

Selection seemed to be a problem to start with and the test will not work
without A.
Also seemed like the 'with' is broken and creates new find objects - B

Selection.TypeText Text:="testing number two"
' without this it doesn't work ...
A .  ActiveDocument.Content.Select
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting

B.
+let f = Selection.Find
+   With f ' works
-With Selection.Find ' breaks things.
.Text = "t"
.Replacement.Text = "l"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute Replace:=wdReplaceAll
End With

Looks like this could be due to code in sw/source/ui/vba/vbaselection.cxx
getFind
which I will aim to look at next week


GSoC | Week 2 update | LibreOffice online - Aditya Dewan

2017-06-06 Thread Aditya Dewan
Hi everyone!

I spent the last week working on adding the find and replace functionality.
It is now complete and related patch can be found at
https://gerrit.libreoffice.org/#/c/38287/.

This, week i will be working on some interesting features.

1. Introducing new chart in the admin console for tracking the CPU load
https://bugs.documentfoundation.org/show_bug.cgi?id=107278
work is in progress on this one, and can be seen at
https://gerrit.libreoffice.org/#/c/38425/

2. Follow editor feature
Introducing new mode so that online users can track the editor's cursor.
You can find a detailed discussion at
 https://bugs.documentfoundation.org/show_bug.cgi?id=108341


Regards,
Aditya Dewan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice