Introducing Metadata Signatures for PDF in GroupDocs.Signature for Java 18.11

GroupDocs.Signature

We are delighted to announce another monthly release of GroupDocs.Signature for Java. This latest version 18.11 comes up with multitudinous features along with numerous improvements and fixes. The main feature introduced in this release is ability to add and search Metadata Signatures in a PDF document. Therefore, we would recommend you to download the new version of the API to evaluate the exciting features and enhance your document e-signing experience.

Features

Verify Encrypted QR-Code Text

Users of this API can verify the encrypted QR-Code text in a document using property setDataEncryption

Following example demonstrates how to verify text of encrypted QR-Code Signature in a PDF document:

// setup key and pasphrase
String key = "1234567890";
String salt = "1234567890";
// create data encryption
IDataEncryption encrypter = new SymmetricEncryption(SymmetricAlgorithmType.Rijndael, key, salt);
// setup verification options
PDFVerifyQRCodeOptions verifyOptions = new PDFVerifyQRCodeOptions("This is private text to be secured.");
// specify as true to verify all pages of a document
verifyOptions.setVerifyAllPages(true);
// setup encrypter to retrieve original text
verifyOptions.setDataEncryption(encrypter);
//verify document
VerificationResult result = handler.verify(fileName, verifyOptions);

Align Text in Text Signature

Users can align text in Text Signature for a Words, Slides, Images and a PDF document.

Following code sample shows how to align the text in Text Signature for a Cells document:

// setup options with text of signature
CellsSignTextOptions signOptions = new CellsSignTextOptions("John Smith");
// text rectangle size
signOptions.setHeight(100);
signOptions.setWidth(100);
// set text alignment inside signature (This feature is supported starting from version 18.11)
signOptions.setTextHorizontalAlignment(TextHorizontalAlignment.Center);
signOptions.setTextVerticalAlignment(TextVerticalAlignment.Center);

Set Signature Position in Cells Document with Pixels

This version of the API allow users to set position of signatures in a Cells document with pixels.

Following code shows how to set position of a Text Signature in the Cells document:

// Specify Signature Options 
CellsSignTextOptions signOptions = new CellsSignTextOptions ("John Smith");
signOptions.setWidth(100);
signOptions.setHeight(100);
signOptions.setTop(15);
signOptions.setLeft(22);

Ability for Cancellation

The API provides ability for cancellation of following processes:

  • Search
  • Verification
  • Signing

Following example demonstrates how to cancel signing process:

// setup signature option
PdfSignTextOptions signOptions = new PdfSignTextOptions("John Smith",10,10,100,100);
signOptions.setSignAllPages(true);

handler.SignatureStarted.add(new ProcessStartEventHandler() {
public void invoke(Object sender, ProcessStartEventArgs args) {
		System.out.println("Processing of "+args.getTotalSignatures()+" signatures for "+args.getGuid()+" started at " + args.getStarted().toString());
	}
});
handler.SignatureProgress.add(new ProcessProgressEventHandler(){
   public void invoke(Object sender, ProcessProgressEventArgs args) {
	   System.out.println("Singing of "+args.getGuid()+" progress: "+args.getProgress()+" %. Processed "+args.getProcessedSignatures()+" signatures. Since start process spent "+args.getTicks()+" mlsec");
	   if(args.getProgress() > 10){
		   args.setCancel(true);
		   System.out.println("Cancellation of process");
	   }
   }
});
handler.SignatureCompleted.add(new ProcessCompleteEventHandler() {
   public void invoke(Object sender, ProcessCompleteEventArgs args) {
	   if (args.getCanceled()){
		   System.out.println("Singing process was canceled");
	   }else{
		   System.out.println("Singing of "+args.getGuid()+" completed at "+args.getCompleted().toString()+". Processing of "+args.getTotalSignatures()+" signatures took "+args.getTicks()+" mlsec");
	   }
   }
});

Support of Measure Type Units for Cells Positioning

