Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4069452

JStyledDocument setting logical style sets character style on next paragraph

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.5
    • 0.9
    • client-libs
    • None
    • 1.1.5
    • generic
    • windows_95
    • Not verified

      In a JStyledDocument setting the logical style on a paragraph causes the CharacterStyle of the Style to be set on the next paragraph of the range not the paragraph in the range.

      To illustrate the problem, add the following line as the first definition in
      Paragraph[] data

      new Paragraph ("normal", new Run[] {
      new Run("none", "Stupid little Test"),
      }),

      In the display you'll notice that the Title will set with the CharacterStyle that is in normal.

            tprinzing Tim Prinzing (Inactive)
            rbrinkle Roger Brinkley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: