DocumentCleanupTextLocalization

data class DocumentCleanupTextLocalization(var documentCleanupTopBarConfirmButtonTitle: String = "Done", var documentCleanupTopBarCancelButtonTitle: String = "Cancel", var documentCleanupUndoButtonTitle: String = "Undo", var documentCleanupRedoButtonTitle: String = "Redo", var documentCleanupResetButtonTitle: String = "Reset", var documentCleanupStrokeSizeCaption: String = "Stroke size", var documentCleanupScreenTitle: String = "Cleanup", var documentCleanupIntroductionTitle: String = "Clean your document", var documentCleanupIntroductionCloseButton: String = "Got it", var documentCleanupIntroductionDrawTitle: String = "Draw to Erase", var documentCleanupIntroductionDrawContent: String = "Draw over highlights, stains, or scribbles to remove them.", var documentCleanupIntroductionPinchTitle: String = "Pinch to Zoom", var documentCleanupIntroductionPinchContent: String = "Zoom in for better control over small details.", var documentCleanupIntroductionMoveTitle: String = "Move the page", var documentCleanupIntroductionMoveContent: String = "Drag with two fingers to inspect other areas.", var documentCleanupResetAllEditsAlertTitle: String = "Reset all cleanup edits?", var documentCleanupResetAllEditsAlertSubtitle: String = "All cleanup edits made in this session will be permanently removed.", var documentCleanupResetAllEditsAlertResetButtonTitle: String = "Yes, Reset", var documentCleanupResetAllEditsAlertCancelButtonTitle: String = "Cancel", var documentCleanupDiscardChangesAlertTitle: String = "Discard changes and cancel?", var documentCleanupDiscardChangesAlertSubtitle: String = "Your unsaved cleanup edits will be lost.", var documentCleanupDiscardChangesAlertConfirmButtonTitle: String = "Yes, Cancel", var documentCleanupDiscardChangesAlertCancelButtonTitle: String = "No", var documentCleanupAreaTooLargeAlertTitle: String = "Area too large to clean up", var documentCleanupAreaTooLargeAlertSubtitle: String = "This stroke covers too much of the image to process. Reduce your stroke size and try again.", var documentCleanupAreaTooLargeAlertButtonTitle: String = "Got it", var accessibilityDescriptionDocumentCleanupTopBarConfirmButton: String = "Tap to apply changes", var accessibilityDescriptionDocumentCleanupTopBarCancelButton: String = "Tap to close screen without applying changes", var accessibilityDescriptionDocumentCleanupUndoButton: String = "Tap to undo the latest cleanup stroke", var accessibilityDescriptionDocumentCleanupRedoButton: String = "Tap to restore the latest reverted cleanup stroke", var accessibilityDescriptionDocumentCleanupResetButton: String = "Tap to reset the cleanup strokes and start over", var accessibilityDescriptionDocumentCleanupIncreaseStrokeSizeButton: String = "Tap to increase the stroke size", var accessibilityDescriptionDocumentCleanupDecreaseStrokeSizeButton: String = "Tap to decrease the stroke size", var accessibilityDescriptionDocumentCleanupIntroductionCloseButton: String = "Tap to close introduction screen", var accessibilityDescriptionDocumentCleanupResetAllEditsAlertResetButton: String = "Tap to reset all cleanup edits", var accessibilityDescriptionDocumentCleanupResetAllEditsAlertCancelButton: String = "Tap to cancel reset", var accessibilityDescriptionDocumentCleanupDiscardChangesAlertConfirmButton: String = "Tap to discard changes and cancel", var accessibilityDescriptionDocumentCleanupDiscardChangesAlertCancelButton: String = "Tap to keep editing", var accessibilityDescriptionDocumentCleanupAreaTooLargeAlertButton: String = "Tap to dismiss") : Parcelable