Users can set position of Signatures in a Cells document with some predefined measure units for following signature types:

  • Text Signatures
  • Image Signatures
  • Digital Signatures
  • QR-Code Signatures
  • Barcode Signatures
  • Stamp Signatures

Following example demonstrates using Measure Type properties to set position of a Image Signature in the Cells document:

CellsSignImageOptions signOptions = new CellsSignImageOptions (CommonUtilities.getImagesPath("sign.png"));
// specify Size
signOptions.setSizeMeasureType(MeasureType.Percents);
signOptions.setHeight(25);
signOptions.setWidth(25);
// specify size in percents of page size
signOptions.setMarginMeasureType(MeasureType.Percents);
signOptions.getMargin().setTop(25);
// specify Intents
signOptions.setTop(15);
signOptions.setLeft(20);

Metadata Signatures for PDF Document

The Metadata Signature is the additional document property that contains special attributes/tags to keep non visual information inside the document.

Following example demonstrates how to compose Metadata Signature options for a PDF document:

// setup options with text of signature
PdfMetadataSignOptions signMetadataOptions = new PdfMetadataSignOptions();
// Specify different Metadata Signatures and add them to options sigature collection
// setup Author property
PdfMetadataSignature mdSign_Author = new PdfMetadataSignature("Author", "Mr.Scherlock Holmes");
signMetadataOptions.getMetadataSignatures().add(mdSign_Author);
// setup data of document id
PdfMetadataSignature mdSign_DocId = new PdfMetadataSignature("DocumentId", java.util.UUID.randomUUID().toString());
signMetadataOptions.getMetadataSignatures().add(mdSign_DocId);
// setup data of sign date
PdfMetadataSignature mdSign_Date = new PdfMetadataSignature("SignDate", new Date(), "pdf");
signMetadataOptions.getMetadataSignatures().add(mdSign_Date);

Search Metadata Signature

Users of this API can search for Metadata Signatures within the document.

Following example demonstrates how to search Metadata Signatures in a PDF document:

// setup search options
PdfSearchMetadataOptions searchOptions = new PdfSearchMetadataOptions();  
// search document
SearchResult result = handler.search("SignedMetadata.pdf", searchOptions);

Save Image Documents as PDF Document

Image documents can be saved as a PDF format using this latest release of the API.

MatchType for Text Verification Options

The API provides ability to verify Text Signatures with a extended option MatchType

Improvements

  • Verify QR-Code and Barcode Signatures without specifying EncodeType
  • Global Exception handler to catch all un-handled exceptions
  • Setting color of QR-code and Barcode text with fore color value
  • Global Exception handler to catch all unhandled exceptions
  • Support of several Words Digital Search Options and Cells Digital Search Options

Bug Fixes

  • Fix exception on QR-Code Signature Verification when options has no Encode Type specified
  • Wrong text alignment in Text Signature shape for Words
  • QR-Code rendering for various settings
  • Wrong border appearance for PDF Text as Image signatures
  • QR-Code positioning when Signature area is more than generated QR-Code
  • Freezing of signature process on Images for QR-Code Signature
  • Incorrect signing image documents with .psd, .wmf and .svg format
  • Output PDF incorrectly signed with Digital Certificates
  • Unable to search Digital signature in Cells with extended options

Available Channels and Resources

Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.Signature API for Java:

Feedback

As always, you are welcome to share your feedback to improve this product. We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Signature Product Family | Tagged | Leave a comment

Style Detection for Slides is Improved in GroupDocs.Comparison for .NET 18.11

GroupDocs.ComparisonGroupDocs.Comparison for .NET 18.11 comes with a bug fix and a few improvements. AutoShape issue in Slides is now fixed. Furthermore, Charts comparison in Slides is improved. Please follow the release notes here for further details. We would recommend you to try the latest version of the API and share your feedback.

Improvements

Following improvements are introduced:

  • Make Comparison thread-safe
  • Improve charts comparing on Slides
  • Style detection on Slides
  • Comparison tester for Words

Bug Fix

Following issues are resolved for Slides:

  • Fix issues with AutoShape in Slides

