#NEWLINE# def Save( self ) : #NEWLINE# #INDENT# self . document . updateActivePage ( ) #NEWLINE# masters = self . document . getMasterLayers ( ) #NEWLINE# count = 0 #NEWLINE# pagenum = len ( self . document . pages ) #NEWLINE# interval = int ( ( 97 / pagenum ) ) #NEWLINE# for page in self . document . pages : #NEWLINE# #INDENT# count += 1 #NEWLINE# app . updateInfo ( inf2 = ( _ ( 'Composing page %u of %u' ) % ( count , pagenum ) ) , inf3 = ( count * interval ) ) #NEWLINE# layers = ( page + masters ) #NEWLINE# for layer in layers : #NEWLINE# #INDENT# if ( ( not layer . is_SpecialLayer ) and layer . Printable ( ) ) : #NEWLINE# #INDENT# self . save_objects ( layer . GetObjects ( ) )