poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60059] Can't change text of DrawingParagraph
Date Sat, 10 Sep 2016 23:53:53 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60059

--- Comment #1 from Javen O'Neal <onealj@apache.org> ---
Patches with corresponding unit tests are greatly appreciated!

Resources to get your started:
How to build POI: https://poi.apache.org/howtobuild.html
Submitting patches: https://poi.apache.org/guidelines.html
XSLF quick guide: https://poi.apache.org/slideshow/xslf-cookbook.html#Text
POI FAQ: https://poi.apache.org/faq.html

Here's the DrawingParagraph source code
https://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/DrawingParagraph.java?view=markup

A paragraph is constructed of multiple text runs (the formatting of each text
run is the same--analogous to rich text strings).
You probably want a method that will return a list of text runs within a
DrawingParagraph. Then you can set the text on each run.

CTRegularTextRun any any other CT* class are generated by the OOXML schema
descriptors, but you can attach the interface to Eclipse to make it easier to
develop these features.
You can also rename a .pptx file to .zip, unzip it, and examine the XML files
inside (helpful to have an XML pretty printer).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message