Issue 43964 - creation of Paragraphs should be able be createInstance
Summary: creation of Paragraphs should be able be createInstance
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 09:15 UTC by lars.langhans
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description lars.langhans 2005-03-03 09:15:51 UTC
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.
Comment 1 thomas.lange 2005-03-03 09:27:55 UTC
.
Comment 2 andreas.martens 2005-05-25 09:12:37 UTC
Considering the effort, the priority, the risk and our resource planning I've to
retarget this issue to OOo Later.