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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? html_document.cpp

?? It is WEB browser core module with source code. Very good!
?? CPP
字號:
/**
 * This file is part of the DOM implementation for KDE.
 *
 * (C) 1999 Lars Knoll (knoll@kde.org)
 * Copyright (C) 2003 Apple Computer, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 */
// --------------------------------------------------------------------------

#include "html_document.h"

#include "dom/html_misc.h"
#include "xml/dom_textimpl.h"
#include "html/html_documentimpl.h"
#include "html/html_miscimpl.h"
#include "misc/htmlhashes.h"
#include "dom/html_image.h"
#include "dom/html_form.h"
#include "html/html_imageimpl.h"
#include "html/html_formimpl.h"
#include "dom/dom_exception.h"

using namespace DOM;

HTMLDocument::HTMLDocument() : Document(false) // create the impl here
{
    impl = DOMImplementationImpl::instance()->createHTMLDocument();
    impl->ref();

}

HTMLDocument::HTMLDocument(KHTMLView *parent)
    : Document(false) // create the impl here
{
    impl = DOMImplementationImpl::instance()->createHTMLDocument(parent);
    impl->ref();
}

HTMLDocument::HTMLDocument(const HTMLDocument &other) : Document(other)
{
}

HTMLDocument::HTMLDocument(HTMLDocumentImpl *impl) : Document(impl)
{
}

HTMLDocument &HTMLDocument::operator = (const Node &other)
{
    if(other.nodeType() != DOCUMENT_NODE) {
	if ( impl ) impl->deref();
	impl = 0;
    } else {
	DocumentImpl *d = static_cast<DocumentImpl *>(other.handle());
	if(!d->isHTMLDocument()) {
	    if ( impl ) impl->deref();
	impl = 0;
	} else {
	Node::operator =(other);
	}
    }
    return *this;
}

HTMLDocument &HTMLDocument::operator = (const HTMLDocument &other)
{
    Document::operator =(other);
    return *this;
}

HTMLDocument::~HTMLDocument()
{
}

DOMString HTMLDocument::title() const
{
    if(!impl) return DOMString();
    return static_cast<HTMLDocumentImpl *>(impl)->title();
}

void HTMLDocument::setTitle( const DOMString &v )
{
#if APPLE_CHANGES
    if (!impl) return;
    ((HTMLDocumentImpl *)impl)->setTitle(v);
#else
    // ###
#endif
}

DOMString HTMLDocument::referrer() const
{
    if(!impl) return DOMString();
    return ((HTMLDocumentImpl *)impl)->referrer();
}

DOMString HTMLDocument::completeURL(const DOMString& str) const
{
    if(!impl) return str;
    return ((HTMLDocumentImpl *)impl)->completeURL(str.string());
}

DOMString HTMLDocument::domain() const
{
    if(!impl) return DOMString();
    return ((HTMLDocumentImpl *)impl)->domain();
}

DOMString HTMLDocument::lastModified() const
{
    if(!impl) return DOMString();
    return ((HTMLDocumentImpl *)impl)->lastModified();
}

DOMString HTMLDocument::URL() const
{
    if(!impl) return DOMString();
    return ((HTMLDocumentImpl *)impl)->URL();
}

HTMLElement HTMLDocument::body() const
{
    if(!impl) return 0;
    return ((HTMLDocumentImpl *)impl)->body();
}

void HTMLDocument::setBody(const HTMLElement &_body)
{
    if (!impl) return;
    int exceptioncode = 0;
    ((HTMLDocumentImpl *)impl)->setBody(static_cast<HTMLElementImpl *>(_body.handle()), exceptioncode);
    if ( exceptioncode )
#if KHTML_NO_EXCEPTIONS    
        { _exceptioncode = exceptioncode; return; }
#else
        throw DOMException( exceptioncode );
#endif    
    return;
}

HTMLCollection HTMLDocument::images() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_IMAGES);
}

HTMLCollection HTMLDocument::applets() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_APPLETS);
}

HTMLCollection HTMLDocument::embeds() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_EMBEDS);
}

HTMLCollection HTMLDocument::objects() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_OBJECTS);
}

HTMLCollection HTMLDocument::links() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_LINKS);
}

