新建"博客文章"

点击"文件-> 新建 -> 博客文章 -> 创建":

新窗口的编辑区和不同模式的word有所不同,如果你还没有设置博客账号(初次使用,还会在弹出一个向导框):

新建博客账户

点击"立即注册"即可设置博客账号:


(如果不小心将刚才弹出的向导框关闭了,可以点击编辑区上方,工具栏中的"管理账户"-> "新建",同样会弹出"新建博客账户"框。)

这里"博客"下拉列表选择"其他"(根据具体博客API选择),点击"下一步",弹出"新建账户"对话框:

可以看到,这里的API只有MetaWebLog(没有Windows Live Writer支持的API多),与博客园的API相同;
"博客文章(URL)"填博客的API链接,比如我的是"
http://www.cnblogs.com/xusw/services/metaweblog.aspx"(这一点和Windows Live Writer不同,Writer会自动检测),可以在博客登陆后;
用户名和密码就是你的博客登陆账户和密码,不用多说,这里可以上"记住密码"(如果不勾,每次发布要单独输入密码),填好点"确定":

 

有格式代码直接粘贴测试

下面,我们选取同样一段代码,进行测试

Eclipse

void
stringTest() {

    std::string str1("abcdefg");

 

    std::string str2 = str1;

 

    printf("str1: %s: %p\n", str1.c_str(), str1.c_str());

    printf("str2: %s: %p\n", str2.c_str(), str2.c_str());

 

    str2[0] = 'A';

    printf("str1: %s: %p\n", str1.c_str(), str1.c_str());

    printf("str2: %s: %p\n", str2.c_str(), str2.c_str());

}

 

Visual Studio

void stringTest() {

    std::string str1("abcdefg");

 

    std::string str2 = str1;

 

    printf("str1: %s: %p\n", str1.c_str(), str1.c_str());

    printf("str2: %s: %p\n", str2.c_str(), str2.c_str());

 

    str2[0] = 'A';

    printf("str1: %s: %p\n", str1.c_str(), str1.c_str());

    printf("str2: %s: %p\n", str2.c_str(), str2.c_str());

}

本机预览结果

为了能够对比发布前后效果,最后附上上面两端代码在word 2010下的截图:

表格测试

发布后:

发布前:

 

单格代码测试:

void stringTest() {

    std::string str1("abcdefg");

 

    std::string str2 = str1;

 

    printf("str1: %s: %p\n", str1.c_str(), str1.c_str());

    printf("str2: %s: %p\n", str2.c_str(), str2.c_str());

 

    str2[0] = 'A';

    printf("str1: %s: %p\n", str1.c_str(), str1.c_str());

    printf("str2: %s: %p\n", str2.c_str(), str2.c_str());

}

Word 2010 发布博文测试的更多相关文章

  1. Word 2010发布博客文章

    只测试了cnblog 1.新建文件选择word 2010自带的博客文章模板 2.在管理账户中新建一个博客账户,也就是你自己在博客园的账户,博客选其他 3.然后选择下一步,博客的URL在自己的博客设置里 ...

  2. 使用word 2010 发布csdn博客

    目前大部分的博客作者在用Word写博客这件事情上都会遇到以下3个痛点: 1.所有博客平台关闭了文档发布接口,用户无法使用Word,Windows Live Writer等工具来发布博客.使用Word写 ...

  3. 测试通过Word直接发布博文

    这里是来自word 2013的一篇测试文章. 测试直接通过Word自带的bloger功能发布博客文章. 这里插入一张图片

  4. Word 2010发布博客文章(修正)

    目前大部分的博客作者在写博客这件事情上都会遇到以下3个痛点:1.所有博客平台关闭了文档发布接口,用户无法使用Word,Windows Live Writer等工具来发布博客.2.发布到博客或公众号平台 ...

  5. 测试word 2013发布blog

    测试图片和各种格式   使用Windows Live Writer 2012和Office Word 2013 发布文章到博客园全面总结 (亲测可用)   我的一些感受: 缺点 (1) Word201 ...

  6. 这是我在word 2010上发布的第一篇文章

    1.设置word 2010,添加cnblogs帐户 配置参考链接 其中URL地址为: http://rpc.cnblogs.com/metaweblog/fariver,在cnblogs配置的最下方可 ...

  7. Word直接发布新浪博客(以Word 2010为例)

    目前大部分的博客作者在用Word写博客这件事情上都会遇到以下3个痛点: 1.所有博客平台关闭了文档发布接口,用户无法使用Word,Windows Live Writer等工具来发布博客.使用Word写 ...

  8. Word直接发布新浪博客(以Wo…

    原文地址:Word直接发布新浪博客(以Word 2013为例)作者:paulke2011 注意:这篇博客直接由Word 2013发出!这虽然也算是一个教程,但更多的是一个试验品. 老早就知道Word有 ...

  9. [转载]Word直接发布新浪博客(以Word 2013为例)

    原文地址:Word直接发布新浪博客(以Word 2013为例)作者:paulke2011 注意:这篇博客直接由Word 2013发出!这虽然也算是一个教程,但更多的是一个试验品. 老早就知道Word有 ...

随机推荐

  1. 生成 PDF 全攻略【2】在已有PDF上添加内容

    项目在变,需求在变,不变的永远是敲击键盘的程序员..... PDF 生成后,有时候需要在PDF上面添加一些其他的内容,比如文字,图片.... 经历几次失败的尝试,终于获取到了正确的代码书写方式. 在此 ...

  2. 日志文件清理工具V1.1

    上次做完日志文件清理工具V1.0 的版本后,确实给自己的工作带来不少的方便.虽然只是一个小工具,代码也比较简单,但有用就是好东西.上次开发比较匆忙,有些细节没来得及完善,今天吃完晚饭,边看亚冠比赛边把 ...

  3. .NET和JAVA同等加密方法,MD5和DES对称加密记录

    C#版: using System; using System.Security.Cryptography; using System.Text; namespace ConsoleApplicati ...

  4. Matlab2015入门学习01

    1. 两个命令: clear: 清除内存中变量的值(在workspace中可以看到) clc: 清除Command Window中的输出 2. 脚本编辑器: matlab脚本扩展名为*.m 在Comm ...

  5. 1125MySQL Sending data导致查询很慢的问题详细分析

    -- 问题1 tablename使用主键索引反而比idx_ref_id慢的原因EXPLAIN SELECT SQL_NO_CACHE COUNT(id) FROM dbname.tbname FORC ...

  6. jquery版楼层滚动特效

    <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>楼 ...

  7. android多线程断点续传下载文件

    一.目标 1.多线程抢占服务器资源下载. 2.断点续传. 二.实现思路. 假设分为三个线程: 1.各个线程分别向服务器请求文件的不同部分. 这个涉及Http协议,可以在Header中使用Range参数 ...

  8. jeecg安装——mysql数据库创建+手动执行初始化脚本

    国产的开源项目官方文档写得那么详细,已经是很厚道了,可惜俺这种菜鸟还是会碰到各种"小"问题,做个笔记先! 1.新建数据库: CREATE DATABASE jeecg DEFAUL ...

  9. vue.js之绑定class和style

    一.绑定Class属性. 绑定数据用v-bind:命令,简写成: 语法:<div v-bind:class="{ active: isActive }"></di ...

  10. shell中测试命变量是否已经定义

    (1)sehll实例 # cat subshell #!/bin/bash if (set -u; : $var); then #冒号与$间有空格 echo "Variable is set ...