@@ -8373,19 +8373,18 @@ open class PdfAPI {
8373
8373
Converts PDF document (located on storage) to LaTeX format and returns resulting file in response content
8374
8374
8375
8375
- parameter name: (path) The document name.
8376
- - parameter pagesCount: (query) Pages count. (optional)
8377
8376
- parameter folder: (query) The document folder. (optional)
8378
8377
- parameter storage: (query) The document storage. (optional)
8379
8378
- parameter completion: completion handler to receive the data and the error objects
8380
8379
*/
8381
- open class func getPdfInStorageToLaTeX(name: String, pagesCount: Int? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: Data?,_ error: Error?) -> Void)) {
8380
+ open class func getPdfInStorageToLaTeX(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: Data?,_ error: Error?) -> Void)) {
8382
8381
AuthAspose.checkAuth() {
8383
8382
(authError) in
8384
8383
guard authError == nil else {
8385
8384
completion(nil, authError)
8386
8385
return
8387
8386
}
8388
- getPdfInStorageToLaTeXWithRequestBuilder(name: name, pagesCount: pagesCount, folder: folder, storage: storage).execute { (response, error) -> Void in
8387
+ getPdfInStorageToLaTeXWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in
8389
8388
completion(response?.body, error);
8390
8389
}
8391
8390
}
@@ -8401,21 +8400,19 @@ open class PdfAPI {
8401
8400
- examples: [{output=none}]
8402
8401
8403
8402
- parameter name: (path) The document name.
8404
- - parameter pagesCount: (query) Pages count. (optional)
8405
8403
- parameter folder: (query) The document folder. (optional)
8406
8404
- parameter storage: (query) The document storage. (optional)
8407
8405
8408
8406
- returns: RequestBuilder<Data>
8409
8407
*/
8410
- open class func getPdfInStorageToLaTeXWithRequestBuilder(name: String, pagesCount: Int? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder<Data> {
8408
+ open class func getPdfInStorageToLaTeXWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder<Data> {
8411
8409
var pathUrl = "/pdf/{name}/convert/latex"
8412
8410
pathUrl = pathUrl.replacingOccurrences(of: "{name}", with: "\(name)", options: .literal, range: nil)
8413
8411
let URLString = AsposePdfCloudAPI.basePath + pathUrl
8414
8412
let parameters: [String:Any]? = nil
8415
8413
8416
8414
let urlObj = NSURLComponents(string: URLString)
8417
8415
urlObj?.queryItems = APIHelper.mapValuesToQueryItems(values:[
8418
- "pagesCount": pagesCount?.encodeToJSON(),
8419
8416
"folder": folder,
8420
8417
"storage": storage
8421
8418
])
@@ -17975,19 +17972,18 @@ open class PdfAPI {
17975
17972
Converts PDF document (in request content) to LaTeX format and uploads resulting file to storage.
17976
17973
17977
17974
- parameter outPath: (query) Full resulting filename (ex. /folder1/folder2/result.tex)
17978
- - parameter pagesCount: (query) Pages count. (optional)
17979
17975
- parameter storage: (query) The document storage. (optional)
17980
17976
- parameter file: (form) A file to be converted. (optional)
17981
17977
- parameter completion: completion handler to receive the data and the error objects
17982
17978
*/
17983
- open class func putPdfInRequestToLaTeX(outPath: String, pagesCount: Int? = nil, storage: String? = nil, file: URL? = nil, completion: @escaping ((_ data: AsposeResponse?,_ error: Error?) -> Void)) {
17979
+ open class func putPdfInRequestToLaTeX(outPath: String, storage: String? = nil, file: URL? = nil, completion: @escaping ((_ data: AsposeResponse?,_ error: Error?) -> Void)) {
17984
17980
AuthAspose.checkAuth() {
17985
17981
(authError) in
17986
17982
guard authError == nil else {
17987
17983
completion(nil, authError)
17988
17984
return
17989
17985
}
17990
- putPdfInRequestToLaTeXWithRequestBuilder(outPath: outPath, pagesCount: pagesCount, storage: storage, file: file).execute { (response, error) -> Void in
17986
+ putPdfInRequestToLaTeXWithRequestBuilder(outPath: outPath, storage: storage, file: file).execute { (response, error) -> Void in
17991
17987
completion(response?.body, error);
17992
17988
}
17993
17989
}
@@ -18006,13 +18002,12 @@ open class PdfAPI {
18006
18002
}}]
18007
18003
18008
18004
- parameter outPath: (query) Full resulting filename (ex. /folder1/folder2/result.tex)
18009
- - parameter pagesCount: (query) Pages count. (optional)
18010
18005
- parameter storage: (query) The document storage. (optional)
18011
18006
- parameter file: (form) A file to be converted. (optional)
18012
18007
18013
18008
- returns: RequestBuilder<AsposeResponse>
18014
18009
*/
18015
- open class func putPdfInRequestToLaTeXWithRequestBuilder(outPath: String, pagesCount: Int? = nil, storage: String? = nil, file: URL? = nil) -> RequestBuilder<AsposeResponse> {
18010
+ open class func putPdfInRequestToLaTeXWithRequestBuilder(outPath: String, storage: String? = nil, file: URL? = nil) -> RequestBuilder<AsposeResponse> {
18016
18011
let pathUrl = "/pdf/convert/latex"
18017
18012
let URLString = AsposePdfCloudAPI.basePath + pathUrl
18018
18013
let formParams: [String:Any?] = [
@@ -18025,7 +18020,6 @@ open class PdfAPI {
18025
18020
let urlObj = NSURLComponents(string: URLString)
18026
18021
urlObj?.queryItems = APIHelper.mapValuesToQueryItems(values:[
18027
18022
"outPath": outPath,
18028
- "pagesCount": pagesCount?.encodeToJSON(),
18029
18023
"storage": storage
18030
18024
])
18031
18025
@@ -18961,19 +18955,18 @@ open class PdfAPI {
18961
18955
18962
18956
- parameter name: (path) The document name.
18963
18957
- parameter outPath: (query) Full resulting filename (ex. /folder1/folder2/result.tex)
18964
- - parameter pagesCount: (query) Pages count. (optional)
18965
18958
- parameter folder: (query) The document folder. (optional)
18966
18959
- parameter storage: (query) The document storage. (optional)
18967
18960
- parameter completion: completion handler to receive the data and the error objects
18968
18961
*/
18969
- open class func putPdfInStorageToLaTeX(name: String, outPath: String, pagesCount: Int? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: AsposeResponse?,_ error: Error?) -> Void)) {
18962
+ open class func putPdfInStorageToLaTeX(name: String, outPath: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: AsposeResponse?,_ error: Error?) -> Void)) {
18970
18963
AuthAspose.checkAuth() {
18971
18964
(authError) in
18972
18965
guard authError == nil else {
18973
18966
completion(nil, authError)
18974
18967
return
18975
18968
}
18976
- putPdfInStorageToLaTeXWithRequestBuilder(name: name, outPath: outPath, pagesCount: pagesCount, folder: folder, storage: storage).execute { (response, error) -> Void in
18969
+ putPdfInStorageToLaTeXWithRequestBuilder(name: name, outPath: outPath, folder: folder, storage: storage).execute { (response, error) -> Void in
18977
18970
completion(response?.body, error);
18978
18971
}
18979
18972
}
@@ -18993,13 +18986,12 @@ open class PdfAPI {
18993
18986
18994
18987
- parameter name: (path) The document name.
18995
18988
- parameter outPath: (query) Full resulting filename (ex. /folder1/folder2/result.tex)
18996
- - parameter pagesCount: (query) Pages count. (optional)
18997
18989
- parameter folder: (query) The document folder. (optional)
18998
18990
- parameter storage: (query) The document storage. (optional)
18999
18991
19000
18992
- returns: RequestBuilder<AsposeResponse>
19001
18993
*/
19002
- open class func putPdfInStorageToLaTeXWithRequestBuilder(name: String, outPath: String, pagesCount: Int? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder<AsposeResponse> {
18994
+ open class func putPdfInStorageToLaTeXWithRequestBuilder(name: String, outPath: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder<AsposeResponse> {
19003
18995
var pathUrl = "/pdf/{name}/convert/latex"
19004
18996
pathUrl = pathUrl.replacingOccurrences(of: "{name}", with: "\(name)", options: .literal, range: nil)
19005
18997
let URLString = AsposePdfCloudAPI.basePath + pathUrl
@@ -19008,7 +19000,6 @@ open class PdfAPI {
19008
19000
let urlObj = NSURLComponents(string: URLString)
19009
19001
urlObj?.queryItems = APIHelper.mapValuesToQueryItems(values:[
19010
19002
"outPath": outPath,
19011
- "pagesCount": pagesCount?.encodeToJSON(),
19012
19003
"folder": folder,
19013
19004
"storage": storage
19014
19005
])
0 commit comments