GithubHelp home page GithubHelp logo

toxy's People

Contributors

bosstjann avatar fossabot avatar gitter-badger avatar tonyqus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toxy's Issues

Import XLSX file, getting error as Could not load file or assembly 'NPOI.OpenXmlFormats, Version=2.2.0.0

Hi,
I am able to import .XLS file in my C# project but when i try to import .XLSX file (into DataTable) i am getting following reference issues.

  1. Could not load file or assembly 'ICSharpCode.SharpZipLib - (I had found and added in my project)
  2. Could not load file or assembly 'NPOI.OpenXmlFormats, Version=2.2.0.0 - (I could not found the .dll file, please provide me this file)

Please also let me know if the above can resolve my issue.
exception

NPOI Reference Problem

When i run the test [TestParseTextFromWord] in [Word2003ParserTest] i get the flowing exception

System.IO.FileLoadException : Could not load file or assembly 'NPOI, Version=2.1.3.1, Culture=neutral, PublicKeyToken=0df73ec7942b34e1' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Toxy.Parsers.Word2003TextParser.Parse()
at Toxy.Test.Word2003ParserTest.TestParseTextFromWord() in Word2003ParserTest.cs: line 18
and the NPOI referenced in the Toxy Project is NPOI Version=2.2.0.0 and it says it's need Version =2.1.3.1 what is the problem?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28116256-npoi-reference-problem?utm_campaign=plugin&utm_content=tracker%2F621213&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F621213&utm_medium=issues&utm_source=github).

Importing excel file with fixed pane(s) results in an error

Hello out there, :)
trying to read a *.xls file with freezed pane(s) results in:

ICSharpCode.SharpZipLib.Zip.ZipException: 'Wrong Local header signature: 0xE011CFD0'

In detail:
ICSharpCode.SharpZipLib.Zip.ZipException
HResult=0x80131600
Message=Wrong Local header signature: 0xE011CFD0
Source=ICSharpCode.SharpZipLib
StackTrace:
at ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry()
at NPOI.OpenXml4Net.Util.ZipInputStreamZipEntrySource..ctor(ZipInputStream inp)
at NPOI.OpenXml4Net.OPC.ZipPackage..ctor(Stream in1, PackageAccess access)
at NPOI.OpenXml4Net.OPC.OPCPackage.Open(Stream in1)
at NPOI.Util.PackageHelper.Open(Stream is1)
at NPOI.XSSF.UserModel.XSSFWorkbook..ctor(Stream is1)
at Exel_with_NAPI.Form1.Form1_Load(Object sender, EventArgs e) in K:\Projects\Software\Software Test\Excel with Napi\Exel with NAPI\Form1.vb:line 28
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It would be nice to be able to import fixed panes or that they are unfixed.
People always forget unfixing before saving.

Have a sunny weekend ...


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Does a VBA module in Excel treated as a spreadsheet in NPOI or POI?

I have an Excel file which contains 5 spread sheets out of which:
• 2 are hidden (as they are dialog, user interface, kind of sheets DlgView1, DlgView2).
• 3 work sheets (WrkSht1, WrkSht2, WrkSht3) are visible with some data containing formulas and external links.
Also, the Excel sheet contains a VBA module called Module1.bas with some logic. When I check the number of worksheets using workbook.NumberOfSheets property, it shows 5, but when I iterate through the code for all worksheets present, I get the below results:

  1. Sheet1 = DlgView1 -------> which is hidden
  2. Sheet2 = DlgView2 -------> which is hidden
  3. Sheet3 = Module1 -------> which is hidden --->This is what is confusing!!!!
  4. Sheet4 = WrkSht1 -------> which is visible
  5. Sheet5 = WrkSht2 -------> which is visible
    It should have been like this instead I suppose:
  6. Sheet1 = DlgView1 -------> which is hidden
  7. Sheet2 = DlgView2 -------> which is hidden
  8. Sheet3 = WrkSht1 -------> which is visible
  9. Sheet4 = WrkSht2 -------> which is visible
  10. Sheet5 = WrkSht3 -------> which is visible
    I cannot get access to one of the visible worksheet WrkSht3 as the count(= 5) of worksheet ends by this time.
    Also, when my code sets to play around different cells of worksheet WrkSht1, it will actually be pointing to WrkSht2 and for worksheet WrkSht2, it will actually be pointing to WrkSht3. But WrkSht3 was never initialzed as a worksheet as seen from the above results.
    For testing purpose, I deleted Module1 and checked, it works fine with count as 5 and considering all the worksheets (DlgView1, DlgView2, WrkSht1, WrkSht2, WrkSht3) to process.
    Also, to mention, I get an exception thrown while working with this file & not with any others:
    "Unsupported BOF found of type VBModule"
    My question is:
    Does NPOI or POI treat a VBA module in a Excel sheet as a hidden worksheet?
    • If not, why is the code considering Module1 as worksheet and not the actual visible worksheet WrkSht3 as explained above.
    • If yes, is there a way to tell code not consider VBA Modules as worksheets and also actual visible worksheets like WrkSht3.
    If needed, I can send the Excel sheet which I am working on. Thanks

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

NPOI External link Issue with .xls or .xlsx files

Hello,
I am working on a NPOI project & I need to know how to access the external links with respect to .xls & .xlsx files. I am able to work with rest all kind of objects but not with External links. When I access the cell formula, in .xls files, I get only the external file name but not the path it is pointing to whereas in .xlsx file, I dont get external file name but numeric value like [1] or [2] ect. Can anyone just let know how to access at external links using NPOI for .xls and .xlsx files. I looked at apache POI counterpart and they have method called getExternalLinks() through which we can get at external links but not in NPOI. Thank you.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

来这讨论npp

你给我举几个例子npp怎么**了?我也爱国,但我没觉得他**啊。

知乎虽然是**网络的**明灯了,但关键字过滤还是绕不过,被政府约谈过很多次了,我也不怪他,所以还是来这里聊吧。

Docx header extraction

Just tested with a docx document and it doesn't extract any text from the header. Is it possible to fix?

Extract EPUB format?

How to Extract EPUB Files? An .epub is a popular extension that is used for electronic publications.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12941059-extract-epub-format?utm_campaign=plugin&utm_content=tracker%2F621213&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F621213&utm_medium=issues&utm_source=github).

How to extract text from a stream.

I am trying to find a way to extract text from a instance of System.IO.Stream(not only FileStream),but Toxy can only do extraction work when source is a file,actually,the source may varies for some reasons.Can you add the stream support to ParseContext,tell me if you have any tech problems,we could work it out together.

PDF document tests are not sufficent

PDF document parser can't properly handle paragraph and page counts. Paragraphs array shows lines instead of paragraphs and total page count is zero.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.