Bug Hunting Session
Bug 124141 - Create a document analyser for LibreOffice triage and QA
Summary: Create a document analyser for LibreOffice triage and QA
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillJava, skillPython, skillScript, skillUno, topicQA
Depends on:
Blocks:
 
Reported: 2019-03-17 22:29 UTC by Björn Michaelsen
Modified: 2019-07-31 04:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The attachment contains my easy hack to the document anayser for a Libreoffice Document (777 bytes, text/plain)
2019-04-09 16:25 UTC, ipshii1609
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Michaelsen 2019-03-17 22:29:43 UTC
Description:
Often issues arise with specific documents, esp. performance issues. It will help LibreOffice QA and developers when triaging issues, if there is a overview of what might be special about one specific document.

This EasyHack is to create a script or LibreOffice extension that provides statistics about a document. For a text document including for example:

- number of paragraphs
- number of pages
- number of images/embedded media
- number of changetracking (redlines)
- number of styles, bookmarks, tables, indexes, text frames, OLE objects, sections, hyperlinks, references, comments ...

The extension should produce the output as simple text, so that this can be easily copypasted into a bugreport. For other document types, other information might be relevant. For a simple scope, it should be ok to start with basic numbers about text documents.


Steps to Reproduce:
.

Actual Results:
.

Expected Results:
.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Anuj Agrawal 2019-03-19 13:25:36 UTC
Hi,
I'm Anuj Agrawal. I'd like to work on this issue. Can you please elaborate on the format of the text output you wish the Script to generate?
Comment 2 ipshii1609 2019-04-09 16:25:28 UTC
Created attachment 150623 [details]
The attachment contains my easy hack to the document anayser for a Libreoffice Document
Comment 3 Pankaj Kumar 2019-04-23 07:55:03 UTC
Hi Anuj Agarwal,
Any update on the bug?
Comment 4 Ebrain Mirambeau 2019-07-31 04:33:44 UTC
I took a look at ipshii1609@gmail.com 's solution and I think that it's both incomplete and written in Python. I would like to work on it. Any objections?