Issue 32129 - support new optional parameter SID_STYLE_FAMILYNAME of slot SID_STYLE_APPLY
Summary: support new optional parameter SID_STYLE_FAMILYNAME of slot SID_STYLE_APPLY
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: christian.guenther
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 08:47 UTC by andreas.schluens
Modified: 2013-02-24 21:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test script to trigger code (582 bytes, text/plain)
2004-07-27 09:15 UTC, andreas.schluens
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description andreas.schluens 2004-07-27 08:47:02 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!
Comment 1 andreas.schluens 2004-07-27 09:11:25 UTC
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.
Comment 2 andreas.schluens 2004-07-27 09:15:21 UTC
Created attachment 16801 [details]
test script to trigger code
Comment 3 clippka 2004-08-24 12:22:11 UTC
fixed
Comment 4 Mathias_Bauer 2004-08-26 11:32:36 UTC
.
Comment 5 Mathias_Bauer 2004-08-26 11:33:00 UTC
.
Comment 6 Mathias_Bauer 2004-08-26 11:33:16 UTC
.
Comment 7 Mathias_Bauer 2004-08-26 11:40:37 UTC
@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.
Comment 8 christian.guenther 2004-08-31 17:05:50 UTC
I can't assign a style via shortcut in Draw. Impress works correct.
Comment 9 christian.guenther 2004-08-31 17:11:12 UTC
back to cl
Comment 10 clippka 2004-09-02 14:02:52 UTC
@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.
Comment 11 andreas.schluens 2004-09-03 07:46:38 UTC
Was a build issue. The draw view shell was not build correctly.
Comment 12 eric.savary 2004-09-06 10:57:20 UTC
Reopened for reassignment
Comment 13 eric.savary 2004-09-06 10:57:47 UTC
Please vewrifiy this task.
Comment 14 eric.savary 2004-09-06 10:58:02 UTC
fixed
Comment 15 christian.guenther 2004-09-07 10:40:32 UTC
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.
Comment 16 christian.guenther 2005-02-03 17:04:39 UTC
Integrated in src680m76