williamr@4: /* williamr@4: * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: * All rights reserved. williamr@4: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@4: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: * williamr@4: * Initial Contributors: williamr@4: * Nokia Corporation - initial contribution. williamr@4: * williamr@4: * Contributors: williamr@4: * williamr@4: * Description: williamr@4: * FOR INFORMATION ONLY (CONTAINS PANIC NUMBERS, ETC.) - NOT PART OF INTERFACE williamr@4: * williamr@4: */ williamr@4: williamr@2: williamr@2: #ifndef __FRMCONST_H__ williamr@2: #define __FRMCONST_H__ williamr@2: williamr@2: #include williamr@2: williamr@2: /** williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: enum TFormPanic williamr@2: { williamr@2: /** Not used williamr@2: */ williamr@2: EFDummy = 0, williamr@2: williamr@2: // Used in ASSERT_ALWAYS williamr@2: williamr@2: // Parameter errors williamr@2: /** Document handle NULL has been passed in williamr@2: */ williamr@2: EFInvalidDocument = 200, williamr@2: /** A NULL layout handle has been passed in williamr@2: */ williamr@2: EFInvalidLayout, williamr@2: /** The character edit type was unknown or incompatible with the format changed value williamr@2: */ williamr@2: EFBadCharacterEditType, williamr@2: /** The horizontal scroll jump value has been set outside the allowable range (0,9999) williamr@2: */ williamr@2: EFInvalidJumpValue, williamr@2: williamr@2: // Document williamr@2: /** No or negative document position specified or greater than current document length williamr@2: */ williamr@2: EFInvalidDocPos = 300, williamr@2: williamr@2: // Drawing williamr@2: /** The function CTextView::SetLineCursorBitmap has not been called even though a line cursor is being used williamr@2: */ williamr@2: EFLineCursorBitmapNotSet = 400, williamr@2: williamr@2: // Pagination williamr@2: /** No document to paginate williamr@2: */ williamr@2: EFDocumentToPaginateNotSet = 500, williamr@2: /** Appending zero or negative characters per page to page list williamr@2: */ williamr@2: EFInvalidNumberCharsOnPage, williamr@2: /** Page list should not be empty at this point williamr@2: */ williamr@2: EFPageListEmpty, williamr@2: williamr@2: // Printing williamr@2: /** The array containing the number of characters per page has not been set or is defective williamr@2: */ williamr@2: EFInvalidPageList = 600, williamr@2: /** A page requested that is outside the page list given williamr@2: */ williamr@2: EFInvalidPageNumber, williamr@2: williamr@2: // Used only in ASSERT_DEBUG williamr@2: williamr@2: // Errors in internal format information williamr@2: /** Format doesn't fill band but is not to end of document williamr@2: */ williamr@2: EFNotEnoughFormat = 700, williamr@2: /** A lines says it has height zero williamr@2: */ williamr@2: EFZeroHeightLine, williamr@2: /** The selected range flag is on but the selection has zero length williamr@2: */ williamr@2: EFSelectedRangeZeroLen, williamr@2: /** The cursor is a document position that is outside the formatted range williamr@2: */ williamr@2: EFCursorNotInCurrentFormat, williamr@2: /** GetLineRect pixel that was asked for williamr@2: */ williamr@2: EFPixelNotInFormattedLine, williamr@2: /** The complete scroll should have been possible williamr@2: */ williamr@2: EFScrollCurtailed, williamr@2: williamr@2: // Logic error during format process williamr@2: /** Should not be calling HandleCharEdit when there is a selection williamr@2: */ williamr@2: EFSelectionCannotCharEdit = 800, williamr@2: /** This function should not be called when the format is out of date williamr@2: */ williamr@2: EFFormatOutOfDate, williamr@2: /** Background formatting should not be going on williamr@2: */ williamr@2: EFBackgroundFormatting, williamr@2: williamr@2: // Scrolling errors williamr@2: /** The request for a scroll returned zero as the ammount to scroll by williamr@2: */ williamr@2: EFScrollByZero1 = 900, williamr@2: /** A routine that does the scrolling is called with a value of zero or one having wrong sign williamr@2: */ williamr@2: EFScrollByZero2, williamr@2: /** Algorithmic or assumption error in the scroll routine williamr@2: */ williamr@2: EFScrollError, williamr@2: /** Error when scrolling text down williamr@2: */ williamr@2: EFScrollDownError, williamr@2: /** Error when scrolling text up williamr@2: */ williamr@2: EFScrollUpError, williamr@2: /** A scrolling routine was expecting a certain type of scroll and got a different one williamr@2: */ williamr@2: EFInvalidScrollingType, williamr@2: williamr@2: // Out of memory williamr@2: /** Cannot do this when in no memory mode williamr@2: */ williamr@2: EFNoMemory = 1000, williamr@2: /** Trying to recover from no_memory when no no_memory condition has occured williamr@2: */ williamr@2: EFRecoverNoMemory, williamr@2: williamr@2: // Cursor williamr@2: /** The cursor has been moved to a position off the screen williamr@2: */ williamr@2: EFCursorOffDisplay = 1100, williamr@2: /** Attempt to access the cursor navigation policy object when its pointer is 0 williamr@2: */ williamr@2: EFNoCursorPositionPolicy, williamr@2: /** Invalid positioning hint value supplied to API williamr@2: */ williamr@2: EFPosHintInvalid, williamr@2: /** Curosr APIs found formatting not available for position supplied. williamr@2: */ williamr@2: EFPositionNotFormatted, williamr@2: /** The document position was out of range for the current source document. williamr@2: */ williamr@2: EFPositionInvalid, williamr@2: williamr@2: // Drawing williamr@2: /** Trying to toggle the highlight on part of the screen when the selection is not visible williamr@2: */ williamr@2: EFSelectionNotVisible = 1200, williamr@2: /** Clearing bottom partial line when not needed williamr@2: */ williamr@2: EFPartialLineClearError, williamr@2: /** The routine that does the display has been passed a null pointer to a graphics context williamr@2: */ williamr@2: EFGcNotSet, williamr@2: williamr@2: //Internal Coding Errors williamr@2: /** SetViewL has put the text at the wrong vertical height williamr@2: */ williamr@2: EFViewNotPositionedCorrectly = 1300, williamr@2: /** The function call should not leave in this situation williamr@2: */ williamr@2: EFShouldNotLeave, williamr@2: /** Trying to move cursor using wrong function call williamr@2: */ williamr@2: EFIncorrectCursorMovement, williamr@2: /** Should be current picture frame williamr@2: */ williamr@2: EFNoPictureFrame, williamr@2: /** A value of a system constant has changed to a value that has broken this code williamr@2: */ williamr@2: EFSystemConstantsChanged williamr@2: }; williamr@2: williamr@4: #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS williamr@4: #include williamr@4: #include williamr@4: #endif williamr@2: williamr@2: #endif // __FRMCONST_H__