Skip to main content
July 26, 2010
Answered

Where would the bool value for kPasteTextCmdBoss be documented?

  • July 26, 2010
  • 1 reply
  • 547 views

The kPasteTextCmdBoss implements a IBoolData interface. Where would I find this value documented?

The only places I can find that mention it list it as 'Undocumented'

This topic has been closed for replies.
Correct answer Norio Kawamura

IBoolData means ignoreAttributes, default value is kFalse.

kPasteTextCmd usually should not be created directly -- instead use ITextModelCmds::PasteCmd().

InterfacePtr<ITextModelCmds> textModelCmd(textModel, UseDefaultIID());

InterfacePtr<ICommand> pasteCmd(textModelCmd->PasteCmd(position, pasteData));

CmdUtils::ProcessCommand(pasteCmd);

1 reply

Norio KawamuraCorrect answer
Inspiring
July 27, 2010

IBoolData means ignoreAttributes, default value is kFalse.

kPasteTextCmd usually should not be created directly -- instead use ITextModelCmds::PasteCmd().

InterfacePtr<ITextModelCmds> textModelCmd(textModel, UseDefaultIID());

InterfacePtr<ICommand> pasteCmd(textModelCmd->PasteCmd(position, pasteData));

CmdUtils::ProcessCommand(pasteCmd);

July 27, 2010

Thanks for that Norio

Where did you get this information? Is there a document somewhere that lists the commands and values?