Bugzilla – Attachment 157079 Details for
Bug 129360
IDE cannot get the content of structs in the watch window
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Macro to access a shape in Draw
ExamineShapeInDraw.bas (text/plain), 692 bytes, created by
Regina Henschel
on 2020-01-11 14:26:17 UTC
(
hide
)
Description:
Macro to access a shape in Draw
Filename:
MIME Type:
Creator:
Regina Henschel
Created:
2020-01-11 14:26:17 UTC
Size:
692 bytes
patch
obsolete
>REM ***** BASIC ***** >option explicit > >sub getSelectedShape_inDraw(oShape as variant) >rem returns a single, selected shape, might be empty >dim oDocument as variant: oDocument = ThisComponent >dim oCurrentController as variant: oCurrentController = oDocument.getCurrentController() >dim oShapeCollection as variant: oShapeCollection = oCurrentController.Selection >if isempty(oShapeCollection) then exit sub >if oShapeCollection.Count <> 1 then exit sub >oShape = oShapeCollection.getByIndex(0) >end sub > >sub examineShape_inDraw >dim oDocument as variant: oDocument = ThisComponent >dim oShape as variant: getSelectedShape_inDraw(oShape) >dim dummy as integer >dummy = 1 >end sub >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 129360
: 157079 |
157149