-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathRcppExports.cpp
1041 lines (1035 loc) · 46.2 KB
/
RcppExports.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include "openxlsx2_types.h"
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif
// to_long
bool to_long(std::string path);
RcppExport SEXP _openxlsx2_to_long(SEXP pathSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type path(pathSEXP);
rcpp_result_gen = Rcpp::wrap(to_long(path));
return rcpp_result_gen;
END_RCPP
}
// openxlsx2_type
SEXP openxlsx2_type(SEXP x);
RcppExport SEXP _openxlsx2_openxlsx2_type(SEXP xSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< SEXP >::type x(xSEXP);
rcpp_result_gen = Rcpp::wrap(openxlsx2_type(x));
return rcpp_result_gen;
END_RCPP
}
// int_to_col
std::string int_to_col(uint32_t cell);
RcppExport SEXP _openxlsx2_int_to_col(SEXP cellSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< uint32_t >::type cell(cellSEXP);
rcpp_result_gen = Rcpp::wrap(int_to_col(cell));
return rcpp_result_gen;
END_RCPP
}
// col_to_int
Rcpp::IntegerVector col_to_int(Rcpp::CharacterVector x);
RcppExport SEXP _openxlsx2_col_to_int(SEXP xSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type x(xSEXP);
rcpp_result_gen = Rcpp::wrap(col_to_int(x));
return rcpp_result_gen;
END_RCPP
}
// rbindlist
SEXP rbindlist(Rcpp::List x);
RcppExport SEXP _openxlsx2_rbindlist(SEXP xSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::List >::type x(xSEXP);
rcpp_result_gen = Rcpp::wrap(rbindlist(x));
return rcpp_result_gen;
END_RCPP
}
// copy
SEXP copy(SEXP x);
RcppExport SEXP _openxlsx2_copy(SEXP xSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< SEXP >::type x(xSEXP);
rcpp_result_gen = Rcpp::wrap(copy(x));
return rcpp_result_gen;
END_RCPP
}
// dims_to_df
SEXP dims_to_df(Rcpp::IntegerVector rows, Rcpp::CharacterVector cols, bool fill);
RcppExport SEXP _openxlsx2_dims_to_df(SEXP rowsSEXP, SEXP colsSEXP, SEXP fillSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::IntegerVector >::type rows(rowsSEXP);
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type cols(colsSEXP);
Rcpp::traits::input_parameter< bool >::type fill(fillSEXP);
rcpp_result_gen = Rcpp::wrap(dims_to_df(rows, cols, fill));
return rcpp_result_gen;
END_RCPP
}
// df_to_char
SEXP df_to_char(Rcpp::DataFrame df);
RcppExport SEXP _openxlsx2_df_to_char(SEXP dfSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df(dfSEXP);
rcpp_result_gen = Rcpp::wrap(df_to_char(df));
return rcpp_result_gen;
END_RCPP
}
// long_to_wide
void long_to_wide(Rcpp::DataFrame z, Rcpp::DataFrame tt, Rcpp::DataFrame zz);
RcppExport SEXP _openxlsx2_long_to_wide(SEXP zSEXP, SEXP ttSEXP, SEXP zzSEXP) {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type z(zSEXP);
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type tt(ttSEXP);
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type zz(zzSEXP);
long_to_wide(z, tt, zz);
return R_NilValue;
END_RCPP
}
// is_charnum
Rcpp::LogicalVector is_charnum(Rcpp::CharacterVector x);
RcppExport SEXP _openxlsx2_is_charnum(SEXP xSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type x(xSEXP);
rcpp_result_gen = Rcpp::wrap(is_charnum(x));
return rcpp_result_gen;
END_RCPP
}
// wide_to_long
void wide_to_long(Rcpp::DataFrame z, Rcpp::IntegerVector vtyps, Rcpp::DataFrame zz, bool ColNames, int32_t start_col, int32_t start_row, Rcpp::CharacterVector ref, int32_t string_nums, bool na_null, bool na_missing, std::string na_strings, bool inline_strings, std::string c_cm);
RcppExport SEXP _openxlsx2_wide_to_long(SEXP zSEXP, SEXP vtypsSEXP, SEXP zzSEXP, SEXP ColNamesSEXP, SEXP start_colSEXP, SEXP start_rowSEXP, SEXP refSEXP, SEXP string_numsSEXP, SEXP na_nullSEXP, SEXP na_missingSEXP, SEXP na_stringsSEXP, SEXP inline_stringsSEXP, SEXP c_cmSEXP) {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type z(zSEXP);
Rcpp::traits::input_parameter< Rcpp::IntegerVector >::type vtyps(vtypsSEXP);
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type zz(zzSEXP);
Rcpp::traits::input_parameter< bool >::type ColNames(ColNamesSEXP);
Rcpp::traits::input_parameter< int32_t >::type start_col(start_colSEXP);
Rcpp::traits::input_parameter< int32_t >::type start_row(start_rowSEXP);
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type ref(refSEXP);
Rcpp::traits::input_parameter< int32_t >::type string_nums(string_numsSEXP);
Rcpp::traits::input_parameter< bool >::type na_null(na_nullSEXP);
Rcpp::traits::input_parameter< bool >::type na_missing(na_missingSEXP);
Rcpp::traits::input_parameter< std::string >::type na_strings(na_stringsSEXP);
Rcpp::traits::input_parameter< bool >::type inline_strings(inline_stringsSEXP);
Rcpp::traits::input_parameter< std::string >::type c_cm(c_cmSEXP);
wide_to_long(z, vtyps, zz, ColNames, start_col, start_row, ref, string_nums, na_null, na_missing, na_strings, inline_strings, c_cm);
return R_NilValue;
END_RCPP
}
// create_char_dataframe
Rcpp::DataFrame create_char_dataframe(Rcpp::CharacterVector colnames, R_xlen_t n);
RcppExport SEXP _openxlsx2_create_char_dataframe(SEXP colnamesSEXP, SEXP nSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type colnames(colnamesSEXP);
Rcpp::traits::input_parameter< R_xlen_t >::type n(nSEXP);
rcpp_result_gen = Rcpp::wrap(create_char_dataframe(colnames, n));
return rcpp_result_gen;
END_RCPP
}
// col_to_df
Rcpp::DataFrame col_to_df(XPtrXML doc);
RcppExport SEXP _openxlsx2_col_to_df(SEXP docSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
rcpp_result_gen = Rcpp::wrap(col_to_df(doc));
return rcpp_result_gen;
END_RCPP
}
// df_to_xml
Rcpp::CharacterVector df_to_xml(std::string name, Rcpp::DataFrame df_col);
RcppExport SEXP _openxlsx2_df_to_xml(SEXP nameSEXP, SEXP df_colSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type name(nameSEXP);
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_col(df_colSEXP);
rcpp_result_gen = Rcpp::wrap(df_to_xml(name, df_col));
return rcpp_result_gen;
END_RCPP
}
// loadvals
void loadvals(Rcpp::Environment sheet_data, XPtrXML doc);
RcppExport SEXP _openxlsx2_loadvals(SEXP sheet_dataSEXP, SEXP docSEXP) {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::Environment >::type sheet_data(sheet_dataSEXP);
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
loadvals(sheet_data, doc);
return R_NilValue;
END_RCPP
}
// readXMLPtr
SEXP readXMLPtr(std::string path, bool isfile, bool escapes, bool declaration, bool whitespace, bool empty_tags, bool skip_control);
RcppExport SEXP _openxlsx2_readXMLPtr(SEXP pathSEXP, SEXP isfileSEXP, SEXP escapesSEXP, SEXP declarationSEXP, SEXP whitespaceSEXP, SEXP empty_tagsSEXP, SEXP skip_controlSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type path(pathSEXP);
Rcpp::traits::input_parameter< bool >::type isfile(isfileSEXP);
Rcpp::traits::input_parameter< bool >::type escapes(escapesSEXP);
Rcpp::traits::input_parameter< bool >::type declaration(declarationSEXP);
Rcpp::traits::input_parameter< bool >::type whitespace(whitespaceSEXP);
Rcpp::traits::input_parameter< bool >::type empty_tags(empty_tagsSEXP);
Rcpp::traits::input_parameter< bool >::type skip_control(skip_controlSEXP);
rcpp_result_gen = Rcpp::wrap(readXMLPtr(path, isfile, escapes, declaration, whitespace, empty_tags, skip_control));
return rcpp_result_gen;
END_RCPP
}
// readXML
SEXP readXML(std::string path, bool isfile, bool escapes, bool declaration, bool whitespace, bool empty_tags, bool skip_control);
RcppExport SEXP _openxlsx2_readXML(SEXP pathSEXP, SEXP isfileSEXP, SEXP escapesSEXP, SEXP declarationSEXP, SEXP whitespaceSEXP, SEXP empty_tagsSEXP, SEXP skip_controlSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type path(pathSEXP);
Rcpp::traits::input_parameter< bool >::type isfile(isfileSEXP);
Rcpp::traits::input_parameter< bool >::type escapes(escapesSEXP);
Rcpp::traits::input_parameter< bool >::type declaration(declarationSEXP);
Rcpp::traits::input_parameter< bool >::type whitespace(whitespaceSEXP);
Rcpp::traits::input_parameter< bool >::type empty_tags(empty_tagsSEXP);
Rcpp::traits::input_parameter< bool >::type skip_control(skip_controlSEXP);
rcpp_result_gen = Rcpp::wrap(readXML(path, isfile, escapes, declaration, whitespace, empty_tags, skip_control));
return rcpp_result_gen;
END_RCPP
}
// is_xml
Rcpp::LogicalVector is_xml(std::string str);
RcppExport SEXP _openxlsx2_is_xml(SEXP strSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type str(strSEXP);
rcpp_result_gen = Rcpp::wrap(is_xml(str));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtrName1
SEXP getXMLXPtrName1(XPtrXML doc);
RcppExport SEXP _openxlsx2_getXMLXPtrName1(SEXP docSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtrName1(doc));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtrName2
SEXP getXMLXPtrName2(XPtrXML doc, std::string level1);
RcppExport SEXP _openxlsx2_getXMLXPtrName2(SEXP docSEXP, SEXP level1SEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtrName2(doc, level1));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtrName3
SEXP getXMLXPtrName3(XPtrXML doc, std::string level1, std::string level2);
RcppExport SEXP _openxlsx2_getXMLXPtrName3(SEXP docSEXP, SEXP level1SEXP, SEXP level2SEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type level2(level2SEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtrName3(doc, level1, level2));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr0
SEXP getXMLXPtr0(XPtrXML doc);
RcppExport SEXP _openxlsx2_getXMLXPtr0(SEXP docSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr0(doc));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr1
SEXP getXMLXPtr1(XPtrXML doc, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr1(SEXP docSEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr1(doc, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr2
SEXP getXMLXPtr2(XPtrXML doc, std::string level1, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr2(SEXP docSEXP, SEXP level1SEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr2(doc, level1, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr3
SEXP getXMLXPtr3(XPtrXML doc, std::string level1, std::string level2, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr3(SEXP docSEXP, SEXP level1SEXP, SEXP level2SEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type level2(level2SEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr3(doc, level1, level2, child));
return rcpp_result_gen;
END_RCPP
}
// unkgetXMLXPtr3
SEXP unkgetXMLXPtr3(XPtrXML doc, std::string level1, std::string child);
RcppExport SEXP _openxlsx2_unkgetXMLXPtr3(SEXP docSEXP, SEXP level1SEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(unkgetXMLXPtr3(doc, level1, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLPtr1con
SEXP getXMLPtr1con(XPtrXML doc);
RcppExport SEXP _openxlsx2_getXMLPtr1con(SEXP docSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLPtr1con(doc));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr1val
SEXP getXMLXPtr1val(XPtrXML doc, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr1val(SEXP docSEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr1val(doc, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr2val
SEXP getXMLXPtr2val(XPtrXML doc, std::string level1, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr2val(SEXP docSEXP, SEXP level1SEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr2val(doc, level1, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr3val
SEXP getXMLXPtr3val(XPtrXML doc, std::string level1, std::string level2, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr3val(SEXP docSEXP, SEXP level1SEXP, SEXP level2SEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type level2(level2SEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr3val(doc, level1, level2, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr1attr
SEXP getXMLXPtr1attr(XPtrXML doc, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr1attr(SEXP docSEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr1attr(doc, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr2attr
Rcpp::List getXMLXPtr2attr(XPtrXML doc, std::string level1, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr2attr(SEXP docSEXP, SEXP level1SEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr2attr(doc, level1, child));
return rcpp_result_gen;
END_RCPP
}
// getXMLXPtr3attr
SEXP getXMLXPtr3attr(XPtrXML doc, std::string level1, std::string level2, std::string child);
RcppExport SEXP _openxlsx2_getXMLXPtr3attr(SEXP docSEXP, SEXP level1SEXP, SEXP level2SEXP, SEXP childSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type level2(level2SEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
rcpp_result_gen = Rcpp::wrap(getXMLXPtr3attr(doc, level1, level2, child));
return rcpp_result_gen;
END_RCPP
}
// printXPtr
SEXP printXPtr(XPtrXML doc, std::string indent, bool raw, bool attr_indent);
RcppExport SEXP _openxlsx2_printXPtr(SEXP docSEXP, SEXP indentSEXP, SEXP rawSEXP, SEXP attr_indentSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type indent(indentSEXP);
Rcpp::traits::input_parameter< bool >::type raw(rawSEXP);
Rcpp::traits::input_parameter< bool >::type attr_indent(attr_indentSEXP);
rcpp_result_gen = Rcpp::wrap(printXPtr(doc, indent, raw, attr_indent));
return rcpp_result_gen;
END_RCPP
}
// write_xml_file
XPtrXML write_xml_file(std::string xml_content, bool escapes);
RcppExport SEXP _openxlsx2_write_xml_file(SEXP xml_contentSEXP, SEXP escapesSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type xml_content(xml_contentSEXP);
Rcpp::traits::input_parameter< bool >::type escapes(escapesSEXP);
rcpp_result_gen = Rcpp::wrap(write_xml_file(xml_content, escapes));
return rcpp_result_gen;
END_RCPP
}
// xml_attr_mod
Rcpp::CharacterVector xml_attr_mod(std::string xml_content, Rcpp::CharacterVector xml_attributes, bool escapes, bool declaration, bool remove_empty_attr);
RcppExport SEXP _openxlsx2_xml_attr_mod(SEXP xml_contentSEXP, SEXP xml_attributesSEXP, SEXP escapesSEXP, SEXP declarationSEXP, SEXP remove_empty_attrSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type xml_content(xml_contentSEXP);
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type xml_attributes(xml_attributesSEXP);
Rcpp::traits::input_parameter< bool >::type escapes(escapesSEXP);
Rcpp::traits::input_parameter< bool >::type declaration(declarationSEXP);
Rcpp::traits::input_parameter< bool >::type remove_empty_attr(remove_empty_attrSEXP);
rcpp_result_gen = Rcpp::wrap(xml_attr_mod(xml_content, xml_attributes, escapes, declaration, remove_empty_attr));
return rcpp_result_gen;
END_RCPP
}
// xml_node_create
Rcpp::CharacterVector xml_node_create(std::string xml_name, Rcpp::Nullable<Rcpp::CharacterVector> xml_children, Rcpp::Nullable<Rcpp::CharacterVector> xml_attributes, bool escapes, bool declaration);
RcppExport SEXP _openxlsx2_xml_node_create(SEXP xml_nameSEXP, SEXP xml_childrenSEXP, SEXP xml_attributesSEXP, SEXP escapesSEXP, SEXP declarationSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type xml_name(xml_nameSEXP);
Rcpp::traits::input_parameter< Rcpp::Nullable<Rcpp::CharacterVector> >::type xml_children(xml_childrenSEXP);
Rcpp::traits::input_parameter< Rcpp::Nullable<Rcpp::CharacterVector> >::type xml_attributes(xml_attributesSEXP);
Rcpp::traits::input_parameter< bool >::type escapes(escapesSEXP);
Rcpp::traits::input_parameter< bool >::type declaration(declarationSEXP);
rcpp_result_gen = Rcpp::wrap(xml_node_create(xml_name, xml_children, xml_attributes, escapes, declaration));
return rcpp_result_gen;
END_RCPP
}
// xml_append_child1
SEXP xml_append_child1(XPtrXML node, XPtrXML child, bool pointer);
RcppExport SEXP _openxlsx2_xml_append_child1(SEXP nodeSEXP, SEXP childSEXP, SEXP pointerSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type node(nodeSEXP);
Rcpp::traits::input_parameter< XPtrXML >::type child(childSEXP);
Rcpp::traits::input_parameter< bool >::type pointer(pointerSEXP);
rcpp_result_gen = Rcpp::wrap(xml_append_child1(node, child, pointer));
return rcpp_result_gen;
END_RCPP
}
// xml_append_child2
SEXP xml_append_child2(XPtrXML node, XPtrXML child, std::string level1, bool pointer);
RcppExport SEXP _openxlsx2_xml_append_child2(SEXP nodeSEXP, SEXP childSEXP, SEXP level1SEXP, SEXP pointerSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type node(nodeSEXP);
Rcpp::traits::input_parameter< XPtrXML >::type child(childSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< bool >::type pointer(pointerSEXP);
rcpp_result_gen = Rcpp::wrap(xml_append_child2(node, child, level1, pointer));
return rcpp_result_gen;
END_RCPP
}
// xml_append_child3
SEXP xml_append_child3(XPtrXML node, XPtrXML child, std::string level1, std::string level2, bool pointer);
RcppExport SEXP _openxlsx2_xml_append_child3(SEXP nodeSEXP, SEXP childSEXP, SEXP level1SEXP, SEXP level2SEXP, SEXP pointerSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type node(nodeSEXP);
Rcpp::traits::input_parameter< XPtrXML >::type child(childSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type level2(level2SEXP);
Rcpp::traits::input_parameter< bool >::type pointer(pointerSEXP);
rcpp_result_gen = Rcpp::wrap(xml_append_child3(node, child, level1, level2, pointer));
return rcpp_result_gen;
END_RCPP
}
// xml_remove_child1
SEXP xml_remove_child1(XPtrXML node, std::string child, int which, bool pointer);
RcppExport SEXP _openxlsx2_xml_remove_child1(SEXP nodeSEXP, SEXP childSEXP, SEXP whichSEXP, SEXP pointerSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type node(nodeSEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
Rcpp::traits::input_parameter< int >::type which(whichSEXP);
Rcpp::traits::input_parameter< bool >::type pointer(pointerSEXP);
rcpp_result_gen = Rcpp::wrap(xml_remove_child1(node, child, which, pointer));
return rcpp_result_gen;
END_RCPP
}
// xml_remove_child2
SEXP xml_remove_child2(XPtrXML node, std::string child, std::string level1, int which, bool pointer);
RcppExport SEXP _openxlsx2_xml_remove_child2(SEXP nodeSEXP, SEXP childSEXP, SEXP level1SEXP, SEXP whichSEXP, SEXP pointerSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type node(nodeSEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< int >::type which(whichSEXP);
Rcpp::traits::input_parameter< bool >::type pointer(pointerSEXP);
rcpp_result_gen = Rcpp::wrap(xml_remove_child2(node, child, level1, which, pointer));
return rcpp_result_gen;
END_RCPP
}
// xml_remove_child3
SEXP xml_remove_child3(XPtrXML node, std::string child, std::string level1, std::string level2, int which, bool pointer);
RcppExport SEXP _openxlsx2_xml_remove_child3(SEXP nodeSEXP, SEXP childSEXP, SEXP level1SEXP, SEXP level2SEXP, SEXP whichSEXP, SEXP pointerSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type node(nodeSEXP);
Rcpp::traits::input_parameter< std::string >::type child(childSEXP);
Rcpp::traits::input_parameter< std::string >::type level1(level1SEXP);
Rcpp::traits::input_parameter< std::string >::type level2(level2SEXP);
Rcpp::traits::input_parameter< int >::type which(whichSEXP);
Rcpp::traits::input_parameter< bool >::type pointer(pointerSEXP);
rcpp_result_gen = Rcpp::wrap(xml_remove_child3(node, child, level1, level2, which, pointer));
return rcpp_result_gen;
END_RCPP
}
// xml_si_to_txt
SEXP xml_si_to_txt(XPtrXML doc);
RcppExport SEXP _openxlsx2_xml_si_to_txt(SEXP docSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
rcpp_result_gen = Rcpp::wrap(xml_si_to_txt(doc));
return rcpp_result_gen;
END_RCPP
}
// is_to_txt
SEXP is_to_txt(Rcpp::CharacterVector is_vec);
RcppExport SEXP _openxlsx2_is_to_txt(SEXP is_vecSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type is_vec(is_vecSEXP);
rcpp_result_gen = Rcpp::wrap(is_to_txt(is_vec));
return rcpp_result_gen;
END_RCPP
}
// si_to_txt
SEXP si_to_txt(Rcpp::CharacterVector si_vec);
RcppExport SEXP _openxlsx2_si_to_txt(SEXP si_vecSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type si_vec(si_vecSEXP);
rcpp_result_gen = Rcpp::wrap(si_to_txt(si_vec));
return rcpp_result_gen;
END_RCPP
}
// txt_to_is
std::string txt_to_is(std::string text, bool no_escapes, bool raw, bool skip_control);
RcppExport SEXP _openxlsx2_txt_to_is(SEXP textSEXP, SEXP no_escapesSEXP, SEXP rawSEXP, SEXP skip_controlSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type text(textSEXP);
Rcpp::traits::input_parameter< bool >::type no_escapes(no_escapesSEXP);
Rcpp::traits::input_parameter< bool >::type raw(rawSEXP);
Rcpp::traits::input_parameter< bool >::type skip_control(skip_controlSEXP);
rcpp_result_gen = Rcpp::wrap(txt_to_is(text, no_escapes, raw, skip_control));
return rcpp_result_gen;
END_RCPP
}
// txt_to_si
std::string txt_to_si(std::string text, bool no_escapes, bool raw, bool skip_control);
RcppExport SEXP _openxlsx2_txt_to_si(SEXP textSEXP, SEXP no_escapesSEXP, SEXP rawSEXP, SEXP skip_controlSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type text(textSEXP);
Rcpp::traits::input_parameter< bool >::type no_escapes(no_escapesSEXP);
Rcpp::traits::input_parameter< bool >::type raw(rawSEXP);
Rcpp::traits::input_parameter< bool >::type skip_control(skip_controlSEXP);
rcpp_result_gen = Rcpp::wrap(txt_to_si(text, no_escapes, raw, skip_control));
return rcpp_result_gen;
END_RCPP
}
// read_xf
Rcpp::DataFrame read_xf(XPtrXML xml_doc_xf);
RcppExport SEXP _openxlsx2_read_xf(SEXP xml_doc_xfSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_xf(xml_doc_xfSEXP);
rcpp_result_gen = Rcpp::wrap(read_xf(xml_doc_xf));
return rcpp_result_gen;
END_RCPP
}
// write_xf
Rcpp::CharacterVector write_xf(Rcpp::DataFrame df_xf);
RcppExport SEXP _openxlsx2_write_xf(SEXP df_xfSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_xf(df_xfSEXP);
rcpp_result_gen = Rcpp::wrap(write_xf(df_xf));
return rcpp_result_gen;
END_RCPP
}
// read_font
Rcpp::DataFrame read_font(XPtrXML xml_doc_font);
RcppExport SEXP _openxlsx2_read_font(SEXP xml_doc_fontSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_font(xml_doc_fontSEXP);
rcpp_result_gen = Rcpp::wrap(read_font(xml_doc_font));
return rcpp_result_gen;
END_RCPP
}
// write_font
Rcpp::CharacterVector write_font(Rcpp::DataFrame df_font);
RcppExport SEXP _openxlsx2_write_font(SEXP df_fontSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_font(df_fontSEXP);
rcpp_result_gen = Rcpp::wrap(write_font(df_font));
return rcpp_result_gen;
END_RCPP
}
// read_numfmt
Rcpp::DataFrame read_numfmt(XPtrXML xml_doc_numfmt);
RcppExport SEXP _openxlsx2_read_numfmt(SEXP xml_doc_numfmtSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_numfmt(xml_doc_numfmtSEXP);
rcpp_result_gen = Rcpp::wrap(read_numfmt(xml_doc_numfmt));
return rcpp_result_gen;
END_RCPP
}
// write_numfmt
Rcpp::CharacterVector write_numfmt(Rcpp::DataFrame df_numfmt);
RcppExport SEXP _openxlsx2_write_numfmt(SEXP df_numfmtSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_numfmt(df_numfmtSEXP);
rcpp_result_gen = Rcpp::wrap(write_numfmt(df_numfmt));
return rcpp_result_gen;
END_RCPP
}
// read_border
Rcpp::DataFrame read_border(XPtrXML xml_doc_border);
RcppExport SEXP _openxlsx2_read_border(SEXP xml_doc_borderSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_border(xml_doc_borderSEXP);
rcpp_result_gen = Rcpp::wrap(read_border(xml_doc_border));
return rcpp_result_gen;
END_RCPP
}
// write_border
Rcpp::CharacterVector write_border(Rcpp::DataFrame df_border);
RcppExport SEXP _openxlsx2_write_border(SEXP df_borderSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_border(df_borderSEXP);
rcpp_result_gen = Rcpp::wrap(write_border(df_border));
return rcpp_result_gen;
END_RCPP
}
// read_fill
Rcpp::DataFrame read_fill(XPtrXML xml_doc_fill);
RcppExport SEXP _openxlsx2_read_fill(SEXP xml_doc_fillSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_fill(xml_doc_fillSEXP);
rcpp_result_gen = Rcpp::wrap(read_fill(xml_doc_fill));
return rcpp_result_gen;
END_RCPP
}
// write_fill
Rcpp::CharacterVector write_fill(Rcpp::DataFrame df_fill);
RcppExport SEXP _openxlsx2_write_fill(SEXP df_fillSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_fill(df_fillSEXP);
rcpp_result_gen = Rcpp::wrap(write_fill(df_fill));
return rcpp_result_gen;
END_RCPP
}
// read_cellStyle
Rcpp::DataFrame read_cellStyle(XPtrXML xml_doc_cellStyle);
RcppExport SEXP _openxlsx2_read_cellStyle(SEXP xml_doc_cellStyleSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_cellStyle(xml_doc_cellStyleSEXP);
rcpp_result_gen = Rcpp::wrap(read_cellStyle(xml_doc_cellStyle));
return rcpp_result_gen;
END_RCPP
}
// write_cellStyle
Rcpp::CharacterVector write_cellStyle(Rcpp::DataFrame df_cellstyle);
RcppExport SEXP _openxlsx2_write_cellStyle(SEXP df_cellstyleSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_cellstyle(df_cellstyleSEXP);
rcpp_result_gen = Rcpp::wrap(write_cellStyle(df_cellstyle));
return rcpp_result_gen;
END_RCPP
}
// read_tableStyle
Rcpp::DataFrame read_tableStyle(XPtrXML xml_doc_tableStyle);
RcppExport SEXP _openxlsx2_read_tableStyle(SEXP xml_doc_tableStyleSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_tableStyle(xml_doc_tableStyleSEXP);
rcpp_result_gen = Rcpp::wrap(read_tableStyle(xml_doc_tableStyle));
return rcpp_result_gen;
END_RCPP
}
// write_tableStyle
Rcpp::CharacterVector write_tableStyle(Rcpp::DataFrame df_tablestyle);
RcppExport SEXP _openxlsx2_write_tableStyle(SEXP df_tablestyleSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_tablestyle(df_tablestyleSEXP);
rcpp_result_gen = Rcpp::wrap(write_tableStyle(df_tablestyle));
return rcpp_result_gen;
END_RCPP
}
// read_dxf
Rcpp::DataFrame read_dxf(XPtrXML xml_doc_dxf);
RcppExport SEXP _openxlsx2_read_dxf(SEXP xml_doc_dxfSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_dxf(xml_doc_dxfSEXP);
rcpp_result_gen = Rcpp::wrap(read_dxf(xml_doc_dxf));
return rcpp_result_gen;
END_RCPP
}
// write_dxf
Rcpp::CharacterVector write_dxf(Rcpp::DataFrame df_dxf);
RcppExport SEXP _openxlsx2_write_dxf(SEXP df_dxfSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_dxf(df_dxfSEXP);
rcpp_result_gen = Rcpp::wrap(write_dxf(df_dxf));
return rcpp_result_gen;
END_RCPP
}
// read_colors
Rcpp::DataFrame read_colors(XPtrXML xml_doc_colors);
RcppExport SEXP _openxlsx2_read_colors(SEXP xml_doc_colorsSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type xml_doc_colors(xml_doc_colorsSEXP);
rcpp_result_gen = Rcpp::wrap(read_colors(xml_doc_colors));
return rcpp_result_gen;
END_RCPP
}
// write_colors
Rcpp::CharacterVector write_colors(Rcpp::DataFrame df_colors);
RcppExport SEXP _openxlsx2_write_colors(SEXP df_colorsSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::DataFrame >::type df_colors(df_colorsSEXP);
rcpp_result_gen = Rcpp::wrap(write_colors(df_colors));
return rcpp_result_gen;
END_RCPP
}
// set_sst
Rcpp::CharacterVector set_sst(Rcpp::CharacterVector sharedStrings);
RcppExport SEXP _openxlsx2_set_sst(SEXP sharedStringsSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::CharacterVector >::type sharedStrings(sharedStringsSEXP);
rcpp_result_gen = Rcpp::wrap(set_sst(sharedStrings));
return rcpp_result_gen;
END_RCPP
}
// write_worksheet
XPtrXML write_worksheet(std::string prior, std::string post, Rcpp::Environment sheet_data);
RcppExport SEXP _openxlsx2_write_worksheet(SEXP priorSEXP, SEXP postSEXP, SEXP sheet_dataSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type prior(priorSEXP);
Rcpp::traits::input_parameter< std::string >::type post(postSEXP);
Rcpp::traits::input_parameter< Rcpp::Environment >::type sheet_data(sheet_dataSEXP);
rcpp_result_gen = Rcpp::wrap(write_worksheet(prior, post, sheet_data));
return rcpp_result_gen;
END_RCPP
}
// write_xmlPtr
void write_xmlPtr(XPtrXML doc, std::string fl);
RcppExport SEXP _openxlsx2_write_xmlPtr(SEXP docSEXP, SEXP flSEXP) {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< XPtrXML >::type doc(docSEXP);
Rcpp::traits::input_parameter< std::string >::type fl(flSEXP);
write_xmlPtr(doc, fl);
return R_NilValue;
END_RCPP
}
// styles_bin
int styles_bin(std::string filePath, std::string outPath, bool debug);
RcppExport SEXP _openxlsx2_styles_bin(SEXP filePathSEXP, SEXP outPathSEXP, SEXP debugSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type filePath(filePathSEXP);
Rcpp::traits::input_parameter< std::string >::type outPath(outPathSEXP);
Rcpp::traits::input_parameter< bool >::type debug(debugSEXP);
rcpp_result_gen = Rcpp::wrap(styles_bin(filePath, outPath, debug));
return rcpp_result_gen;
END_RCPP
}
// table_bin
int table_bin(std::string filePath, std::string outPath, bool debug);
RcppExport SEXP _openxlsx2_table_bin(SEXP filePathSEXP, SEXP outPathSEXP, SEXP debugSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type filePath(filePathSEXP);
Rcpp::traits::input_parameter< std::string >::type outPath(outPathSEXP);
Rcpp::traits::input_parameter< bool >::type debug(debugSEXP);
rcpp_result_gen = Rcpp::wrap(table_bin(filePath, outPath, debug));
return rcpp_result_gen;
END_RCPP
}
// comments_bin
int comments_bin(std::string filePath, std::string outPath, bool debug);
RcppExport SEXP _openxlsx2_comments_bin(SEXP filePathSEXP, SEXP outPathSEXP, SEXP debugSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type filePath(filePathSEXP);
Rcpp::traits::input_parameter< std::string >::type outPath(outPathSEXP);
Rcpp::traits::input_parameter< bool >::type debug(debugSEXP);
rcpp_result_gen = Rcpp::wrap(comments_bin(filePath, outPath, debug));
return rcpp_result_gen;
END_RCPP
}
// externalreferences_bin
int externalreferences_bin(std::string filePath, std::string outPath, bool debug);
RcppExport SEXP _openxlsx2_externalreferences_bin(SEXP filePathSEXP, SEXP outPathSEXP, SEXP debugSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type filePath(filePathSEXP);
Rcpp::traits::input_parameter< std::string >::type outPath(outPathSEXP);
Rcpp::traits::input_parameter< bool >::type debug(debugSEXP);
rcpp_result_gen = Rcpp::wrap(externalreferences_bin(filePath, outPath, debug));
return rcpp_result_gen;
END_RCPP
}
// sharedstrings_bin
int sharedstrings_bin(std::string filePath, std::string outPath, bool debug);
RcppExport SEXP _openxlsx2_sharedstrings_bin(SEXP filePathSEXP, SEXP outPathSEXP, SEXP debugSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type filePath(filePathSEXP);
Rcpp::traits::input_parameter< std::string >::type outPath(outPathSEXP);
Rcpp::traits::input_parameter< bool >::type debug(debugSEXP);
rcpp_result_gen = Rcpp::wrap(sharedstrings_bin(filePath, outPath, debug));
return rcpp_result_gen;
END_RCPP
}
// workbook_bin
int workbook_bin(std::string filePath, std::string outPath, bool debug);
RcppExport SEXP _openxlsx2_workbook_bin(SEXP filePathSEXP, SEXP outPathSEXP, SEXP debugSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type filePath(filePathSEXP);
Rcpp::traits::input_parameter< std::string >::type outPath(outPathSEXP);
Rcpp::traits::input_parameter< bool >::type debug(debugSEXP);
rcpp_result_gen = Rcpp::wrap(workbook_bin(filePath, outPath, debug));
return rcpp_result_gen;
END_RCPP
}
// worksheet_bin
int worksheet_bin(std::string filePath, bool chartsheet, std::string outPath, bool debug);
RcppExport SEXP _openxlsx2_worksheet_bin(SEXP filePathSEXP, SEXP chartsheetSEXP, SEXP outPathSEXP, SEXP debugSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< std::string >::type filePath(filePathSEXP);
Rcpp::traits::input_parameter< bool >::type chartsheet(chartsheetSEXP);
Rcpp::traits::input_parameter< std::string >::type outPath(outPathSEXP);
Rcpp::traits::input_parameter< bool >::type debug(debugSEXP);
rcpp_result_gen = Rcpp::wrap(worksheet_bin(filePath, chartsheet, outPath, debug));
return rcpp_result_gen;
END_RCPP
}
static const R_CallMethodDef CallEntries[] = {
{"_openxlsx2_to_long", (DL_FUNC) &_openxlsx2_to_long, 1},
{"_openxlsx2_openxlsx2_type", (DL_FUNC) &_openxlsx2_openxlsx2_type, 1},
{"_openxlsx2_int_to_col", (DL_FUNC) &_openxlsx2_int_to_col, 1},
{"_openxlsx2_col_to_int", (DL_FUNC) &_openxlsx2_col_to_int, 1},
{"_openxlsx2_rbindlist", (DL_FUNC) &_openxlsx2_rbindlist, 1},
{"_openxlsx2_copy", (DL_FUNC) &_openxlsx2_copy, 1},
{"_openxlsx2_dims_to_df", (DL_FUNC) &_openxlsx2_dims_to_df, 3},
{"_openxlsx2_df_to_char", (DL_FUNC) &_openxlsx2_df_to_char, 1},
{"_openxlsx2_long_to_wide", (DL_FUNC) &_openxlsx2_long_to_wide, 3},
{"_openxlsx2_is_charnum", (DL_FUNC) &_openxlsx2_is_charnum, 1},
{"_openxlsx2_wide_to_long", (DL_FUNC) &_openxlsx2_wide_to_long, 13},
{"_openxlsx2_create_char_dataframe", (DL_FUNC) &_openxlsx2_create_char_dataframe, 2},
{"_openxlsx2_col_to_df", (DL_FUNC) &_openxlsx2_col_to_df, 1},
{"_openxlsx2_df_to_xml", (DL_FUNC) &_openxlsx2_df_to_xml, 2},
{"_openxlsx2_loadvals", (DL_FUNC) &_openxlsx2_loadvals, 2},
{"_openxlsx2_readXMLPtr", (DL_FUNC) &_openxlsx2_readXMLPtr, 7},
{"_openxlsx2_readXML", (DL_FUNC) &_openxlsx2_readXML, 7},
{"_openxlsx2_is_xml", (DL_FUNC) &_openxlsx2_is_xml, 1},
{"_openxlsx2_getXMLXPtrName1", (DL_FUNC) &_openxlsx2_getXMLXPtrName1, 1},
{"_openxlsx2_getXMLXPtrName2", (DL_FUNC) &_openxlsx2_getXMLXPtrName2, 2},
{"_openxlsx2_getXMLXPtrName3", (DL_FUNC) &_openxlsx2_getXMLXPtrName3, 3},
{"_openxlsx2_getXMLXPtr0", (DL_FUNC) &_openxlsx2_getXMLXPtr0, 1},
{"_openxlsx2_getXMLXPtr1", (DL_FUNC) &_openxlsx2_getXMLXPtr1, 2},
{"_openxlsx2_getXMLXPtr2", (DL_FUNC) &_openxlsx2_getXMLXPtr2, 3},
{"_openxlsx2_getXMLXPtr3", (DL_FUNC) &_openxlsx2_getXMLXPtr3, 4},
{"_openxlsx2_unkgetXMLXPtr3", (DL_FUNC) &_openxlsx2_unkgetXMLXPtr3, 3},
{"_openxlsx2_getXMLPtr1con", (DL_FUNC) &_openxlsx2_getXMLPtr1con, 1},
{"_openxlsx2_getXMLXPtr1val", (DL_FUNC) &_openxlsx2_getXMLXPtr1val, 2},
{"_openxlsx2_getXMLXPtr2val", (DL_FUNC) &_openxlsx2_getXMLXPtr2val, 3},
{"_openxlsx2_getXMLXPtr3val", (DL_FUNC) &_openxlsx2_getXMLXPtr3val, 4},
{"_openxlsx2_getXMLXPtr1attr", (DL_FUNC) &_openxlsx2_getXMLXPtr1attr, 2},
{"_openxlsx2_getXMLXPtr2attr", (DL_FUNC) &_openxlsx2_getXMLXPtr2attr, 3},
{"_openxlsx2_getXMLXPtr3attr", (DL_FUNC) &_openxlsx2_getXMLXPtr3attr, 4},
{"_openxlsx2_printXPtr", (DL_FUNC) &_openxlsx2_printXPtr, 4},
{"_openxlsx2_write_xml_file", (DL_FUNC) &_openxlsx2_write_xml_file, 2},
{"_openxlsx2_xml_attr_mod", (DL_FUNC) &_openxlsx2_xml_attr_mod, 5},
{"_openxlsx2_xml_node_create", (DL_FUNC) &_openxlsx2_xml_node_create, 5},
{"_openxlsx2_xml_append_child1", (DL_FUNC) &_openxlsx2_xml_append_child1, 3},
{"_openxlsx2_xml_append_child2", (DL_FUNC) &_openxlsx2_xml_append_child2, 4},
{"_openxlsx2_xml_append_child3", (DL_FUNC) &_openxlsx2_xml_append_child3, 5},
{"_openxlsx2_xml_remove_child1", (DL_FUNC) &_openxlsx2_xml_remove_child1, 4},
{"_openxlsx2_xml_remove_child2", (DL_FUNC) &_openxlsx2_xml_remove_child2, 5},