Creation of the first version of the printing interface

This commit is contained in:
Alexandre Cloutier committed 2014-04-14 10:32:08 -04:00
1 parent cb5e6e7ef2
commit 8f6b0f80a7
9 files changed
+387 -104

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ SchedulerUI_OBJC_FILES = \
UIxCalFolderActions.m \
\
UIxCalView.m \
UIxCalViewPrint.m \
UIxCalDayView.m \
UIxCalMulticolumnDayView.m \
UIxCalWeekView.m \
@@ -38,7 +38,7 @@
image = "month-view.png";
tooltip = "Switch to month view"; } ),
( { link = "#";
onclick = "";
onclick = "return printView();";
cssClass = "tbicon_print single-window-not-conditional";
image = "tb-mail-print-flat-24x24.png";
label = "Print View";
+31
View File
@@ -0,0 +1,31 @@
/* UIxCalView.h - this file is part of SOGo
*
* Copyright (C) 2006-2009 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file 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; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <SOGoUI/UIxComponent.h>
@interface UIxCalViewPrint : UIxComponent
{
}
@end
+31
View File
@@ -0,0 +1,31 @@
/* UIxCalView.m - this file is part of SOGo
*
* Copyright (C) 2006-2009 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file 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; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSString.h>
#import "UIxCalViewPrint.h"
@implementation UIxCalViewPrint
{
}
@end
+5
View File
@@ -40,6 +40,11 @@
protectedBy = "View";
pageName = "UIxCalMainView";
};
printView = {
protectedBy = "<public>";
pageName = "UIxCalViewPrint";
actionClass = "UIxCalViewPrint";
};
addWebCalendar = {
protectedBy = "View";
actionClass = "UIxCalMainActions";