Issue 108894 - Add new API: Comment.Shape
Summary: Add new API: Comment.Shape
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: vba (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: noel.power
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 07:28 UTC by lihuiibm
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

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


Attachments
Changes for the new API (6.71 KB, text/plain)
2010-02-03 07:29 UTC, lihuiibm
no flags Details
Change the code according to Noel's comment, and remove windows crlf(s), please use the new patch. (8.39 KB, text/plain)
2010-02-28 08:59 UTC, lihuiibm
no flags Details
New patch for this issue. Fix up according to Noel's comments, move "getDocShellFromIf, getDocShellFromRange, getModelFromXIf, getModelFromRange, getDocumentFromRange" from vbarange.cxx to excelvbahelper.cxx (24.89 KB, patch)
2010-03-12 14:55 UTC, lihuiibm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description lihuiibm 2010-02-03 07:28:38 UTC
Add new API: Comment.Shape
Comment 1 lihuiibm 2010-02-03 07:29:22 UTC
Created attachment 67574 [details]
Changes for the new API
Comment 2 noel.power 2010-02-19 17:27:35 UTC
rather than introduce another 'GetDocShellFromRange' into vbacomment.cxx why
don't you make 'GetDocShellFromRange' available from excelhelper of some other
global accessible place
Comment 3 lihuiibm 2010-02-28 08:59:11 UTC
Created attachment 68061 [details]
Change the code according to Noel's comment, and remove windows crlf(s), please use the new patch.
Comment 4 noel.power 2010-03-09 13:16:33 UTC
right so you did add this method to a global place thanks, actually I thought
when I looked at the patch last time I thought that you were cut'n'pasting one
of the variants of getDocShellFromRange, getDocShellFromIf etc. from
vbarange.cxx, the  'GetDocShellFromRange' But I was wrong your
GetDocShellFromRange uses ScCellRangesBase::getImplementation ( which I didn't
know about ) and this is imho *much* better than those other functions in (
getDocShellFromRange, getDocShellFromIf etc. ) mentioned above.

So, please can you commit this, additionally can you make remove the (
getDocShellFromRange, getDocShellFromIf etc ) from vbarange.cxx and make sure
the code there uses your better implementation you have added to excelvbahelper ?

this patch also needs to go upstream, nice solution thanks!!!
Comment 5 lihuiibm 2010-03-12 14:55:52 UTC
Created attachment 68306 [details]
New patch for this issue. Fix up according to Noel's comments, move "getDocShellFromIf, getDocShellFromRange, getModelFromXIf, getModelFromRange, getDocumentFromRange" from vbarange.cxx to excelvbahelper.cxx
Comment 6 lihuiibm 2010-03-12 14:58:22 UTC
Please use the latest patch "patch_new2.diff", did following changes:
1. Remove getDocShellFromIf(), getDocShellFromRange(), getModelFromXIf(),
getModelFromRange(), getDocumentFromRange() from vbarange.cxx.
2. Add GetDocShellFromRange(), GetDocumentFromRange(), GetModelFromRange() to
excelvbahelper.hxx and excelvbahelper.cxx.
Comment 7 Pedro Giffuni 2013-01-23 18:48:48 UTC
Perhaps also a [From Symphony] issue?
Comment 8 Marcus 2017-05-20 11:29:30 UTC
Reset assigne to the default "issues@openoffice.apache.org".