Group:  General ยป microsoft.public.office.xml
Thread: Tabs in WordML

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Tabs in WordML
"hack_tick" <sharma.vasudev[ at ]gmail.com> 05.10.2005 09:38:44
hi
I am trying out following sample code, which demonstrate the tabs at
work, but there is no visible tabs in the word document when i open it,
any suggestions??

<?xml version="1.0"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument
xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
<w:body>

<w:p>
<w:pPr>

<w:tabs>
<w:tab w:val="left" w:pos="4320"/>
</w:tabs>
</w:pPr>

<w:r>
<w:tab/>
<w:tab/>

<w:t>this is another test...</w:t>

</w:r>
</w:p>

</w:body>

</w:wordDocument>

RE: Tabs in WordML
nhojnesnah 10.10.2005 09:35:03
My guess is that you mean TAGs (as in XML/HTML/SGML coding) not TABs (as in
jumps down a line).

Have you 2003 (Pro.) and have you installed the XML develpers' tools ?
Follow the steps in: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/ODC_office01012004.asp
and tell us where you break down.

Byreway, you do not have to have that <?mso - line to have the file open in
Word. You can right click from Windows Explorer and choose to "Open With"
Word.

Orrabest

Hn

"hack_tick" wrote:

[Quoted Text]
> hi
> I am trying out following sample code, which demonstrate the tabs at
> work, but there is no visible tabs in the word document when i open it,
> any suggestions??
>
> <?xml version="1.0"?>
> <?mso-application progid="Word.Document"?>
> <w:wordDocument
> xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
> <w:body>
>
> <w:p>
> <w:pPr>
>
> <w:tabs>
> <w:tab w:val="left" w:pos="4320"/>
> </w:tabs>
> </w:pPr>
>
> <w:r>
> <w:tab/>
> <w:tab/>
>
> <w:t>this is another test...</w:t>
>
> </w:r>
> </w:p>
>
> </w:body>
>
> </w:wordDocument>
>
>
RE: Tabs in WordML
Peter Flynn <peter.nosp[ at ]m.silmaril.ie> 10.10.2005 21:28:32
nhojnesnah wrote:

[Quoted Text]
> My guess is that you mean TAGs (as in XML/HTML/SGML coding) not TABs (as
> in jumps down a line).

In which case, see http://xml.silmaril.ie/authors/makeup/

///Peter

Re: Tabs in WordML
"hack_tick" <sharma.vasudev[ at ]gmail.com> 11.10.2005 08:11:05
actually i was looking for is creating the WordML document using my
Java program, any way i have solved my problem

we have to add following properties in wordDocument tag
xml:space="preserve"

Thankyou for answering :-)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net