Determine certain calculated text values

Determine certain calculated text values
 1# This example emulates impact's report text (impact.system text, database text) functionality
 2
 3ot = impact.gui.output_toolbox
 4
 5# Report the layer area (as per the impact.system Text function "Layer Area")
 6ot.add(impact.active_drawing.active_layer.report_text("LayerArea"))
 7
 8# Report the cut palette area (as per the impact.system Text function "Pal Type Area" with parameter "Cut")
 9ot.add(impact.active_drawing.active_layer.report_text("PalTypeArea(Cut)"))
10
11# Report the one-up style (as per the Database Text function "ONE_UP.STYLE")
12ot.add(impact.active_drawing.active_layer.report_text("ONE_UP.STYLE"))