Package com.ipc.oce.objects.reports

Examples of com.ipc.oce.objects.reports.OCDataCompositionResultSpreadsheetDocumentOutputProcessor


   * Создание нового OCDataCompositionResultSpreadsheetDocumentOutputProcessor.
   * @return OCDataCompositionResultSpreadsheetDocumentOutputProcessor
   * @throws JIException
   */
  public final OCDataCompositionResultSpreadsheetDocumentOutputProcessor createDataCompositionResultSpreadsheetDocumentOutputProcessor() throws JIException {
    return new OCDataCompositionResultSpreadsheetDocumentOutputProcessor(app.newObject("DataCompositionResultSpreadsheetDocumentOutputProcessor"));
  }
View Full Code Here


    OCDataCompositionTemplate template = templateComposer.execute(dataCompositionSchema, defaultSettings, details);
   
    OCDataCompositionProcessor processor = rProc.createCompositionProcessor();
    processor.initialize(template, structure, details, true);
   
    OCDataCompositionResultSpreadsheetDocumentOutputProcessor spreadSheetProcessor = rProc.createDataCompositionResultSpreadsheetDocumentOutputProcessor();
    OCSpreadsheetDocument spreadsheetDocument = rProc.createSpreadsheetDocument();
    spreadsheetDocument.clear();
    spreadSheetProcessor.setDocument(spreadsheetDocument);
    spreadsheetDocument = spreadSheetProcessor.output(processor);
   
    //==================
    OCSpreadsheetDocumentHeaderFooter footer = spreadsheetDocument.getHeader();
    footer.setEnabled(true);
    footer.setStartPage(0);
View Full Code Here

    OCDataCompositionTemplate template = templateComposer.execute(dataCompositionSchema, defaultSettings, details);
   
    OCDataCompositionProcessor processor = rProc.createCompositionProcessor();
    processor.initialize(template, null, details, true);
   
    OCDataCompositionResultSpreadsheetDocumentOutputProcessor spreadSheetProcessor = rProc.createDataCompositionResultSpreadsheetDocumentOutputProcessor();
    OCSpreadsheetDocument spreadsheetDocument = rProc.createSpreadsheetDocument();
    spreadsheetDocument.clear();
    spreadSheetProcessor.setDocument(spreadsheetDocument);
    spreadsheetDocument = spreadSheetProcessor.output(processor);
   
    spreadsheetDocument.writeTXT("C:\\Developer\\Temp\\testRTXT01.txt");
  }
View Full Code Here

TOP

Related Classes of com.ipc.oce.objects.reports.OCDataCompositionResultSpreadsheetDocumentOutputProcessor

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.