# Saving The [SaveOptions](https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options.export/saveoptions/) class provides the following properties to customize the saving process: * **AnnotationTypes** defines annotation types to be saved into output document; * **FirstPage** defines the first page number to save specific page range; * **LastPage** defines the last page number to save specific page range; * **OnlyAnnotatedOptions** indicates whether to save only annotated pages or not. For details, see the following pages: ## Contents - [Filtering annotations by type on saving document](https://docs.groupdocs.com/annotation/java/filtering-annotation-types.md) - [Save only annotated pages](https://docs.groupdocs.com/annotation/java/save-only-annotated-pages.md) - [Save specific page range](https://docs.groupdocs.com/annotation/java/save-specific-page-range.md)