public class InternalHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
add(FontCollection fc,
String resName,
com.aspose.pdf.engine.data.IPdfObject newFont) |
static void |
addImage(SignatureField field,
com.aspose.ms.System.IO.MemoryStream image) |
static void |
changePosition(BaseParagraph bp,
double[] curX,
double[] curY,
double newX,
double newY,
boolean isNextParagraphInline) |
static void |
convertToObjects(EmbeddedFileCollection value) |
static void |
copyTo(Metadata md,
com.aspose.ms.System.Array array,
int index) |
static Operator |
create(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command) |
static Resources |
create(IDocument doc,
com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary res) |
static Operator |
create(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command) |
static com.aspose.ms.System.Xml.XmlElement |
createDescriptionValueXml(com.aspose.ms.System.Xml.XmlDocument xmlDocument) |
static ExplicitDestination |
createDestination(com.aspose.pdf.engine.data.IPdfArray engineDest) |
static XForm |
createNewForm(Page source,
com.aspose.pdf.engine.data.ITrailerable trailerable,
Copier copier) |
static HashDictionary<String,XmpPdfAExtensionSchema> |
createSchemasElement(com.aspose.ms.System.Xml.XmlNode xmlNode) |
static void |
deserialize(BaseParagraph bp,
com.aspose.ms.System.Xml.XmlReader reader) |
static void |
deserialize(BorderInfo bInfo,
com.aspose.ms.System.Xml.XmlReader reader) |
static void |
deserialize(GraphInfo gInfo,
com.aspose.ms.System.Xml.XmlReader reader) |
static void |
drawBorder(BorderInfo border,
Point leftTop,
Point rightBottom,
com.aspose.ms.System.Collections.Generic.List<Operator> operators,
int cornerStyle) |
static void |
flattenXfaField(com.aspose.ms.System.Xml.XmlNode field) |
static boolean |
get_IsLicensed() |
static com.aspose.ms.System.Drawing.Image |
getBlackAndWhite(XImage image) |
static IDocument |
getBuildDocument(XFA xfa) |
static float |
getCharacterSpacing(TextState value) |
static com.aspose.pdf.engine.data.IPdfDictionary |
getEngineDict(FileParams value) |
static FontCollection |
getFontCollection(com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary resourceDictionary) |
static com.aspose.pdf.engine.data.IPdfDictionary |
getFontsDictionary(FontCollection fc) |
static com.aspose.ms.System.Drawing.Imaging.ImageFormat |
getInternalFormat(ImageType imageType) |
static com.aspose.pdf.engine.data.IPdfArray |
getMatrix(Matrix m,
com.aspose.pdf.engine.data.ITrailerable trailer) |
static com.aspose.pdf.engine.commondata.text.segmenting.PhysicalTextSegment |
getPhysicalSegment(TextSegment value) |
static Shape |
getShapeByName(String name) |
static Matrix |
getTextMatrix(TextState value) |
static com.aspose.ms.System.Xml.XmlElement |
getValuesXml(XmpPdfAExtensionSchema schema,
com.aspose.ms.System.Xml.XmlDocument xmlDocument) |
static void |
getValuesXml(XmpPdfAExtensionSchema schema,
com.aspose.ms.System.Xml.XmlDocument xmlDocument,
com.aspose.ms.System.Xml.XmlElement pdfAExtensionDescriptionValueElement) |
static boolean |
hasNode(XFA xfa,
String fullName) |
static void |
initializeSchemaValue(com.aspose.ms.System.Xml.XmlNode xmlNode,
XmpPdfAExtensionSchema schema) |
static boolean |
isDefault(GraphInfo gInfo) |
static boolean |
isImage(com.aspose.pdf.engine.data.IPdfPrimitive primitive) |
static boolean |
isNotCheckMetadata(IDocument value) |
static FileSpecification |
newFileSpecification(com.aspose.pdf.engine.data.IPdfPrimitive specification) |
static FileSpecification |
newFileSpecification(com.aspose.ms.System.IO.Stream stream,
String name) |
static FileSpecification |
newFileSpecification(com.aspose.ms.System.IO.Stream stream,
String name,
String description) |
static Font |
newFont(com.aspose.fonts.IFont font) |
static LightweightOperatorCollection |
newLightweightOperatorCollection(com.aspose.ms.System.Collections.Generic.List<Operator> operatorCollection) |
static LineEndingsDrawer |
newLineEndingsDrawer(com.aspose.pdf.engine.data.IPdfArray lineEndings,
com.aspose.ms.System.Drawing.PointF startingPoint,
com.aspose.ms.System.Drawing.PointF endingPoint) |
static OperatorCollection |
newOperatorCollection(com.aspose.pdf.engine.data.IPdfPrimitive contents) |
static OperatorCollection |
newOperatorCollection(com.aspose.pdf.engine.data.ITrailerable trailerable,
com.aspose.pdf.engine.data.IPdfPrimitive contents) |
static OutlineItemCollection |
newOutlineItemCollection(com.aspose.pdf.engine.data.IPdfObject outlines) |
static XImage |
newXImage(com.aspose.pdf.engine.data.IPdfDataStream image) |
static Operator |
Operator_create(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command) |
static void |
processHyperlink(BaseParagraph bp,
Page page,
Rectangle rect) |
static void |
readFields(com.aspose.ms.System.IO.Stream stream,
IDocument document,
com.aspose.ms.System.Collections.Generic.List<String> foundFields,
com.aspose.ms.System.Collections.Generic.List<String> notFound) |
static void |
replace(XImageCollection images,
int idx,
com.aspose.ms.System.IO.Stream ms,
int quality,
boolean isBlackAndWhite) |
static void |
saveInternal(IDocument iDocument,
com.aspose.ms.System.IO.Stream output) |
static void |
serialize(BorderInfo bInfo,
com.aspose.ms.System.Xml.XmlTextWriter writer) |
static void |
serialize(GraphInfo gInfo,
com.aspose.ms.System.Xml.XmlTextWriter writer) |
static void |
serialize(TextFragment bInfo,
com.aspose.ms.System.Xml.XmlTextWriter writer) |
static Operator.SetColorSpace |
SetColorSpace(String value) |
static Operator.SetColorSpaceStroke |
SetColorSpaceStroke(String value) |
static void |
setCreator(DocumentInfo object,
String value) |
static void |
setFieldImageInternal(XFA xfa,
String fieldName,
com.aspose.ms.System.IO.Stream image) |
static void |
setFlatteningState(Annotation annotation,
boolean value) |
static void |
setImageInternal(Signature sig,
com.aspose.ms.System.IO.Stream _signatureAppearanceStream) |
static void |
setProducer(DocumentInfo object,
String value) |
static void |
setTransition(Page page,
com.aspose.pdf.engine.data.IPdfDictionary transition) |
static com.aspose.pdf.engine.data.PdfArray |
toArray(Rectangle rec,
com.aspose.pdf.engine.data.ITrailerable trailerable) |
static void |
updateAppearances(Annotation annotation) |
static void |
validateAnotations(IDocument value) |
public static com.aspose.pdf.engine.data.IPdfDictionary getEngineDict(FileParams value)
public static void setCreator(DocumentInfo object, String value)
public static void setProducer(DocumentInfo object, String value)
public static float getCharacterSpacing(TextState value)
public static com.aspose.pdf.engine.commondata.text.segmenting.PhysicalTextSegment getPhysicalSegment(TextSegment value)
public static Operator.SetColorSpace SetColorSpace(String value)
public static Operator.SetColorSpaceStroke SetColorSpaceStroke(String value)
public static boolean isNotCheckMetadata(IDocument value)
public static void validateAnotations(IDocument value)
public static void convertToObjects(EmbeddedFileCollection value)
public static void drawBorder(BorderInfo border, Point leftTop, Point rightBottom, com.aspose.ms.System.Collections.Generic.List<Operator> operators, int cornerStyle)
public static void addImage(SignatureField field, com.aspose.ms.System.IO.MemoryStream image)
public static void deserialize(BorderInfo bInfo, com.aspose.ms.System.Xml.XmlReader reader)
public static void serialize(BorderInfo bInfo, com.aspose.ms.System.Xml.XmlTextWriter writer)
public static void serialize(TextFragment bInfo, com.aspose.ms.System.Xml.XmlTextWriter writer)
public static void deserialize(GraphInfo gInfo, com.aspose.ms.System.Xml.XmlReader reader)
public static void serialize(GraphInfo gInfo, com.aspose.ms.System.Xml.XmlTextWriter writer)
public static boolean isDefault(GraphInfo gInfo)
public static void deserialize(BaseParagraph bp, com.aspose.ms.System.Xml.XmlReader reader)
public static com.aspose.ms.System.Drawing.Imaging.ImageFormat getInternalFormat(ImageType imageType)
public static com.aspose.ms.System.Drawing.Image getBlackAndWhite(XImage image)
public static void replace(XImageCollection images, int idx, com.aspose.ms.System.IO.Stream ms, int quality, boolean isBlackAndWhite)
public static boolean get_IsLicensed()
public static FontCollection getFontCollection(com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary resourceDictionary)
public static com.aspose.ms.System.Xml.XmlElement createDescriptionValueXml(com.aspose.ms.System.Xml.XmlDocument xmlDocument)
public static void initializeSchemaValue(com.aspose.ms.System.Xml.XmlNode xmlNode, XmpPdfAExtensionSchema schema)
public static HashDictionary<String,XmpPdfAExtensionSchema> createSchemasElement(com.aspose.ms.System.Xml.XmlNode xmlNode)
public static void getValuesXml(XmpPdfAExtensionSchema schema, com.aspose.ms.System.Xml.XmlDocument xmlDocument, com.aspose.ms.System.Xml.XmlElement pdfAExtensionDescriptionValueElement)
public static com.aspose.ms.System.Xml.XmlElement getValuesXml(XmpPdfAExtensionSchema schema, com.aspose.ms.System.Xml.XmlDocument xmlDocument)
public static boolean isImage(com.aspose.pdf.engine.data.IPdfPrimitive primitive)
public static XImage newXImage(com.aspose.pdf.engine.data.IPdfDataStream image)
public static XForm createNewForm(Page source, com.aspose.pdf.engine.data.ITrailerable trailerable, Copier copier)
public static void readFields(com.aspose.ms.System.IO.Stream stream, IDocument document, com.aspose.ms.System.Collections.Generic.List<String> foundFields, com.aspose.ms.System.Collections.Generic.List<String> notFound)
public static void setFieldImageInternal(XFA xfa, String fieldName, com.aspose.ms.System.IO.Stream image)
public static void flattenXfaField(com.aspose.ms.System.Xml.XmlNode field)
public static void processHyperlink(BaseParagraph bp, Page page, Rectangle rect)
public static void changePosition(BaseParagraph bp, double[] curX, double[] curY, double newX, double newY, boolean isNextParagraphInline)
public static void setImageInternal(Signature sig, com.aspose.ms.System.IO.Stream _signatureAppearanceStream)
public static Resources create(IDocument doc, com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary res)
public static com.aspose.pdf.engine.data.PdfArray toArray(Rectangle rec, com.aspose.pdf.engine.data.ITrailerable trailerable)
public static void setTransition(Page page, com.aspose.pdf.engine.data.IPdfDictionary transition)
public static OutlineItemCollection newOutlineItemCollection(com.aspose.pdf.engine.data.IPdfObject outlines)
public static OperatorCollection newOperatorCollection(com.aspose.pdf.engine.data.IPdfPrimitive contents)
public static OperatorCollection newOperatorCollection(com.aspose.pdf.engine.data.ITrailerable trailerable, com.aspose.pdf.engine.data.IPdfPrimitive contents)
public static Operator create(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
public static Operator create(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
public static void copyTo(Metadata md, com.aspose.ms.System.Array array, int index)
public static com.aspose.pdf.engine.data.IPdfArray getMatrix(Matrix m, com.aspose.pdf.engine.data.ITrailerable trailer)
public static LineEndingsDrawer newLineEndingsDrawer(com.aspose.pdf.engine.data.IPdfArray lineEndings, com.aspose.ms.System.Drawing.PointF startingPoint, com.aspose.ms.System.Drawing.PointF endingPoint)
public static LightweightOperatorCollection newLightweightOperatorCollection(com.aspose.ms.System.Collections.Generic.List<Operator> operatorCollection)
public static void add(FontCollection fc, String resName, com.aspose.pdf.engine.data.IPdfObject newFont)
public static Font newFont(com.aspose.fonts.IFont font)
public static FileSpecification newFileSpecification(com.aspose.pdf.engine.data.IPdfPrimitive specification)
public static FileSpecification newFileSpecification(com.aspose.ms.System.IO.Stream stream, String name, String description)
public static FileSpecification newFileSpecification(com.aspose.ms.System.IO.Stream stream, String name)
public static ExplicitDestination createDestination(com.aspose.pdf.engine.data.IPdfArray engineDest)
public static void saveInternal(IDocument iDocument, com.aspose.ms.System.IO.Stream output)
public static void setFlatteningState(Annotation annotation, boolean value)
public static void updateAppearances(Annotation annotation)
public static Operator Operator_create(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
public static com.aspose.pdf.engine.data.IPdfDictionary getFontsDictionary(FontCollection fc)
Copyright © 2016 Aspose. All Rights Reserved.