Equivalent of IsTextFrame() for "unassigned content" frames
Hello,
In my plugin, I use the following to determine if an object is a text frame or a graphic frame.
Utils<IPageItemTypeUtils>()->IsTextFrame(pageItemUIDRef)
Utils<IPageItemTypeUtils>()->IsGraphicFrame(pageItemUIDRef)
Utils<IPageItemTypeUtils>()->IsEmptyGraphicFrame(pageItemUIDRef)But I cannot find a corresponding function for frames with "unassigned content". The best I can do is to see if it is a spline object and, if so, what type, using the path geometry by calling the 2 functions below (error-handling code removed for the sake of clarity):
InterfacePtr<IPathGeometry> pathGeometry(itemUIDRef, UseDefaultIID();
pathType = Utils<IPathUtils>()->WhichKindOfPageItem(pathGeometry);Are frames with "unassigned content" actually splines ?
Very best regards,
Olivier
