I would like to add new layers to existing 1-page PDF documents, where i can add text/rectangles/draw lines.
Each PDF document could have 3-4 layers, and I need to be able to show/hide the seperate layers. For example showing the original PDF + layer 2 and 4.
If its possible, which would be the best way to save a reference to the objects on the new layers? I want each element on the layer to be stored as a reference in a MySQL database.
Any help in the right direction is highly appreciated.