[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (OFFICE-2796) 5.5.4 text:deletion -second item in list: "If the change mark is inside a heading, proceed asabove, except adapt the end tags to match their new counterparts." ?
[ http://tools.oasis-open.org/issues/browse/OFFICE-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver-Rainer Wittmann updated OFFICE-2796: ------------------------------------------- Proposal: Replace: "To reconstruct the text before a deletion took place: - If the change mark is inside a paragraph, insert the text content of the <text:deletion> element as if the beginning <text:p> and final </text:p> tags were missing. - If the change mark is inside a heading, proceed as above, except adapt the end tags to match their new counterparts. - Otherwise, copy the text content of the <text:deletion> element in place of the change mark." by "To reconstruct the text before a deletion took place: - If the change mark is inside a paragraph, insert the content that was deleted, but remove all leading start tags up to and including the first <text:p> element and all trailing end tags up to and including the last </text:p> or </text:h> element. If the last trailing element is a </text:h>, change the end tag </text:p> following this insertion to a </text:h> element. - If the change mark is inside a heading, insert the content that was deleted, but remove all leading start tags up to and including the first <text:h> element and all trailing end tags up to and including the last </text:h> or </text:p> element. If the last trailing element is a </text:p>, change the end tag </text:h> following this insertion to a </text:p> element. - Otherwise, copy the text content of the <text:deletion> element in place of the change mark." Resolution: resolve as proposed I have provided a solution - see given proposal. I tried to adjust the reconstruction statements keeping the current used wording keeping in mind that we have proposal OFFICE-3312 for a future version of ODF. > 5.5.4 text:deletion - second item in list: "If the change mark is inside a heading, proceed as above, except adapt the end tags to match their new counterparts." ? > ------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: OFFICE-2796 > URL: http://tools.oasis-open.org/issues/browse/OFFICE-2796 > Project: OASIS Open Document Format for Office Applications (OpenDocument) TC > Issue Type: Bug > Components: Text > Affects Versions: ODF 1.2 CD 05 > Reporter: Patrick Durusau > Fix For: ODF 1.2 CD 06 > > > 5.5.4 text:deletion - second item in list: "If the change mark is inside a heading, proceed as above, except adapt the end tags to match their new counterparts." ? > The preceding paragraph says: > "If the change mark is inside a paragraph, insert the text content of the <text:deletion> element as if the beginning <text:p> and final </text:p> tags were missing." > Does this mean: > "If the change mark is inside a heading, insert the text content of the <text:deletion> element as if the beginning <text:p> and final </text:p> tags were missing." > ? Since deleted text is save in <text:p></text:p>, shouldn't it simply be placed back in the <text:h></text:h> element? -- 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]