Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21BC997CD for ; Wed, 25 Jul 2012 19:07:05 +0000 (UTC) Received: (qmail 43894 invoked by uid 500); 25 Jul 2012 19:07:04 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 43781 invoked by uid 500); 25 Jul 2012 19:07:04 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 43773 invoked by uid 99); 25 Jul 2012 19:07:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 19:07:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.25.134.19] (HELO mailout06.t-online.de) (194.25.134.19) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 19:06:55 +0000 Received: from fwd22.aul.t-online.de (fwd22.aul.t-online.de ) by mailout06.t-online.de with smtp id 1Su6up-0000NK-53; Wed, 25 Jul 2012 21:06:35 +0200 Received: from [192.168.0.23] (bKB818Z1QhGzczSHruRRQvgoychBnaQb4NdyT+jeFB7BhHJS5rfhq1O5i4dc+N5Zjn@[87.161.151.222]) by fwd22.t-online.de with esmtp id 1Su6uk-0tmj9k0; Wed, 25 Jul 2012 21:06:30 +0200 Message-ID: <501043B4.6010009@t-online.de> Date: Wed, 25 Jul 2012 21:06:28 +0200 From: Regina Henschel User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120715 Firefox/14.0.1 SeaMonkey/2.11 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: [Proposal]Enhance shape gradient import/export feature for MS 2003 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ID: bKB818Z1QhGzczSHruRRQvgoychBnaQb4NdyT+jeFB7BhHJS5rfhq1O5i4dc+N5Zjn X-TOI-MSGID: b4a68856-4061-452a-abec-5d93520b7b57 Hi Jianyuan, Jianyuan Li schrieb: > Hi, All, > > Now I am fixing an issue (i119498) about shape gradient import/export. > Besides the issue, some other issues are also found. Shape gradient > import/export is not supported well by AOO. So I did some investigation > about how shape gradient works and current mechanism of shape gradient > filter. I plan to do some enhancements which have been listed in below wiki: > http://wiki.services.openoffice.org/wiki/Impress/Features/ShapeGradientEnhancementForMS2003Filter > > Suggestions and comments are welcomed. It is a very good idea to describe the problems. That will help a lot to understand the implementation and verify it. I have a suggestion in regard to angles. (1) So to make the description unambiguous, it would help to start with a picture of the angle setting (something like 20°), which the user makes in MS 2003 in the advanced dialog, where all settings are visible; then the result on screen in MS 2003, and then the resulting values in MS file format. (2) The term "gradient vector" is not clear. Angle: For MS 2003, angle property specifies the angle of the shaded fill that rotates the gradient vector in a counterclockwise direction and will be represented with minus number. Zero degree represents a vertical vector from bottom to top. I understand "gradient vector" as direction from the color at 0% to the color at 100% (as in svg). Then in MS 2010 my "gradient vector" of zero degree is in positive x-axis direction as expected. Is it different in MS 2003 or do you define the "gradient vector" in a different way? (3) And another suggestion: To make it easier to verify the implementation, mention the settings in the UI too. For example in MS 2010 there are four kind of gradients (Linear, Radial, Rectangular, Path), with a setting for angle (for Linear) or direction (for Radial/Rectangular), and in addition a check box 'rotate with shape'. How do they map to your pictures? And questions: (4) In MS 2010 it is possible to define stop colors in between e.g at 30% (similar to svg). Is that possible in MS 2003 too? [I have no longer got an older version of MS Office to test it.] If yes, how will you handle it? (5) In MS 2010 a line can have a gradient too. Is that possible in MS 2003 too? If yes, will you handle that too? Kind regards Regina