Are these features supported by Aspose for Words C++?

Hello,

Are the following features supported by Aspose for Words C++?

  • Page numbering
  • Adding Header/Footer
  • Ability to place images with “flow around” text
  • Defining tab-stops
  • Amending word files. Inserting context at specific place (at least at specific page# as new page)
  • Send final file to printer

This is for us to evaluate the features of Aspose for Words C++ to be used in our application.

Thanks.

@winnie2023

  • Page numbering

Yes you can insert page numbering in your documents using the method InsertField, check here for additional examples.

  • Adding Header/Footer

Headers and Footers are managed by the HeaderFooter class, check here for more information and examples.

  • Ability to place images with “flow around” text

You can insert images using the method InsertImage, and control the position of the shape respect to the text with the property HorizontalAlignment

  • Defining tab-stops

You can manage tab stops of paragraphs by using the class TabStop, check here for more information and examples.

  • Amending word files. Inserting context at specific place (at least at specific page# as new page)

Aspose.Words API is built to manage Word documents files in a similar way of MS Word application do. Regarding insert new content on specific places in the document it’s possible, but since Word documents are flow documents the way to do it could depends on your specific scenario, in example, you can use:

Or a combination of all mentioned methods, depending on your scenario.
Pages can be easily inserted by adding page breaks, but please notice that since Word documents are flow documents concepts as Page are not managed in their structure. Pages in Word documents are calculated in render time; Aspose.Words API use the classes LayoutCollector and LayoutEnumerator to mimic the render process of MS Word application.

  • Send final file to printer

Unfortunately, C++ version of Aspose.Words does not support printing feature. This feature request has been logged as WORDSCPP-1168 . We will keep you informed and let you know once it is supported.
Printing feature is currently supported by .NET Framework and Java versions of Aspose.Words.

Thanks for the information.

2 Likes