src/Generic/driver/DocumentDriver.cpp
//Save the sentence breaks for all sentences in a document at for each active state saver
//Note: The sentence breaks are their own 'state-tree' that occurs before the sentence
//beams of each sentence level state or the entire document for document level states

Save the sentence breaks for all sentences in a document at for each active state saver
Note: The sentence breaks are their own 'state-tree' that occurs before the sentence
beams of each sentence level state or the entire document for document level states
Save the sentence breaks for all sentences in a document at for each active state saver Note : The sentence breaks are their own ' state - tree ' that occurs before the sentence beams of each sentence level state or the entire document for document level states
void DocumentDriver::saveSentenceBreakState(DocTheory *docTheory){
	Stage startStage = _sessionProgram->getStartStage();
	Stage endStage = _sessionProgram->getEndStage();
	for(Stage stage = startStage; stage < endStage.getNextStage(); ++stage){
		StateSaver *stateSaver = _sentenceDriver->getStageStateSaver(stage);
		if (stateSaver != 0) {
			docTheory->saveSentenceBreaksToStateFile(stateSaver);
		}
	}
}
void DocumentDriver :: saveSentenceBreakState ( DocTheory * docTheory ) { Stage startStage = _sessionProgram -> getStartStage ( ) ; Stage endStage = _sessionProgram -> getEndStage ( ) ; for ( Stage stage = startStage ; stage < endStage . getNextStage ( ) ; ++ stage ) { StateSaver * stateSaver = _sentenceDriver -> getStageStateSaver ( stage ) ; if ( stateSaver != 0 ) { docTheory -> saveSentenceBreaksToStateFile ( stateSaver ) ; } } }
Save the sentence breaks for all sentences in a document at for each active state saver
Note: The sentence breaks are their own 'state-tree' that occurs before the sentence
beams of each sentence level state or the entire document for document level states
Save the sentence breaks for all sentences in a document at for each active state saver Note : The sentence breaks are their own ' state - tree ' that occurs before the sentence beams of each sentence level state or the entire document for document level states