/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Evolution calendar - Commands for the calendar GUI control * * Copyright (C) 1998 The Free Software Foundation * Copyright (C) 2000 Ximian, Inc. * Copyright (C) 2000 Ximian, Inc. * * Authors: Miguel de Icaza * Federico Mena-Quintero * Seth Alves * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "shell/Evolution.h" #include "calendar-commands.h" #include "calendar-config.h" #include "gnome-cal.h" #include "goto.h" #include "print.h" #include "dialogs/cal-prefs-dialog.h" #include "itip-utils.h" #include "evolution-shell-component-utils.h" /* A list of all of the calendars started */ static GList *all_calendars = NULL; /* Focusing information for the calendar view. We have to keep track of this * ourselves because with Bonobo controls, we may get unpaired focus_out events. */ typedef struct { guint calendar_focused : 1; guint taskpad_focused : 1; } FocusData; /* Prints the calendar at its current view and time range */ static void print (GnomeCalendar *gcal, gboolean preview) { time_t start; GnomeCalendarViewType view_type; PrintView print_view; gnome_calendar_get_current_time_range (gcal, &start, NULL); view_type = gnome_calendar_get_view (gcal); switch (view_type) { case GNOME_CAL_DAY_VIEW: print_view = PRINT_VIEW_DAY; break; case GNOME_CAL_WORK_WEEK_VIEW: case GNOME_CAL_WEEK_VIEW: print_view = PRINT_VIEW_WEEK; break; case GNOME_CAL_MONTH_VIEW: print_view = PRINT_VIEW_MONTH; break; default: g_assert_not_reached (); return; } print_calendar (gcal, preview, start, print_view); } /* File/Print callback */ static void file_print_cb (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); print (gcal, FALSE); } static void file_print_preview_cb (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); print (gcal, TRUE); } /* This iterates over each calendar telling them to update their config settings. */ void update_all_config_settings (void) { GList *l; for (l = all_calendars; l; l = l->next) gnome_calendar_update_config_settings (GNOME_CALENDAR (l->data), FALSE); } /* Sets a clock cursor for the specified calendar window */ static void set_clock_cursor (GnomeCalendar *gcal) { GdkCursor *cursor; cursor = gdk_cursor_new (GDK_WATCH); gdk_window_set_cursor (GTK_WIDGET (gcal)->window, cursor); gdk_cursor_destroy (cursor); gdk_flush (); } /* Resets the normal cursor for the specified calendar window */ static void set_normal_cursor (GnomeCalendar *gcal) { gdk_window_set_cursor (GTK_WIDGET (gcal)->window, NULL); gdk_flush (); } static void previous_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); set_clock_cursor (gcal); gnome_calendar_previous (gcal); set_normal_cursor (gcal); } static void next_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); set_clock_cursor (gcal); gnome_calendar_next (gcal); set_normal_cursor (gcal); } void calendar_goto_today (GnomeCalendar *gcal) { set_clock_cursor (gcal); gnome_calendar_goto_today (gcal); set_normal_cursor (gcal); } static void today_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); calendar_goto_today (gcal); } static void goto_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); goto_dialog (gcal); } static void show_day_view_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); gnome_calendar_set_view (gcal, GNOME_CAL_DAY_VIEW, FALSE, TRUE); } static void show_work_week_view_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); gnome_calendar_set_view (gcal, GNOME_CAL_WORK_WEEK_VIEW, FALSE, TRUE); } static void show_week_view_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); gnome_calendar_set_view (gcal, GNOME_CAL_WEEK_VIEW, FALSE, TRUE); } static void show_month_view_clicked (BonoboUIComponent *uic, gpointer data, const char *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); gnome_calendar_set_view (gcal, GNOME_CAL_MONTH_VIEW, FALSE, TRUE); } static void cut_cmd (BonoboUIComponent *uic, gpointer data, const gchar *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); set_clock_cursor (gcal); gnome_calendar_cut_clipboard (gcal); set_normal_cursor (gcal); } static void copy_cmd (BonoboUIComponent *uic, gpointer data, const gchar *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); set_clock_cursor (gcal); gnome_calendar_copy_clipboard (gcal); set_normal_cursor (gcal); } static void paste_cmd (BonoboUIComponent *uic, gpointer data, const gchar *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); set_clock_cursor (gcal); gnome_calendar_paste_clipboard (gcal); set_normal_cursor (gcal); } static void delete_cmd (BonoboUIComponent *uic, gpointer data, const gchar *path) { GnomeCalendar *gcal; gcal = GNOME_CALENDAR (data); set_clock_cursor (gcal); gnome_calendar_delete_selection (gcal); set_normal_cursor (gcal); } static void publish_freebusy_cmd (BonoboUIComponent *uic, gpointer data, const gchar *path) { GnomeCalendar *gcal; CalClient *client; GList *comp_list; icaltimezone *utc; time_t start = time (NULL), end; gcal = GNOME_CALENDAR (data); utc = icaltimezone_get_utc_timezone (); start = time_day_begin_with_zone (start, utc); end = time_add_week_with_zone (start, 6, utc); client = gnome_calendar_get_cal_client (gcal); comp_list = cal_client_get_free_busy (client, NULL, start, end); if (comp_list) { GList *l; for (l = comp_list; l; l = l->next) { CalComponent *comp = CAL_COMPONENT (l->data); itip_send_comp (CAL_COMPONENT_METHOD_PUBLISH, comp, client, NULL); g_object_unref (comp); } g_list_free (comp_list); } } /* Does a queryInterface on the control's parent control frame for the ShellView interface */ static GNOME_Evolution_ShellView get_shell_view_interface (BonoboControl *control) { Bonobo_ControlFrame control_frame; GNOME_Evolution_ShellView shell_view; CORBA_Environment ev; control_frame = bonobo_control_get_control_frame (control, NULL); g_assert (control_frame != CORBA_OBJECT_NIL); CORBA_exception_init (&ev); shell_view = Bonobo_Unknown_queryInterface (control_frame, "IDL:GNOME/Evolution/ShellView:1.0", &ev); if (BONOBO_EX (&ev)) { g_message ("get_shell_view_interface(): " "Could not queryInterface() on the control frame"); shell_view = CORBA_OBJECT_NIL; goto out; } CORBA_exception_free (&ev); out: return shell_view; } /* Displays the currently displayed time range in the folder bar label on the shell view, according to which view we are showing. */ void calendar_set_folder_bar_label (GnomeCalendar *gcal, BonoboControl *control) { icaltimezone *zone; struct icaltimetype start_tt, end_tt; time_t start_time, end_time; struct tm start_tm, end_tm; char buffer[512], end_buffer[256]; GnomeCalendarViewType view; gnome_calendar_get_visible_time_range (gcal, &start_time, &end_time); zone = gnome_calendar_get_timezone (gcal); start_tt = icaltime_from_timet_with_zone (start_time, FALSE, zone); start_tm.tm_year = start_tt.year - 1900; start_tm.tm_mon = start_tt.month - 1; start_tm.tm_mday = start_tt.day; start_tm.tm_hour = start_tt.hour; start_tm.tm_min = start_tt.minute; start_tm.tm_sec = start_tt.second; start_tm.tm_isdst = -1; start_tm.tm_wday = time_day_of_week (start_tt.day, start_tt.month - 1, start_tt.year); /* Take one off end_time so we don't get an extra day. */ end_tt = icaltime_from_timet_with_zone (end_time - 1, FALSE, zone); end_tm.tm_year = end_tt.year - 1900; end_tm.tm_mon = end_tt.month - 1; end_tm.tm_mday = end_tt.day; end_tm.tm_hour = end_tt.hour; end_tm.tm_min = end_tt.minute; end_tm.tm_sec = end_tt.second; end_tm.tm_isdst = -1; end_tm.tm_wday = time_day_of_week (end_tt.day, end_tt.month - 1, end_tt.year); view = gnome_calendar_get_view (gcal); switch (view) { case GNOME_CAL_DAY_VIEW: case GNOME_CAL_WORK_WEEK_VIEW: case GNOME_CAL_WEEK_VIEW: if (start_tm.tm_year == end_tm.tm_year && start_tm.tm_mon == end_tm.tm_mon && start_tm.tm_mday == end_tm.tm_mday) { strftime (buffer, sizeof (buffer), _("%A %d %B %Y"), &start_tm); } else if (start_tm.tm_year == end_tm.tm_year) { strftime (buffer, sizeof (buffer), _("%a %d %b"), &start_tm); strftime (end_buffer, sizeof (end_buffer), _("%a %d %b %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } else { strftime (buffer, sizeof (buffer), _("%a %d %b %Y"), &start_tm); strftime (end_buffer, sizeof (end_buffer), _("%a %d %b %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } break; case GNOME_CAL_MONTH_VIEW: if (start_tm.tm_year == end_tm.tm_year) { if (start_tm.tm_mon == end_tm.tm_mon) { strftime (buffer, sizeof (buffer), "%d", &start_tm); strftime (end_buffer, sizeof (end_buffer), _("%d %B %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } else { strftime (buffer, sizeof (buffer), _("%d %B"), &start_tm); strftime (end_buffer, sizeof (end_buffer), _("%d %B %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } } else { strftime (buffer, sizeof (buffer), _("%d %B %Y"), &start_tm); strftime (end_buffer, sizeof (end_buffer), _("%d %B %Y"), &end_tm); strcat (buffer, " - "); strcat (buffer, end_buffer); } break; default: g_assert_not_reached (); } control_util_set_folder_bar_label (control, buffer); } void control_util_set_folder_bar_label (BonoboControl *control, char *label) { GNOME_Evolution_ShellView shell_view; CORBA_Environment ev; shell_view = get_shell_view_interface (control); if (shell_view == CORBA_OBJECT_NIL) return; CORBA_exception_init (&ev); GNOME_Evolution_ShellView_setFolderBarLabel (shell_view, label, &ev); if (BONOBO_EX (&ev)) g_message ("control_util_set_folder_bar_label(): Could not set the folder bar label"); CORBA_exception_free (&ev); } void control_util_show_settings (GnomeCalendar *gcal) { BonoboControl *control; GNOME_Evolution_ShellView shell_view; CORBA_Environment ev; control = g_object_get_data (G_OBJECT (gcal), "control"); if (control == NULL) return; shell_view = get_shell_view_interface (control); if (shell_view == CORBA_OBJECT_NIL) return; CORBA_exception_init (&ev); GNOME_Evolution_ShellView_showSettings (shell_view, &ev); if (BONOBO_EX (&ev)) g_message ("control_util_show_settings(): Could not show settings"); CORBA_exception_free (&ev); } /* Sensitizes the UI Component menu/toolbar calendar commands based on the * number of selected events. (This will always be 0 or 1 currently.) If enable * is FALSE, all will be disabled. Otherwise, the currently-selected number of * events will be used. */ static void sensitize_calendar_commands (GnomeCalendar *gcal, BonoboControl *control, gboolean enable) { BonoboUIComponent *uic; int n_selected; gboolean read_only; uic = bonobo_control_get_ui_component (control); g_assert (uic != NULL); n_selected = enable ? gnome_calendar_get_num_events_selected (gcal) : 0; read_only = cal_client_is_read_only (gnome_calendar_get_cal_client (gcal)); bonobo_ui_component_set_prop (uic, "/commands/Cut", "sensitive", n_selected == 0 || read_only ? "0" : "1", NULL); bonobo_ui_component_set_prop (uic, "/commands/Copy", "sensitive", n_selected == 0 ? "0" : "1", NULL); bonobo_ui_component_set_prop (uic, "/commands/Paste", "sensitive", enable && !read_only ? "1" : "0", NULL); bonobo_ui_component_set_prop (uic, "/commands/Delete", "sensitive", n_selected == 0 || read_only ? "0" : "1", NULL); } /* Sensitizes the UI Component menu/toolbar tasks commands based on the number * of selected tasks. If enable is FALSE, all will be disabled. Otherwise, the * currently-selected number of tasks will be used. */ static void sensitize_taskpad_commands (GnomeCalendar *gcal, BonoboControl *control, gboolean enable) { BonoboUIComponent *uic; int n_selected; gboolean read_only; uic = bonobo_control_get_ui_component (control); g_assert (uic != NULL); n_selected = enable ? gnome_calendar_get_num_tasks_selected (gcal) : 0; read_only = cal_client_is_read_only (gnome_calendar_get_task_pad_cal_client (gcal)); bonobo_ui_component_set_prop (uic, "/commands/Cut", "sensitive", n_selected == 0 || read_only ? "0" : "1", NULL); bonobo_ui_component_set_prop (uic, "/commands/Copy", "sensitive", n_selected == 0 ? "0" : "1", NULL); bonobo_ui_component_set_prop (uic, "/commands/Paste", "sensitive", enable && !read_only ? "1" : "0", NULL); bonobo_ui_component_set_prop (uic, "/commands/Delete", "sensitive", n_selected == 0 || read_only ? "0" : "1", NULL); } /* Callback used when the dates shown by the GnomeCalendar are changed. We want to update the dates in the folder bar. */ static void gcal_calendar_dates_change_cb (GnomeCalendar *gcal, gpointer data) { BonoboControl *control; control = BONOBO_CONTROL (data); calendar_set_folder_bar_label (gcal, control); } /* Callback used when the selection in the calendar views changes */ static void gcal_calendar_selection_changed_cb (GnomeCalendar *gcal, gpointer data) { BonoboControl *control; control = BONOBO_CONTROL (data); sensitize_calendar_commands (gcal, control, TRUE); } /* Callback used when the selection in the taskpad changes */ static void gcal_taskpad_selection_changed_cb (GnomeCalendar *gcal, gpointer data) { BonoboControl *control; control = BONOBO_CONTROL (data); sensitize_taskpad_commands (gcal, control, TRUE); } /* Callback used when the focus changes for a calendar view */ static void gcal_calendar_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) { BonoboControl *control; FocusData *focus; control = BONOBO_CONTROL (data); focus = g_object_get_data (G_OBJECT (control), "focus_data"); g_assert (focus != NULL); if (in) { g_signal_connect (gcal, "calendar_selection_changed", G_CALLBACK (gcal_calendar_selection_changed_cb), control); sensitize_calendar_commands (gcal, control, TRUE); focus->calendar_focused = TRUE; } else if (focus->calendar_focused) { gtk_signal_disconnect_by_func (GTK_OBJECT (gcal), G_CALLBACK (gcal_calendar_selection_changed_cb), control); sensitize_calendar_commands (gcal, control, FALSE); focus->calendar_focused = FALSE; } } /* Callback used when the taskpad focus changes */ static void gcal_taskpad_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) { BonoboControl *control; FocusData *focus; control = BONOBO_CONTROL (data); focus = g_object_get_data (G_OBJECT (control), "focus_data"); g_assert (focus != NULL); if (in) { g_signal_connect (gcal, "taskpad_selection_changed", G_CALLBACK (gcal_taskpad_selection_changed_cb), control); sensitize_taskpad_commands (gcal, control, TRUE); focus->taskpad_focused = TRUE; } else if (focus->taskpad_focused) { /* With Bonobo controls, we may get unpaired focus_out events. * That is why we have to keep track of this ourselves instead * of blindly assumming that we are getting this event because * the taskpad was in fact focused. */ gtk_signal_disconnect_by_func (GTK_OBJECT (gcal), G_CALLBACK (gcal_taskpad_selection_changed_cb), control); sensitize_taskpad_commands (gcal, control, FALSE); focus->taskpad_focused = FALSE; } } static BonoboUIVerb verbs [] = { BONOBO_UI_VERB ("CalendarPrint", file_print_cb), BONOBO_UI_VERB ("CalendarPrintPreview", file_print_preview_cb), BONOBO_UI_VERB ("Cut", cut_cmd), BONOBO_UI_VERB ("Copy", copy_cmd), BONOBO_UI_VERB ("Paste", paste_cmd), BONOBO_UI_VERB ("Delete", delete_cmd), BONOBO_UI_VERB ("CalendarPrev", previous_clicked), BONOBO_UI_VERB ("CalendarToday", today_clicked), BONOBO_UI_VERB ("CalendarNext", next_clicked), BONOBO_UI_VERB ("CalendarGoto", goto_clicked), BONOBO_UI_VERB ("ShowDayView", show_day_view_clicked), BONOBO_UI_VERB ("ShowWorkWeekView", show_work_week_view_clicked), BONOBO_UI_VERB ("ShowWeekView", show_week_view_clicked), BONOBO_UI_VERB ("ShowMonthView", show_month_view_clicked), BONOBO_UI_VERB ("PublishFreeBusy", publish_freebusy_cmd), BONOBO_UI_VERB_END }; static EPixmap pixmaps [] = { E_PIXMAP ("/menu/EditPlaceholder/Edit/Cut", "16_cut.png"), E_PIXMAP ("/menu/EditPlaceholder/Edit/Copy", "16_copy.png"), E_PIXMAP ("/menu/EditPlaceholder/Edit/Paste", "16_paste.png"), E_PIXMAP ("/menu/EditPlaceholder/Edit/Delete", "evolution-trash-mini.png"), E_PIXMAP ("/menu/File/Print/Print", "print.xpm"), E_PIXMAP ("/menu/File/Print/PrintPreview", "print-preview.xpm"), E_PIXMAP ("/menu/View/ViewBegin/Goto", "goto-16.png"), E_PIXMAP ("/Toolbar/Print", "buttons/print.png"), E_PIXMAP ("/Toolbar/Delete", "buttons/delete-message.png"), E_PIXMAP ("/Toolbar/Prev", "buttons/arrow-left-24.png"), E_PIXMAP ("/Toolbar/Next", "buttons/arrow-right-24.png"), E_PIXMAP ("/Toolbar/Goto", "buttons/goto-24.png"), E_PIXMAP ("/Toolbar/DayView", "buttons/dayview.xpm"), E_PIXMAP ("/Toolbar/WorkWeekView", "buttons/workweekview.xpm"), E_PIXMAP ("/Toolbar/WeekView", "buttons/weekview.xpm"), E_PIXMAP ("/Toolbar/MonthView", "buttons/monthview.xpm"), E_PIXMAP_END }; void calendar_control_activate (BonoboControl *control, GnomeCalendar *gcal) { Bonobo_UIContainer remote_uih; BonoboUIComponent *uic; FocusData *focus; uic = bonobo_control_get_ui_component (control); g_assert (uic != NULL); remote_uih = bonobo_control_get_remote_ui_container (control, NULL); bonobo_ui_component_set_container (uic, remote_uih, NULL); bonobo_object_release_unref (remote_uih, NULL); gnome_calendar_set_ui_component (gcal, uic); bonobo_ui_component_add_verb_list_with_data (uic, verbs, gcal); bonobo_ui_component_freeze (uic, NULL); bonobo_ui_util_set_ui (uic, EVOLUTION_DATADIR, "evolution-calendar.xml", "evolution-calendar", NULL); e_pixmaps_update (uic, pixmaps); gnome_calendar_setup_view_menus (gcal, uic); g_signal_connect (gcal, "dates_shown_changed", G_CALLBACK (gcal_calendar_dates_change_cb), control); g_signal_connect (gcal, "calendar_focus_change", G_CALLBACK (gcal_calendar_focus_change_cb), control); g_signal_connect (gcal, "taskpad_focus_change", G_CALLBACK (gcal_taskpad_focus_change_cb), control); sensitize_calendar_commands (gcal, control, FALSE); sensitize_taskpad_commands (gcal, control, FALSE); bonobo_ui_component_thaw (uic, NULL); /* Show the dialog for setting the timezone if the user hasn't chosen a default timezone already. This is done in the startup wizard now, so we don't do it here. */ #if 0 calendar_config_check_timezone_set (); #endif calendar_set_folder_bar_label (gcal, control); focus = g_new (FocusData, 1); focus->calendar_focused = FALSE; focus->taskpad_focused = FALSE; g_object_set_data (G_OBJECT (control), "focus_data", focus); } void calendar_control_deactivate (BonoboControl *control, GnomeCalendar *gcal) { FocusData *focus; BonoboUIComponent *uic; uic = bonobo_control_get_ui_component (control); g_assert (uic != NULL); gnome_calendar_set_ui_component (gcal, uic); focus = g_object_get_data (G_OBJECT (control), "focus_data"); g_assert (focus != NULL); g_object_set_data (G_OBJECT (control), "focus_data", NULL); g_free (focus); gnome_calendar_discard_view_menus (gcal); g_signal_handlers_disconnect_matched (gcal, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, control); bonobo_ui_component_rm (uic, "/", NULL); bonobo_ui_component_unset_container (uic, NULL); } /* Removes a calendar from our list of all calendars when it is destroyed. */ static void on_calendar_destroyed (GnomeCalendar *gcal) { all_calendars = g_list_remove (all_calendars, gcal); } GnomeCalendar * new_calendar (void) { GtkWidget *gcal; gcal = gnome_calendar_new (); if (!gcal) { gnome_warning_dialog (_("Could not create the calendar view. Please check your " "ORBit and OAF setup.")); return NULL; } g_signal_connect (gcal, "destroy", G_CALLBACK (on_calendar_destroyed), NULL); all_calendars = g_list_prepend (all_calendars, gcal); return GNOME_CALENDAR (gcal); } #n545'>545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317