From 5a26675cdc8f6f93162d6753f03508a57ff3112f Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 22 Nov 2010 19:41:01 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Bundle=20Editor=20-=20added=20output=20acti?= =?UTF-8?q?on=20"Show=20as=20HTML"=20=E2=80=A2=20Bundle=20HTML=20output=20?= =?UTF-8?q?-=20finished=20implementation=20-=20added=20print=20support=20(?= =?UTF-8?q?eg=20for=20printing=20reports)=20-=20added=20text=20size=20resi?= =?UTF-8?q?zing=20-=20added=20link=20support=20-=20added=20new=20window=20?= =?UTF-8?q?support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPCopyTable.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/SPCopyTable.m') diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m index 1bfc2277..77dd14f6 100644 --- a/Source/SPCopyTable.m +++ b/Source/SPCopyTable.m @@ -33,6 +33,7 @@ #import "SPTextAndLinkCell.h" #import "SPTooltip.h" #import "SPAlertSheets.h" +#import "SPBundleHTMLOutputController.h" NSInteger MENU_EDIT_COPY = 2001; NSInteger MENU_EDIT_COPY_WITH_COLUMN = 2002; @@ -909,6 +910,11 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003; else if([action isEqualToString:SPBundleOutputActionShowAsHTMLTooltip]) { [SPTooltip showWithObject:output atLocation:pos ofType:@"html"]; } + + else if([action isEqualToString:SPBundleOutputActionShowAsHTML]) { + SPBundleHTMLOutputController *c = [[SPBundleHTMLOutputController alloc] init]; + [c displayHTMLContent:output withOptions:nil]; + } } } else { NSString *errorMessage = [err localizedDescription]; -- cgit v1.2.3