Error using OLE-Object. OpenOffice Writer
Original Reporter info from Mantis: Merlin87
-
Reporter name: Jürg Steffen
Original Reporter info from Mantis: Merlin87
- Reporter name: Jürg Steffen
Description:
- Method "RightPageHeaderContent" is NOT recognized. (also the Left...)
- Records containing the value "String" in the identifier of a Field cannot be addressed, as "String" is recognized as Type. (e.g. xx.Left.Text.String)
Steps to reproduce:
Setup statements to access Header/Footer in OpenOffice Writer:
StyleFamilies := Doc.StyleFamilies;
PageStyles := StyleFamilies.getByName('PageStyles');
DefPage := PageStyles().getByName('Standard');
DefPage.FooterIsOn; // This works !!
HContent := DefPage.RightPageHeaderContent; // error on execute
HContent.Left.Text.String := 'abcde'; // error on compile
Mantis conversion info:
- Mantis ID: 24726
- OS: Windows32
- OS Build: XP
- Platform: Windows
- Version: 2.6.2