API-CHANGE - dropping string properties which use vnd.sun.star.GraphicObject URL

Tomaž Vajngerl quikee at gmail.com
Fri Apr 27 11:06:24 UTC 2018


Hi,

I'm have the API changes pending in gerrit [1] now (they need to pass
the build) which are due to image handling rework. All the old
properties that used the vnd.sun.star.GraphicObject URL scheme are
still functioning, but only to set the property and only when an
external URLs is provided (it loads the XGraphic from the URL). When
getting the URL a RuntimeException is thrown. I have written the new
behavior in the property description and marked the property as
deprecated.

The following properties were changed and are now "set-only":
- FillBitmapURL -> FillBitmap
- GraphicURL -> GraphicBitmap
- ImageURL -> Graphic
- SymbolBitmapURL -> SymbolBitmap
- GraphicURL -> Graphic
- BackGraphicURL -> BackGraphic
- HeaderBackGraphicURL -> HeaderBackGraphic
- FooterBackGraphicURL -> FooterBackGraphic
- ParaBackGraphicURL -> ParaBackGraphic

The following properties were changed and are now "set-only" but not in API:
- ReplacementGraphicURL -> ReplacementGraphic

The following properties were not in API and are removed:
- ThumbnailGraphicURL -> ThumbnailGraphic
- HeaderFillBitmapURL -> HeaderFillBitmap
- FooterFillBitmapURL -> FooterFillBitmap

[1] https://gerrit.libreoffice.org/#/q/owner:quikee%2540gmail.com+status:open

Regards, Tomaž


More information about the LibreOffice mailing list