Kaydet (Commit) 357fac97 authored tarafından Maxime de Roucy's avatar Maxime de Roucy Kaydeden (comit) Cédric Bosdonnat

Rewrite of the format paintbrush

With this patch the format paintbrush differentiate automatic character
attributes apply to character than those apply to paragraph.
Character attributes applied to paragraph are treat as paragraph format
when paragraph format are copied (and so apply to paragraph), and treat
as character format when paragraph format are not copied.

It also change the behavior of the format paintbrush on "restart
numbering" and "restart numbering at" attributes. With this patch those
attributes are simply copied… as expected.
üst 378ee95b
......@@ -81,8 +81,11 @@ public:
private:
int m_nSelectionType;
/** automatic/named character and paragraph attribute set */
SfxItemSet* m_pItemSet;
/** automatic/named character attribute set */
SfxItemSet* m_pItemSet_TxtAttr;
/** automatic/named paragraph attribute set
* (it can be caractere attribute applyied to the paragraph) */
SfxItemSet* m_pItemSet_ParAttr;
/** table attribute set */
SfxItemSet* m_pTableItemSet;
......
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