Package org.eclipse.birt.report.engine.layout.area

Examples of org.eclipse.birt.report.engine.layout.area.ITextArea


     *
     * @see org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter#startAutoText(org.eclipse.birt.report.engine.content.IAutoTextContent)
     */
    @Override
    public void startAutoText(IAutoTextContent autoText) {
        ITextArea totalPage = (ITextArea) autoText.getExtension(IContent.LAYOUT_EXTENSION);
        renderer.setTotalPage(totalPage);
    }
View Full Code Here


            for (int i = 0; i < areas.size(); i++) {
                IArea ar = unWrap(areas.get(i));

                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")) {
View Full Code Here

TOP

Related Classes of org.eclipse.birt.report.engine.layout.area.ITextArea

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.