Problems registering, no confirmation email - see http://wiki.scribus.net/canvas/Forums_Registration
import scribus
def apply_transformation_matrix_to_nested_elements(group):
# Get the transformation matrix of the group
matrix = scribus.getMatrix(group)
# Get all objects within the group
group_items = scribus.getAllObjectsInGroup(group)
for item in group_items:
# Apply the transformation matrix to each object
scribus.transformObject(item, matrix)
# Now you can access and modify the properties of nested elements
if scribus.getObjectType(item) == "TextFrame":
# Modify the font size here as needed
pass
# Start traversal from the root of your document
root_items = scribus.getAllObjects()
for item in root_items:
if scribus.getObjectType(item) == "Group":
apply_transformation_matrix_to_nested_elements(item)