CreateOverrideMasterPageItemsCmd
Hi,
today I faced a problem with the function
Utils<IMasterSpreadUtils>()->CreateOverrideMasterPageItemsCmd(pages)
It overrides all master page items as expected, but if a master page item lies on two pages (it starts on the left page and ends on a right page), then this master page item is overridden twice. Once for the left and one for the right page, so in the end there are two page items on the pages.
Do you have any idea what I could do to change this behaviour ?
Thanks,
Daniel
|