Changeset 73

Show
Ignore:
Timestamp:
04/16/06 09:21:47 (2 years ago)
Author:
jordi
Message:

Spell checked all source files.

Location:
trunk
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/DocumentOutline.cxx

    r61 r73  
    2121using namespace ePDFView; 
    2222 
    23 /// Forward declarations. 
     23// Forward declarations. 
    2424static void deleteChild (gpointer child, gpointer userData); 
    2525 
     
    116116/// @brief Gets the number of children for this outline. 
    117117/// 
    118 /// @return The number of children this utline has. 
     118/// @return The number of children this outline has. 
    119119/// 
    120120gint 
     
    173173/// 
    174174void 
    175 DocumentOutline::setTitle (const char *title) 
     175DocumentOutline::setTitle (const gchar *title) 
    176176{ 
    177177    g_assert (NULL != title && "Tried to set a NULL title."); 
     
    184184/// @brief Deletes an outline item's child. 
    185185/// 
    186 /// This function is called by the destructor to delete all childs in 
     186/// This function is called by the destructor to delete all children in 
    187187/// the m_Children list. 
    188188/// 
  • trunk/src/IDocument.cxx

    r65 r73  
    687687 
    688688/// 
    689 /// @brief Sets the current rotation degress. 
     689/// @brief Sets the current rotation degrees. 
    690690/// 
    691691/// @param rotation The rotation in positive degrees.  
  • trunk/src/PDFDocument.cxx

    r67 r73  
    221221/// @param outline The outline to set the nodes to. The first 
    222222///                call must be set to the root DocumentOutline. 
    223 /// @param childrenList The list of children for to set to @outline. 
     223/// @param childrenList The list of children for to set to @a outline. 
    224224///                     The first line must be a call to the getItems() 
    225225///                     function from the PDF's outline. 
  • trunk/src/gtk/MainView.cxx

    r72 r73  
    585585    } 
    586586 
    587     // Set the previous and next pages toolitems important, so they will 
     587    // Set the previous and next pages tool items important, so they will 
    588588    // be shown when the toolbar's style is GTK_TOOLBAR_BOTH_HORIZ. 
    589589    GtkWidget *prevPage = gtk_ui_manager_get_widget (m_UIManager, 
  • trunk/src/main.cxx

    r71 r73  
    3535    /// The presenter to make open the file. 
    3636    MainPter *presenter; 
    37     /// The filename to open. 
     37    /// The file name to open. 
    3838    gchar *fileName; 
    3939} OpenFileData; 
     
    5050    bind_textdomain_codeset (PACKAGE, "UTF-8"); 
    5151    textdomain (PACKAGE); 
    52     // Create the comman line options context. 
     52    // Create the command line options context. 
    5353    GOptionContext *optionContext =  
    5454        g_option_context_new (_("[FILE] - view PDF documents")); 
     
    6767    MainPter *mainPter = new MainPter (); 
    6868    // Now check if we have additional parameters. Any additional parameter 
    69     // will be a filename to open. 
     69    // will be a file name to open. 
    7070    if ( argc > 1 ) 
    7171    { 
  • trunk/tests/DocumentOutlineTest.cxx

    r60 r73  
    9898    DocumentOutline *outline = m_Document->getOutline (); 
    9999    CPPUNIT_ASSERT ( NULL != outline ); 
    100     // The root outline must be the same empy one, except it has children. 
     100    // The root outline must be the same empty one, except it has children. 
    101101    CPPUNIT_ASSERT_EQUAL (3, outline->getNumChildren ()); 
    102102    CPPUNIT_ASSERT (0 == g_ascii_strcasecmp ("", outline->getTitle ())); 
  • trunk/tests/DumbMainView.cxx

    r66 r73  
    2828{ 
    2929    m_CurrentPage = 0; 
    30     // This won't be deleted because it's presenter responsability. 
     30    // This won't be deleted because it's presenter responsibility. 
    3131    m_DocumentPage = NULL; 
    3232    m_GoToPageText = g_strdup (""); 
  • trunk/tests/MainPterTest.cxx

    r67 r73  
    3939 
    4040/// 
    41 /// @brief Cleans up adter each test. 
     41/// @brief Cleans up after each test. 
    4242/// 
    4343void 
     
    5353/// @brief Tests the initial status of the main presenter. 
    5454/// 
    55 /// Initially the presenter hasn't loeaded a document, yet, so 
     55/// Initially the presenter hasn't loaded a document, yet, so 
    5656/// the main window's title is 'PDF Viewer', the page selection  
    57 /// and zoom actions are unsensitived and the documentView has 
     57/// and zoom actions are insensitive and the documentView has 
    5858/// no image yet. Also the side bar won't be displayed, yet. 
    5959/// 
     
    322322    CPPUNIT_ASSERT (m_View->isSensitiveGoToPreviousPage ()); 
    323323    CPPUNIT_ASSERT (m_View->hasImagePageView ()); 
    324     // Going to the last will make some unsensitive. 
     324    // Going to the last will make some insensitive. 
    325325    m_MainPter->goToLastPageActivated (); 
    326326    CPPUNIT_ASSERT_EQUAL (4, m_View->getCurrentPage ());  
     
    376376/// 
    377377/// The application has a text entry that the user can use to to a  
    378 /// page just by writting the number. Any non number after the first number 
     378/// page just by writing the number. Any non number after the first number 
    379379/// character will be discarded. 
    380380/// 
     
    484484/// The DumbDocument has a fixed size of 100x250 pixels and the DumbMainView 
    485485/// has a fixed pageView of 75x50. We will make sure that getting to the max 
    486 /// ZoomIn unsensitives the ZoomIn button. The same for the ZoomOut. 
     486/// ZoomIn insensitives the ZoomIn button. The same for the ZoomOut. 
    487487/// 
    488488/// Then will test Zoom Fit and Zoom Width with two different rotations. 
  • trunk/tests/PDFDocumentTest.cxx

    r65 r73  
    307307    m_Document->goToFirstPage (); 
    308308    CPPUNIT_ASSERT_EQUAL (1, m_Document->getCurrentPageNum ()); 
    309     // Now, let's go to an specific page. If the page is beyound the 
     309    // Now, let's go to an specific page. If the page is beyond the 
    310310    // last page, then the current page will be the last. On the other 
    311311    // hand, if the page is less than the first (< 1) then the current 
     
    349349    m_Document->goToFirstPage (); 
    350350    CPPUNIT_ASSERT_EQUAL (1, m_Document->getCurrentPageNum ()); 
    351     // Now, let's go to an specific page. If the page is beyound the 
     351    // Now, let's go to an specific page. If the page is beyond the 
    352352    // last page, then the current page will be the last. On the other 
    353353    // hand, if the page is less than the first (< 1) then the current