HTMLCollection HTMLDocument::forms() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_FORMS);
}

HTMLCollection HTMLDocument::anchors() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_ANCHORS);
}

HTMLCollection HTMLDocument::all() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_ALL);
}

HTMLCollection HTMLDocument::nameableItems() const
{
    if(!impl) return HTMLCollection();
    return HTMLCollection(impl, HTMLCollectionImpl::DOC_NAMEABLE_ITEMS);
}

DOMString HTMLDocument::cookie() const
{
   if (!impl) return DOMString();
   return ((HTMLDocumentImpl *)impl)->cookie();
}

void HTMLDocument::setCookie( const DOMString & value )
{
   if (impl)
        ((HTMLDocumentImpl *)impl)->setCookie(value);

}

#if APPLE_CHANGES

void HTMLDocument::setPolicyBaseURL( const DOMString &s )
{
   if (impl)
        ((HTMLDocumentImpl *)impl)->setPolicyBaseURL(s);
}

#endif

void HTMLDocument::open(  )
{
    if(impl)
        ((HTMLDocumentImpl *)impl)->open(  );
}

void HTMLDocument::close(  )
{
    if(impl)
        ((HTMLDocumentImpl *)impl)->close(  );
}

void HTMLDocument::write( const DOMString &text )
{
    if(impl)
        ((HTMLDocumentImpl *)impl)->write( text );
}

void HTMLDocument::writeln( const DOMString &text )
{
    if(impl)
        ((HTMLDocumentImpl *)impl)->writeln( text );
}

