What I want to do is just rendering a table to image(png). My idea is to fake a selection just include the rect of the table and then render it to image which is similar to DocumentToGraphicRenderer::renderToGraphic.
Another idea is use GraphicFilter, but I don’t know which object of table （SwTableNode ？SwTabFrame or others） can cast to Reference < lang::XComponent > object.
Your comments are very appicated. Thanks.