Feed
Google+
Contact
XING
LinkedIn
Twitter
ICQ
meebo.com

VSTO - problems with line breaks

by Roland Schumacher alias GENiALi 18. November 2008 -- 116 words  -- 1 mal gelesen

It may well be that such a dialogue emerges in an application (WordPlus).

image

The entered data are presented:

image

Here a line break is added. To do that with environment.NewLine;.

This address is now passed the word or Excel. This can look like this.

image

What is now but most surprised me the fact that it looks correct when a DOCPROPERTY and a DOCVARIABLE not. There are special characters for the line break.

image

I know the same by certain fields in Excel. When that occurs, then it is simply a replace ("\r\n", "\r"); to the string you want to use. And already it seems back to normal.

image

What has probably thought Microsoft?

Tags:

Kommentare sind geschlossen

Statistik

Gesamte Posts: 1025
Dieses Jahr: 7
Diesen Monat: 1
Diese Woche: 0
Kommentare: 929
Total Bewertungen: 91
Ø Bewertung: 4,42
Meisten Kommentare
Google+ ... (28)
Beste Ø Bewertung
Tastaturlayout von Visual Stud ... (5)
Meiste Bewertungen
Windows 7 und die ersten Erfah ... (5)

Buttons

Stop Spam Harvesters, Join Project Honey Pot Benutzerprofil von GENiALi connection speed test network connection Bloggeramt.de Slug.ch Blog Verzeichnis und Blog Webkatalog Schumacher Roland Seitwert Valid XHTML 1.0 Transitional

writing