https://bugs.documentfoundation.org/show_bug.cgi?id=149077

--- Comment #4 from Regina Henschel <[email protected]> ---
(In reply to Rafael Lima from comment #3)
> (In reply to Regina Henschel from comment #2)
> > If you do not intend to save to the binary ppt format, then you can use the
> > ooxml-callout. That is in the Gallery theme "Shapes".
> 
> Regina, do you have a code pointer to where the rectangle callout is defined
> in LO?

The shape belongs to those, which have a corresponding shape in binary MS
Office. By import in filter/source/msfilter/msdffimp.cxx it gets a type from
enum MSO_SPT, in this case mso_sptWedgeRRectCallout = 62.
Coming from ODF we have the map from the value of
draw:type="rounded-rectangular-callout" in ODF to MSO_SPT in
/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx.

The MSO_SPT enum value is then mapped to a mso_CustomShape* in method
GetCustomShapeContent() at the end of
svx/source/customshapes/EnhancedCustomShapeGeometry.cxx, here
msoWedgeRRectCallout. The details for this shape are then around #5800 above in
this file.

> 
> I was looking for .uno:CalloutShapes and SID_DRAWTBX_CS_CALLOUT to try to
> figure out where LO pulls the coordinates for the callout, but I could not
> find it.

Depending on what you want to do, you likely need some more info. No problem
with that, but I need to know what you want to do, to help you further.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to