Viacheslav Bulynkin

Results 17 comments of Viacheslav Bulynkin

[Expected doc.docx](https://github.com/EvotecIT/PSWriteOffice/files/10940492/doc.docx)

Hmm, it means that I can underline only the whole paragraph, not a part of a string? "We are" shouldn't be underlined. Maybe, I can use something like non-breaking space?...

I found the workaround! It works when I use ```powershell $p2.Underline = 'Single' ``` Initially, the value of `$p2.Underline` was `Words`.

Right before `Save-OfficeWord` cmdlet: ```powershell # Set to underline spaces $doc.Paragraphs |? underline |% {$_.underline = 'Single'} ```

Why everything? It simply set the underline mode I need only in the paragraphs have underline set. Perhaps I can't figure out the whole thing.

Of course it was created with Word, because I hadn't been able to do it without Word and I needed to illustrate what I wanted. Dashed underline works, but I...

How to add not a paragraph but a new line in the same paragraph? It is indicated by the Enter symbol below and can be typed by Shift+Enter keys. ![изображение](https://user-images.githubusercontent.com/56349712/222903408-35cdb60f-26f4-46e1-8e9f-f18594c43a6d.png)

Thank you! However, I don't clearly understand how to combine it with the syntax ``` New-OfficeWordText -Document $doc -Alignment Center -Text "Adding paragraph2 with some text and pressing SHIFT+ENTER" ```...

Works great, thank you very much for the explanation!

> I updated mRemoteNG to a latest nightly build but it didn't help.