LibreOffice Module xmloff (master)  1
txtfldi.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
26 #pragma once
27 
28 #include <com/sun/star/uno/Reference.h>
29 #include <com/sun/star/beans/PropertyValue.hpp>
30 #include <com/sun/star/text/PageNumberType.hpp>
31 #include <com/sun/star/util/DateTime.hpp>
32 #include <xmloff/xmlictxt.hxx>
33 #include <xmloff/txtimp.hxx>
34 #include <xmloff/xmltkmap.hxx>
35 #include <rtl/ustrbuf.hxx>
36 #include <vector>
37 
38 namespace com::sun::star {
39  namespace xml::sax { class XAttributeList; }
40  namespace text { class XTextField; }
41  namespace beans { class XPropertySet; struct PropertyValue; }
42 }
43 
44 class SvXMLImport;
46 class SvXMLTokenMap;
47 
50 {
51  // data members
52  OUStringBuffer sContentBuffer;
53  OUString sContent;
54  OUString sServiceName;
56 
57 protected:
58  OUString sServicePrefix;
59 
60  // data members for use in subclasses
61  bool bValid;
62 
63 public:
64 
66  SvXMLImport& rImport,
67  XMLTextImportHelper& rHlp,
68  const OUString& pService);
69 
71  virtual void SAL_CALL characters( const OUString& sContent ) override;
72 
74  virtual void SAL_CALL startFastElement(
75  sal_Int32 nElement,
76  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
77 
79  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
80 
84  SvXMLImport& rImport,
85  XMLTextImportHelper& rHlp,
86  sal_Int32 nElement);
87 
88 protected:
91 
92  const OUString& GetServiceName() const { return sServiceName; }
93  void SetServiceName(const OUString& sStr) { sServiceName = sStr; }
94 
95  OUString const & GetContent();
96 
98  virtual void ProcessAttribute( sal_Int32 nAttrToken,
99  std::string_view sAttrValue ) = 0;
100 
102  virtual void PrepareField(
103  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) = 0;
104 
106  bool CreateField(css::uno::Reference< css::beans::XPropertySet> & xField,
107  const OUString& sServiceName);
108 
111  static void ForceUpdate(
112  const css::uno::Reference< css::beans::XPropertySet> & rPropertySet);
113 };
114 
116 {
117 
118  sal_Int16 nSubType;
119 
120  const OUString sPropertyFixed;
121  const OUString sPropertyContent;
122 
123 protected:
124  // variables for access in subclass
125  bool bFixed;
126 
127 public:
128 
130  SvXMLImport& rImport,
131  XMLTextImportHelper& rHlp);
132 
133 protected:
135  virtual void SAL_CALL startFastElement(
136  sal_Int32 nElement,
137  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
138 
140  virtual void ProcessAttribute( sal_Int32 nAttrToken,
141  std::string_view sAttrValue ) override;
142 
144  virtual void PrepareField(
145  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
146 };
147 
150 {
152  const OUString sPropertyFixed;
153  const OUString sPropertyContent;
154 
155 public:
156 
158  SvXMLImport& rImport,
159  XMLTextImportHelper& rHlp);
160 
161 private:
163  virtual void SAL_CALL startFastElement(
164  sal_Int32 nElement,
165  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
166 
168  virtual void ProcessAttribute( sal_Int32 nAttrToken,
169  std::string_view sAttrValue ) override;
170 
172  virtual void PrepareField(
173  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
174 };
175 
177 {
178  const OUString sPropertyHint;
179 
180  OUString sDescription;
181 
182  sal_Int16 nPlaceholderType;
183 
184 public:
185 
187  SvXMLImport& rImport,
188  XMLTextImportHelper& rHlp);
189 
190 private:
192  virtual void ProcessAttribute( sal_Int32 nAttrToken,
193  std::string_view sAttrValue ) override;
194 
196  virtual void PrepareField(
197  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
198 };
199 
201 {
202 protected:
203  const OUString sPropertyNumberFormat;
204  const OUString sPropertyFixed;
205  const OUString sPropertyDateTimeValue;
206  const OUString sPropertyDateTime;
207  const OUString sPropertyIsDate;
208  const OUString sPropertyIsFixedLanguage;
209 
210  css::util::DateTime aDateTimeValue;
211  sal_Int32 nAdjust;
212  sal_Int32 nFormatKey;
213  bool bTimeOK;
214  bool bFormatOK;
215  bool bFixed;
216  bool bIsDate; // is this a date?
217  // (for XMLDateFieldImportContext, really)
219 
220 public:
221 
223  SvXMLImport& rImport,
224  XMLTextImportHelper& rHlp);
225 
227  virtual void ProcessAttribute( sal_Int32 nAttrToken,
228  std::string_view sAttrValue ) override;
229 
231  virtual void PrepareField(
232  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
233 };
234 
238 {
239 public:
240 
242  SvXMLImport& rImport,
243  XMLTextImportHelper& rHlp);
244 
246  virtual void ProcessAttribute( sal_Int32 nAttrToken,
247  std::string_view sAttrValue ) override;
248 };
249 
252 {
253  const OUString sPropertySubType;
254  const OUString sPropertyNumberingType;
255 
256  OUString sString;
257  css::text::PageNumberType eSelectPage;
258  bool sStringOK;
260 
261 public:
262 
264  SvXMLImport& rImport,
265  XMLTextImportHelper& rHlp);
266 
268  virtual void ProcessAttribute( sal_Int32 nAttrToken,
269  std::string_view sAttrValue ) override;
270 
272  virtual void PrepareField(
273  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
274 };
275 
278 {
279  const OUString sPropertySubType;
280  const OUString sPropertyNumberingType;
281  const OUString sPropertyOffset;
282 
283  OUString sNumberFormat;
284  OUString sNumberSync;
285  sal_Int16 nPageAdjust;
286  css::text::PageNumberType eSelectPage;
287  bool sNumberFormatOK;
289 
290 public:
291 
293  SvXMLImport& rImport,
294  XMLTextImportHelper& rHlp);
295 
296 
298  virtual void ProcessAttribute( sal_Int32 nAttrToken,
299  std::string_view sAttrValue ) override;
300 
302  virtual void PrepareField(
303  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
304 };
305 
308 {
309  OUString m_sDatabaseName;
310  OUString m_sDatabaseURL;
311  OUString m_sTableName;
312 
313  sal_Int32 m_nCommandType;
315 
319 
320 protected:
325 
328  XMLTextImportHelper& rHlp,
329  const OUString& pServiceName,
330  bool bUseDisplay );
331 
332 public:
333 
335  virtual void ProcessAttribute( sal_Int32 nAttrToken,
336  std::string_view sAttrValue ) override;
337 
339  virtual void PrepareField(
340  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
341 
343  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
344  sal_Int32 nElement,
345  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
346 };
347 
350 {
351 public:
352 
354  XMLTextImportHelper& rHlp);
355 
357  virtual void ProcessAttribute( sal_Int32 nAttrToken,
358  std::string_view sAttrValue ) override;
359 };
360 
363 {
364  const OUString sPropertyCondition;
365  const OUString sTrue;
366  OUString sCondition;
368 
369 protected:
370  // for use in child classes
372  XMLTextImportHelper& rHlp,
373  const OUString& pServiceName);
374 
375 public:
376 
378  XMLTextImportHelper& rHlp);
379 
381  virtual void ProcessAttribute( sal_Int32 nAttrToken,
382  std::string_view sAttrValue ) override;
383 
385  virtual void PrepareField(
386  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
387 };
388 
391 {
392  const OUString sPropertySetNumber;
393  sal_Int32 nNumber;
394  bool bNumberOK;
395 
396 public:
397 
399  XMLTextImportHelper& rHlp);
400 
402  virtual void ProcessAttribute( sal_Int32 nAttrToken,
403  std::string_view sAttrValue ) override;
404 
406  virtual void PrepareField(
407  const css::uno::Reference<
408  css::beans::XPropertySet> & xPropertySet) override;
409 };
410 
413 {
414  const OUString sPropertyNumberingType;
415  const OUString sPropertySetNumber;
416  OUString sNumberFormat;
417  OUString sNumberSync;
418  sal_Int32 nValue;
419  bool bValueOK;
420 
421 public:
422 
424  XMLTextImportHelper& rHlp);
425 
427  virtual void ProcessAttribute( sal_Int32 nAttrToken,
428  std::string_view sAttrValue ) override;
429 
431  virtual void PrepareField(
432  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
433 };
434 
437 {
438  const OUString sPropertyFixed;
439  const OUString sPropertyContent;
440  const OUString sPropertyAuthor;
442 
443 protected:
444  bool bFixed;
447 
448 public:
449 
451  XMLTextImportHelper& rHlp,
452  sal_Int32 nElementToken,
453  bool bContent,
454  bool bAuthor);
455 
456 protected:
458  virtual void ProcessAttribute( sal_Int32 nAttrToken,
459  std::string_view sAttrValue ) override;
460 
462  virtual void PrepareField(
463  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
464 
465  static OUString MapTokenToServiceName(sal_Int32 nElementToken);
466 };
467 
470 {
471  const OUString sPropertyNumberFormat;
472  const OUString sPropertyIsDate;
473  const OUString sPropertyIsFixedLanguage;
474 
475  sal_Int32 nFormat;
476  bool bFormatOK;
477  bool bIsDate;
480 
481 public:
482 
484  XMLTextImportHelper& rHlp,
485  sal_Int32 nElement);
486 
487 private:
489  virtual void ProcessAttribute( sal_Int32 nAttrToken,
490  std::string_view sAttrValue ) override;
491 
493  virtual void PrepareField(
494  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
495 };
496 
499 {
500 public:
501 
503  XMLTextImportHelper& rHlp,
504  sal_Int32 nElement);
505 
506 private:
508  virtual void PrepareField(
509  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
510 };
511 
514 {
515  OUString aName;
516  const OUString sPropertyName;
517  const OUString sPropertyNumberFormat;
518  const OUString sPropertyIsFixedLanguage;
519  sal_Int32 nFormat;
520  bool bFormatOK;
522 
523 public:
524 
526  XMLTextImportHelper& rHlp,
527  sal_Int32 nElement);
528 
529 private:
531  virtual void ProcessAttribute( sal_Int32 nAttrToken,
532  std::string_view sAttrValue ) override;
533  virtual void PrepareField(
534  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
535 };
536 
539 {
540  const OUString sPropertyCondition;
541  const OUString sPropertyIsHidden;
542 
543  OUString sCondition;
544  bool bIsHidden;
545 
546 public:
547 
549  XMLTextImportHelper& rHlp);
550 
551 private:
553  virtual void ProcessAttribute( sal_Int32 nAttrToken,
554  std::string_view sAttrValue ) override;
555 
557  virtual void PrepareField(
558  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
559 };
560 
563 {
564  const OUString sPropertyCondition;
566 
567  OUString sCondition;
568  OUString sTrueContent;
569  OUString sFalseContent;
570 
572  bool bTrueOK;
573  bool bFalseOK;
575 
576 public:
577 
579  XMLTextImportHelper& rHlp);
580 
581 private:
583  virtual void ProcessAttribute( sal_Int32 nAttrToken,
584  std::string_view sAttrValue ) override;
585 
587  virtual void PrepareField(
588  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
589 };
590 
593 {
594  const OUString sPropertyCondition;
595  const OUString sPropertyContent;
596  const OUString sPropertyIsHidden;
597 
598  OUString sCondition;
599  OUString sString;
600 
602  bool bStringOK;
603  bool bIsHidden;
604 
605 public:
606 
608  XMLTextImportHelper& rHlp);
609 
610 private:
612  virtual void ProcessAttribute( sal_Int32 nAttrToken,
613  std::string_view sAttrValue ) override;
614 
616  virtual void PrepareField(
617  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
618 };
619 
622 {
623  const OUString sPropertyFixed;
624  const OUString sPropertyFileFormat;
626 
627  sal_Int16 nFormat;
628  bool bFixed;
629 
630 public:
631 
633  XMLTextImportHelper& rHlp);
634 
635 private:
637  virtual void ProcessAttribute( sal_Int32 nAttrToken,
638  std::string_view sAttrValue ) override;
639 
641  virtual void PrepareField(
642  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
643 };
644 
647 {
648  const OUString sPropertyFileFormat;
649 
650  sal_Int16 nFormat;
651 
652 public:
653 
655  XMLTextImportHelper& rHlp);
656 
657 private:
659  virtual void ProcessAttribute( sal_Int32 nAttrToken,
660  std::string_view sAttrValue ) override;
661 
663  virtual void PrepareField(
664  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
665 };
666 
669 {
670  sal_Int16 nFormat;
672 
673 public:
674 
676  XMLTextImportHelper& rHlp);
677 
678 private:
680  virtual void ProcessAttribute( sal_Int32 nAttrToken,
681  std::string_view sAttrValue ) override;
682 
684  virtual void PrepareField(
685  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
686 };
687 
690 {
691  const OUString sPropertyNumberingType;
692 
693  OUString sNumberFormat;
694  OUString sLetterSync;
695 
697 
698 public:
699 
701  XMLTextImportHelper& rHlp,
702  sal_Int32 nElement);
703 
704 private:
706  virtual void ProcessAttribute( sal_Int32 nAttrToken,
707  std::string_view sAttrValue ) override;
708 
710  virtual void PrepareField(
711  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
712 
713  static OUString MapTokenToServiceName(sal_Int32 nElement);
714 };
715 
718 {
719  OUString sNumberFormat;
720  OUString sLetterSync;
721 
723 
724 public:
725 
727  XMLTextImportHelper& rHlp);
728 
729 private:
731  virtual void ProcessAttribute( sal_Int32 nAttrToken,
732  std::string_view sAttrValue ) override;
733 
735  virtual void PrepareField(
736  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
737 };
738 
741 {
742  sal_Int16 nAdjust;
743  bool bActive;
744 
745 public:
746 
748  XMLTextImportHelper& rHlp);
749 
750 private:
752  virtual void ProcessAttribute( sal_Int32 nAttrToken,
753  std::string_view sAttrValue ) override;
754 
756  virtual void PrepareField(
757  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
758 };
759 
762 {
763  OUString sDescription;
765 
766  OUString sMacro; // macro for old documents (pre 638i)
767 
769 
770 public:
771 
773  XMLTextImportHelper& rHlp);
774 
775 private:
777  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
778  sal_Int32 nElement,
779  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
780 
782  virtual void ProcessAttribute( sal_Int32 nAttrToken,
783  std::string_view sAttrValue ) override;
784 
786  virtual void PrepareField(
787  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
788 };
789 
792 {
793  OUString sName;
794  OUString sLanguage;
795  sal_Int32 nElementToken;
796  sal_Int16 nSource;
797  sal_Int16 nType;
798 
799  bool bNameOK;
800  bool bTypeOK;
801 
802 public:
803 
805  XMLTextImportHelper& rHlp,
806  sal_Int32 nToken);
807 
808 private:
810  virtual void SAL_CALL startFastElement(
811  sal_Int32 nElement,
812  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
813 
815  virtual void ProcessAttribute( sal_Int32 nAttrToken,
816  std::string_view sAttrValue ) override;
817 
819  virtual void PrepareField(
820  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
821 };
822 
825 {
826 public:
827 
829 
830  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
831  sal_Int32 nElement,
832  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
833 };
834 
837 {
838 public:
839 
841 
842  // create fieldmaster
843  virtual void SAL_CALL startFastElement(
844  sal_Int32 nElement,
845  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
846 };
847 
850 {
851  OUString sName;
853 
854 public:
855 
857  XMLTextImportHelper& rHlp);
858 
859 private:
861  virtual void ProcessAttribute( sal_Int32 nAttrToken,
862  std::string_view sAttrValue ) override;
863 
865  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
866 
868  virtual void PrepareField(
869  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
870 };
871 
874 {
875 
876 public:
877 
879  XMLTextImportHelper& rHlp);
880 
881 private:
883  virtual void ProcessAttribute( sal_Int32 nAttrToken,
884  std::string_view sAttrValue ) override;
885 
887  virtual void PrepareField(
888  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
889 };
890 
893 {
894 public:
895 
897  SvXMLImport& rImport,
898  XMLTextImportHelper& rHlp);
899 
901  virtual void ProcessAttribute( sal_Int32 nAttrToken,
902  std::string_view sAttrValue ) override;
903 
905  virtual void PrepareField(
906  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
907 };
908 
911 {
912  OUString sURL;
913  OUString sFrame;
914  bool bFrameOK;
915 
916 public:
917 
919  XMLTextImportHelper& rHlp);
920 
921 private:
923  virtual void ProcessAttribute( sal_Int32 nAttrToken,
924  std::string_view sAttrValue ) override;
925 
927  virtual void PrepareField(
928  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
929 };
930 
933 {
934  ::std::vector< css::beans::PropertyValue> aValues;
935 
936 public:
937 
939  XMLTextImportHelper& rHlp);
940 
941 private:
943  virtual void SAL_CALL startFastElement(
944  sal_Int32 nElement,
945  const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList) override;
946 
948  virtual void ProcessAttribute( sal_Int32 nAttrToken,
949  std::string_view sAttrValue ) override;
950 
952  virtual void PrepareField(
953  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
954 
955  static const char* MapBibliographyFieldName(sal_Int32 nElement);
956 };
957 
960 {
961  OUStringBuffer aAuthorBuffer;
962  OUStringBuffer aInitialsBuffer;
963  OUString aName;
964  OUStringBuffer aTextBuffer;
965  OUStringBuffer aDateBuffer;
966  OUString aResolved;
967 
968  css::uno::Reference < css::beans::XPropertySet > mxField;
969  css::uno::Reference < css::text::XTextCursor > mxCursor;
970  css::uno::Reference < css::text::XTextCursor > mxOldCursor;
971 
972  sal_Int32 mnElement;
973 
974 public:
975 
977  XMLTextImportHelper& rHlp,
978  sal_Int32 nElement);
979 
980 private:
982  virtual void ProcessAttribute( sal_Int32 nAttrToken,
983  std::string_view sAttrValue ) override;
984 
986  virtual void PrepareField(
987  const css::uno::Reference< css::beans::XPropertySet > & xPropertySet) override;
988 
989  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
990  sal_Int32 nElement,
991  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
992  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
993 };
994 
997 {
998  OUString sContent;
999  OUString sScriptType;
1000 
1002 
1003 public:
1004 
1006  XMLTextImportHelper& rHlp);
1007 
1008 private:
1010  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1011  std::string_view sAttrValue ) override;
1012 
1014  virtual void PrepareField(
1015  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1016 };
1017 
1020 {
1021  sal_Int16 mnKind;
1022 
1023 public:
1024 
1026  XMLTextImportHelper& rHlp);
1027 
1028 private:
1030  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1031  std::string_view sAttrValue ) override;
1032 
1034  virtual void PrepareField(
1035  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1036 };
1037 
1040 {
1041  std::vector<OUString> aLabels;
1042  OUString sName;
1043  OUString sHelp;
1044  OUString sHint;
1045  sal_Int32 nSelected;
1046  bool bNameOK;
1047  bool bHelpOK;
1048  bool bHintOK;
1049 
1050 public:
1051 
1053  XMLTextImportHelper& rHlp);
1054 
1055  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
1056  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
1057 
1058 private:
1060  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1061  std::string_view sAttrValue ) override;
1062 
1064  virtual void PrepareField(
1065  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1066 };
1067 
1070 {
1071 public:
1072 
1074  SvXMLImport& rImport,
1075  XMLTextImportHelper& rHlp);
1076 
1078  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1079  std::string_view sAttrValue ) override;
1080 
1082  virtual void PrepareField(
1083  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1084 };
1085 
1088 {
1089 public:
1090 
1092  SvXMLImport& rImport,
1093  XMLTextImportHelper& rHlp);
1094 
1096  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1097  std::string_view sAttrValue ) override;
1098 
1100  virtual void PrepareField(
1101  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1102 };
1103 
1106 {
1107 public:
1108 
1110  SvXMLImport& rImport,
1111  XMLTextImportHelper& rHlp);
1112 
1114  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1115  std::string_view sAttrValue ) override;
1116 
1118  virtual void PrepareField(
1119  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1120 };
1121 
1122 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XMLRevisionDocInfoImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nElement)
Definition: txtfldi.cxx:1553
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attributes
Definition: txtfldi.cxx:3343
::std::vector< css::beans::PropertyValue > aValues
Definition: txtfldi.hxx:934
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1428
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2191
const OUString sPropertyNumberingType
Definition: txtfldi.hxx:254
static OUString MapTokenToServiceName(sal_Int32 nElement)
Definition: txtfldi.cxx:2214
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
create XTextField and insert into document; calls PrepareTextField
Definition: txtfldi.cxx:154
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2009
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1659
const OUString sPropertyFixed
Definition: txtfldi.hxx:623
import file name fields ()
Definition: txtfldi.hxx:621
import macro fields ()
Definition: txtfldi.hxx:761
const OUString sPropertySetNumber
Definition: txtfldi.hxx:392
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1444
const OUString sPropertyFixed
API subtype for ExtUser field.
Definition: txtfldi.hxx:120
XMLHiddenTextImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1890
const OUString sPropertyFixed
Definition: txtfldi.hxx:438
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2112
superclass for database fields: handle database and table names
Definition: txtfldi.hxx:307
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
process attributes (fill aValues)
Definition: txtfldi.cxx:2944
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
parses attributes and calls ProcessAttribute
Definition: txtfldi.cxx:135
inherit sender field because of fixed attribute in ProcessAttributes
Definition: txtfldi.hxx:149
const OUString sPropertyIsHidden
Definition: txtfldi.hxx:596
signed char sal_Int8
XMLDdeFieldDeclsImportContext(SvXMLImport &rImport)
Definition: txtfldi.cxx:2602
XMLCountFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nElement)
Definition: txtfldi.cxx:2160
import conditional text fields ()
Definition: txtfldi.hxx:592
const OUString sPropertyIsFixedLanguage
Definition: txtfldi.hxx:518
OUString sServiceName
character data after collection
Definition: txtfldi.hxx:54
static const char * MapBibliographyFieldName(sal_Int32 nElement)
Definition: txtfldi.cxx:3016
XMLDropDownFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:3431
import hidden paragraph fields ()
Definition: txtfldi.hxx:538
XMLMacroFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2355
import docinfo fields with date or time attributes and numberformats
Definition: txtfldi.hxx:469
const OUString sPropertyIsHidden
Definition: txtfldi.hxx:541
const OUString sPropertyDateTimeValue
Definition: txtfldi.hxx:205
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:2844
Import an annotation field ()
Definition: txtfldi.hxx:959
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2397
XMLFileNameImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1964
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1359
import footer fields ()
Definition: txtfldi.hxx:1105
abstract class for text field import
Definition: txtfldi.hxx:49
XMLTimeFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:916
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1943
import page continuation fields ()
Definition: txtfldi.hxx:251
XMLAuthorFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:606
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Text import helper.
Definition: txtfldi.cxx:495
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2264
XMLPageNumberImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:735
XMLPlaceholderFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:835
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Text import helper.
Definition: txtfldi.cxx:617
XMLFooterFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
import footer fields ()
Definition: txtfldi.cxx:3576
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2314
XMLAnnotationImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nElement)
Definition: txtfldi.cxx:3128
XMLDatabaseSelectImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1303
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1876
const OUString sPropertyIsDate
Definition: txtfldi.hxx:207
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1777
const OUString & GetServiceName() const
Definition: txtfldi.hxx:92
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1832
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1115
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:1055
bool CreateField(css::uno::Reference< css::beans::XPropertySet > &xField, const OUString &sServiceName)
create field from ServiceName
Definition: txtfldi.cxx:191
const OUString sPropertyCondition
Definition: txtfldi.hxx:564
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2080
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1632
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2378
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
no attributes -> empty method
Definition: txtfldi.cxx:2827
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:986
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
set properties
Definition: txtfldi.cxx:3287
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:3564
import header fields ()
Definition: txtfldi.hxx:1069
static void ForceUpdate(const css::uno::Reference< css::beans::XPropertySet > &rPropertySet)
force an update of the field's value call update on optional XUpdatable interface; (disable Fixed pro...
Definition: txtfldi.cxx:464
XMLScriptImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:3335
XMLUrlFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2860
XMLTextImportHelper & rTextImportHelper
service name for text field
Definition: txtfldi.hxx:55
XMLHeaderFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
import header fields ()
Definition: txtfldi.cxx:3554
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2344
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2149
XMLUserDocInfoImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nElement)
Definition: txtfldi.cxx:1689
XMLPageContinuationImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
continuation string encountered?
Definition: txtfldi.cxx:680
const OUString sPropertyOffset
Definition: txtfldi.hxx:281
bool sStringOK
previous, current
Definition: txtfldi.hxx:259
import date fields (); inherit from TimeField to reuse implementation
Definition: txtfldi.hxx:237
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:576
import dde fields ()
Definition: txtfldi.hxx:849
XMLTemplateNameImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2048
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2057
import bibliography info fields ()
Definition: txtfldi.hxx:932
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attributes
Definition: txtfldi.cxx:3143
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
set properties
Definition: txtfldi.cxx:3368
rtl::Reference< XMLEventsImportContext > xEventContext
Definition: txtfldi.hxx:764
Import a script field ()
Definition: txtfldi.hxx:996
XMLSheetNameImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2811
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1231
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
empty method
Definition: txtfldi.cxx:2801
import database next fields ()
Definition: txtfldi.hxx:362
const OUString sPropertyFileFormat
Definition: txtfldi.hxx:648
import hyperlinks as URL fields (Calc, Impress, Draw) ()
Definition: txtfldi.hxx:910
const OUString sPropertyCondition
Definition: txtfldi.hxx:364
const OUString sPropertyCondition
Definition: txtfldi.hxx:540
exports com.sun.star. text
virtual void SAL_CALL characters(const OUString &sContent) override
name of SO API service
Definition: txtfldi.cxx:186
XMLDdeFieldDeclImportContext(SvXMLImport &rImport)
Definition: txtfldi.cxx:2624
css::util::DateTime aDateTimeValue
Definition: txtfldi.hxx:210
XMLConditionalTextImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1820
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
no attributes -> empty method
Definition: txtfldi.cxx:2889
const OUString sPropertyCurrentPresentation
Definition: txtfldi.hxx:625
css::uno::Reference< css::text::XTextCursor > mxCursor
Definition: txtfldi.hxx:969
css::uno::Reference< css::text::XTextCursor > mxOldCursor
Definition: txtfldi.hxx:970
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
for children
Definition: txtfldi.cxx:2362
const OUString sPropertyName
Definition: txtfldi.hxx:516
XMLDatabaseNameImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1225
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1391
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:749
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
no attributes -> empty method
Definition: txtfldi.cxx:2819
class SAL_NO_VTABLE XPropertySet
import revision field ()
Definition: txtfldi.hxx:498
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:886
import sheet name fields (Calc) dde fields ()
Definition: txtfldi.hxx:873
XMLTextImportHelper & GetImportHelper()
get helper
Definition: txtfldi.hxx:90
OUStringBuffer sContentBuffer
Definition: txtfldi.hxx:52
const OUString sPropertyCondition
Definition: txtfldi.hxx:594
import measure fields ()
Definition: txtfldi.hxx:1019
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2572
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:3570
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
handle database-location children
Definition: txtfldi.cxx:1163
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:3515
OUString sContent
collect character data
Definition: txtfldi.hxx:53
XMLDatabaseNumberImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1346
static XMLTextFieldImportContext * CreateTextFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nElement)
create the appropriate field context from (for use in paragraph import)
Definition: txtfldi.cxx:219
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:3609
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1806
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:557
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2851
import user docinfo field ()
Definition: txtfldi.hxx:513
XMLMeasureFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:3388
const OUString sPropertySubType
Definition: txtfldi.hxx:279
import conditional text fields ()
Definition: txtfldi.hxx:562
XMLChapterImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2103
import page variable fields ()
Definition: txtfldi.hxx:717
import document template name fields ()
Definition: txtfldi.hxx:646
XMLDatabaseNextImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, const OUString &pServiceName)
Definition: txtfldi.cxx:1243
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2743
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:2282
const OUString sPropertyContent
Definition: txtfldi.hxx:121
OUStringBuffer aDateBuffer
Definition: txtfldi.hxx:965
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1738
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1263
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:844
OUStringBuffer aInitialsBuffer
Definition: txtfldi.hxx:962
XMLSenderFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:485
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1902
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1288
const OUString sPropertyIsFixedLanguage
Definition: txtfldi.hxx:473
const OUString sPropertyContent
Definition: txtfldi.hxx:153
import page variable fields ()
Definition: txtfldi.hxx:740
const OUString sPropertyNumberFormat
Definition: txtfldi.hxx:517
css::text::PageNumberType eSelectPage
Definition: txtfldi.hxx:286
import reference fields ()
Definition: txtfldi.hxx:791
This class deliberately does not support XWeak, to improve performance when loading large documents...
Definition: xmlictxt.hxx:44
exports com.sun.star. beans
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet)=0
prepare XTextField for insertion into document
const OUString sPropertyCurrentPresentation
Definition: txtfldi.hxx:565
const OUString sPropertyAuthor
Definition: txtfldi.hxx:440
const OUString sPropertyContent
Definition: txtfldi.hxx:439
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
create XTextField and insert into document; calls PrepareTextField
Definition: txtfldi.cxx:3202
OUStringBuffer aAuthorBuffer
Definition: txtfldi.hxx:961
import database select fields ()
Definition: txtfldi.hxx:390
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
create textfield, attach master, and insert into document
Definition: txtfldi.cxx:2757
import page|slide name fields ()
Definition: txtfldi.hxx:892
OUString const & GetContent()
Definition: txtfldi.cxx:144
import docinfo fields with only fixed attribute
Definition: txtfldi.hxx:436
XMLTextFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, const OUString &pService)
whether this field is valid ?
Definition: txtfldi.cxx:124
std::vector< OUString > aLabels
Definition: txtfldi.hxx:1041
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
Definition: txtfldi.cxx:3475
import page number fields ()
Definition: txtfldi.hxx:277
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1312
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:717
const OUString sPropertyDateTime
Definition: txtfldi.hxx:206
const OUString sPropertyFixed
Definition: txtfldi.hxx:204
XMLPageVarSetFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2305
const OUString sPropertySetNumber
Definition: txtfldi.hxx:415
const OUString sPropertyNumberingType
Definition: txtfldi.hxx:280
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:3492
XMLDateFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1048
const OUString sPropertyNumberFormat
Definition: txtfldi.hxx:203
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2173
bool sNumberFormatOK
previous, current
Definition: txtfldi.hxx:288
XMLDdeFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2735
XMLHiddenParagraphImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1767
const OUString sPropertyCurrentPresentation
Definition: txtfldi.hxx:441
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:691
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
Definition: txtfldi.cxx:3155
import database display number fields ()
Definition: txtfldi.hxx:412
const OUString sPropertyIsFixedLanguage
Definition: txtfldi.hxx:208
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1703
const OUString sPropertyContent
Definition: txtfldi.hxx:595
import chapter fields ()
Definition: txtfldi.hxx:668
XMLPageNameFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
import page|slide name fields ()
Definition: txtfldi.cxx:2835
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
Definition: txtfldi.cxx:2607
static OUString MapTokenToServiceName(sal_Int32 nElementToken)
Definition: txtfldi.cxx:1485
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1334
XMLDateTimeDocInfoImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nElement)
Definition: txtfldi.cxx:1589
const OUString sPropertyFileFormat
Definition: txtfldi.hxx:624
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:640
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:3616
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: txtfldi.cxx:2629
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1560
const OUString sPropertyFixed
Definition: txtfldi.hxx:152
css::uno::Reference< css::beans::XPropertySet > mxField
Definition: txtfldi.hxx:968
const OUString sPropertyNumberingType
Definition: txtfldi.hxx:414
import dde field declaration ()
Definition: txtfldi.hxx:836
import dde field declaration container ()
Definition: txtfldi.hxx:824
css::text::PageNumberType eSelectPage
continuation string
Definition: txtfldi.hxx:257
XMLDateTimeFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
import footer fields ()
Definition: txtfldi.cxx:3599
import count fields ()
Definition: txtfldi.hxx:689
const OUString sPropertyIsDate
Definition: txtfldi.hxx:472
const OUString sPropertyNumberFormat
Definition: txtfldi.hxx:471
XMLDatabaseFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, const OUString &pServiceName, bool bUseDisplay)
protected constructor: only for subclasses
Definition: txtfldi.cxx:1099
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
convert aValues into sequence and set property
Definition: txtfldi.cxx:3001
OUString sServicePrefix
the import helper
Definition: txtfldi.hxx:58
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:780
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
no attributes -> empty method
Definition: txtfldi.cxx:2868
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:3421
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue)=0
process attribute values
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:3592
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
prepare XTextField for insertion into document
Definition: txtfldi.cxx:1194
import database name fields ()
Definition: txtfldi.hxx:349
dropdown field (filter legacy)
Definition: txtfldi.hxx:1039
XMLReferenceFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nToken)
Definition: txtfldi.cxx:2469
void SetServiceName(const OUString &sStr)
Definition: txtfldi.hxx:93
const OUString sPropertyNumberingType
Definition: txtfldi.hxx:691
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1977
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:3586
XMLPageVarGetFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2254
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
start element
Definition: txtfldi.cxx:2497
XMLBibliographyFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2903
OUStringBuffer aTextBuffer
Definition: txtfldi.hxx:964
import footer fields ()
Definition: txtfldi.hxx:1087
XMLSimpleDocInfoImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nElementToken, bool bContent, bool bAuthor)
Definition: txtfldi.cxx:1412
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
empty method; all attributes are handled in StartElement
Definition: txtfldi.cxx:2992
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:3396
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:628
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:2526
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:936