GSoC 18 work report - 23rd May
The coding period of GSoC started 10 days ago. I'm working with LibreOffice's UI logger. The aim of first two weeks is to support logging for UNO commands, dialogs, radiobuttons, checkboxes, and buttons.
To get a summary of what has been done so far, let's perform a couple of steps and look at the generated log file.
Steps:
1) Click on "Writer Document" button
2) Go to Format -> Character to open the Character Properties Dialog.
3) Check the radiobutton 90 degrees and check the checkbox "Fit to line".
4) Click ok
5) Type "hi" in the main wrier_edit window
The generated log file contains the following -
- ButtonUIObject Action:CLICK Id:writer_all Parent:
- CommandSent Name:.uno:FontDialog
- ModalDialogExecuted Id:CharacterPropertiesDialog
- RadioButtonUIObject Action:CLICK Id:90deg Parent:CharacterPropertiesDialog
- Action on element: 90deg with action : CLICK
- CheckBoxUIObject Action:CLICK Id:fittoline Parent:CharacterPropertiesDialog
- Action on element: fittoline with action : CLICK
- ButtonUIObject Action:CLICK Id:ok Parent:CharacterPropertiesDialog
- DialogClosed
- SwEditWinUIObject Action:TYPE Id:writer_edit Parent:UNKNOWN {"TEXT": "h"}
- SwEditWinUIObject Action:TYPE Id:writer_edit Parent:UNKNOWN {"TEXT": "i"}
As evident, the log file logs about-
1) Opening and closing of dialogs
2) UNO commands
3) Radiobuttion, checkbox and button click
4) Keys pressed
I'm stuck with printing the top parent of a generic UI element (so that the Parent:UNKOWN in the log file in lines 10 and 11 start giving some useful information)
The code of my work can be found here: https://gerrit.libreoffice.org/54745
Suggestions for what I have done so far, or what I should be working on next are welcome!
Hello. If you want to know about all the companies. My company knows about 170 worple road freehold limited. If you want to know about 170 worple road freehold limited please contact with my company. You can also know more about companies.
ReplyDeleteThank you.
This is very nice post im very like it and i appreciate you for good work keep it up it is very useful for me.
ReplyDeleteStruts Training in Chennai
Struts Training
Wordpress course in Chennai
Wordpress Training Chennai
Wordpress Training in Adyar
Wordpress Training in OMR
Struts Training
Struts Training in Chennai
This comment has been removed by the author.
ReplyDeleteYou should be a piece of a challenge for probably the best website on the web. I will suggest this site!
ReplyDeletebest interiors