To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=43964
                  Issue #:|43964
                  Summary:|creation of Paragraphs should be able be
                          |createInstance
                Component:|api
                  Version:|680m81
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tl
              Reported by:|lla





------- Additional comments from [EMAIL PROTECTED] Thu Mar  3 01:15:51 -0800 
2005 -------
I can create a ContentIndex object with the follows Basic macro
x = MSF.createInstance("com.sun.star.text.ContentIndex")
and insert it with
doc.text.insertTextContent(cursor, x, false)
Also with tables, ...

But only with paragraphs this doesn't work, this code produce a
IllegalArgumentException
p = MSF.createInstance("com.sun.star.text.Paragraph")
doc.text.insertTextContent(cursor, p, false)

For a clear API this should be possible.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to