Questions tagged [spire]

Spire is a numeric library for Scala

Using features such as specialization, macros, type classes, and implicits, Spire provides support for rational, complex, real numbers and intervals, along with algebraic type classes such as monoid, ring or vector space. While optimized for high performance, numeric, fractional and integral algebra also have conversions to the standard Scala implementations.

47 questions
1
vote
1 answer

Spire PDF Table pagination

I am using Spire.PDF for .NET to create pdf file and I have following problem with table pagination: On every page I have header and footer so I need to set paginate bounds so that table doesn't go over header and footer and I do that like…
jbojcic
  • 954
  • 1
  • 11
  • 25
1
vote
2 answers

Could not load file or assembly 'Spire.License, Version=1.3.2.40, Culture=neutral, PublicKeyToken=b1144360237c8b3f' or one of its dependencies

I am using Spire.Xls in my web project to create an excel sheet on the fly.In local every thing is working fine but once i deployed it on the Server , it is throwing exception as System.IO.FileNotFoundException: Could not load file or assembly…
Dharmendra Kumar Singh
  • 2,979
  • 10
  • 46
  • 63
1
vote
1 answer

Getting exp to work in spire

I'me learning scala for the purpose of scientific programing. I'm trying to write some simple generic code using spire. I've got the following example working: import spire.algebra._ import spire.math._ import spire.implicits._ object TestSqrt { …
jcrudy
  • 3,921
  • 1
  • 24
  • 31
0
votes
2 answers

Type or namespace PdfHtmlLayoutFormat could not be found

I am testing Spire.PDF with example code from this site: https://www.nuget.org/packages/FreeSpire.PDF //Create a pdf document. PdfDocument doc = new PdfDocument(); PdfPageSettings setting = new PdfPageSettings(); setting.Size = new…
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
0
votes
1 answer

How to choose specific table with specific page in Spire documents?

iam useing Spire Doc library to create word templete SO, in the below example , 1st table in page-1 has been chosen to make find and replace operation ,,, i created word documents like these but i need to choose 1st table in Page-2 ,,, Thanks in…
shady
  • 9
  • 1
  • 4
0
votes
1 answer

Spire When Pdf-ing an excel file it leaves some formulas as System.Object[][]

I have an excel template that has preset formulas, then have my wpf application fills in data in other sheets then the preset formulas takes the data from the other sheet and shows it on the main page. The problem is when I automatically PDF the…
Kristofer
  • 809
  • 9
  • 24
0
votes
1 answer

Export Excel Range to DataGridView maintaining cell formatting and formulas

I'm working with Spire.XLS and I have to populate an excel file with different sheets, then the problem begins, I need to take out values from different sheets and export those together in the same dataGridView, to take the values I use the method…
sMuLe
  • 123
  • 8
0
votes
1 answer

How to save Spire.doc file to custom location in "Java"

I am working on printing project. I am using Spire.doc package to write docx file but I don't know how to save that file to different location doc.saveToFile(filename, fileFormat.Docx_2013); Thank you in advance
0
votes
1 answer

scala.collection.immutable.NumericRange[UInt]?

Trying to make a scala.collection.immutable.NumericRange[UInt] Looks like it needs a scala.math.Integral[UInt]. But there does not seem to be a spire.math.Integral[UInt]. I am assuming thats because UInt violates the laws around Integral in some…
Gabriel
  • 1,679
  • 3
  • 16
  • 37
0
votes
1 answer

PDF Readability check programmatically

I am working on a tool which will identify those PDF files (Scanned Documents in pdf forms) which are not readable for human eye i mean they can be blur or not clear (Less DPI). This tool is needed because there are millions of files and Its very…
0
votes
1 answer

Spire PDF SaveToFile Crashes Program

I'm trying to save a PDF file to folder, I'm using Spire.PDF for that. I'm creating the PdfCodument from a byte[] and when I try to save it to file I get an error message and the program falls. PdfDocument pdf = new…
itzick binder
  • 524
  • 10
  • 31
0
votes
1 answer

how to use relative address to read a file in C# winform

I am using spire library to read a word file in winform in c#. here is my code: Document mydoc = new Document(); mydoc.LoadFromFile(@"C:\Users\user\documents\visual studio 2015\Projects\FormsPrint\FormsPrint\word\1.docx"); but this address is not…
Siamak Farsi
  • 37
  • 1
  • 8
0
votes
1 answer

How to open PDF Document programatically without saving it?

I have PDF document saved into my PDFs folder. I have created one function whose duty is to load the PDF into PdfDocument class, add some styles on runtime, save it back as temporary file and preview it in WebClient. My logic is working absolutely…
Armaan Labib
  • 125
  • 1
  • 2
  • 16
0
votes
1 answer

Append HTML header to Spire PDF

I am using Spire PDF to convert my HTML template to PDF file. Here is the sample code for the same: class Program { static void Main(string[] args) { //Create a pdf document. PdfDocument doc = new PdfDocument(); …
Manprit Singh Sahota
  • 1,279
  • 2
  • 14
  • 37
0
votes
1 answer

How find text in shape pptx (Spire.Presentation)

Faced the problem of changing the text in the presentation. I use Spire.Presentation and there are a lot of different shapes on the page. My version finds only 1 text of 10. how to change Shapes[i] that i can get all the texts using…