翻譯|使用教程|編輯:龔雪|2020-12-29 10:36:25.273|閱讀 329 次
概述:BCGControlBar庫擁有500多個經(jīng)過全面設(shè)計、測試和充分記錄的MFC擴(kuò)展類,本文介紹Outline解析器的XML格式。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
相關(guān)鏈接:
BCGControlBar ("Business Components Gallery ControlBar")是MFC擴(kuò)展庫,使您可以創(chuàng)建具有完全自定義選項(功能區(qū)、可自定義工具欄、菜單等)以及一組專業(yè)設(shè)計的豐富Microsoft Office和Microsoft Visual Studio的應(yīng)用程序 GUI控件,例如圖表、日歷、網(wǎng)格、編輯器、甘特圖和許多其他控件。 BCGControlBar庫擁有500多個經(jīng)過全面設(shè)計、測試和充分記錄的MFC擴(kuò)展類。 我們的組件可以輕松地集成到您的應(yīng)用程序中,并為您節(jié)省數(shù)百個開發(fā)和調(diào)試時間。
本文介紹了與一起使用的XML文件格式以及編輯控件的自動概述功能,通過調(diào)用來調(diào)用XML解析器。
用于 outline解析器的結(jié)構(gòu)如下:
<SETTINGS> <OUTLINE_DATA> <IgnoreOneLineBlocks></IgnoreOneLineBlocks> <EscapeSequences> <EscapeSequence></EscapeSequence> </EscapeSequences> <BLOCKS> <BLOCK> <Start></Start> <End></End> <ReplaceString></ReplaceString> <AllowNestedBlocks></AllowNestedBlocks> <Ignore></Ignore> </BLOCK> </BLOCKS> </OUTLINE_DATA> </SETTINGS>
除了主要的“ SETTINGS”標(biāo)簽外,沒有其他強(qiáng)制性標(biāo)簽。
"OUTLINE_DATA"標(biāo)記定義常規(guī)outline解析器設(shè)置。
C ++的默認(rèn)XML設(shè)置:
<SETTINGS> <OUTLINE_DATA> <IgnoreOneLineBlocks>True</IgnoreOneLineBlocks> <IncludeSpaceLines>True</IncludeSpaceLines> <EscapeSequences> <EscapeSequence>\\\"</EscapeSequence> </EscapeSequences> <BLOCKS> <BLOCK> <Start>\\\"</Start> <End></End> <ReplaceString></ReplaceString> <AllowNestedBlocks>False</AllowNestedBlocks> <Ignore>True</Ignore> </BLOCK> <BLOCK> <Start>\"</Start> <End>\"</End> <ReplaceString>\"\"</ReplaceString> <AllowNestedBlocks>False</AllowNestedBlocks> <Ignore>True</Ignore> </BLOCK> <BLOCK> <Start>{</Start> <End>}</End> <ReplaceString>..</ReplaceString> <KEYWORDS> <Keyword>else</Keyword> <Keyword>struct</Keyword> <Keyword>enum</Keyword> <Keyword>switch</Keyword> <Keyword>catch</Keyword> <Keyword>try</Keyword> <Keyword>for</Keyword> <Keyword>operator</Keyword> <Keyword>class</Keyword> <Keyword>if</Keyword> <Keyword>union</Keyword> <Keyword>do</Keyword> <Keyword>while</Keyword> <Keyword>namespace</Keyword> </KEYWORDS> </BLOCK> <BLOCK> <Start>{</Start> <End>}</End> <ReplaceString>...</ReplaceString> </BLOCK> <BLOCK> <Start>//</Start> <End>\n</End> <ReplaceString>/**/</ReplaceString> <AllowNestedBlocks>False</AllowNestedBlocks> </BLOCK> <BLOCK> <Start>/*</Start> <End>*/</End> <ReplaceString>/**/</ReplaceString> <AllowNestedBlocks>False</AllowNestedBlocks> </BLOCK> </BLOCKS> </OUTLINE_DATA> </SETTINGS>
如果您對BCGSoft的產(chǎn)品感興趣,也可直接咨詢“”!
現(xiàn)購買BCGSoft正版授權(quán)最高直降萬元,歡迎點擊了解產(chǎn)品正版授權(quán)>>
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自:慧都網(wǎng)