Aspose is a vendor of components to create, modify, export and convert Office documents like Word, Excel, PDF, PowerPoint, Outlook, etc. from within .NET and Java without the need to have Microsoft Office or Adobe PDF installed.
Questions tagged [aspose]
827 questions
31
votes
3 answers
Unable to load shared library "libgdiplus" - Docker [ .NET application with Aspose API]
The application is normally working with development environment when i create a docker file for deployment it getting failed with libgdiplus issue.
DockerFile
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0 AS base
WORKDIR /app
FROM…

RED.Skull
- 1,696
- 3
- 24
- 49
27
votes
4 answers
Can Excel interpret a cell as HTML?
I'm using Aspose.Cells to build an Excel document programmatically. This works great. One of the cells, though, is a block of raw HTML. I'm wondering if it is possible to tell Excel (in any fashion, including the GUI - you don't need to know the…

Greg Smalter
- 6,571
- 9
- 42
- 63
26
votes
13 answers
How to insert programmatically a new line in an Excel cell in C#?
I'm using the Aspose library to create an Excel document. Somewhere in some cell I need to insert a new line between two parts of the text.
I tried "\r\n" but it doesn't work, just displays two square symbols in cell. I can however press Alt+Enter…

User
- 30,403
- 22
- 79
- 107
21
votes
8 answers
Docker and Java - FontConfiguration issue
We've got a Java application that generates word documents using a 3rd party (Asposee but I don't think it matters here). The app is built from a simple Docker file:
FROM openjdk:10-jdk-slim
COPY target/*.jar /opt/
CMD $JAVA_HOME/bin/java $JAVA_OPTS…

phoenix7360
- 2,807
- 6
- 30
- 41
14
votes
2 answers
usercontrol hosted in IE renders as a textbox
On my ongoing saga to mirror the hosting of a legacy app on a clean box, I've hit my next snag. One page relies on a big .NET UserControl that on the new machine renders only as a big, greyed out textarea (greyed out vertical scrollbar on the right…

Coxy
- 8,844
- 4
- 39
- 62
13
votes
5 answers
Refresh Pivot table using Apache POI
No/Minimal documentation regarding Apache POI for Pivot tables in the Apache site has got me to write this.
I want to refresh a pivot table in a Work Book using Apache POI.
Please let me know where I can get proper documentation and Examples…

pavi
- 654
- 1
- 9
- 29
10
votes
1 answer
How to read PDFs created with an unknown random owner password?
Requirement is to process a batch of PDF's one at a time and on success encrypt each of them with an user password.
However, these PDF's were encrypted previously with randomly generated dynamic owner password (not know to any one) to prevent any…

Bond - Java Bond
- 3,972
- 6
- 36
- 59
9
votes
1 answer
Style lost when combining workbooks with aspose
When combining many Excel files with aspose, I get a single workbook (Excel file with many sheets). But the problem is that I don't get the HTML style(color, font, size background color...) which was in each sheet before the merge.
Here is my java…

amani92
- 903
- 8
- 22
9
votes
3 answers
C#: How can I open and close an Excel workbook?
Does anyone know how to simply open and close an Excel workbook?
I don't need to read any data from the file, I just need to open and close it. (*)
I'm guessing that I'll need to reference the Microsoft.Office.Interop.Excel assembly.
*Reason: I've…

Jim G.
- 15,141
- 22
- 103
- 166
8
votes
4 answers
OpenXML SDK 2.0 vs Aspose for server side word 2007 document generation in .NET
I am going to start a Server side Office automation project in .Net. Below are the key activities that are planned:
Create a word document
Use a existing word document template having cover page, header, footer, TOC
Save file
Embed files and resize…

Ajit Singh
- 1,016
- 13
- 26
7
votes
3 answers
How does the Aspose License object work? Does it last forever?
I'm using Aspose to handle PDFs and Word documents. Each time I'm about to do something with a document, I make sure to call this:
Aspose.Pdf.License pdfLicense = new…

teedyay
- 23,293
- 19
- 66
- 73
7
votes
1 answer
custom label on x-axis
My chart predicts a value for the next 30 years. The first value must be displayed as year 1. Then year 5, 10... until 30. But internally the first year is 0 and is left off:
I tried adding a custom label, but it only breaks the other labels:
If I…

MrFox
- 4,852
- 7
- 45
- 81
6
votes
4 answers
Why am I still getting "Access to the path 'C:\...\...' is denied" even after granting IIS_IUSRS write permission on the directory?
I've written a method on my controller that auto generates a powerpoint deck for my client and all that works fine...except I'm stuck on the part about saving the file to disk.
I'm no stranger to this concept; and "thought" that all I needed to do…

Ben
- 1,023
- 7
- 18
- 35
6
votes
2 answers
Aspose.Cells for .NET Enable Data Filtering
I just started working with the Aspose.Cell's library for .NET and am having some issues finding documentation on how to enable Data Filtering for an output Excel sheet.
I understand this functionality is built into Aspose.Cells.GridWeb and…

JeffreDodd
- 244
- 5
- 12
6
votes
4 answers
Write large text file data into excel
I am reading a text file separated with some delimiters.
Example of my text file content
Avc def efg jksjd
1 2 3 5
3 4 6 0
line by line and holding it in memory using hashmap having line numbers as key of integer type and
each line…

srk
- 4,857
- 12
- 65
- 109