From f8b6c3949e2c1f23549a2ef879e728cdb7149235 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Wed, 21 Aug 2013 21:30:41 +0200 Subject: CharBrd 7: Border shadow 1, New character attribute - Add the three shadow members to font (width, color, location) 2, Painting - Extract the shadow painting to a local function and use that for character shadow (paintfrm.cxx) - Reduce the painting rectangle of background (shadow doesn't inherites the background of content) 3, Border merge - Use text portion join members to skip shadow when neccessary. 4, Vertical text - Get shadow space dependant from oritentation and border merge. 5, UNO API and ODF filter Paragraph: ParaShadowFormat -> Character: CharShadowFormat Change-Id: Ief4669990d238016c3ffc18a2609a3df7d9dddbf --- qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXCellRange.csv | 1 + qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextCursor.csv | 1 + qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextRange.csv | 1 + qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextTableCursor.csv | 1 + qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextViewCursor.csv | 1 + qadevOOo/objdsc/sw/com.sun.star.style.CharacterStyle.csv | 1 + 6 files changed, 6 insertions(+) (limited to 'qadevOOo/objdsc') diff --git a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXCellRange.csv b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXCellRange.csv index bbf37c193e67..85b06ecc25f5 100644 --- a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXCellRange.csv +++ b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXCellRange.csv @@ -143,6 +143,7 @@ "SwXCellRange";"com::sun::star::style::CharacterProperties";"CharRightBorderDistance#optional" "SwXCellRange";"com::sun::star::style::CharacterProperties";"CharBottomBorderDistance#optional" "SwXCellRange";"com::sun::star::style::CharacterProperties";"CharTopBorderDistance#optional" +"SwXCellRange";"com::sun::star::style::CharacterProperties";"CharShadowFormat#optional" "SwXCellRange";"com::sun::star::sheet::XCellRangeData#optional";"getDataArray()" "SwXCellRange";"com::sun::star::sheet::XCellRangeData#optional";"setDataArray()" "SwXCellRange";"com::sun::star::style::ParagraphPropertiesAsian#optional";"ParaIsHangingPunctuation" diff --git a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextCursor.csv b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextCursor.csv index fd964f8ef408..1f45acc02db8 100644 --- a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextCursor.csv +++ b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextCursor.csv @@ -165,6 +165,7 @@ "SwXTextCursor";"com::sun::star::style::CharacterProperties";"CharRightBorderDistance#optional" "SwXTextCursor";"com::sun::star::style::CharacterProperties";"CharBottomBorderDistance#optional" "SwXTextCursor";"com::sun::star::style::CharacterProperties";"CharTopBorderDistance#optional" +"SwXTextCursor";"com::sun::star::style::CharacterProperties";"CharShadowFormat#optional" "SwXTextCursor";"com::sun::star::document::XDocumentInsertable#optional";"insertDocumentFromURL()" "SwXTextCursor";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "SwXTextCursor";"com::sun::star::beans::XPropertySet";"setPropertyValue()" diff --git a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextRange.csv b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextRange.csv index 261865374e2e..7beae7455988 100644 --- a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextRange.csv +++ b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextRange.csv @@ -139,6 +139,7 @@ "SwXTextRange";"com::sun::star::style::CharacterProperties";"CharRightBorderDistance#optional" "SwXTextRange";"com::sun::star::style::CharacterProperties";"CharBottomBorderDistance#optional" "SwXTextRange";"com::sun::star::style::CharacterProperties";"CharTopBorderDistance#optional" +"SwXTextRange";"com::sun::star::style::CharacterProperties";"CharShadowFormat#optional" "SwXTextRange";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "SwXTextRange";"com::sun::star::beans::XPropertySet";"setPropertyValue()" "SwXTextRange";"com::sun::star::beans::XPropertySet";"getPropertyValue()" diff --git a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextTableCursor.csv b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextTableCursor.csv index b2fbb91c2f2b..79f86c910b64 100644 --- a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextTableCursor.csv +++ b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextTableCursor.csv @@ -142,6 +142,7 @@ "SwXTextTableCursor";"com::sun::star::style::CharacterProperties";"CharRightBorderDistance#optional" "SwXTextTableCursor";"com::sun::star::style::CharacterProperties";"CharBottomBorderDistance#optional" "SwXTextTableCursor";"com::sun::star::style::CharacterProperties";"CharTopBorderDistance#optional" +"SwXTextTableCursor";"com::sun::star::style::CharacterProperties";"CharShadowFormat#optional" "SwXTextTableCursor";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "SwXTextTableCursor";"com::sun::star::beans::XPropertySet";"setPropertyValue()" "SwXTextTableCursor";"com::sun::star::beans::XPropertySet";"getPropertyValue()" diff --git a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextViewCursor.csv b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextViewCursor.csv index 6ecd7ca2b1bd..85ab9e70156c 100644 --- a/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextViewCursor.csv +++ b/qadevOOo/objdsc/sw/com.sun.star.comp.office.SwXTextViewCursor.csv @@ -175,6 +175,7 @@ "SwXTextViewCursor";"com::sun::star::style::CharacterProperties";"CharRightBorderDistance#optional" "SwXTextViewCursor";"com::sun::star::style::CharacterProperties";"CharBottomBorderDistance#optional" "SwXTextViewCursor";"com::sun::star::style::CharacterProperties";"CharTopBorderDistance#optional" +"SwXTextViewCursor";"com::sun::star::style::CharacterProperties";"CharShadowFormat#optional" "SwXTextViewCursor";"com::sun::star::document::XDocumentInsertable#optional";"insertDocumentFromURL()" "SwXTextViewCursor";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "SwXTextViewCursor";"com::sun::star::beans::XPropertySet";"setPropertyValue()" diff --git a/qadevOOo/objdsc/sw/com.sun.star.style.CharacterStyle.csv b/qadevOOo/objdsc/sw/com.sun.star.style.CharacterStyle.csv index c7d16cda2f99..26a0868845ad 100644 --- a/qadevOOo/objdsc/sw/com.sun.star.style.CharacterStyle.csv +++ b/qadevOOo/objdsc/sw/com.sun.star.style.CharacterStyle.csv @@ -101,6 +101,7 @@ "CharacterStyle";"com::sun::star::style::CharacterProperties";"CharRightBorderDistance#optional" "CharacterStyle";"com::sun::star::style::CharacterProperties";"CharBottomBorderDistance#optional" "CharacterStyle";"com::sun::star::style::CharacterProperties";"CharTopBorderDistance#optional" +"CharacterStyle";"com::sun::star::style::CharacterProperties";"CharShadowFormat#optional" "CharacterStyle";"com::sun::star::beans::XPropertySet";"getPropertySetInfo()" "CharacterStyle";"com::sun::star::beans::XPropertySet";"setPropertyValue()" "CharacterStyle";"com::sun::star::beans::XPropertySet";"getPropertyValue()" -- cgit v1.2.3