Answered DOCX - what is the purpose of w:p/w:pPr/w:rPr?

All Replies

  • Thursday, July 12, 2012 8:41 PM
    Moderator
     
     Answered
    Hi David, thank you for your question. A member of the protocol documentation team will respond to you soon.

    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    • Marked As Answer by DavidThi808 Friday, July 13, 2012 6:53 PM
    •  
  • Friday, July 13, 2012 6:46 PM
    Moderator
     
     Proposed

    Hi David, those properties are documented in the ECMA-376 and ISO 29500 Part 1 documents in the following sections.

    17.3.1.22  p (Paragraph)
    17.3.1.25  pPr (Previous Paragraph Properties)
    17.3.1.26  pPr (Paragraph Properties)
    17.3.1.29  rPr (Run Properties for the Paragraph Mark)
    17.3.1.30  rPr (Previous Run Properties for the Paragraph Mark)

    You won't be able to see changes made to the rPr element if you don't have the option selected in Word to display paragraph marks.

    Please let me know if you have any other questions.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

  • Friday, July 13, 2012 6:53 PM
     
     

    Hi Josh;

    Is that all it is for? Formatting the paragraph mark? No effect elsewhere?

    thanks - dave


    Who will win The International Collegiate Programming Championships?

  • Friday, July 13, 2012 8:11 PM
    Moderator
     
     Answered

    Hi David, for the rPr element, yes, that's correct.

    Per the spec…

    17.3.1.29  rPr (Run Properties for the Paragraph Mark)
    This element specifies the set of run properties applied to the glyph used to represent the physical location of the paragraph mark for this paragraph. This paragraph mark, being a physical character in the document, can be formatted, and therefore shall be capable of representing this formatting like any other character in the document. If this element is not present, the paragraph mark is unformatted, as with any other run of text.

    17.3.1.30  rPr (Previous Run Properties for the Paragraph Mark)
    This element specifies a set of run properties applied to the glyph used to represent the physical location of the paragraph mark for this paragraph which shall be attributed to a revision by a particular author and at a particular time. This element contains the set of properties which have been tracked as a specific set of revisions by one author.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

  • Friday, July 13, 2012 8:42 PM
     
     

    Hi;

    It all makes sense after you said that. But for some reason when I first read it, before I posted, that just didn't click.

    thanks - dave


    Who will win The International Collegiate Programming Championships?