What do you mean by boss?
Do you asking about the benifits of Smat Text Reflow?!
If so, Smart Text Reflow is an InDesign type preference that will automatically add pages when you flow text into your layout or remove pages as text is deleted during editing.
The command boss is kSetAutoFlowOptionsCmdBoss. However looking at it the documentation does not mention any interface(the implementation is hiddent) that can be used to set the different options. So an alternative is to use the Facade::ITextPreferencesFacade class it has a method SetDynamicAutoFlowOptions which should serve the purpose.
Thank you Manan. Working fine.
IDataBase* db = ::GetDataBase(ws);
tpfacade->SetDynamicAutoFlowOptions(kFalse, Facade::kAtEndOfStory, kFalse, kFalse, kFalse, db);
I suppose you are setting the option at the application level, in that case i think you can pass a nil for the db. For document level db is needed, for application level nill would work. Confirm once from the method decleration.
Thanks for your suggestion.
I put this code in the startupservice and it is working fine.