I have created a module which creates several web pages. I want to place these web pages into the Spreadsheet. Right now, all the web pages are being placed into one cell and I only see the last one rendered. I added an output port on my module for a CellLocation. How do I create the attribute to send out the CellLocation outport port?
For instance, I added reg.add_output_port(FaceDetect, "cell", CellLocation) and see the port. When I iterate over creating several web pages, I then will need to self.setResult("cell", x). How do I set x? Not sure able what a CellLocation is.
Answer by
Stephen Prastman
There is a user guide which explains how the CellLocation should be used and what is it for. The CellLocation specifies the location (row and column) of a cell when connecting to a spreadsheet cell. This information can be found in the support page. Access the page to find more information about it.
I have created a module which creates several web pages. I want to place these web pages into the Spreadsheet. Right now, all the web pages are being placed into one cell and I only see the last one rendered. I added an output port on my module for a CellLocation. How do I create the attribute to send out the CellLocation outport port?
For instance, I added reg.add_output_port(FaceDetect, "cell", CellLocation) and see the port. When I iterate over creating several web pages, I then will need to self.setResult("cell", x). How do I set x? Not sure able what a CellLocation is.
There is a user guide which explains how the CellLocation should be used and what is it for. The CellLocation specifies the location (row and column) of a cell when connecting to a spreadsheet cell. This information can be found in the support page. Access the page to find more information about it.
Support page: http://www.vistrails.org/usersguide/v2.1/html/spreadsheet.html