Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPOI 2.5.2 Release Notes #465

Closed
tonyqus opened this issue Nov 25, 2020 · 8 comments
Closed

NPOI 2.5.2 Release Notes #465

tonyqus opened this issue Nov 25, 2020 · 8 comments

Comments

@tonyqus
Copy link
Member

tonyqus commented Nov 25, 2020

We are going to release 2.5.2 soon. Here is the release notes

#448 Add ifs, maxifs, minifs functions to analysis tool pack
#410 fix Match function for compatible
#423 AddPicture doesn't work, corrupts DOCX file
#397 LocalUtil.GetUserTimeZone NullReferenceException
#167 Unable to add image to a word document header or footer using XWPF
#346 NullReferenceException when copying sheet in some Excel files
#413 fix: Rich strings hash for texts with the color set as RGB
#444 Update RANDBETWEEN
#158 NPOI Excel Merging Causing “Repaired Records”
#345 Excel unreadable content error after editing existing file
#358 Remove static locale state
#367 fix incorrect footnote handling
#372 NPOI requires GDI+ dependency even on sheet creation without using column auto-sizing
#281 InvalidOperationException on XSSFSheet.GetColumnStyle
#377 AutoSizeColumnTracker to Lazy, fix build errors
#339 improve performance of CreateRow for bigger excel sheets

@tonyqus tonyqus added this to the NPOI 2.5.2 milestone Nov 25, 2020
@tonyqus tonyqus changed the title 2.5.2 Release Notes NPOI 2.5.2 Release Notes Nov 27, 2020
@fu827707013
Copy link

Please,When will the next official version be released

@tonyqus
Copy link
Member Author

tonyqus commented Dec 2, 2020

@fu827707013 very soon. I'm trying to build since tonight. The release candidate will be ready in 2 days.

@yafeiguo888
Copy link

please let's know when it is ready in nuget.org

@tonyqus
Copy link
Member Author

tonyqus commented Dec 5, 2020

NPOI 2.5.2 released on nuget! Please help test this nuget package. Thank you!

@tonyqus tonyqus closed this as completed Dec 6, 2020
@yafeiguo888

This comment has been minimized.

@tonyqus tonyqus reopened this Dec 6, 2020
@tonyqus
Copy link
Member Author

tonyqus commented Dec 6, 2020

@yafeiguo888 I did test SetFormula. It works fine on my box. Please create new issue for your case. This issue will be closed.

@tonyqus tonyqus closed this as completed Dec 6, 2020
@wangafei
Copy link

wangafei commented Mar 4, 2021

#373 add and fix?nuget 2.5.2 Run.AddPicture() still unfix

@WagnerSereia
Copy link

WagnerSereia commented Mar 12, 2021

Hi Tonyqus,
I still the same problem that @wangafei told to you.
I can add an image in the header OR in the body (content) of the document, however when I try to put the same image in the header AND in the body of the document, it displays the error.

Look a litle bit of the code:
`

                        uint numImage = 0;

                        foreach (var p in list_XWPFParagraph)
                        {
                            var runs = p.Runs;
                            foreach (var run in runs)
                            {
                                using (FileStream picData = new FileStream(@"C:\Images\myImage.jpg", FileMode.Open, FileAccess.Read))
                                {
                                    numImage++;
                                    run.AddPicture(picData, (int)PictureType.JPEG, $"{tag.Tag + numImage}", largura, altura);
                                    var docPr = ((NPOI.OpenXmlFormats.Dml.WordProcessing.CT_Drawing)run.GetCTR().Items[run.GetCTR().Items.Count - 1]).inline[0].docPr;
                                    docPr.id = numImage;
                                }
                            }
                        }

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants