码迷,mamicode.com
首页 >  
搜索关键字:pattern word    ( 25062个结果
velocity模板技术生成word文档
本文介绍采用velocity技术在Java中生成word文档的方法。 1、新建一个word文档,编辑内容如下: 2、将上述word文档另存为htm格式的文件 3、新建一个Java Project项目velocityTest,加入Velocity所依赖的Jar包velocity-dep-1.5-beta2.jar。 4、在src目录下新建一个velocity.vm文件...
分类:其他好文   时间:2014-06-09 23:22:20    阅读次数:417
protel DXP的类矢量图功能
一、概述 在写论文的过程中,我们经常需要将protel DXP上的原理图贴入到WORD中。我们可以选择使用截图工具,然后再导入到WORD中。但是由于普通截图图形文件都是位图文件,当我们将图形文件导入WORD后,通常需要调整大小,结果就使得文件中的图形变得模糊。当把论文打印出来,效果也非常差。 其.....
分类:其他好文   时间:2014-06-09 16:10:24    阅读次数:272
[办公应用]word 2007:全屏快捷键,让复制图片保持原样大小
最近同事咨询这两个问题:1、word 2007内是否有全屏显示的快捷键,这样投影时,就可以快速切换到全屏。2、从ppt或者excel复制一张较大的图片,word 2007 会默认让复制的图片缩小,以适应纸张。而这样带来的麻烦就是图片会不清楚。能否在复制后仍然保持原样大小?解答:1、有快捷键,alt+...
分类:其他好文   时间:2014-06-09 14:13:52    阅读次数:285
PRML 第三章 - 线性回归
这段时间组里在有计划地学习书籍PRML (Pattern Recognition and Machine Learning),前两天自己做了一个里面第三章linear regression的分享,这里把当时做的这个ppt分享给大家。 对于线性回归这一章,首先列一下我认为比较重要的几个问题(ppt ....
分类:其他好文   时间:2014-06-09 13:19:17    阅读次数:418
设计模式-观察者模式(Observer Pattern)
今天看了看观察者模式,有点小小的体会,从以下3点说明之 :1.看一下经典的观察者模式图2.讲个故事,说一下逻辑有一个男人(Subject),他通过一定的手段(attach)拥有了3个女人(Observer):老婆(concreteObserver1),情人(concreteObserver2),小3...
分类:其他好文   时间:2014-06-08 21:10:38    阅读次数:293
Python - 定制pattern的string模板(template) 详解
定制pattern的string模板(template) 详解本文地址: http://blog.csdn.net/caroline_wendy/article/details/28625179 string.Template的pattern是一个正则表达式, 可以通过覆盖pattern属性, 定义新的正则表达式.如: 使用新的定界符"{{", 把{{var}}作为变量语法.代码:# -*- coding: utf-8 -*- ''' Creat...
分类:编程语言   时间:2014-06-08 18:00:47    阅读次数:308
leetcode——Reverse Words in a String 旋转字符串中单词顺序(AC)
题目如下: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". click to show clarification. Clarification: What co...
分类:其他好文   时间:2014-06-08 14:58:13    阅读次数:231
求斐波那契单词的第n个字符
Definition Let  be "0" and  be "01". Now  (the concatenation of the previous sequence and the one before that). The infinite Fibonacci word is the limit  We have:     0     01     010     01...
分类:其他好文   时间:2014-06-08 09:19:42    阅读次数:273
Leetcode: Wildcard Matching. java
Implement wildcard pattern matching with support for '?' and '*'.public class Solution { public boolean isMatch(String s, String p) { if (s == null || p == null) return false; if (...
分类:编程语言   时间:2014-06-08 03:10:46    阅读次数:216
HDU 1247 Hat’s Words
Problem Description A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary. You are to find all the hat’s words in a dictionary.   In...
分类:其他好文   时间:2014-06-08 03:02:14    阅读次数:323
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!