Available Channels and Resources

Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Comparison for .NET API:

Feedback

You are always welcome to share your feedback and suggestions to improve this product, we take it very seriously and try to incorporate it as much as its possible for upcoming releases . We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Comparison Product Family | Tagged | Leave a comment

Add Form-Field Signatures in PDF using GroupDocs.Signature for .NET 18.11

GroupDocs.Signature

We are pleased to announce another monthly release of GroupDocs.Signature for .NET. This latest release 18.11 of the API comes up with a multitude of new features like the ability to add form-field signatures in PDF documents and many more. We therefore recommend you to download the new version of the API to evaluate the exciting new features and enhance your document e-signing experience.

Features

Sign PDF Document with a Form-Field Signature

The Form-Field Signatures are the input control which are placed in a document page.

Following example demonstrates how to add Checkbox in a PDF document:

// instantiate check-box form field signature
FormFieldSignature checkboxSignature = new PdfCheckboxFormFieldSignature("FieldCheckbox", true);
// instantiate options based on check-box form field signature
PdfFormFieldSignOptions checkboxOptions = new PdfFormFieldSignOptions(checkboxSignature)
{
    HorizontalAlignment = HorizontalAlignment.Left,
    VerticalAlignment = VerticalAlignment.Top,
    Margin = new Padding(120, 20, 0, 0),
    Height = 10,
    Width = 10
};
// sign document
string signedPath = handler.Sign("02_pages.pdf", checkboxOptions,
    new SaveOptions { OutputType = OutputType.String, OutputFileName = "Pdf_FormFields" });

Search Form-Field Signatures in a PDF Document

API allows you to search for Form-Field Signatures like Text, Checkbox or Digital within the document.

Following example demonstrates how to search Form-Field Signature in PDF document:

// setup search options
PdfSearchFormFieldOptions searchOptions = new PdfSearchFormFieldOptions();
searchOptions.SearchAllPages = true;
searchOptions.NamePattern = @"Field";
searchOptions.Value = @"Value1";
// search document
SearchResult result = handler.Search("Pdf_FormFields_Signed.pdf", searchOptions);

Metadata Signatures for Slides document

The Metadata Signature is the additional document property that contains special attributes/tags to keep non visual information inside the document.

Following example demonstrates how to compose Metadata Signature options for Slides document:

// setup options with text of signature
SlidesMetadataSignOptions signOptions = new SlidesMetadataSignOptions();
// Specify different Metadata Signatures and add them to options sigature collection
// setup Author property
SlidesMetadataSignature mdSign_Author = new SlidesMetadataSignature("Author", "Mr.Scherlock Holmes");
signOptions.MetadataSignatures.Add(mdSign_Author);
// setup data of document id
SlidesMetadataSignature mdSign_DocId = new SlidesMetadataSignature("DocumentId", Guid.NewGuid().ToString());
signOptions.MetadataSignatures.Add(mdSign_DocId);
// setup data of sign date
SlidesMetadataSignature mdSign_Date = new SlidesMetadataSignature("SignDate", DateTime.Now);
signOptions.MetadataSignatures.Add(mdSign_Date);
// setup some integer value
SlidesMetadataSignature mdSign_Days = new SlidesMetadataSignature("DocDays", 12345);
signOptions.MetadataSignatures.Add(mdSign_Days);
// setup data of sign date
SlidesMetadataSignature mdSign_Koeff = new SlidesMetadataSignature("SignKoeff", 2.345M);
signOptions.MetadataSignatures.Add(mdSign_Koeff);
// sign document
string signedPath = handler.Sign("test.pptx", signOptions,
    new SaveOptions { OutputType = OutputType.String, OutputFileName = "Slides_Documents_Metadata" });

Search Metadata Signature in a Slides document

You can search for Metadata Signatures within the Slides document.
Following example demonstrates how to search Metadata Signatures in Slides document:

