https://issues.apache.org/ooo/show_bug.cgi?id=121733
Bug ID: 121733
Issue Type: PATCH
Summary: make colored smart tags possible
Classification: Code
Product: api
Version: AOO400-dev
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: code
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 80226
--> https://issues.apache.org/ooo/attachment.cgi?id=80226&action=edit
patch file
Modify SwWrongArea so that it holds the color and line-style that are used in
order to paint the corresponding marking line.
Add functionality to SwWrongArea that evaluates the XStringKeyMap parameter of
its constructor.
The SmartTagRecognizer can explicitly specify the color of the markings by
adding entries "Red", "Green", "Blue" to the
string key map where the content of these keys is a hexadecimal string
representation of the color component values.
The default color of all other wrong list types has not been changed. If one
adds a smart tag without specification of the color,
it would get the default smart tag color.
Furthermore, the SmartTagRecognizer can specify the line type of the smart tag
by addition of an entry "LineStyle" that can
have the values "WAVE", "WAVE_NORMAL", "WAVE_SMALL", "WAVE_FLAT". The default
line style is dashed.
Modify the drawing function lcl_DrawWrongListData so that it uses the color and
style information contained in the SwWrongArea
elements rather than determining the color and style of each marking within
this function each time it is called.
I send a more detailed explanation of this patch proposal to
[email protected].
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.