Package org.eclipse.birt.report.engine.content

Examples of org.eclipse.birt.report.engine.content.IDataContent


                if (ar instanceof ITextArea) {
                    String contentType = Data.STRING;
                    ITextArea tar = (ITextArea) ar;
                    if (ar.getContent().getContentType() == IContent.DATA_CONTENT) {
                        IDataContent dataContent = (IDataContent) ar.getContent();
                        contentType = ExcelUtil.getType(dataContent.getValue());
                    }
                    TextAreaWrapper textWrapper = new TextAreaWrapper((ITextArea) tar, contentType);
                    textWrapper.text = ((ITextContent) hostArea.getContent()).getText();
                    /**
                     * @Todo da migliorare
                     */
                    Object content = tar.getContent();
                    if (content instanceof DataContent) {
                        DataContent dataContent = (DataContent) tar.getContent();
                        Object generateBy = dataContent.getGenerateBy();
                        if (generateBy instanceof DataItemDesign) {
                            DataItemDesign did = (DataItemDesign) generateBy;
                            did.getName();
                            if (did.getName() != null && did.getName().equals("levelValue")) {
                                AggregateFinder.get().resolve(textWrapper.getText());
View Full Code Here

TOP

Related Classes of org.eclipse.birt.report.engine.content.IDataContent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.