NodeList HTMLDocument::getElementsByName( const DOMString &elementName )
{
    if(!impl) return 0;
    return new NameNodeListImpl(impl, elementName);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区和二区| 日韩欧美国产午夜精品| 国产精品一区二区三区乱码 | 日本欧美一区二区在线观看| 国产精品不卡在线观看| 国产性天天综合网| 国产欧美日韩一区二区三区在线观看 | 日本色综合中文字幕| 日韩精品一二三四| 日本怡春院一区二区| 美女视频黄 久久| 免费观看成人鲁鲁鲁鲁鲁视频| 美女免费视频一区二区| 国精产品一区一区三区mba视频| 久久精品国产亚洲高清剧情介绍| 奇米四色…亚洲| 国产成人在线视频网站| av一区二区三区| 色狠狠一区二区三区香蕉| 欧美亚洲禁片免费| 欧美r级在线观看| 欧美高清在线一区| 亚洲综合成人在线视频| 日本不卡视频在线观看| 国产精品一二三| 色综合久久久网| 欧美肥大bbwbbw高潮| 精品福利在线导航| 国产精品久久看| 视频一区中文字幕| 国产福利视频一区二区三区| 色综合天天综合狠狠| 91精品国产福利| 国产精品理论在线观看| 日本伊人色综合网| 成人精品免费看| 欧美日本一区二区三区| 中文字幕不卡三区| 日韩高清一区在线| 97久久精品人人澡人人爽| 日韩视频在线观看一区二区| 亚洲视频在线观看三级| 免费观看在线色综合| 91亚洲资源网| 2020日本不卡一区二区视频| 亚洲成人av一区| 99国产精品久久久久久久久久久| 91精品国产入口| 日韩码欧中文字| 国产精品亚洲一区二区三区妖精| 欧美日韩精品一区二区天天拍小说 | 黑人精品欧美一区二区蜜桃 | 无吗不卡中文字幕| 91小视频在线免费看| 精品久久久网站| 亚洲福利一二三区| 91免费视频大全| 欧美激情一区三区| 久久精品国产成人一区二区三区 | 国产日韩欧美综合一区| 日韩精品福利网| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 国产美女视频91| 欧美精品国产精品| 亚洲成人免费av| 欧美伊人久久久久久午夜久久久久| 国产精品入口麻豆原神| 国产精品1024| 久久久影院官网| 九九视频精品免费| 日韩精品一区二区三区视频在线观看| 亚洲.国产.中文慕字在线| 欧洲视频一区二区| 亚洲狠狠丁香婷婷综合久久久| 91在线视频播放| 亚洲欧美日韩国产手机在线| av在线不卡电影| 有码一区二区三区| 欧美视频一区二区| 日韩高清不卡在线| 欧美一卡在线观看| 极品销魂美女一区二区三区| 日韩欧美视频在线| 国产最新精品精品你懂的| 精品久久久久一区| 国产成人综合在线| 国产精品第五页| 日本韩国欧美一区| 婷婷综合在线观看| xvideos.蜜桃一区二区| 国产成a人亚洲| 亚洲男人的天堂av| 欧美日本国产视频| 韩国一区二区三区| 1024精品合集| 欧美日韩国产bt| 国产一区二区三区电影在线观看| 国产女同性恋一区二区| 91国偷自产一区二区开放时间| 午夜精品久久久久久久99水蜜桃| 91精品国产入口| 成人激情开心网| 亚洲第一福利视频在线| 中文字幕欧美三区| 亚洲bt欧美bt精品777| av中文字幕不卡| 亚洲午夜免费电影| 91精品麻豆日日躁夜夜躁| 激情久久五月天| 国产精品久久久久久久久快鸭| 色猫猫国产区一区二在线视频| 日韩精品久久久久久| 中文字幕不卡在线| 日韩一区二区免费在线电影| 成人亚洲精品久久久久软件| 午夜精品在线视频一区| 欧美va亚洲va| 91免费在线播放| 韩国v欧美v日本v亚洲v| 亚洲精品久久久蜜桃| 国产午夜精品理论片a级大结局 | 日韩一区二区三区四区| 成人丝袜高跟foot| 日本sm残虐另类| 亚洲精品成人悠悠色影视| 久久伊99综合婷婷久久伊| 欧美性大战久久| 波波电影院一区二区三区| 精东粉嫩av免费一区二区三区 | 日本高清不卡一区| 丰满放荡岳乱妇91ww| 久草这里只有精品视频| 亚洲美女屁股眼交3| 国产精品免费人成网站| 国产婷婷精品av在线| 制服丝袜亚洲色图| 欧美无砖专区一中文字| 91网上在线视频| 99久久久免费精品国产一区二区| 另类综合日韩欧美亚洲| 天天做天天摸天天爽国产一区| 亚洲私人影院在线观看| 中文字幕不卡一区| 国产欧美日韩卡一| 中文字幕不卡三区| 日本一区二区三区免费乱视频| 久久亚洲综合色一区二区三区 | 国产资源在线一区| 麻豆视频观看网址久久| 日韩高清在线电影| 日韩电影在线免费观看| 丝袜脚交一区二区| 日本成人中文字幕在线视频| 亚洲bdsm女犯bdsm网站| 亚洲成人av福利| 青青草一区二区三区| 美腿丝袜一区二区三区| 国产在线播精品第三| 国产精品亚洲午夜一区二区三区 | 国产一区二区在线影院| 国产精品一区二区视频| 国产不卡视频在线播放| 成人午夜激情在线| 91黄色免费版| 6080国产精品一区二区| 精品国产乱码久久久久久牛牛| 欧美成人福利视频| 国产午夜亚洲精品羞羞网站| 国产精品国产成人国产三级| 亚洲嫩草精品久久| 五月天激情综合| 国产乱一区二区| 91色九色蝌蚪| 制服丝袜亚洲网站| 国产日韩三级在线| 亚洲国产美女搞黄色| 裸体一区二区三区| 成人免费视频一区| 欧美日韩国产影片| 国产亚洲综合在线| 亚瑟在线精品视频| 国产一区二区伦理片| 色美美综合视频| 久久女同精品一区二区| 一区二区在线观看视频在线观看| 日本aⅴ精品一区二区三区| 国产成人精品亚洲午夜麻豆| 欧洲av一区二区嗯嗯嗯啊| 欧美一区二区三区影视| 国产精品麻豆一区二区| 舔着乳尖日韩一区| 99久久精品国产观看| 7878成人国产在线观看| 国产精品久久久久久久蜜臀| 日韩高清在线电影| 91女人视频在线观看| 精品国产91九色蝌蚪| 亚洲3atv精品一区二区三区| 国产成人啪免费观看软件| 欧美日韩精品久久久|