🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.indesign.sdk
1 messages
1 total messages Started by Sofia_Kozlova Sun, 22 Mar 2009 12:50
FitFrameToContent function for user page items
#152
Author: Sofia_Kozlova
Date: Sun, 22 Mar 2009 12:50
22 lines
1260 bytes
Hi All,
I have my own document page item
Class
{
    kMyPageItemBoss,
    kSplineItemBoss,
    {
        IID_ISHAPE, kMyShapeImpl,
        IID_IPAGEITEMEVENTACTION, kMyPageItemEventActionImpl,
    }
}

How can I override functions from "Fitting" context menu for it?
I'd like to have only one item "Fit Frame to Content" in this menu and I want to resize my object by my own in this function.

Now my object disappears after launch "Fit Frame to Content" menu item.

I tried to add
IID_IFRAMECONTENTSUITE, kMyShapeContentImpl,
substitution, but my overridden functions (even constructor of MyShapeContentImpl) are not launched.

Any help will be very appreciated.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads