Hi,
I have an existing powerpoint template. I am trying to read a table
(which has a predefined header and few empty rows) and add Text to the
cells.
Slide slide = ppt.getSlides()[4];
Table table = (Table) slide.getShapes()[1];
TableCell cell = table.getCell(3, 0);
Cell.setText("Hello")
When I open the output ppt, my original table is unchanged. I don't see
the value "Hello" where I want.
I played a lot with the font, setting the same text through textruns
etc.. But still don't see my cell changed from blank to "Hello".
I was able to fill the target cell by some color though. Somehow, my
text never shows up.
Pls help
Thanks
Amey
Issued by UBS AG or affiliates to professional investors only.
Product of a sales/trading desk and not the Research Department.
For the full published research report, including important
disclosures, go to the ResearchWeb at www.ubs.com. Opinions
expressed may differ from those of other divisions of UBS, including
Research.
UBS may trade as principal in instruments identified herein and may
accumulate/have accumulated a long/short position in instruments or
derivatives thereof. UBS has policies designed to manage conflicts of
interest. This e-mail is not an official confirmation of terms and
unless stated, is not a personal recommendation, offer or
solicitation to buy or sell. This material constitutes an invitation to
consider entering into a derivatives transaction under U.S. CFTC
Regulations 1.71 and 23.605, where applicable, but is not a binding offer to
buy/sell any financial instrument. Any prices or quotations contained
herein are indicative only and not for valuation purposes.
Communications may be monitored.
Refer to the attached web link for important legal and regulatory
information:
http://www.ubs.com/ussalestradingdisclaimer
Statement of Risk
Options, structured derivative products and futures are not suitable
for all investors, and trading in these instruments is considered
risky and may be appropriate only for sophisticated investors. Past
performance is not necessarily indicative of future results. Various
theoretical explanations of the risks associated with these
instruments have been published. Prior to buying or selling an
option, and for the complete risks relating to options, you must
receive a copy of "The Characteristics and Risks of Standardized
Options." You may read the document at
http://www.theocc.com/publications/risks/riskchap1.jsp
or ask your salesperson for a copy.
UBS 2013. All rights reserved.
Intended for recipient only and not for further distribution without
the consent of UBS.
UBS reserves the right to retain all messages. Messages are protected
and accessed only in legally justified cases.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]