Apache OpenOffice (AOO) Bugzilla – Issue 32129
support new optional parameter SID_STYLE_FAMILYNAME of slot SID_STYLE_APPLY
Last modified: 2013-02-24 21:08:50 UTC
If you dispatch the URL ".uno:StyleApply?Template:string=headline1&Family:short=0" e.g. on the frame, where a default draw document was loaded into... the implementation code of the slot SID_STYLE_APPLY inside "sd/&source/ui/func/futempl.cxx" is never reached. I tried it because I've wished to add an optional property to this slot. Please make shure that this slot can be executed and further add support for this new optional slot parameter. See the atached basic script for details. Note: This new slot parameter can be used first, if the cws[keyconfig01] was integrated!
AS->AF: Sorry ... but my last test showed, that the described code was reached. The draw modules seemed to be builded corrupted ... But the new fact is: the optional parameter cant be transformed from type string to its USHORT representation. AS->CL: Please adopt the code inside futempl.cxx (after integration of cws[keyconfig01], so it can handle the incoming string values for the parameter SID_STYLE_FAMILYNAME. Ask me for further details please.
Created attachment 16801 [details] test script to trigger code
fixed
.
@Christian: according to CL not all styles in Draw/Impress can be applied, even in the Stylist. Applying of styles using keyboard shortcuts should have the same result as if you would have done it using the Stylist. If it doesn't work in the Stylist, it can't via shortcut.
I can't assign a style via shortcut in Draw. Impress works correct.
back to cl
@andreas, we handle the new SID_STYLE_FAMILYNAME slot correctly in both draw and impress. The difference is that in draw we do not get the SID_APPLY_STYLE argument.
Was a build issue. The draw view shell was not build correctly.
Reopened for reassignment
Please vewrifiy this task.
There is no spec for this feature. The developer told me how this feature should work. I tested it on Win and linux and it works like the description of the developer. Verified in cws keyconfig01 on Lin and Win.
Integrated in src680m76