[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (OFFICE-1758) Editor Note: Section18.174.1 fo:background-color
[ http://tools.oasis-open.org/issues/browse/OFFICE-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12814#action_12814 ] Michael Brauer commented on OFFICE-1758: ---------------------------------------- With the new structure it is in fact not too easy to reference "Fill Properties" because these are not contained in a section of its own. But I think this is anyway not required. The attribute that controls filling using fill properties is draw:fill. It should be sufficient if we mention this attribute, what we actually do already. So, rather than saying ---- Fill formatting properties can be used instead of this attribute for enhanced table row and table cell background fill styles. If a value for a draw:fill attribute is provided, then a background image that is specified by a <style:background-image> element and a background color that is specified with the fo:background-color attribute are switched off. ---- we can just say ---- If a value for a draw:fill attribute is provided in a style, then a background image that is specified by a <style:background-image> element and a background color that is specified with the fo:background-color attribute are switched off. ---- I've noticed that there is a single sub section "General" under the fo:background-color heading. We don't need that (that is, we need its content but not the subsection heading). I further think that we can combine the first four paragraphs to --- The fo:background-color attribute specifies a background color for characters, paragraphs, text sections, frames, page bodies, headers, footers, tables, table rows and tables. This can be transparent or a color. If the value is set to transparent, it switches off any background image that is specified by a <style:background-image>. 16.4 ---- > Editor Note: Section 18.174.1 fo:background-color > -------------------------------------------------- > > Key: OFFICE-1758 > URL: http://tools.oasis-open.org/issues/browse/OFFICE-1758 > Project: OASIS Open Document Format for Office Applications (OpenDocument) TC > Issue Type: Bug > Affects Versions: ODF 1.2 > Reporter: Robert Weir > Assignee: Michael Brauer > Fix For: ODF 1.2 > > > Transcribed from ODF_Revised_Editorial_Notes_27May2009.odt > Original author: Patrick Durusau > Section 18.174.1 fo:background-color > Ed. Note All the fill styles appear to be members of style-graphic-fill-properties-attlist if we want to generate a list of them. In the original text they were in a single chapter together. > Patrick: OK, this gets complicated. Here is the exchange between Oliver and myself: > The ed. note is under fo:background-color and reads: > Ed. Note All the fill styles appear to be members of style-graphic-fill-properties-attlist if we want to generate a list of them. In the original text they were in a single chapter together. > The reason for that comment was text that appears in the immediately preceding paragraph that reads: > Fill formatting properties can be used instead of this attribute for enhanced table row and table cell background fill styles. If a value for a |draw:fill| attribute is provided, then a background image that is specified by a |<style:background-image>| element and a background color that is specified with the |fo:background-color| attribute are switched off. > A better question would have been: Does "fill formatting properties" include only draw:fill or does it include other attributes? > Do note that the text says, "If a value for a draw:fill attribute is provided,...." If you look at the schema, "none" is a specified value for draw:fill. > I assume that means that if an image has been specified by a <style:background-image> element and a background color has been specified by a fo:background-color attribute, that by specifying a draw:fill attribute with the value "none," that I could switch off both of those settings. > I don't know that is what we intended but I think it is a fair reading of the text as it stands. > (Note that "enhanced table row" appears once and only once, here.) > If my assumption about draw:fill is correct (see 19.109) then the definition of draw:fill, which reads in part: > The |draw:fill| attribute specifies the fill style for a graphic object. > is incorrect because a cell or row isn't a graphic object. > And so would that cascade down to the definitions of the various types fill which reference drawing objects. > There isn't any reason why we can't use one draw:fill attribute for both graphic/drawing objects as well as cells and tables but then our definitions need to take that broader range of application into account. > Thanks Patrick - now I got the ed. note's intention. > But, unfortunately I have no solution for it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]