Kaydet (Commit) e697d969 authored tarafından Jacobo Aragunde Pérez's avatar Jacobo Aragunde Pérez

tdf#84102: Expose duplicated "level" accessible attribute.

There is no standard for this so some ATs will expect "level" and
others "heading-level"; we will expose both.

Change-Id: Ia935f7efdea11dc9be66fd9a54e1df0432c74662
üst 8c7a68ef
...@@ -3877,6 +3877,8 @@ uno::Any SAL_CALL SwAccessibleParagraph::getExtendedAttributes() ...@@ -3877,6 +3877,8 @@ uno::Any SAL_CALL SwAccessibleParagraph::getExtendedAttributes()
strHeading += OUString::number(nHeadingLevel, 10); strHeading += OUString::number(nHeadingLevel, 10);
strHeading += ";"; strHeading += ";";
strHeading += strHeading.copy(8); // tdf#84102: expose the same attribute with the name "level"
Ret <<= strHeading; Ret <<= strHeading;
return Ret; return Ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment