Hi,
Does Aspose.Pdf provide API to setup assistive technology support, e.g. tags to define the reading order or alternative text for images?
If yes, can you please point me to classes/methods I can use?
Thanks,
Natasa
Hi Natasa,
Hi Nayyer
nfecanin:
.Regarding the tags to define reading order, we need a way to tell if the text is in the columns to read left column first and then the second. Also, we would appreciate if there is a way to tag tables, to provide information about column header/row for each cell. This is a new requirement for us too, so I am not sure if any other requirements will be listed later.
I have intimated my fellow workers from Aspose.Words team to further look into this matter and they will be sharing the required information. Soon you will be updated with the required information.nfecanin:
.Generally, we generate a PDF from a Word document. Would there be a chance to have a way to tag Word document text and add alternative text to Word images and they would be converted into PDF as we save the Word doc as PDF? (I understand you do not provide a way for alt. text for images in PDF yet, but just a thought, in case you are going to work on it any time in the future)
nfecanin:
Would there be a chance to have a way to tag Word document text
nfecanin:
and add alternative text to Word images
Document doc = new Document(MyDir + "in.docx");
Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);
shape.AlternativeText = "This is image one";
doc.Save(MyDir + "Out.docx");
The issues you have found earlier (filed as WORDSNET-11865) have been fixed in this .NET update and this Java update.
The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for .NET 18.12 update and this Aspose.Words for Java 18.12 update.
MS Words supports both title and description properties of Shape. We introduced new feature in Aspose.Words 16.3 to set the title of Shape using Shape.Title property. Following code example shows how to set title of shape object.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
// Create test shape
Shape shape = new Shape(doc, ShapeType.Cube);
shape.Width = 431.5;
shape.Height = 346.35;
shape.Title = "Alt Text Title";
builder.InsertNode(shape);