Changeset 1383


Ignore:
Timestamp:
01/03/11 02:03:21 (17 months ago)
Author:
jharrop
Message:

Tune log levels involved in creating PDF

Location:
trunk/docx4j/src/main/java/org/docx4j
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/convert/in/FlatOpcXmlImporter.java

    r1354 r1383  
    244244                for ( Relationship r : rp.getRelationships().getRelationship() ) { 
    245245                         
    246                         log.info("For Relationship Id=" + r.getId()  
     246                        log.debug("For Relationship Id=" + r.getId()  
    247247                                        + " Source is " + rp.getSourceP().getPartName()  
    248248                                        + ", Target is " + r.getTarget() ); 
     
    300300                         */ 
    301301 
    302                         log.warn("Encountered external resource " + r.getTarget()  
     302                        log.info("Encountered external resource " + r.getTarget()  
    303303                                           + " of type " + r.getType() ); 
    304304                         
     
    326326                // method for this 
    327327                if (source.setPartShortcut(part, relationshipType ) ) { 
    328                         log.info("Convenience method established from " + source.getPartName()  
     328                        log.debug("Convenience method established from " + source.getPartName()  
    329329                                        + " to " + part.getPartName()); 
    330330                } 
    331331                 
    332                 log.info(".. added." ); 
     332//              log.info(".. added." ); 
    333333                 
    334334                RelationshipsPart rrp = getRelationshipsPart( part); 
     
    363363                        part.setRelationships(rrp); 
    364364                } else { 
    365                         log.info("No relationships " + relPart );        
     365                        log.debug("No relationships " + relPart );       
    366366                        return null; 
    367367                } 
  • trunk/docx4j/src/main/java/org/docx4j/convert/out/pdf/viaXSLFO/Conversion.java

    r1371 r1383  
    615615                        Node n = pPrNodeIt.nextNode(); 
    616616                        if (n==null) { 
    617                                 log.warn("pPrNodeIt.nextNode() was null."); 
     617                                log.debug("pPrNodeIt.nextNode() was null."); 
    618618                        pPr = propertyResolver.getEffectivePPr(defaultParagraphStyleId); 
    619619                        rPr = propertyResolver.getEffectiveRPr(defaultParagraphStyleId); 
     
    628628                                pPr = propertyResolver.getEffectivePPr(pPrDirect);   
    629629                                if (pPr==null) { 
    630                                         log.warn("pPr null; obtained from: " + XmlUtils.w3CDomNodeToString(n) ); 
     630                                        log.debug("pPr null; obtained from: " + XmlUtils.w3CDomNodeToString(n) ); 
    631631                                } 
    632                                 log.warn("getting rPr for paragraph style");                                     
     632                                log.debug("getting rPr for paragraph style");                                    
    633633                                rPr = propertyResolver.getEffectiveRPr(null, pPrDirect);  
    634634                                        // rPr in pPr direct formatting only applies to paragraph mark,  
  • trunk/docx4j/src/main/java/org/docx4j/fonts/PhysicalFonts.java

    r1372 r1383  
    364364                 
    365365                if (msFont.getBold()==null) { 
    366                         log.info("No bold form for: " + pf.getName()); 
     366                        log.debug("No bold form for: " + pf.getName()); 
    367367                        return null; 
    368368                } else { 
     
    387387                 
    388388                if (msFont.getBolditalic()==null) { 
    389                         log.info("No Bolditalic form for: " + pf.getName()); 
     389                        log.debug("No Bolditalic form for: " + pf.getName()); 
    390390                        return null; 
    391391                } else { 
     
    405405                 
    406406                if (msFont==null) { 
    407                         log.warn("No entry in MicrosoftFontsRegistry for: " + pf.getName()); 
     407                        log.debug("No entry in MicrosoftFontsRegistry for: " + pf.getName()); 
    408408                        return null; 
    409409                } 
  • trunk/docx4j/src/main/java/org/docx4j/fonts/microsoft/MicrosoftFontsRegistry.java

    r712 r1383  
    4848                u.setEventHandler(new org.docx4j.jaxb.JaxbValidationEventHandler()); 
    4949 
    50                 log.info("unmarshalling fonts.microsoft \n\n" );                                                                         
     50                log.info("unmarshalling fonts.microsoft" );                                                                      
    5151                // Get the xml file 
    5252                java.io.InputStream is = null; 
  • trunk/docx4j/src/main/java/org/docx4j/model/PropertyResolver.java

    r1382 r1383  
    717717//                                      log.debug(XmlUtils.marshaltoString(pPr, true, true)); 
    718718                                } else { 
    719                                         log.info("pstyle:" + pPr.getPStyle().getVal()); 
     719                                        log.debug("pstyle:" + pPr.getPStyle().getVal()); 
    720720                                        RPr pPrLevelRunStyle = getEffectiveRPr(pPr.getPStyle().getVal()); 
    721721                                        // .. and apply those 
Note: See TracChangeset for help on using the changeset viewer.