Field footer


#1

Hi, with new aspose (19.2) for slides i get null for this field but before ( with 17.10) it was not null.
Can you please check this out?

String path = "FooterField.ppt"; 
Presentation presentation = new Presentation(path);
ISlideCollection slides = presentation.getSlides();
ISlide slide = slides.get_Item(1);
IShapeCollection shapes = slide.getShapes();
IAutoShape autoShape = (IAutoShape) shapes.get_Item(3);
IParagraphCollection paragraphs = autoShape.getTextFrame().getParagraphs();
IParagraph paragraph = paragraphs.get_Item(0);
IPortionCollection portions = paragraph.getPortions();
IPortion portion = portions.get_Item(0);
IField field = portion.getField();
assertNotNull(field);
assertTrue(FieldType.op_Equality((FieldType) field.getType(), FieldType.getFooter()));
portion = portions.get_Item(1);
assertEquals("Teresa Torns", portion.getText()); 

Thanks,
Zeljko


#2

@Zeljko,

Can you please share source presentation file so that we may further investigate to help you out. Also please share environment details with us.


#3

file : FooterField.ppt.zip (665.7 KB)

OpenJDK version “11.0.1”
Linux 4.4.0-96-generic x86_64


#4

@Zeljko,

I have observed the issue shared by you and an issue with ID SLIDESJAVA-37593 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.


#5

The issues you have found earlier (filed as SLIDESJAVA-37593) have been fixed in this update.