Skip to main content
Inspiring
September 12, 2022
Question

Bad Fill and Tint colours of table cells

  • September 12, 2022
  • 3 replies
  • 254 views

Hello guys,

I'm facing a weird problem, I have a code in C++ that collects all cell information to get it ready for being converted to another format.

I mainly use the ITableAttrAccessor class to get the Fill and Tint colours of every cell, in most of the time this works fine but I have table that returns bad values:

 

tableAccessor->GetFillColor(cellAddr);

 

I have also used the method QueryCellAttribute and still having the same bad value, any ideas?

 

InterfacePtr<ITableAttrUID> icolorAttr((ITableAttrUID *)tableAccessor->QueryCellAttribute( cellAddr, kCellAttrFillColorBoss, IID_ITABLEATTRUID ) );

 

This topic has been closed for replies.

3 replies

Marc Autret
Legend
October 20, 2022

Hi @Amine9 

 

Not sure if it is related but we also have troubles in dealing with Tint and Cell components from the JS DOM:

https://www.indiscripts.com/post/2021/05/cell-tint-enigma#hd0sb1

 

Best,

Marc

Community Expert
October 20, 2022

Is this isolated to a particular file or table or something that can be replicated in any document? I have not worked with Table via SDK but providing more information and context code could allow us to test it on our end if time permits and also allow us to seek help from Adobe if possible

-Manan

-Manan
Community Expert
October 20, 2022

I'm not a coder so I don't have clue. Perhaps one of the coders or script writers can help here.