Bug 139528 - Displayname property does not exist for some Writer styles
Summary: Displayname property does not exist for some Writer styles
Status: RESOLVED DUPLICATE of bug 139529
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-11 00:15 UTC by Jean-Michel COSTE
Modified: 2021-01-11 13:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel COSTE 2021-01-11 00:15:48 UTC
Description:
There is an error with some Writer styles, for which the DisplayName property is missing. These are the styles of the TableStyles and CellStyles families.
In addition, these styles are considered userStyles, whereas they are not editable.
The attached document contains a macro that lists all of the custom user styles in the document.

Steps to Reproduce:
1.In a macro, try to get DiplayName of a style (TableStyle or CellStyle)
2.
3.

Actual Results:
Basic runTime error
Property or method not found

Expected Results:
localized name of the style


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2021-01-11 13:15:53 UTC

*** This bug has been marked as a duplicate of bug 139529 ***