Libreoffice中将Draw绘制的图像导出成标准图片

- no title specified


Libreoffice中将Draw绘制的图像导出成标准图片

需要先安装*graphicfilter*这個包,在LibreOffice自行提供的RPM包里有。例如,对于LibreOffice3.4.4rc2版本,i586架构,其RPM包名为libobasis3.4-graphicfilter-3.4.4-402.i586.rpm

安装之后,重启LibreOffice,再在打开Draw文档之后,执行“檔案”“匯出”即可选择要导出的图片格式。

 
Tags:
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

转载:JavaScript Essence: 取得視窗維度資訊

- no title specified


转载:JavaScript Essence: 取得視窗維度資訊

浏览器窗口中用来显示网页的区域的宽度和高度可使用window.innerWidth和window.innerHeight取得,某些版本的IE例外。

http://caterpillar.onlyfun.net/Gossip/JavaScript/WindowDimension.html

亮点:

在遵守標準的瀏覽器上,以下相關的資訊都可以在window物件上取得:

  • •.screenXscreenY:瀏覽器視窗在螢幕中的位置

  • •.outerWidthouterHeight:瀏覽器視窗寬、高

  • •.innerWidthinnerHeight:顯示視埠區域寬高(不包括選單、工具列、捲軸)

  • •.pageXOffsetpageYOffset:水平、垂直捲軸位置