Skip to main content
Participant
Dec 2, 2026 2:00 PM UTC
Question

InDesign 2027 C++ SDK — mixed LTR/RTL column flow in a single threaded story

InDesign 2027 C++ SDK — mixed column flow in a single threaded story

Mac/Windows

Does the InDesign 2027 Plug-in SDK (22.0.0.104) provide a supported extension point that lets a third-party plug-in choose the next logical column during recomposition in standard threaded multi-column text frames?

We need one editable story in which an English section flows left to right across columns and a Hebrew or Arabic section flows right to left across columns. The flow must remain correct when text is inserted or removed before the language boundary.

We found ITextParcelListData::GetNextLogicalParcelKey(), but the hiddentext sample registers its implementation for hidden text. Is there a supported way to supply or override column traversal for standard text frames? If so, which interface or SDK sample should we start from?

    4 replies

    Participant
    Dec 3, 2026 5:22 PM UTC

    Thanks, Eugene. Your distinction between paragraph direction and story direction helped clarify the issue. We need paragraph-level direction for English, Arabic, and Hebrew, and we also need the columns in two standard three-column frames to fill in opposite directions within one editable, threaded story.

    I ran a few follow-up tests in InDesign 2027 with the C++ SDK 22.0.0.104 on macOS:

    • Native behavior. With Adobe World-Ready Paragraph Composer, switching the story direction from LTR to RTL reverses column flow in both linked frames. The two IDML exports differ only in StoryPreference/@StoryDirection. The frame definitions, geometry, and threading are identical.
    • SDK prototype. In a modified SingleLineComposer sample, I redirected entry into the second frame to its rightmost column. InDesign remained responsive, but reported overset when that column filled. When I also redirected the next line from the rightmost column to the center column, GetTiles() returned a valid tile, but InDesign hung inside RecomposeHelper::ApplyComposedLine() for that line. In the control build, both RecomposeHelper::GetNextParcelKey() and IParcelList::GetNextParcelKey() indicated no successor from the rightmost column.
    • SDK references. The HiddenText sample registers ITextParcelListData on its own text model. I also found kObjectFCStoryDirectionAttrBoss among the Object Find/Change attributes. The documentation for ITextParcelList::NotifyStoryDirectionChanged() refers to GetIsVertical(). I’ve found no example showing how any of these can set horizontal column traversal for an individual standard text frame.

    Does the public C++ SDK expose a supported way to set column traversal per standard text frame before recomposition, while retaining a single editable story and the Adobe World-Ready Paragraph Composer? If so, which interface, command, or sample should I start with? If this configuration isn’t exposed by the public SDK, confirmation would also help.

    As you suggested, I can take this to the InDesign Developers Prerelease forum if that’s the best place for the SDK team to confirm. I can provide a simplified test document and the relevant log excerpt.

    Thanks,
    Luca

    Translate
    Community Expert
    Dec 3, 2026 10:07 PM UTC

    Thanks, Luca. Yes, I’d take this to the InDesign Developers Prerelease forum. I’d include the simplified two-frame document, the IDML comparison, and the log excerpt showing where ApplyComposedLine() hangs. That gives the SDK team a concrete case to check whether there’s a supported way to reverse column order for one standard text frame while keeping a single editable story and the World-Ready Paragraph Composer.

    If you get confirmation either way, please post it back here for anyone who runs into the same limitation.

    Translate
    Participant
    Dec 3, 2026 10:36 AM UTC

    Hello, This is an interesting requirement. It would be great if the SDK offered a supported way to control column traversal dynamically based on text direction, especially for mixed English and Hebrew or Arabic content within a single threaded story.  

    Translate
    Community Expert
    Dec 2, 2026 6:30 PM UTC

    Hi Luca, the bit here is that paragraph direction controls how the text reads, while story direction controls the order the columns fill. You can have English and Hebrew or Arabic paragraphs in the same story, but the built-in settings give that story one column order.

    The hiddentext sample shows GetNextLogicalParcelKey() being used for hidden text. Do you have any SDK documentation showing that a third-party implementation can be registered for standard text frames? That’s the part I’d want to get confirmed by the InDesign SDK team, especially since the change in column order needs to follow the language boundary when edits cause the story to reflow.

    Separate LTR and RTL stories would give you the two column orders, but they’d give up the single editable thread you need. If you have access to the InDesign Developers Prerelease forum, I’d ask there whether standard text frames expose a supported traversal hook in 22.0.0.104.

    Translate