-
Updated
Jun 25, 2020 - Ruby
microsoft-word
Here are 81 public repositories matching this topic...
-
Updated
Jul 3, 2020 - R
-
Updated
Apr 28, 2020
This leads to a:
Import-Module PSWriteWord -Force
$FilePath = "$Env:USERPROFILE\Desktop\PSWriteWord-Example-ListItems6.docx"
$ListOfItems = @('Te
This package is incredibly handy, thanks!
I don't know much about XML, but looking at an unzipped docx file, it appears that, if the footer exists, each section of document has a corresponding footer XML file (e.g., footer1.xml
). Would it be possible to add a function that iterates through and extracts a document's footers (and headers, I suppose, but for the motivating use case, it's the fo
-
Updated
Jul 7, 2020 - Python
-
Updated
May 16, 2020 - XSLT
-
Updated
Jun 15, 2020 - JavaScript
-
Updated
Jun 25, 2020 - C#
-
Updated
Apr 10, 2020 - AppleScript
Per the readme, the expected PowerShell call syntax is as follows:
powershell -File Diff-Word.ps1 oldfile.docx newfile.docx
However, the result is the opposite: Word treats newfile
as the original and oldfile
as the updated. This is because the Word command Document.Compare
expects the syntax NewDocument.Compare(OldDocument, ...)
but the PowerShell script uses `OldDocument.Compare(NewD
-
Updated
Mar 26, 2020 - C#
I keep getting this issue when I try to use this library
`
var file = new FileInfo(Input);
var reader = new StructuredStorageReader(file.FullName);
var doc = new b2xtranslator.DocFileFormat.WordDocument(reader);
var docx = WordprocessingDocument.Create(Output, b2xtranslator.OpenXmlLib.OpenXmlPackage.DocumentType.Documen
-
Updated
Mar 6, 2020 - PHP
-
Updated
Dec 22, 2017 - Ruby
-
Updated
Nov 21, 2017 - Python
-
Updated
Jul 4, 2018 - C++
-
Updated
Jul 4, 2020 - XSLT
-
Updated
Sep 30, 2017 - JavaScript
-
Updated
Jan 13, 2017 - XSLT
using (var doc = DocX.Create(@"z:\blah\blah\blah\doc.docx", DocumentType.Document))
{
var table = doc.AddTable(5);
for (int k = 0; k < 10; k++)
{
for (int i = 0; i < 5; i++)
{
var row = table.AddRow();
row.SetBorders(Units.HalfPt, BorderValue.Single);
for (int j = 0; j < 5; j++)
{
row.Cells[j].Paragraphs[0].Append($"Cell {
-
Updated
Jun 10, 2020 - C#
-
Updated
Mar 30, 2020 - PLSQL
-
Updated
Jan 13, 2018 - HTML
-
Updated
Aug 30, 2019 - C#
using get-worddocument and get-wordinstance its possible to edit any property word has.
- write a page on how to use these by recording a macro on a document then implementing it
for example
$selection = (Get-WordDocument).application.selection
$selection.range.ListFormat.ApplyBulletDefault()
foreach ($o in $objects) {
$selection.typetext($o)
$Selection.TypeParagraph()
Create documentation
-
Updated
Nov 28, 2018 - C#
Improve this page
Add a description, image, and links to the microsoft-word topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the microsoft-word topic, visit your repo's landing page and select "manage topics."
I just updated to version 1.6.0.0 of Xceed.Document.NET and in attempting to insert an image as follows and documented elsewhere, I get an ObjectDisposedException: Package object was closed and disposed, so cannot carry out operations on this object or any stream opened on a part of this package.
Xceed.Document.NET.Image logoImg = doc.AddImage(imgFilePath); // Exception thrown here
Xceed.Docum