Skip to content

Commit 5f4bc3a

Browse files
author
yevgen-nykytenko
committed
Update content 2025-03-11 05:10:45
1 parent 7a3c56f commit 5f4bc3a

11 files changed

Lines changed: 267 additions & 130 deletions

File tree

english/nodejs-java/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: GroupDocs.Conversion for Node.js via Java
33
type: docs
4-
weight: 30
4+
weight: 11
55
url: /nodejs-java/
66
description: GroupDocs.Conversion for Node.js via Java API References contain examples, code snippets, and API documentation. It provides packages, classes, interfaces, and other API details.
77
is_root: true

english/nodejs-java/com.groupdocs.conversion.filetypes/imagefiletype/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Defines image documents. Includes the following file types: [Ai](../../com.group
6464
| [Tga](#Tga) | A file with .tga extension is a raster graphic format and was created by Truevision Inc. |
6565
| [Psb](#Psb) | Adobe photoshop saves files in two formats. |
6666
| [Fodg](#Fodg) | FODG is a uncompressed XML-format file used for storing OpenDocument text data. |
67+
| [Heic](#Heic) | |
6768
## Methods
6869

6970
| Method | Description |
@@ -444,6 +445,12 @@ public static final ImageFileType Fodg
444445

445446
FODG is a uncompressed XML-format file used for storing OpenDocument text data. FODG extension is associated with open source office productivity suites Libre Office and OpenOffice.org.
446447

448+
### Heic {#Heic}
449+
```
450+
public static final ImageFileType Heic
451+
```
452+
453+
447454
### getLoadOptions() {#getLoadOptions--}
448455
```
449456
public LoadOptions getLoadOptions()

english/nodejs-java/com.groupdocs.conversion.logging/consolelogger/_index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Console logger implementation.
2727
| --- | --- |
2828
| [trace(String message)](#trace-java.lang.String-) | Writes trace log message; Trace log messages provides generally useful information about application flow. |
2929
| [warning(String message)](#warning-java.lang.String-) | Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow. |
30-
| [error(String message, System.Exception exception)](#error-java.lang.String-com.aspose.ms.System.Exception-) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. |
30+
| [error(String message, Exception exception)](#error-java.lang.String-java.lang.Exception-) | Writes error log message; Error log messages provides information about unrecoverable events in application flow. |
3131
### ConsoleLogger() {#ConsoleLogger--}
3232
```
3333
public ConsoleLogger()
@@ -36,7 +36,7 @@ public ConsoleLogger()
3636

3737
### trace(String message) {#trace-java.lang.String-}
3838
```
39-
public final void trace(String message)
39+
public void trace(String message)
4040
```
4141

4242

@@ -49,7 +49,7 @@ Writes trace log message; Trace log messages provides generally useful informati
4949

5050
### warning(String message) {#warning-java.lang.String-}
5151
```
52-
public final void warning(String message)
52+
public void warning(String message)
5353
```
5454

5555

@@ -60,9 +60,9 @@ Writes warning log message; Warning log messages provides information about unex
6060
| --- | --- | --- |
6161
| message | java.lang.String | The warning message. |
6262

63-
### error(String message, System.Exception exception) {#error-java.lang.String-com.aspose.ms.System.Exception-}
63+
### error(String message, Exception exception) {#error-java.lang.String-java.lang.Exception-}
6464
```
65-
public final void error(String message, System.Exception exception)
65+
public void error(String message, Exception exception)
6666
```
6767

6868

@@ -72,5 +72,5 @@ Writes error log message; Error log messages provides information about unrecove
7272
| Parameter | Type | Description |
7373
| --- | --- | --- |
7474
| message | java.lang.String | The error message. |
75-
| exception | com.aspose.ms.System.Exception | The exception. |
75+
| exception | java.lang.Exception | The exception. |
7676

english/nodejs-java/com.groupdocs.conversion.options.convert/pagesize/_index.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public enum PageSize extends Enum<PageSize> implements IPageSize
3535
| [QUARTO](#QUARTO) | |
3636
| [STATEMENT](#STATEMENT) | |
3737
| [TABLOID](#TABLOID) | |
38+
| [UNSET](#UNSET) | |
3839
## Methods
3940

4041
| Method | Description |
@@ -46,6 +47,8 @@ public enum PageSize extends Enum<PageSize> implements IPageSize
4647
| [getName()](#getName--) | |
4748
| [getWidth()](#getWidth--) | |
4849
| [getHeight()](#getHeight--) | |
50+
| [pointsToPixels(float points, int dpi)](#pointsToPixels-float-int-) | |
51+
| [pixelsToPoints(int pixels, int dpi)](#pixelsToPoints-int-int-) | |
4952
### A3 {#A3}
5053
```
5154
public static final PageSize A3
@@ -148,6 +151,12 @@ public static final PageSize TABLOID
148151
```
149152

150153

154+
### UNSET {#UNSET}
155+
```
156+
public static final PageSize UNSET
157+
```
158+
159+
151160
### values() {#values--}
152161
```
153162
public static PageSize[] values()
@@ -227,5 +236,37 @@ public float getHeight()
227236

228237

229238

239+
**Returns:**
240+
float
241+
### pointsToPixels(float points, int dpi) {#pointsToPixels-float-int-}
242+
```
243+
public static int pointsToPixels(float points, int dpi)
244+
```
245+
246+
247+
248+
249+
**Parameters:**
250+
| Parameter | Type | Description |
251+
| --- | --- | --- |
252+
| points | float | |
253+
| dpi | int | |
254+
255+
**Returns:**
256+
int
257+
### pixelsToPoints(int pixels, int dpi) {#pixelsToPoints-int-int-}
258+
```
259+
public static float pixelsToPoints(int pixels, int dpi)
260+
```
261+
262+
263+
264+
265+
**Parameters:**
266+
| Parameter | Type | Description |
267+
| --- | --- | --- |
268+
| pixels | int | |
269+
| dpi | int | |
270+
230271
**Returns:**
231272
float

english/nodejs-java/com.groupdocs.conversion.options.convert/pdfconvertoptions/_index.md

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ Options for conversion to Pdf file type.
2525

2626
| Method | Description |
2727
| --- | --- |
28-
| [getWidth()](#getWidth--) | Desired page width in pixels after conversion. |
29-
| [setWidth(int value)](#setWidth-int-) | Desired page width in pixels after conversion. |
30-
| [getHeight()](#getHeight--) | Desired page height in pixels after conversion. |
31-
| [setHeight(int value)](#setHeight-int-) | Desired page height in pixels after conversion. |
3228
| [getDpi()](#getDpi--) | Desired page DPI after conversion. |
33-
| [setDpi(double value)](#setDpi-double-) | Desired page DPI after conversion. |
29+
| [setDpi(int value)](#setDpi-int-) | Desired page DPI after conversion. |
3430
| [getPassword()](#getPassword--) | Set this property if you want to protect the converted document with a password. |
3531
| [setPassword(String value)](#setPassword-java.lang.String-) | Set this property if you want to protect the converted document with a password. |
3632
| [getMarginTop()](#getMarginTop--) | Desired page top margin in pixels after conversion. |
@@ -61,65 +57,19 @@ public PdfConvertOptions()
6157

6258
Initializes new instance of [PdfConvertOptions](../../com.groupdocs.conversion.options.convert/pdfconvertoptions) class.
6359

64-
### getWidth() {#getWidth--}
65-
```
66-
public final int getWidth()
67-
```
68-
69-
70-
Desired page width in pixels after conversion.
71-
72-
**Returns:**
73-
int
74-
### setWidth(int value) {#setWidth-int-}
75-
```
76-
public final void setWidth(int value)
77-
```
78-
79-
80-
Desired page width in pixels after conversion.
81-
82-
**Parameters:**
83-
| Parameter | Type | Description |
84-
| --- | --- | --- |
85-
| value | int | |
86-
87-
### getHeight() {#getHeight--}
88-
```
89-
public final int getHeight()
90-
```
91-
92-
93-
Desired page height in pixels after conversion.
94-
95-
**Returns:**
96-
int
97-
### setHeight(int value) {#setHeight-int-}
98-
```
99-
public final void setHeight(int value)
100-
```
101-
102-
103-
Desired page height in pixels after conversion.
104-
105-
**Parameters:**
106-
| Parameter | Type | Description |
107-
| --- | --- | --- |
108-
| value | int | |
109-
11060
### getDpi() {#getDpi--}
11161
```
112-
public final double getDpi()
62+
public final int getDpi()
11363
```
11464

11565

11666
Desired page DPI after conversion. The default resolution is: 96 dpi.
11767

11868
**Returns:**
119-
double
120-
### setDpi(double value) {#setDpi-double-}
69+
int
70+
### setDpi(int value) {#setDpi-int-}
12171
```
122-
public final void setDpi(double value)
72+
public final void setDpi(int value)
12373
```
12474

12575

@@ -128,7 +78,7 @@ Desired page DPI after conversion. The default resolution is: 96 dpi.
12878
**Parameters:**
12979
| Parameter | Type | Description |
13080
| --- | --- | --- |
131-
| value | double | |
81+
| value | int | |
13282

13383
### getPassword() {#getPassword--}
13484
```

english/nodejs-java/com.groupdocs.conversion.options.convert/wordprocessingconvertoptions/_index.md

Lines changed: 6 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ Options for conversion to WordProcessing file type.
2525

2626
| Method | Description |
2727
| --- | --- |
28-
| [getWidth()](#getWidth--) | Desired page width after conversion. |
29-
| [setWidth(int value)](#setWidth-int-) | Desired page width after conversion. |
30-
| [getHeight()](#getHeight--) | Desired page height after conversion. |
31-
| [setHeight(int value)](#setHeight-int-) | Desired page height after conversion. |
3228
| [getDpi()](#getDpi--) | Desired page DPI after conversion. |
33-
| [setDpi(double value)](#setDpi-double-) | Desired page DPI after conversion. |
29+
| [setDpi(int value)](#setDpi-int-) | Desired page DPI after conversion. |
3430
| [getPassword()](#getPassword--) | Set this property if you want to protect the converted document with a password. |
3531
| [setPassword(String value)](#setPassword-java.lang.String-) | Set this property if you want to protect the converted document with a password. |
3632
| [getRtfOptions()](#getRtfOptions--) | RTF specific convert options |
@@ -63,65 +59,19 @@ public WordProcessingConvertOptions()
6359

6460
Initializes new instance of [WordProcessingConvertOptions](../../com.groupdocs.conversion.options.convert/wordprocessingconvertoptions) class.
6561

66-
### getWidth() {#getWidth--}
67-
```
68-
public final int getWidth()
69-
```
70-
71-
72-
Desired page width after conversion.
73-
74-
**Returns:**
75-
int
76-
### setWidth(int value) {#setWidth-int-}
77-
```
78-
public final void setWidth(int value)
79-
```
80-
81-
82-
Desired page width after conversion.
83-
84-
**Parameters:**
85-
| Parameter | Type | Description |
86-
| --- | --- | --- |
87-
| value | int | |
88-
89-
### getHeight() {#getHeight--}
90-
```
91-
public final int getHeight()
92-
```
93-
94-
95-
Desired page height after conversion.
96-
97-
**Returns:**
98-
int
99-
### setHeight(int value) {#setHeight-int-}
100-
```
101-
public final void setHeight(int value)
102-
```
103-
104-
105-
Desired page height after conversion.
106-
107-
**Parameters:**
108-
| Parameter | Type | Description |
109-
| --- | --- | --- |
110-
| value | int | |
111-
11262
### getDpi() {#getDpi--}
11363
```
114-
public final double getDpi()
64+
public final int getDpi()
11565
```
11666

11767

11868
Desired page DPI after conversion. The default resolution is: 96 dpi.
11969

12070
**Returns:**
121-
double
122-
### setDpi(double value) {#setDpi-double-}
71+
int
72+
### setDpi(int value) {#setDpi-int-}
12373
```
124-
public final void setDpi(double value)
74+
public final void setDpi(int value)
12575
```
12676

12777

@@ -130,7 +80,7 @@ Desired page DPI after conversion. The default resolution is: 96 dpi.
13080
**Parameters:**
13181
| Parameter | Type | Description |
13282
| --- | --- | --- |
133-
| value | double | |
83+
| value | int | |
13484

13585
### getPassword() {#getPassword--}
13686
```

english/nodejs-java/com.groupdocs.conversion.options.load/imageloadoptions/_index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Options for loading Image documents.
3131
| [isRecognitionEnabled()](#isRecognitionEnabled--) | |
3232
| [getOcrConnector()](#getOcrConnector--) | |
3333
| [setOcrConnector(IOcrConnector ocrConnector)](#setOcrConnector-com.groupdocs.conversion.integration.ocr.IOcrConnector-) | Set image OCR connector |
34+
| [getResetFontFolders()](#getResetFontFolders--) | Reset font folders before loading document |
35+
| [setResetFontFolders(boolean resetFontFolders)](#setResetFontFolders-boolean-) | |
3436
### ImageLoadOptions() {#ImageLoadOptions--}
3537
```
3638
public ImageLoadOptions()
@@ -105,3 +107,26 @@ Set image OCR connector
105107
| --- | --- | --- |
106108
| ocrConnector | [IOcrConnector](../../com.groupdocs.conversion.integration.ocr/iocrconnector) | OCR connector instance |
107109

110+
### getResetFontFolders() {#getResetFontFolders--}
111+
```
112+
public boolean getResetFontFolders()
113+
```
114+
115+
116+
Reset font folders before loading document
117+
118+
**Returns:**
119+
boolean
120+
### setResetFontFolders(boolean resetFontFolders) {#setResetFontFolders-boolean-}
121+
```
122+
public void setResetFontFolders(boolean resetFontFolders)
123+
```
124+
125+
126+
127+
128+
**Parameters:**
129+
| Parameter | Type | Description |
130+
| --- | --- | --- |
131+
| resetFontFolders | boolean | |
132+

0 commit comments

Comments
 (0)