com.jamasoftware.contour.report.util
Class WordReportUtil

java.lang.Object
  extended by com.jamasoftware.contour.report.util.WordReportUtil

public class WordReportUtil
extends java.lang.Object

Author:
Dylan

Constructor Summary
WordReportUtil()
           
 
Method Summary
static void cleanEmptyParagraphs(com.aspose.words.Document doc)
           
static java.lang.String cleanHtmlStringForInsertIntoWord(java.lang.String htmlString, double pageWidth)
           
static com.aspose.words.Document copyDocument(com.aspose.words.Document doc)
           
static void copyPageSetup(com.aspose.words.Section sourceSection, com.aspose.words.Section destSection)
           
static java.lang.String getHeadingDepth(java.lang.Integer minimumHierarchy, com.jamasoftware.contour.report.ReportDocumentDTO rddto)
           
static int getSaveFormat(java.lang.String fileName, javax.servlet.http.HttpServletResponse response)
           
static com.aspose.words.Node insertDocumentAfterNode(com.aspose.words.Node insertAfterNode, com.aspose.words.Document destDoc, com.aspose.words.Document srcDoc)
           
static void removeContinuousSectionBreak(com.aspose.words.Document docPrequal)
          http://www.aspose.com/community/forums/242651/appenddocument-without-continuous-section-brakes/showthread.aspx# 242651
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordReportUtil

public WordReportUtil()
Method Detail

copyPageSetup

public static void copyPageSetup(com.aspose.words.Section sourceSection,
                                 com.aspose.words.Section destSection)

copyDocument

public static com.aspose.words.Document copyDocument(com.aspose.words.Document doc)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

insertDocumentAfterNode

public static com.aspose.words.Node insertDocumentAfterNode(com.aspose.words.Node insertAfterNode,
                                                            com.aspose.words.Document destDoc,
                                                            com.aspose.words.Document srcDoc)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

cleanEmptyParagraphs

public static void cleanEmptyParagraphs(com.aspose.words.Document doc)

getHeadingDepth

public static java.lang.String getHeadingDepth(java.lang.Integer minimumHierarchy,
                                               com.jamasoftware.contour.report.ReportDocumentDTO rddto)

getSaveFormat

public static int getSaveFormat(java.lang.String fileName,
                                javax.servlet.http.HttpServletResponse response)

cleanHtmlStringForInsertIntoWord

public static java.lang.String cleanHtmlStringForInsertIntoWord(java.lang.String htmlString,
                                                                double pageWidth)

removeContinuousSectionBreak

public static void removeContinuousSectionBreak(com.aspose.words.Document docPrequal)
http://www.aspose.com/community/forums/242651/appenddocument-without-continuous-section-brakes/showthread.aspx# 242651



Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.