// setup search options
SlidesSearchMetadataOptions searchOptions = new SlidesSearchMetadataOptions();
// set if we need built-in signatures
searchOptions.IncludeBuiltinProperties = true;
// search document
SearchResult result = handler.Search("SignedMetadata.pptx", searchOptions);

Additional Verification Criteria

This latest version of the API provides few additional properties to verify Digital Signatures of Words document.

// setup digital verification options
WordsVerifyDigitalOptions verifyOptions = new WordsVerifyDigitalOptions("SherlockHolmes.cer");
verifyOptions.Comments = "Test1";
verifyOptions.SubjectName = "Signature";
verifyOptions.IssuerName = "GroupDocs";
verifyOptions.SignDateTimeFrom = new DateTime(2017, 1, 26, 14, 55, 57);
verifyOptions.SignDateTimeTo = new DateTime(2017, 1, 26, 14, 55, 59);        
//verify document
VerificationResult result = handler.Verify("digital signatures.docx", verifyOptions);

Available Channels and Resources

Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.Signature API for .NET:

Feedback

As always, you are welcome to share your feedback to improve this product. We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Signature Product Family | Tagged | Leave a comment

Measure Document Conversion Time using GroupDocs.Conversion for .NET 18.11

GroupDocs.Conversion

GroupDocs.Conversion for .NET 18.11 comes with a lot of new features and some improvements. Conversion from EPS, TSV and PCL formats is introduced. Furthermore, API provides an option for page rotation when converting to PDF. Please check GroupDocs.Conversion for .NET 18.11 release notes for further reference.

Improvements

  • Move HideWordTrackedChanges option to WordsLoadOptions class
  • HidePdfAnnotations option to PdfLoadOptions class
  • HideComments option to CellsLoadOptions, Slides CellsLoadOptions and WordsLoadOptions class

Features

Setting Default Font and Font Substitution Options

When Converting OneNote Document

const string source = "source.one";
var loadOptions = new OneLoadOptions
{
    DefaultFont = "Helvetica",
};
loadOptions.FontSubstitutes.Add(new KeyValuePair("Arial", "Helvetica"));
loadOptions.FontSubstitutes.Add(new KeyValuePair("Harriet", "Transcript"));

Set default font when converting from Diagram

const string source = "source.vsd";
var loadOptions = new DiagramLoadOptions
{
    DefaultFont = "Helvetica",
};

Measure Conversion Time

Measure conversion time and return it as a property of ConvertedDocument class

var convertedDocument = conversionHandler.Convert(source, saveOptions);
Console.WriteLine("Elapsed time: {0}ms", convertedDocument.Elapsed);

Rotation Feature

When Converting to PDF Format

Implement rotation feature when converting to PDF

var saveOptions = new PdfSaveOptions {
    Rotate = PdfSaveOptions.Rotation.On90
};

When Converting to Image

var saveOptions = new ImageSaveOptions {
    RotateAngle = 45
};

Flatten all Form Fields

Option to flatten all form fields when converting PDF documents

var loadOptions = new PdfLoadOptions
{
    FlattenAllFields = true
};

Include Hidden Slides in Converted Document

Include hidden Slides in converted document when converting from Slides

var loadOptions = new SlidesLoadOptions
{
    ShowHiddenSlides = true
};

New Document Formats Introduced

GroupDocs.Conversion for .NET 18.11 implements conversion from EPS, PCL and TSV. You can also convert documents to TSV format.

API Resources

Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Conversion:

Feedback

We always welcome you to share your feedback to improve this product. We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Conversion Product Family | Tagged | Leave a comment

GroupDocs Holidays Offer – Get 25% off GroupDocs.Total or a 24 Bottle Case of Award Winning Pirathon Total Shiraz

LinkedIn Google+ Twitter Facebook
Share this issue:

Monthly Newsletter

December 2018

25% off GroupDocs.Total OR 24 bottles of Award-Winning Pirathon Total Shiraz

Securely Sign Official Documents with Stamp Signatures

Get 25% off GroupDocs.Total OR 24 Bottles of Award-Winning Pirathon Total Shiraz (worth over $1500).

