Apache OpenOffice (AOO) Bugzilla – Issue 858
Missing or wrong property specs
Last modified: 2013-02-24 21:09:52 UTC
A snapshot from the upcoming instance inspector :-) Almost all of the following properties of text document components are undocumented in the API reference. AddParaTableSpacing  false AddParaTableSpacingAtStart  false ApplyFormDesignMode  true ApplyUserData  true AutomaticControlFocus  false CharFontCharSet  1 CharFontCharSetAsian  0 CharFontCharSetComplex  0 CharFontFamily  3 CharFontFamilyAsian  0 CharFontFamilyComplex  0 CharFontName  Times New Roman CharFontNameComplex  Simplified Arabic;Andale WT UI;Arial Unicode MS CharFontPitch  2 CharFontPitchAsian  0 CharFontPitchComplex  0 CharFontStyleName  CharFontStyleNameAsian  CharFontStyleNameComplex  CharLocale  no fundamental type CharacterCompressionType  0 CharacterCount  0 ChartAutoUpdate  true CurrentDatabaseCommand  CurrentDatabaseCommandType  0 CurrentDatabaseDataSource  FieldAutoUpdate  true ForbiddenCharacters  no fundamental type HideFieldTips  false IndexAutoMarkFileURL  IsKernAsianPunctuation  false LinkUpdateMode  1 ParagraphCount  1 PrinterName  \\PC02\HP LaserJet 5P RecordChanges  false RedlineDisplayType  2 SaveGlobalDocumentLinks  false ShowChanges  true TwoDigitYear  1930 WordCount  0 WordSeparator  () ÿ WordCount, on the other hand, is documented as property of service AdvancedTextDocument, but getSupportedServiceNames doesn't list this service for Text document components. This could be a bug in OOo or in the API reference. Or I've got AdvancedTextDocument wrong :-)
Thanks for the list, Dietrich. But I need more information. At WHICH component are these properties available? Especially because many of those ARE documented, like most of the FontChar... properties. AdvancedTextDocument is insensible anyway. I will combine the spec to TextDocument and specify the elements as optional. Optional interfaces did not exist in those days where it was specified. I accept the issue, but please specify the component where the properties are available but not specified. Probably some of it is an implementatation bug anyway, and others may be ok - though not specified.
OK, got me. CharFontXXX is all documented well :-) These properties are available at a writer document and aren't documented: AddParaTableSpacing false AddParaTableSpacingAtStart false ApplyFormDesignMode true ApplyUserData true AutomaticControlFocus false ChartAutoUpdate true CurrentDatabaseCommand CurrentDatabaseCommandType 0 CurrentDatabaseDataSource FieldAutoUpdate true HideFieldTips false IndexAutoMarkFileURL IsKernAsianPunctuation false LinkUpdateMode 1 PrinterName \\PC02\HP LaserJet 5P RecordChanges false SaveGlobalDocumentLinks false ShowChanges true TwoDigitYear 1930 Or at least they weren't when I last updated my reference files. When I say "not documented" I mean there is no link in the global index for them. I didn't try to guess the service they might come from ;-) BTW at the moment there is no way to tell which property belongs to which service programmatically. Jürgen Schmidt wanted to create an XServiceTypeDescription, but didn't get around to doing it.
changing QA contact.
you (or Oliver) most likely know the meaing of the properties
^.^
TL->SW: Since there where many property fixes in the last time could you please check which of those listed still need to be fixed and make an iBIS bug with reference to this one for those? Thanks in advance!
cn->tl: I've written a Bug #i104583#
Working on the IDL files.
TL->CN: Should be fixed with the next build. Please check and then close this one.
CN: two properties could not be assignet to.
CN: fixed in srx644_v