An algebra for structured office documents | Synapse