<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KomKid.Net &#187; OpenOffice</title>
	<atom:link href="http://www.komkid.net/category/openoffice/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.komkid.net</link>
	<description>คิดแตกต่าง แต่ไม่แตกแยก คิดแปลก แตกต่างอย่างมีเหตุผล</description>
	<lastBuildDate>Thu, 18 Feb 2010 01:46:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Axapta : Open OpenOffice document and Save as</title>
		<link>http://www.komkid.net/2009/11/axapta-open-openoffice-document-and-save-as/</link>
		<comments>http://www.komkid.net/2009/11/axapta-open-openoffice-document-and-save-as/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 13:57:23 +0000</pubDate>
		<dc:creator>Komkid</dc:creator>
				<category><![CDATA[Axapta]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.komkid.net/?p=619</guid>
		<description><![CDATA[123456789101112131415161718192021222324252627282930&#160; &#160; COM OpenOffice;
&#160; &#160; COM oDeskTop;
&#160; &#160; COM oDocument;
&#160; &#160; COMVariant arg;
&#160; &#160; COMVariant byte;
&#160; &#160; Array Arr = new Array&#40;Types::Class&#41;;
&#160; &#160; Array oArr = new Array&#40;Types::Class&#41;;
&#160; &#160; str url,outFile;
&#160; &#160; COM FileProperties;
;
&#160; &#160; OpenOffice = new Com&#40;&#34;com.sun.star.ServiceManager&#34;&#41;;
&#160; &#160; oDeskTop = OpenOffice.CreateInstance&#40;&#34;com.sun.star.frame.Desktop&#34;&#41;;
&#160;
// #############################################################
// เปิดไฟล์
&#160; &#160; arg = comVariant::createFromArray&#40;Arr&#41;;
&#160; &#160; url = &#34;file://Axaptaserver/AxaptaSP4/Excel/Losses.xls&#34;;
&#160; &#160; oDocument [...]]]></description>
		<wfw:commentRss>http://www.komkid.net/2009/11/axapta-open-openoffice-document-and-save-as/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenOffice : Double line style</title>
		<link>http://www.komkid.net/2009/10/openoffice-double-line-style/</link>
		<comments>http://www.komkid.net/2009/10/openoffice-double-line-style/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 14:31:24 +0000</pubDate>
		<dc:creator>Komkid</dc:creator>
				<category><![CDATA[OpenOffice]]></category>

		<guid isPermaLink="false">http://www.komkid.net/?p=582</guid>
		<description><![CDATA[วิธีขีดเส้นใน OpenOffice ให้มี 2 เส้น ทำได้ดังนี้
1.ใช้เครื่องมือลากเส้น (Line ใน  Drawing toolbar) ขีดไว้ แล้วคลิกขวาที่ เส้น เลือก Line&#8230;

2.คลิกที่ tab Shadow แล้วติ๊กที่ Use shadow
3.เลือกตำแหน่ง ,ระยะห่างระหว่างเส้นและสีของเส้นที่ 2

]]></description>
		<wfw:commentRss>http://www.komkid.net/2009/10/openoffice-double-line-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenOffice : Rows to repeat at top</title>
		<link>http://www.komkid.net/2009/09/openoffice-rows-to-repeat-at-top/</link>
		<comments>http://www.komkid.net/2009/09/openoffice-rows-to-repeat-at-top/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 13:26:32 +0000</pubDate>
		<dc:creator>Komkid</dc:creator>
				<category><![CDATA[IT Tips]]></category>
		<category><![CDATA[OpenOffice]]></category>

		<guid isPermaLink="false">http://www.komkid.net/?p=562</guid>
		<description><![CDATA[เวลาจะพิมพ์โดยให้มีแถวใดขึ้นอยู่บนหัวกระดาษทุกหน้า
ใน Excel จะเข้าไปที่
1.File > Page Setup&#8230;
2.แล้วก็คลิก tab Sheet
3.ในกลุ่มของ Print titles เลือก Rows to repeat at top ดังรูป

ใน OpenOffice เข้าไปที่
1.Format > Print Ranges > Edit&#8230;
2.แล้วก็เลือกตรง Rows to repeat

]]></description>
		<wfw:commentRss>http://www.komkid.net/2009/09/openoffice-rows-to-repeat-at-top/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenOffice : Concatenate cells with newline</title>
		<link>http://www.komkid.net/2009/09/openoffice-concatenate-cells-with-newline/</link>
		<comments>http://www.komkid.net/2009/09/openoffice-concatenate-cells-with-newline/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 13:20:45 +0000</pubDate>
		<dc:creator>Komkid</dc:creator>
				<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[Formula]]></category>

		<guid isPermaLink="false">http://www.komkid.net/?p=558</guid>
		<description><![CDATA[อยากรวม 2 Cell เข้าด้วยกัน โดยให้มีการขึ้นบรรทัดใหม่ด้วย
เช่น
A1 = Name
B1 = Email
แล้วต้องการให้
C1 = Name ขึ้นบรรทัดใหม่ แล้วก็ Email แบบนี้
Name
Email
ปกติเวลาจะขึ้นบรรทัดใหม่ใน  Cell เดิม ก็จะใช้วิธีกด Ctrl + Enter
แต่ถ้าจะใช้ Formula ก็ตามนี้ครับ
=CONCATENATE(A1,CHAR(13),CHAR(10),B1)
]]></description>
		<wfw:commentRss>http://www.komkid.net/2009/09/openoffice-concatenate-cells-with-newline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Axapta : Sending data to OpenOffice Calc by X++ using COM</title>
		<link>http://www.komkid.net/2009/08/axapta-sendind-data-to-openoffice-calc-by-x-using-com/</link>
		<comments>http://www.komkid.net/2009/08/axapta-sendind-data-to-openoffice-calc-by-x-using-com/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 13:56:38 +0000</pubDate>
		<dc:creator>Komkid</dc:creator>
				<category><![CDATA[Axapta]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[MorphX]]></category>

		<guid isPermaLink="false">http://www.komkid.net/?p=441</guid>
		<description><![CDATA[การส่งข้อมูลจาก Axapta ไปให้ OpenOffice อีกวิธีก็คือ ใช้ API ที่ OpenOffice เตรียมไว้ให้ บวกกับคุณสมบัติด้าน COM ของ Axapta 
ลักษณะโดยทั่วไปของโปรแกรมประเภท Spread Sheet ก็คือ
- 1 Document มีได้หลาย Sheets
- 1 Sheet มีได้หลาย Ranges หลาย Cells
- 1 Ranges สามารถประกอบได้จาก หลาย Cells
- 1 Cell ใส่ข้อมูลได้ 1 ชุด
ตามคู่มือของ OpenOffice ก็นำมาเขียนโดยใช้ X++ ได้ดังนี้
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667static void ooTest&#40;Args _args&#41;
&#123;
&#160; &#160; COM OpenOffice;
&#160; &#160; COM oDeskTop;
&#160; &#160; COM oDocument;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://www.komkid.net/2009/08/axapta-sendind-data-to-openoffice-calc-by-x-using-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Axapta : Sending data to OpenOffice Calc by X++ using OOCALCVB.dll</title>
		<link>http://www.komkid.net/2009/08/axapta-sending-data-to-openoffice-calc-by-x-using-oocalcvb-dll/</link>
		<comments>http://www.komkid.net/2009/08/axapta-sending-data-to-openoffice-calc-by-x-using-oocalcvb-dll/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 13:27:29 +0000</pubDate>
		<dc:creator>Komkid</dc:creator>
				<category><![CDATA[Axapta]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[MorphX]]></category>

		<guid isPermaLink="false">http://www.komkid.net/?p=440</guid>
		<description><![CDATA[วิธีการนี้ต้องใช้ตัวช่วยคือ OOCALCVB.dll
1.Download DLL OOCALCVB.dll ไปไว้ในเครื่อง ปกติก็คือที่ C:\Windows\System32\
2.ใน Axapta เลือกเมนู Tools > Development tools > Wizards > COM Class Wrapper Wizard

3.คลิก Next แล้วก็ Brows หาไฟล์ในข้อ 1 แล้วก็คลิก Next
4.ป้อน oo ตรงช่อง Element Mask เพื่อเอาไว้สังเกต Classes ที่จะได้ แล้วคลิก Next จะได้รายการของ Class ที่เกิดจาก OOCALCVB.dll

5.คลิก Next แล้วรอจนเสร็จ ก็คลิก Finish 
6.เปิดดู AOT จะเห็นว่ามี Class ใหม่เกิดขึ้นมาดังรูป

ต่อไปก็ลองเขียน X++ ติดต่อดู ดังตัวอย่าง
12345678910&#160; &#160; ooCalc &#160; [...]]]></description>
		<wfw:commentRss>http://www.komkid.net/2009/08/axapta-sending-data-to-openoffice-calc-by-x-using-oocalcvb-dll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
