Package it.eng.spagobi.engines.documentcomposition.configuration.DocumentCompositionConfiguration

Examples of it.eng.spagobi.engines.documentcomposition.configuration.DocumentCompositionConfiguration.Document


    // Cycle on all documents in document composition
    Map docMap=dcConf.getDocumentsMap();
    for (Iterator iterator = docMap.keySet().iterator(); iterator.hasNext();) {
      Object key = (Object) iterator.next();
      Document doc=(Document)docMap.get(key);
      String label=doc.getSbiObjLabel();
      logger.debug("Document "+label);

      // get document container information
      DocumentContainer documentContainer=documentsMap.get(label);
View Full Code Here


    Map styles=docCompConf.getLstDivStyle();
    //Map docsMap=docCompConf.getDocumentsMap();
    Iterator iteratorStyles=styles.keySet().iterator();
    for (Iterator iterator = docCompConf.getDocumentsArray().iterator(); iterator.hasNext();) {
      Document doc = (Document) iterator.next();
      String label=doc.getSbiObjLabel();
      logger.debug("Document "+label);     
      // recover style informations
      String styleLab=(String)iteratorStyles.next();
      String styleString=(String)styles.get(styleLab);
      if(styleString==null)styleString="";
View Full Code Here

      //get object configuration
      DocumentCompositionConfiguration docConfig = null;
      docConfig = (DocumentCompositionConfiguration)contextManager.get("docConfig");

      Document document = null;
      //get correct document configuration
      List lstDoc = docConfig.getLabelsArray();
      boolean foundDoc = false;
      for (int i = 0; i < lstDoc.size(); i++){
        document = (Document)docConfig.getDocument((String)lstDoc.get(i));
        if (document != null){
          if (!obj.getLabel().equalsIgnoreCase(document.getSbiObjLabel()))
            continue;
          else{
            foundDoc = true;
            break;
          }
View Full Code Here

TOP

Related Classes of it.eng.spagobi.engines.documentcomposition.configuration.DocumentCompositionConfiguration.Document

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.