亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? olepowerpoint.pl

?? namazu. 雖然是日語的,也適用于文件中單詞索引后全文檢索.
?? PL
字號:
## -*- Perl -*-# $Id: olepowerpoint.pl,v 1.8.4.4 2002/07/24 10:44:26 baba Exp $# Copyright (C) 1999 Jun Kurabe ,#               1999 Ken-ichi Hirose All rights reserved.#     This is free software with ABSOLUTELY NO WARRANTY.##  This program 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 versions 2, or (at your option)#  any later version.##  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##  This file must be encoded in EUC-JP encoding###  Some Code copy from Win32::OLE Example program.#  Licence for these code is#    You may distribute under the terms of either the GNU General Public#    License or the Artistic License, as specified in the README(Win32::OLE) file.## Created by Jun Kurabe# E-Mail: jun-krb@mars.dti.ne.jp# V1.00 1999/10/30# V1.01 1999/11/03 Add getFrames by Jun Kurabe# V1.02 1999/11/03 Change getProperties of check TextFrame statement# V2.00 1999/11/06 Change Program Structure#                  Get Text From Grouped Shape Items# V2.10 1999/11/09 Change Name#                  Merge three program ReadMSWord.pl, ReadExcel.pl, ReadPPT.pl# V2.11 1999/11/15  separate file.#                   modify some functions.# V2.12 1999/11/27 Use Office::OLE::Const to define constant value# V2.13 2000/05/16 Optimize for Namazu filter ...# V2.14 2000/10/28 contribute patch by Yoshinori.TAKESAKO-san.# V2.20 2001/01/24 get a title from filename which has no slide title#package olepowerpoint;use strict;no strict 'refs';  # for symbolic reference: $fields;require 'util.pl';require 'gfilter.pl';sub mediatype() {    return ('application/powerpoint');}sub status() {    open (SAVEERR,">&STDERR");    open (STDERR,">nul");    my $const;    $const = Win32::OLE::Const->Load("Microsoft PowerPoint 10.0 Object Library");    $const = Win32::OLE::Const->Load("Microsoft PowerPoint 9.0 Object Library") unless $const;    $const = Win32::OLE::Const->Load("Microsoft PowerPoint 8.0 Object Library") unless $const;    open (STDERR,">&SAVEERR");    return 'yes' if (defined $const);    return 'no';}sub recursive() {    return 0;}sub pre_codeconv() {    return 0;}sub post_codeconv () {    return 1;}sub add_magic ($) {    my ($magic) = @_;    $magic->addFileExts('\\.ppt$', 'application/powerpoint');    return;}sub filter ($$$$$) {    my ($orig_cfile, $cont, $weighted_str, $headings, $fields) = @_;    my $cfile = defined $orig_cfile ? $$orig_cfile : '';    util::vprint("Processing powerpoint file ... (using  'Win32::OLE->new PowerPoint.Application')\n");    $cfile =~ s/\//\\/g;    $$cont = "";    ReadPPT::ReadPPT($cfile, $cont, $fields, $weighted_str);    $cfile = defined $orig_cfile ? $$orig_cfile : '';    gfilter::line_adjust_filter($cont);    gfilter::line_adjust_filter($weighted_str);    gfilter::white_space_adjust_filter($cont);    $fields->{'title'} = gfilter::filename_to_title($cfile, $weighted_str)	unless $fields->{'title'};    gfilter::show_filter_debug_info($cont, $weighted_str, $fields, $headings);    return undef;}# Original of this code was contributed by <jun-krb@mars.dti.ne.jp>.use Win32::OLE;use Win32::OLE::Enum;use Win32::OLE::Const;sub enum ($$$) {    my ($enum_objs, $func, $cont) = @_;    die "No Objects or No Function" unless ($enum_objs and $func );    my $e = Win32::OLE::Enum->new($enum_objs);    while((my $obj = $e->Next)) {        return 0 if (!&$func($obj, $cont));    }    return 1;}sub getProperties ($$$) {    my ($cfile, $fields, $weighted_str) = @_;    # See VBA online help using Microsoft PowerPoint in detail.    # Topic item: 'DocumentProperty Object'.    my $title = $cfile->BuiltInDocumentProperties('Title')->{Value};    $title = $cfile->BuiltInDocumentProperties('Subject')->{Value}	unless (defined $title);    undef $title if $title eq # which has no slide title	"\xbd\xd7\xb2\xc4\xde\x20\xc0\xb2\xc4\xd9\x82\xc8\x82\xb5";    $fields->{'title'} = codeconv::shiftjis_to_eucjp($title)	if (defined $title);    my $weight = $conf::Weight{'html'}->{'title'};    $$weighted_str .= "\x7f$weight\x7f$fields->{'title'}\x7f/$weight\x7f\n";    my $author = $cfile->BuiltInDocumentProperties('Author')->{Value};    $author = $cfile->BuiltInDocumentProperties('Last Author')->{Value}	unless (defined $author);    $fields->{'author'} = codeconv::shiftjis_to_eucjp($author)	if (defined $author);#    my $date = $cfile->BuiltInDocumentProperties('Last Save Time')->{Value};#    $date = $cfile->BuiltInDocumentProperties('Creation Date')->{Value}#	unless (defined $date);#    $fields->{'date'} = codeconv::shiftjis_to_eucjp($date) if (defined $date);    my $keyword = $cfile->BuiltInDocumentProperties('keywords')->{Value};    $keyword = codeconv::shiftjis_to_eucjp($keyword);    $weight = $conf::Weight{'metakey'};    $$weighted_str .= "\x7f$weight\x7f$keyword\x7f/$weight\x7f\n";    return undef;}package ReadPPT;my $office_consts = undef;sub ReadPPT ($$$$) {    my ($cfile, $cont, $fields, $weighted_str) = @_;    # Copy From Win32::OLE Example Program    # use existing instance if PowerPoint is already running    my $ppt;    eval {$ppt = Win32::OLE->GetActiveObject('PowerPoint.Application')};    die "PowerPoint not installed" if $@;    unless (defined $ppt) {	$ppt = Win32::OLE->new('PowerPoint.Application', sub {$_[0]->Quit;})	    or die "Oops, cannot start PowerPoint";    }    #End of Copy From Win32::OLE Example Program    # Redirect stderr to null device, to ignore Error and Exception message.    open (SAVEERR,">&STDERR");    open (STDERR,">nul");    # Load Office 97/98/2000/XP Constant    $office_consts = Win32::OLE::Const->Load("Microsoft Office 10.0 Object Library");    $office_consts = Win32::OLE::Const->Load("Microsoft Office 9.0 Object Library") unless $office_consts;    $office_consts = Win32::OLE::Const->Load("Microsoft Office 8.0 Object Library") unless $office_consts;    # 'Visible = false' causes exception but noharm, so we ignore... X-(    $ppt->{Visible} = 0;    # Restore stderr device usually.    open (STDERR,">&SAVEERR");    my $prs = $ppt->{Presentations}->Open({	'FileName' => $cfile,	'ReadOnly' => 1,	'WithWindow' => 0,	});    die "Cannot open File $cfile" unless (defined $prs);    olepowerpoint::getProperties($prs, $fields, $weighted_str);    getSlides($prs, $cont);    $prs->close();    undef $prs;    undef $ppt;    return undef;}sub getSlides ($$) {    my ($prs, $cont) = @_;    my $enum_a_slide = sub {	my $slide = shift;	my $enum_a_headerfooter = sub {	    my $obj = shift;	    $$cont .= $obj->Header->{Text} if ( $obj->{Header} && $obj->Header->{Text} ) ;	    $$cont .= $obj->Footer->{Text} if ( $obj->{Footer} && $obj->Footer->{Text} ) ;	    return 1;	};	sub enum_a_shape ($$) {	    my ($shape, $cont) = @_;	    # Get text whaen TextFrame in Shapes and Text in TextFrame	    if ($shape->{HasTextFrame} && $shape->TextFrame->TextRange) {		my $p = $shape->TextFrame->TextRange->{Text};		$$cont .= "$p\n" if (defined $p);	    } elsif ( $shape->{Type} == $office_consts->{msoGroup} ) {	    olepowerpoint::enum($shape->GroupItems, \&enum_a_shape, $cont);	    }	    return 1;	};        olepowerpoint::enum($slide->Shapes, \&enum_a_shape, $cont);#        &$enum_a_headerfooter($slide->HeadersFooters);        return 1;    };    olepowerpoint::enum($prs->Slides, $enum_a_slide, $cont);    return undef;}#main#use Cwd;#$ARGV[0] = cwd().'\\'.$ARGV[0] unless ($ARGV[0] =~ m/^[a-zA-Z]\:[\\\/]/ || $ARGV[0] =~ m/^\/\//);#$ARGV[0] =~ s|/|\\|g;#my $$cont = "";#ReadPPT::ReadPPT("$ARGV[0]", $cont, "", "");#(my $base = $ARGV[0]) =~ s/\.ppt$//;#open(F, "> $base.txt") || die;#print F $$cont;#close(F);1;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看91视频| 亚洲欧美在线高清| 石原莉奈在线亚洲二区| 91精彩视频在线| 国产精品天干天干在线综合| 精品一区二区免费视频| 日韩欧美一区二区视频| 国产精品视频麻豆| 国产成人在线电影| 国产女主播在线一区二区| 精品中文字幕一区二区| 精品久久99ma| 国产一区999| 精品国产乱码久久| 国产精品一区在线观看乱码 | 国产精品一区二区久激情瑜伽| 日韩一级大片在线| 久久国产精品99精品国产| 欧美成人video| 久久成人18免费观看| 亚洲精品在线免费观看视频| 国内精品视频666| 国产欧美日韩视频在线观看| 日韩电影网1区2区| 日韩精品专区在线影院观看| 精品一二三四区| 久久午夜老司机| 成人午夜电影久久影院| 18成人在线观看| 欧美性生活影院| 国产调教视频一区| 国产一区二区久久| 1000部国产精品成人观看| 91福利在线观看| 亚洲精品五月天| 欧美一区二区网站| 国产mv日韩mv欧美| 亚洲精品欧美二区三区中文字幕| 欧美日韩国产高清一区| 蜜桃一区二区三区在线观看| 中文在线一区二区| 色婷婷狠狠综合| 麻豆精品在线播放| 中文字幕在线一区免费| 欧美肥妇毛茸茸| 国产成人av电影| 亚洲高清视频在线| 久久久亚洲精品一区二区三区 | 亚洲精品免费电影| 6080日韩午夜伦伦午夜伦| 国产经典欧美精品| 亚洲一区精品在线| 久久久蜜桃精品| 欧美性猛交xxxxxxxx| 久久激情五月婷婷| 亚洲欧美经典视频| 久久综合色之久久综合| 91福利社在线观看| 国产盗摄视频一区二区三区| 亚洲二区视频在线| 欧美激情资源网| 制服丝袜亚洲色图| 色婷婷av一区二区三区软件| 国产一区二区三区最好精华液| 亚洲一区二区成人在线观看| 国产欧美中文在线| 欧美精品1区2区| 91免费看片在线观看| 国产一区二区三区免费看| 无码av免费一区二区三区试看| 国产精品九色蝌蚪自拍| 久久亚洲一区二区三区明星换脸| 欧美日韩高清一区二区三区| 亚洲国产一区二区a毛片| 国产亚洲精品中文字幕| 欧美日本国产视频| 97se亚洲国产综合自在线不卡| 免费观看一级特黄欧美大片| 一区二区视频在线看| 欧美韩国日本综合| 久久影院电视剧免费观看| 欧美色综合网站| 成人免费福利片| 婷婷中文字幕一区三区| 亚洲午夜激情av| 亚洲精品午夜久久久| 中文字幕色av一区二区三区| 国产日韩欧美亚洲| 欧美大片日本大片免费观看| 69p69国产精品| 欧美一二三区精品| 91精品国模一区二区三区| 制服丝袜中文字幕一区| 欧美肥大bbwbbw高潮| 在线视频中文字幕一区二区| 91在线免费看| 色综合久久88色综合天天| 91色在线porny| 99精品久久久久久| 91精品1区2区| 国产99久久久国产精品潘金| 国产成a人亚洲| 成人深夜在线观看| 97国产精品videossex| 色综合久久综合网| 色婷婷综合久久久久中文一区二区 | 国产凹凸在线观看一区二区| 国内精品免费**视频| 国产乱妇无码大片在线观看| 亚洲影视资源网| 亚洲sss视频在线视频| 日韩电影免费在线看| 加勒比av一区二区| 国产成人高清在线| 91美女在线看| 在线视频一区二区免费| 国产精品久久久久一区二区三区 | 国产亚洲欧美日韩日本| 欧美精品第1页| 精品嫩草影院久久| 中文字幕一区二区三| 日本vs亚洲vs韩国一区三区 | 日本免费在线视频不卡一不卡二| 国产精品一级在线| 欧美午夜一区二区| 久久精品人人做人人爽人人| 一区二区三区在线观看国产 | 国产一区二区三区高清播放| 91浏览器打开| 精品久久久久久久人人人人传媒 | 日本不卡一区二区| www.亚洲在线| 精品久久一二三区| 亚洲综合区在线| 国产v日产∨综合v精品视频| 欧美美女网站色| 亚洲欧美一区二区三区极速播放| 美女视频网站久久| 色老头久久综合| 国产精品美女久久久久aⅴ国产馆| 日本麻豆一区二区三区视频| 一本色道久久加勒比精品| 精品国产成人系列| 午夜激情久久久| jiyouzz国产精品久久| 久久先锋资源网| 美美哒免费高清在线观看视频一区二区| 91免费在线看| 欧美极品xxx| 国产一区视频网站| 日韩欧美不卡一区| 日本va欧美va欧美va精品| 欧美日韩精品一区二区天天拍小说| 国产精品电影一区二区三区| 国产风韵犹存在线视精品| 欧美一区二区三区免费视频| 亚洲一级二级在线| 91丨九色porny丨蝌蚪| 国产精品人人做人人爽人人添| 亚洲人一二三区| 成人午夜视频免费看| 国产视频在线观看一区二区三区| 国产一区二区三区久久久| 精品国产一区二区三区四区四| 日本一道高清亚洲日美韩| 91超碰这里只有精品国产| 亚洲国产精品精华液网站| 欧美日韩另类国产亚洲欧美一级| 亚洲精品成人悠悠色影视| 欧美最猛性xxxxx直播| 亚洲影视在线观看| 欧美日韩在线一区二区| 亚洲国产美国国产综合一区二区| 欧洲一区在线电影| 亚洲成人在线免费| 日韩一区二区三区三四区视频在线观看 | 中文字幕一区二区三区四区| 成人免费看视频| 国产精品三级电影| 91国产丝袜在线播放| 亚洲成av人片在www色猫咪| 欧美日韩国产乱码电影| 美女爽到高潮91| 国产丝袜美腿一区二区三区| 亚洲不卡一区二区三区| 午夜精品成人在线视频| 欧美日韩国产综合一区二区 | 日本欧美一区二区三区乱码| 日韩精品一区二区三区四区视频 | 国产成人亚洲综合a∨婷婷| 国产无一区二区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 国产拍欧美日韩视频二区| 成人av在线一区二区三区| 亚洲人成精品久久久久久| 欧美日韩成人一区| 国内精品免费**视频| 亚洲人成精品久久久久久| 91精品欧美久久久久久动漫 | 免费在线视频一区|