User: rt      
Date: 2008-01-29 14:34:04+0000
Added:
   
dba/reportdesign/java/com/sun/star/report/pentaho/layoutprocessor/OfficePageSectionLayoutController.java

Log:
 INTEGRATION: CWS pentaho2_SRC680 (1.1.4); FILE ADDED
 2008/01/21 09:00:24 oj 1.1.4.2: #i79173# #i78502# import changes from pentaho1
 2008/01/15 13:46:50 oj 1.1.4.1: file OfficePageSectionLayoutController.java 
was added on branch cws_ooh680_pentaho2 on 2008-01-21 09:00:24 +0000

File Changes:

Directory: /dba/reportdesign/java/com/sun/star/report/pentaho/layoutprocessor/
==============================================================================

File [added]: OfficePageSectionLayoutController.java
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/java/com/sun/star/report/pentaho/layoutprocessor/OfficePageSectionLayoutController.java?rev=1.2&content-type=text/vnd.viewcvs-markup
Added lines: 28
---------------
package com.sun.star.report.pentaho.layoutprocessor;

import org.jfree.report.flow.layoutprocessor.SectionLayoutController;
import org.jfree.report.flow.FlowController;
import org.jfree.report.flow.ReportTarget;
import org.jfree.report.structure.Element;
import org.jfree.report.DataSourceException;
import org.jfree.layouting.util.AttributeMap;
import com.sun.star.report.pentaho.OfficeNamespaces;

/**
 * Todo: Document Me
 *
 * @author Thomas Morgner
 */
public class OfficePageSectionLayoutController extends SectionLayoutController
{
  public OfficePageSectionLayoutController()
  {
  }

  protected AttributeMap computeAttributes(final FlowController flowController, 
final Element element, final ReportTarget reportTarget) throws 
DataSourceException
  {
    final AttributeMap map = super.computeAttributes(flowController, element, 
reportTarget);
    map.setAttribute(OfficeNamespaces.INTERNAL_NS, "role", 
"spreadsheet-section");
    return map;
  }
}




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to