Skip to main content
Inspiring
December 6, 2022
Answered

Fix Overset Text

  • December 6, 2022
  • 1 reply
  • 469 views

Hi everyone,

can someone tell me how i can do this simple function with C++?

For now I found this in the guide.

Before fix the overset:

After fix the overset:

,but this tell me only how structure change after fixxed the overset, but i don't know how to fix with code.

If anyone could help me I would be very grateful

 

This topic has been closed for replies.
Correct answer Manan Joshi

You can look at ITextUtils, it has method to detect if there is an overset in a frame and also a method to link frames together.

virtual bool16  IsOverset (const IFrameList *fl)=0
virtual ErrorCode  LinkTextFrames (const IMultiColumnTextFrame *textFrameA, const IMultiColumnTextFrame *textFrameB, bool16 prepend)=0

Hopefully this will help you.

-Manan

1 reply

Manan JoshiCommunity ExpertCorrect answer
Community Expert
December 8, 2022

You can look at ITextUtils, it has method to detect if there is an overset in a frame and also a method to link frames together.

virtual bool16  IsOverset (const IFrameList *fl)=0
virtual ErrorCode  LinkTextFrames (const IMultiColumnTextFrame *textFrameA, const IMultiColumnTextFrame *textFrameB, bool16 prepend)=0

Hopefully this will help you.

-Manan

-Manan