Quote HOLOFF2018 or PIRATH2018 when placing your order.

Buy Now

This offer is only available on new GroupDocs.Total purchases and cannot be used in conjunction with other offers, renewals or upgrades. Only available directly from GroupDocs.com, not through third parties or resellers. Ts&Cs Apply

Product News

Product News

Product News

From the Library

From the Library

From the Library

Feedback

Feedback

Feedback
Product Releases and Updates

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in Customer Newsletters | Leave a comment

Change Page Orientation using GroupDocs.Merger for .NET 18.11

GroupDocs Editor for .NET

We are pleased to announce the release of GroupDocs.Merger for .NET 18.11. This latest version of the API comes with some new features. GetSupportedFormats and RotatePage methods are introduced. Furthermore, you can change page orientation. Please see release notes for further details.

Features

Change Page Orientation

New method ChangeOrientation is introduced.

public DocumentResult ChangeOrientation(Stream documentStream, OrientationOptions orientationOptions);

Get Supported Formats

Method GetSupportedFormats is added.

public Dictionary GetSupportedFormats();

Rotate Pages

RotatePages method is introduced in the API.

public DocumentResult RotatePages(Stream documentStream, RotateOptions rotateOptions);

Available Channels and Resources

Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.Merger:

Feedback

As always, if you have any questions or suggestions, feel free to write on our forum.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Merger Product Family | Tagged | Leave a comment

Remove Empty Paragraphs in GroupDocs.Assembly for .NET 18.10

We are delighted to announce a new feature in the monthly release of GroupDocs.Assembly for .NET 18.10. Using the latest version, you can now remove empty paragraphs in word processing, presentation, and email documents. We recommend you to install and use the latest version of the API.

Features Introduced

While assembling a document, if syntax tags are removed or replaced with empty values, the output document will have empty paragraphs. In version 18.10, we have introduced a new member RemoveEmptyParagraphs in DocumentAssemblyOptions. When this option is applied using DocumentAssembler.Options, the engine additionally removes empty paragraphs. You can use this option for the following document types:

  • Word Processing Document
  • Presentation Document
  • Email Document

Use Case

Template document.

Prefix
<<[""]>>
Suffix

Result document without the new option applied.

Prefix
  
Suffix

Result document when the new option, RemoveEmptyParagraphs is applied.

Prefix
Suffix

For more details on this feature, please visit this documentation article.

Available Channels and Resources

Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Assembly for .NET.

Feedback

As always, if you have some questions, queries or suggestions about GroupDocs.Assembly for .NET API,  just share with us by creating a forum thread.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Assembly Product Family | Tagged , , | Leave a comment

Handle Empty Paragraphs using GroupDocs.Assembly for Java 18.10

Document Assembly APIWe are excitedly announcing the monthly release of GroupDocs.Assembly for Java 18.10. Using the latest version, you can now remove empty paragraphs in word processing, presentation, and email documents. We recommend you to install the latest version of the API for a better user experience.

Features Introduced

While assembling a document, if syntax tags are removed or replaced with empty values, the output document will have empty paragraphs. In version 18.10, we have introduced a new member REMOVE_EMPTY_PARAGRAPHS in DocumentAssemblyOptions. When this option is applied using DocumentAssembler.setOptions(), the engine additionally removes empty paragraphs. You can use this option for the following document types:

  • Word Processing Document
  • Presentation Document
  • Email Document

Use Case

Template document.

Prefix
<<[""]>>
Suffix

Result document without the new option applied.

Prefix
  
Suffix

Result document when the new option, REMOVE_EMPTY_PARAGRAPHS is applied.

Prefix
Suffix

For more details on this feature, please visit this documentation article.

Available Channels and Resources

Here are a few channels and resources for you to download, try, learn and get technical support on GroupDocs.Assembly for Java:

Feedback

We always love to hear your valuable feedback. Share your suggestions, questions, or queries related to GroupDocs.Assembly for Java at our forum.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Assembly Product Family | Tagged , , | Leave a comment