Completed
Last Updated: 26 Oct 2022 13:55 by ADMIN
Release R3 2022 SP1
SAI RADHA MANI
Created on: 27 Apr 2021 08:03
Category: WordsProcessing
Type: Feature Request
0
WordsProcessing: Add support for SEQ Field

You can add captions to figures, equations, or other objects.

From the Office Open XML File Formats Specification: This element specifies the contents and positioning for captions which can be used to automatically label objects in a WordprocessingML document. A caption is a string that labels an object included in a WordprocessingML document, and typically consists of a string plus a field which numbers this item within a collection of similar objects.

Similar functionality can be achieved using the CustomCodeField:

RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);
using (Stream stream = File.OpenRead("Image1.jpg"))
{
	ImageInline image = editor.InsertImageInline(stream, "jpg");
	editor.InsertBookmark("Image", image, image);
}

editor.InsertBreak(BreakType.LineBreak);
editor.InsertText("Figure ");
editor.InsertField("SEQ Image", "Update Figure Number");

1 comment
ADMIN
Peshito
Posted on: 26 Oct 2022 13:55

Hello,

This item will be available in R3 2022 SP1 Release. 

It is also available with Telerik UI for WPF's latest internal build - LIB 2022.3.1031 (31 Oct 2022) if you need it earlier.

Regards,
Peshito
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.