public class InternalHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InternalHelper.XfaMergeWrapper |
Modifier and Type | Method and Description |
---|---|
static void |
add(FontCollection fc,
String resName,
com.aspose.pdf.engine.data.IPdfObject newFont) |
static void |
addNotAccessibleFont(PdfFormatConversionOptions value1,
String value2) |
static void |
annotation_setPage(Annotation radio,
Page _currentPage) |
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 void |
createDefaultResources(Form form) |
static com.aspose.ms.System.Xml.XmlElement |
createDescriptionValueXml(com.aspose.ms.System.Xml.XmlDocument xmlDocument) |
static com.aspose.ms.System.Xml.XmlElement |
createDescriptionXml(com.aspose.ms.System.Xml.XmlDocument xmlDocument) |
static XForm |
createNewForm(Page source,
com.aspose.pdf.engine.data.ITrailerable trailerable,
Copier copier) |
static com.aspose.pdf.engine.collections.HashDictionary<String,XmpPdfAExtensionSchema> |
createSchemasElement(com.aspose.ms.System.Xml.XmlNode xmlNode) |
static void |
cutByRestriction(com.aspose.pdf.ADocument doc,
com.aspose.ms.System.Collections.IList array) |
static void |
document_addLocalFontPathInternal(String path) |
static boolean |
document_get_IsObjectLicensed(IDocument document) |
static void |
drawBorder(BorderInfo border,
Point leftTop,
Point rightBottom,
com.aspose.ms.System.Collections.ArrayList operators,
int cornerStyle) |
static ExplicitDestination |
explicitDestination_createDestination(com.aspose.pdf.engine.data.IPdfArray engineDest) |
static void |
flattenXfaField(com.aspose.ms.System.Xml.XmlNode field) |
static boolean |
get_IsLicensed() |
static boolean |
get_IsObjectLicensed() |
static boolean |
get_IsObjectLicensed(IDocument document) |
static Rectangle |
getBBox(Image image) |
static float |
getCharacterSpacing(TextState value) |
static IDocument |
getDocument(Resources res) |
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 double |
getfontSize(TextState textState) |
static com.aspose.pdf.engine.data.IPdfArray |
getMatrix(Matrix m,
com.aspose.pdf.engine.data.ITrailerable trailer) |
static int |
getMcId(Table table) |
static boolean |
getNotifyAboutFontSubstitutions(Resources res) |
static com.aspose.pdf.engine.commondata.text.segmenting.PhysicalTextSegment |
getPhysicalSegment(TextSegment value) |
static IDocument |
getTempDocument() |
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 com.aspose.pdf.engine.licensemanagement.VentureLicense |
getVentureLicense(IDocument doc) |
static boolean |
hasNode(XFA xfa,
String fullName) |
static void |
htmlFragment_copyResources(Page srcPage,
Page destPage) |
static void |
iDocument_saveInternal(IDocument iDocument,
com.aspose.ms.System.IO.Stream output) |
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 boolean |
isPerformance(TextSearchOptions tso) |
static com.aspose.pdf.engine.data.IPdfDataStream |
makeImageFromStream(XImageCollection xic,
com.aspose.ms.System.IO.Stream stream,
int quality,
com.aspose.pdf.engine.data.ITrailerable parent) |
static void |
meteredCountService_increaseCount(double uploadMeteredSize) |
static int |
MeteredHelper_credistsForSize(long l) |
static XmpField |
new_XmpField(String prefix,
String localName,
String namespaceURI,
Object value) |
static XmpField |
new_XmpField(String prefix,
String localName,
String namespaceURI,
XmpValue to_xmpValue) |
static XmpField |
new_XmpField(XmpField lang,
Object value) |
static XmpField |
new_XmpField(XmpField lang,
XmpValue xmpValue) |
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 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 |
Operator_setContainer(Operator op,
OperatorCollection collection) |
static Operator |
Operator_TextShowOperator(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.textshowing.ShowTextString string) |
static com.aspose.ms.System.Collections.Generic.List<Operator> |
operatorCollection_getCommands(OperatorCollection oc) |
static void |
page_SetPageNumber(Page page,
int number) |
static void |
page_updateContents(Page page) |
static TextParagraph |
PageGenerator_getTextParagraph(TextFragment fragment,
Rectangle rect,
Page page,
boolean isHorizontalAlignmentSet,
int alignment,
int verticalAlignment,
boolean isWordWrapped) |
static boolean |
PdfFormatConversionOptions_getRemoveDuplicatedFonts(PdfFormatConversionOptions _conversionOptions) |
static boolean |
PdfFormatConversionOptions_getRemoveSimilarFontsWithDifferentWidths(PdfFormatConversionOptions _conversionOptions) |
static void |
PdfFormatConversionOptions_setAdditionalParameters(PdfFormatConversionOptions options,
com.aspose.ms.System.Xml.XmlTextWriter xml,
IDocument doc,
boolean onlyValidation) |
static void |
processHyperlink(BaseParagraph bp,
Page page,
Rectangle rect) |
static void |
registrySubstitution(com.aspose.pdf.engine.addressing.IRegistrar reg,
com.aspose.fonts.FontDefinition oldFontDef,
com.aspose.fonts.FontDefinition newFontDef) |
static void |
registrySubstitution(Resources res,
com.aspose.pdf.engine.commondata.text.fonts.IPdfFont oldFont,
com.aspose.pdf.engine.commondata.text.fonts.IPdfFont newFont,
com.aspose.pdf.engine.data.ITrailerable resources) |
static void |
restrict(com.aspose.pdf.ADocument doc,
HashMap hash) |
static void |
restrict(com.aspose.pdf.ADocument doc,
int _printingPage) |
static boolean |
restricted(com.aspose.pdf.ADocument doc,
int _printingPage) |
static boolean |
restricted(com.aspose.pdf.engine.licensemanagement.VentureLicense _ventureLicense,
int _printingPage) |
static Operator.SetColorSpace |
SetColorSpace(String value) |
static Operator.SetColorSpaceStroke |
SetColorSpaceStroke(String value) |
static void |
setCreator(DocumentInfo object,
String value) |
static void |
setFastTextExtractionMode(BaseOperatorCollection bop,
boolean value) |
static void |
setProducer(DocumentInfo object,
String value) |
static void |
setStructParent(Annotation annotation,
int structParent) |
static void |
setTextMatrix(TextState value,
Matrix m) |
static void |
setTransition(Page page,
com.aspose.pdf.engine.data.IPdfDictionary transition) |
static void |
setVentureLicense(com.aspose.pdf.ADocument doc,
com.aspose.pdf.engine.licensemanagement.VentureLicense value) |
static void |
setVentureLicense(Object licenseTarget,
com.aspose.pdf.engine.licensemanagement.VentureLicense license) |
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) |
static com.aspose.ms.System.DateTime |
XmpValue_toDateTimeInternal(XmpValue value) |
static XmpField |
XmpValue_toField(XmpValue value) |
static XmpField[] |
XmpValue_toStructure(XmpValue value) |
public static void setVentureLicense(Object licenseTarget, com.aspose.pdf.engine.licensemanagement.VentureLicense license)
public static boolean get_IsObjectLicensed()
public static boolean get_IsObjectLicensed(IDocument document)
public static com.aspose.pdf.engine.data.IPdfDataStream makeImageFromStream(XImageCollection xic, com.aspose.ms.System.IO.Stream stream, int quality, com.aspose.pdf.engine.data.ITrailerable parent)
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 com.aspose.ms.System.Collections.Generic.List<Operator> operatorCollection_getCommands(OperatorCollection oc)
public static void page_updateContents(Page page)
public static void htmlFragment_copyResources(Page srcPage, Page destPage)
public static void page_SetPageNumber(Page page, int number)
public static void annotation_setPage(Annotation radio, Page _currentPage)
public static void createDefaultResources(Form form)
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.ArrayList operators, int cornerStyle)
public static boolean isDefault(GraphInfo gInfo)
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 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 XForm createNewForm(Page source, com.aspose.pdf.engine.data.ITrailerable trailerable, Copier copier)
public static void setTransition(Page page, com.aspose.pdf.engine.data.IPdfDictionary transition)
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 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 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.SetColorSpace SetColorSpace(String value)
public static Operator.SetColorSpaceStroke SetColorSpaceStroke(String value)
public static Operator create(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
public static void Operator_setContainer(Operator op, OperatorCollection collection)
public static Operator Operator_create(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
public static Operator Operator_TextShowOperator(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.textshowing.ShowTextString string)
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 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 explicitDestination_createDestination(com.aspose.pdf.engine.data.IPdfArray engineDest)
public static void iDocument_saveInternal(IDocument iDocument, com.aspose.ms.System.IO.Stream output)
public static void document_addLocalFontPathInternal(String path)
public static void updateAppearances(Annotation annotation)
public static com.aspose.pdf.engine.data.IPdfDictionary getFontsDictionary(FontCollection fc)
public static IDocument getTempDocument()
public static void setVentureLicense(com.aspose.pdf.ADocument doc, com.aspose.pdf.engine.licensemanagement.VentureLicense value)
public static com.aspose.pdf.engine.licensemanagement.VentureLicense getVentureLicense(IDocument doc)
public static void registrySubstitution(Resources res, com.aspose.pdf.engine.commondata.text.fonts.IPdfFont oldFont, com.aspose.pdf.engine.commondata.text.fonts.IPdfFont newFont, com.aspose.pdf.engine.data.ITrailerable resources)
public static void registrySubstitution(com.aspose.pdf.engine.addressing.IRegistrar reg, com.aspose.fonts.FontDefinition oldFontDef, com.aspose.fonts.FontDefinition newFontDef)
public static boolean getNotifyAboutFontSubstitutions(Resources res)
public static boolean isPerformance(TextSearchOptions tso)
public static void setFastTextExtractionMode(BaseOperatorCollection bop, boolean value)
public static XImage newXImage(com.aspose.pdf.engine.data.IPdfDataStream image)
public static int MeteredHelper_credistsForSize(long l)
public static void setStructParent(Annotation annotation, int structParent)
public static int getMcId(Table table)
public static XmpField new_XmpField(String prefix, String localName, String namespaceURI, XmpValue to_xmpValue)
public static XmpField new_XmpField(String prefix, String localName, String namespaceURI, Object value)
public static com.aspose.ms.System.DateTime XmpValue_toDateTimeInternal(XmpValue value)
public static com.aspose.ms.System.Xml.XmlElement createDescriptionXml(com.aspose.ms.System.Xml.XmlDocument xmlDocument)
public static com.aspose.pdf.engine.collections.HashDictionary<String,XmpPdfAExtensionSchema> createSchemasElement(com.aspose.ms.System.Xml.XmlNode xmlNode)
public static double getfontSize(TextState textState)
public static TextParagraph PageGenerator_getTextParagraph(TextFragment fragment, Rectangle rect, Page page, boolean isHorizontalAlignmentSet, int alignment, int verticalAlignment, boolean isWordWrapped)
public static boolean PdfFormatConversionOptions_getRemoveDuplicatedFonts(PdfFormatConversionOptions _conversionOptions)
public static void addNotAccessibleFont(PdfFormatConversionOptions value1, String value2)
public static boolean PdfFormatConversionOptions_getRemoveSimilarFontsWithDifferentWidths(PdfFormatConversionOptions _conversionOptions)
public static void PdfFormatConversionOptions_setAdditionalParameters(PdfFormatConversionOptions options, com.aspose.ms.System.Xml.XmlTextWriter xml, IDocument doc, boolean onlyValidation)
public static void meteredCountService_increaseCount(double uploadMeteredSize)
public static boolean restricted(com.aspose.pdf.engine.licensemanagement.VentureLicense _ventureLicense, int _printingPage)
public static boolean restricted(com.aspose.pdf.ADocument doc, int _printingPage)
public static void restrict(com.aspose.pdf.ADocument doc, int _printingPage)
public static void cutByRestriction(com.aspose.pdf.ADocument doc, com.aspose.ms.System.Collections.IList array)
public static void restrict(com.aspose.pdf.ADocument doc, HashMap hash)
public static boolean document_get_IsObjectLicensed(IDocument document)
Copyright © 2020 Aspose. All Rights Reserved.