define DocumentComponent