Configuration of all the strings for the standalone clean up screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(documentCleanupTopBarConfirmButtonTitle: String = "Done", documentCleanupTopBarCancelButtonTitle: String = "Cancel", documentCleanupUndoButtonTitle: String = "Undo", documentCleanupRedoButtonTitle: String = "Redo", documentCleanupResetButtonTitle: String = "Reset", documentCleanupStrokeSizeCaption: String = "Stroke size", documentCleanupScreenTitle: String = "Cleanup", documentCleanupIntroductionTitle: String = "Clean your document", documentCleanupIntroductionCloseButton: String = "Got it", documentCleanupIntroductionDrawTitle: String = "Draw to Erase", documentCleanupIntroductionDrawContent: String = "Draw over highlights, stains, or scribbles to remove them.", documentCleanupIntroductionPinchTitle: String = "Pinch to Zoom", documentCleanupIntroductionPinchContent: String = "Zoom in for better control over small details.", documentCleanupIntroductionMoveTitle: String = "Move the page", documentCleanupIntroductionMoveContent: String = "Drag with two fingers to inspect other areas.", documentCleanupResetAllEditsAlertTitle: String = "Reset all cleanup edits?", documentCleanupResetAllEditsAlertSubtitle: String = "All cleanup edits made in this session will be permanently removed.", documentCleanupResetAllEditsAlertResetButtonTitle: String = "Yes, Reset", documentCleanupResetAllEditsAlertCancelButtonTitle: String = "Cancel", documentCleanupDiscardChangesAlertTitle: String = "Discard changes and cancel?", documentCleanupDiscardChangesAlertSubtitle: String = "Your unsaved cleanup edits will be lost.", documentCleanupDiscardChangesAlertConfirmButtonTitle: String = "Yes, Cancel", documentCleanupDiscardChangesAlertCancelButtonTitle: String = "No", documentCleanupAreaTooLargeAlertTitle: String = "Area too large to clean up", documentCleanupAreaTooLargeAlertSubtitle: String = "This stroke covers too much of the image to process. Reduce your stroke size and try again.", documentCleanupAreaTooLargeAlertButtonTitle: String = "Got it", accessibilityDescriptionDocumentCleanupTopBarConfirmButton: String = "Tap to apply changes", accessibilityDescriptionDocumentCleanupTopBarCancelButton: String = "Tap to close screen without applying changes", accessibilityDescriptionDocumentCleanupUndoButton: String = "Tap to undo the latest cleanup stroke", accessibilityDescriptionDocumentCleanupRedoButton: String = "Tap to restore the latest reverted cleanup stroke", accessibilityDescriptionDocumentCleanupResetButton: String = "Tap to reset the cleanup strokes and start over", accessibilityDescriptionDocumentCleanupIncreaseStrokeSizeButton: String = "Tap to increase the stroke size", accessibilityDescriptionDocumentCleanupDecreaseStrokeSizeButton: String = "Tap to decrease the stroke size", accessibilityDescriptionDocumentCleanupIntroductionCloseButton: String = "Tap to close introduction screen", accessibilityDescriptionDocumentCleanupResetAllEditsAlertResetButton: String = "Tap to reset all cleanup edits", accessibilityDescriptionDocumentCleanupResetAllEditsAlertCancelButton: String = "Tap to cancel reset", accessibilityDescriptionDocumentCleanupDiscardChangesAlertConfirmButton: String = "Tap to discard changes and cancel", accessibilityDescriptionDocumentCleanupDiscardChangesAlertCancelButton: String = "Tap to keep editing", accessibilityDescriptionDocumentCleanupAreaTooLargeAlertButton: String = "Tap to dismiss")

Types

Link copied to clipboard
object Companion

Properties

The accessibility hint for the button of the alert dialog displayed when the erased stroke area is too large to process, for the clean up screen.

The accessibility hint for the button that decreases the stroke size, located next to the stroke-size slider.

The accessibility hint for the 'cancel' button of the discard changes alert dialog for the clean up screen.

The accessibility hint for the 'confirm' button of the discard changes alert dialog for the clean up screen.

The accessibility hint for the button that increases the stroke size, located next to the stroke-size slider.

The accessibility hint for the 'close' button on the introduction screen of the clean up screen.

The accessibility hint for the 'redo' button, located in the toolbar of the clean up screen.

The accessibility hint for the 'cancel' button of the reset all edits alert dialog for the clean up screen.

The accessibility hint for the 'reset' button of the reset all edits alert dialog for the clean up screen.

The accessibility hint for the 'reset' button, located in the toolbar of the clean up screen.

The accessibility hint for the 'cancel' button, located in the top bar of the clean up screen.

The accessibility hint for the 'confirm' button, located in the top bar of the clean up screen.

The accessibility hint for the 'undo' button, located in the toolbar of the clean up screen.

The button title of the alert dialog displayed when the erased stroke area is too large to process, for the clean up screen.

Link copied to clipboard

The subtitle of the alert dialog displayed when the erased stroke area is too large to process, for the clean up screen.

Link copied to clipboard

The title of the alert dialog displayed when the erased stroke area is too large to process, for the clean up screen.

The 'cancel' button title of the discard changes alert dialog for the clean up screen.

The 'confirm' button title of the discard changes alert dialog for the clean up screen.

The subtitle of the discard changes alert dialog for the clean up screen.

Link copied to clipboard

The title of the discard changes alert dialog for the clean up screen.

Link copied to clipboard

The title of the close button on the introduction screen for the clean up screen.

Link copied to clipboard

The content of the 'draw to erase' instruction item on the introduction screen for the clean up screen.

Link copied to clipboard

The title of the 'draw to erase' instruction item on the introduction screen for the clean up screen.

Link copied to clipboard

The content of the 'move the page' instruction item on the introduction screen for the clean up screen.

Link copied to clipboard

The title of the 'move the page' instruction item on the introduction screen for the clean up screen.

Link copied to clipboard

The content of the 'pinch to zoom' instruction item on the introduction screen for the clean up screen.

Link copied to clipboard

The title of the 'pinch to zoom' instruction item on the introduction screen for the clean up screen.

Link copied to clipboard

The title of the introduction screen for the clean up screen.

Link copied to clipboard

The 'redo' button title, located in the toolbar of the clean up screen.

The 'cancel' button title of the reset all edits alert dialog for the clean up screen.

The 'reset' button title of the reset all edits alert dialog for the clean up screen.

The subtitle of the reset all edits alert dialog for the clean up screen.

Link copied to clipboard

The title of the reset all edits alert dialog for the clean up screen.

Link copied to clipboard

The 'reset' button title, located in the toolbar of the clean up screen.

Link copied to clipboard

The title of the clean up screen, located in the top bar.

Link copied to clipboard

The caption displayed above the stroke-size slider of the clean up screen.

Link copied to clipboard

The 'cancel' button title, located in the top bar of the clean up screen.

Link copied to clipboard

The 'confirm' button title, located in the top bar of the clean up screen.

Link copied to clipboard

The 'undo' button title, located in the toolbar of the clean up screen.

Functions

Link copied to clipboard
Link copied to clipboard

Uses reflection to access all String fields of class and write field name and its value as a key-value pair into a map.

Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject