public class DocumentUtil
extends java.lang.Object
Constructor and Description |
---|
DocumentUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
copy(org.eclipse.birt.core.archive.compound.IArchiveFile source,
org.eclipse.birt.core.archive.compound.IArchiveFile target,
IReportRunnable runnable) |
static void |
copy(org.eclipse.birt.core.archive.compound.IArchiveFile source,
org.eclipse.birt.core.archive.compound.IArchiveFile target,
IReportRunnable runnable,
java.util.Map<java.lang.String,java.lang.String> transformations) |
static java.util.Collection<IBookmarkInfo> |
getBookmarks(IReportDocument document,
java.util.Locale locale) |
static boolean |
isCube(IReportDocument document,
InstanceID instanceId)
Judge whether it's a cube based on instance id
|
public static void copy(org.eclipse.birt.core.archive.compound.IArchiveFile source, org.eclipse.birt.core.archive.compound.IArchiveFile target, IReportRunnable runnable) throws EngineException
EngineException
public static void copy(org.eclipse.birt.core.archive.compound.IArchiveFile source, org.eclipse.birt.core.archive.compound.IArchiveFile target, IReportRunnable runnable, java.util.Map<java.lang.String,java.lang.String> transformations) throws EngineException
source
- The source archive file to copytarget
- The destination archive file to copy torunnable
- transformations
- Optional transformations to apply when copying archive streams from source to destination archiveEngineException
public static java.util.Collection<IBookmarkInfo> getBookmarks(IReportDocument document, java.util.Locale locale) throws EngineException
EngineException
public static boolean isCube(IReportDocument document, InstanceID instanceId)
document
- a report documentinstanceId
- an instance idCopyright © 2008 Actuate Corp. All rights reserved.