Hi Evan,
Transformation as they are implemented right now are more of a graphical
transformation that is applied to the document preview (rotation, zoom),
the original document is never modified, this is to comply with policies
and requirements. Proper reordering support would be a two tier system,
one for the GUI (the graphical representation of the document) and another
sub system that reorders the pages of the physical document file (by adding
support for specific file types) if the user so wishes to do and creates a
new reordered document version.
Adding the first part (reordering to the GUI) would not be too hard, the
part of the code that returns the page objects for a specific document
version in located in:
app/documents/models.py DocumentVersion model:
@property
def pages(self):
return self.documentpage_set <------
A view for moving around the pages would need to be created and the
corresponding ordering code added to the line shown above.
The next release got delayed again and I won't be able to work on the code
for another week or two, but this together with bulk adding and removing
from folders are looking like good candidates for last minute inclusion.
--Roberto
On Tuesday, November 6, 2012 12:48:55 PM UTC-4, Evan Davey wrote:
>
> Hi
>
> I commonly scan odd then even pages and would like a transformation to
> automatically reorder (eg: 1,3,5,2,4,6 becomes 1,2,3,4,5,6). Does this
> exist and, if not, how would I go about building it? I had a look through
> the source but couldn't find an obvious spot.
>
> Cheers
> Evan
>
--