Read Write Markdown Features in .md Format, Link TextBoxes using Aspose.Words for Java 19.7

Share on FacebookTweet about this on TwitterShare on LinkedIn

Hello guys, lets check out what’s new for you in Aspose.Words for Java 19.7release.

Added Support for Markdown Features

Markdown is a simple way to format plain text that can easily be converted to HTML. Markdown features currently supported by Aspose.Words are {Headings, Block quotes, Horizontal rules, Bold emphasis, Italic emphasis}. The Markdown feature implementation mostly follows the CommonMark specification in Aspose.Words API and all the features are represented as corresponding styles or direct formatting. Which means that:

  • Bold and Italic are represented as Font.Bold and Font.Italic.
  • Headings are paragraphs with Heading 1 – Heading 6 styles
  • Quotes are paragraphs with “Quote” in style name
  • HorizontalRule is a paragraph with HorizontalRule shape

For more details, please read the following article.
Working with Markdown Features

Linked TextBoxes in Word Document

TextBox class is used to specify how text is displayed inside Shape. It provides a public property Parent to get the parent Shape of the TextBox and to allow to find linked Shape from linked TextBox. Please check the following examples for more details:

Restart List Numbering Dynamically using LINQ Reporting

You can restart list numbering within your documents dynamically using restartNum tags. In particular, this feature is useful when working with a nested numbered list within a data band. Continue reading…
Restarting List Numbering Dynamically

Detect SmartArt Shape in Word Document

Starting from this release, you can detect SmartArt shape in Word document. You need to simply use the Shape.HasSmartArt property. This property returns true if this Shape has a SmartArt object. Continue reading…
Detect SmartArt Shape

Get Revision Group Details

The Revision.Group property in Revision class can be used to get details if the revision belongs to any group. Its value will be null if the revision does not belong to any group. If revision type is RevisionType.StyleDefinitionChange or if the revision no longer exists in document context (accepted/rejected) then it means that Revision has no group.

See also Useful Links

Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.Words for Java API by posting your suggestions and concerns in the Aspose.Words for Java Support Forum.

The post Read Write Markdown Features in .md Format, Link TextBoxes using Aspose.Words for Java 19.7 appeared first on File Format APIs Blog – aspose.com.

Posted in Conholdate.Total Product Family, Aspose.Words Product Family | Tagged | Leave a comment

LZMA BZip2 Compressions within ZIP Archive Supported by Aspose.ZIP for .NET 19.6

Share on FacebookTweet about this on TwitterShare on LinkedIn

Guys, lets check out what’s new for you in Aspose.ZIP for .NET 19.6 release.

LZMA Compression within ZIP Archive

The Lempel–Ziv–Markov chain algorithm (LZMA) is an algorithm used to perform lossless data compression. LZMA uses a dictionary compression algorithm, the compressed stream is a stream of bits. LZMA compression within ZIP archive allows ZIP container to contain LZMA compressed entries. The following code examples shows the implementation of LZMA compression using Aspose.ZIP for .NET API.

BZip2 Compression within ZIP Archive

BZip2 compression settings allow ZIP container to contain BZip2 compressed entries. The following code examples shows the implementation of BZip2 compression using Aspose.ZIP API.

See Also Useful Links

The resources, you may need to accomplish your tasks:

Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.ZIP for .NET API by posting your suggestions and concerns in the Aspose.ZIP for .NET support forum.

The post LZMA BZip2 Compressions within ZIP Archive Supported by Aspose.ZIP for .NET 19.6 appeared first on File Format APIs Blog – aspose.com.

Posted in Conholdate.Total Product Family, Aspose.ZIP Product Family | Tagged | Leave a comment

Control Documents Comparison Sensitivity

Share on FacebookTweet about this on TwitterShare on LinkedIn

Integrate GroupDocs.Comparison for .NET 19.6 in your project and get to the sensitivity of documents comparison. Detecting source and target documents style changes or inserted/deleted items and then highlighting them in the resultant file is a common yet major feature.

But we have something new, something enormous for you. You can now get detailed comparison of the documents. In ComparisonSettings class we added SensitivityOfComparison method using that you can set sensitivity of documents comparison. Let’s see its implementation and then details.
https://gist.github.com/dcc64567f38401b46fbe32be1de68ba2

This option defines limit in percentage, when element is detected as deleted or inserted. There are three values/percentages.

Minimal value
Minimal value is 0, comparison process does not occur for any length of sequences of two compared objects.

Value by default
The default percentage is 75, comparison occurs when the percentage of deleted or inserted elements in relation to all elements does not exceed 75%.

Maximum value
That is 100%. Comparison occurs at any length of a common sub-sequence of two compared objects.

Now let’s understand this with a use-case. Suppose we have two words:

  1. oneSource
  2. twoTarget

These two words have very small common sub-sequence. Therefore, when comparing them at 75% accuracy, it is not taken into account and we get a completely removed and inserted word as follows:

(twoTarget)[oneSource]

But at 100% accuracy, this sub-sequence will be treated or represented in a different way, despite the fact that it consists of two letters.

(tw)o[n](Targ)e[Source](t)

Isn’t it amazing? You can now get briefed comparison results by just controlling the sensitivity.

Let’s see the major issues that are now resolved in this release:

  • Duplicate Images in Result file in PDF
  • PDF comparison has overlapping and mangled output
  • Text got overlapped with other text or images
  • Merged Documents and then comparing them fails

You must give a try to GroupDocs.Comparison for .NET API and share your feedback and concerns on forum. Download latest version of the API here.



The post Control Documents Comparison Sensitivity appeared first on Document Manipulation APIs Blog – groupdocs.com.

Posted in Conholdate.Total Product Family, GroupDocs.Comparison Product Family, GroupDocs.Comparison for .NET | Tagged , | Leave a comment

Get Image Representation of Document Pages

Share on FacebookTweet about this on TwitterShare on LinkedIn

Getting image representation of document pages is one of the most successful feature that is already implemented in .NET version of the API. Keeping your interest in view, we’ve now implemented this feature for Java developers. GroupDocs.Comparison for Java 19.6 allows you to save document comparison results in image format as well.
What does it take to implement such a feature?
You just have to pass the output folder path to convertToImages method and API will take care of conversion mechanism itself.
Let’s have a look at the implementation:
https://gist.github.com/82fb867c30591bb934a44d0f01969fb9

Is there a way to set document size when comparing image with different formats?
We added a class OriginalSize using that you can set document size when comparing image with different formats, this size will be used when document is converted to the picture. Given below are the methods:

  • getHeight()
  • getWidth()
  • setHeight(int value)
  • setWidth(int value)

There are also bug fixes and improvements introduced in this release. Let’s have a look at the prominent ones.


Bug Fixes

  • Font detection exception
  • Word separation exception
  • Html MarkDeletedInsertedContentDeep Bug
  • Deleted items in comparison output is not as expected
  • Incorrect difference info in PDF

Improvements

  • Improve HTML aligner
  • TableFormatSetter for Slides is improved now
  • Html Anchors comparing
  • StyleSheet Comparer for Html

We’d recommend you to download and integrate this release in your project and enhance your document comparison experience. Do share your feedback or concerns on forum.


The post Get Image Representation of Document Pages appeared first on Document Manipulation APIs Blog – groupdocs.com.

Posted in Conholdate.Total Product Family, GroupDocs.Comparison Product Family, GroupDocs.Comparison for Java | Tagged , | Leave a comment