OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Issue Comment Edited: (OFFICE-1221) Public Comment: <text:s> element (etc) needs to be removed (ODF 1.2)


    [ http://tools.oasis-open.org/issues/browse/OFFICE-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31333#action_31333 ] 

Dennis Hamilton edited comment on OFFICE-1221 at 10/1/12 8:31 PM:
------------------------------------------------------------------

@Patrick

By soft line break I mean a line break in a sequence of spaces.  In some applications, the spaces don't continue on the next line.  If it was a sequence of &nbsp; it would usually cause the soft line-break to occur at the first soft space or hyphenation preceding the run of &nbsp; etc.  

There are rules in ODF for the collapse of space characters across element boundaries.  The only way to prevent that is sometimes to make an explicit space by some means.  Currently, it is with <text:s>.

Concerning the use case.  

Supppose I am typing something about software and I want to exhibit the literal string, "     " (there are 5 spaces in there).  Somehow, the software needs to create something in ODF that preserves those five blanks.  What do you believe are the options for that now?

As you can see, above, the HTML practice of collapsing consecutive white space is alive and well and the generated HTML does not show the explicit spaces taht I entered.  If you look at the text that I entered, which I can see now that I am editing this comment, my spacing is still there.  Naughty JIRA.  Naughty.

(Note, if there is more than one space in this comment, that means the comment form recognizes multiple spaces and uses the HTML provisions for preserving them.

Oh, another use case.  I am one of those who thinks have extra space after a full stop is an useful thing.  I type them automatically.  There are some on this comment entry.  Let's see if they are preserved, aye?

      was (Author: orcmid):
    @Patrick

By soft line break I mean a line break in a sequence of spaces.  In some applications, the spaces don't continue on the next line.  If it was a sequence of &nbsp; it would usually cause the soft line-break to occur at the first soft space or hyphenation preceding the run of &nbsp; etc.  

There are rules in ODF for the collapse of space characters across element boundaries.  The only way to prevent that is sometimes to make an explicit space by some means.  Currently, it is with <text:s>.

Concerning the use case.  

Supppose I am typing something about software and I want to exhibit the literal string, "     " (there are 5 spaces in there).  Somehow, the software needs to create something in ODF that preserves those five blanks.  What do you believe are the options for that now?

(Note, if there is more than one space in this comment, that means the comment form recognizes multiple spaces and uses the HTML provisions for preserving them.

Oh, another use case.  I am one of those who thinks have extra space after a full stop is an useful thing.  I type them automatically.  There are some on this comment entry.  Let's see if they are preserved, aye?
  
> Public Comment: <text:s> element (etc) needs to be removed (ODF 1.2)
> --------------------------------------------------------------------
>
>                 Key: OFFICE-1221
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1221
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Text
>    Affects Versions: ODF 1.0, ODF 1.0 (second edition), ODF 1.1, ODF 1.2
>            Reporter: Robert Weir 
>            Assignee: Patrick Durusau
>            Priority: Blocker
>             Fix For: ODF 1.3
>
>
> Copied from office-comment list
> Original author: "Alex Brown" <alexb@griffinbrown.co.uk> 
> Original date: 20 Feb 2009 06:24:27 -0000
> Original URL: http://lists.oasis-open.org/archives/office-comment/200902/msg00022.html

-- 
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]