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 #ifndef INCLUDED_XMLOFF_INC_TXTFLDI_HXX
27 #define INCLUDED_XMLOFF_INC_TXTFLDI_HXX
28 
29 #include <com/sun/star/uno/Reference.h>
30 #include <com/sun/star/beans/PropertyValue.hpp>
31 #include <com/sun/star/text/PageNumberType.hpp>
32 #include <com/sun/star/util/DateTime.hpp>
33 #include <xmloff/xmlictxt.hxx>
34 #include <xmloff/txtimp.hxx>
35 #include <xmloff/xmltkmap.hxx>
36 #include <rtl/ustrbuf.hxx>
37 #include <vector>
38 
39 namespace com::sun::star {
40  namespace xml::sax { class XAttributeList; }
41  namespace text { class XTextField; }
42  namespace beans { class XPropertySet; struct PropertyValue; }
43 }
44 
45 class SvXMLImport;
47 class SvXMLTokenMap;
48 
51 {
52  // data members
53  OUStringBuffer sContentBuffer;
54  OUString sContent;
55  OUString sServiceName;
57 
58 protected:
59  OUString sServicePrefix;
60 
61  // data members for use in subclasses
62  bool bValid;
63 
64 public:
65 
67  SvXMLImport& rImport,
68  XMLTextImportHelper& rHlp,
69  const OUString& pService);
70 
72  virtual void SAL_CALL characters( const OUString& sContent ) override;
73 
75  virtual void SAL_CALL startFastElement(
76  sal_Int32 nElement,
77  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
78 
80  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
81 
85  SvXMLImport& rImport,
86  XMLTextImportHelper& rHlp,
87  sal_Int32 nElement);
88 
89 protected:
92 
93  const OUString& GetServiceName() const { return sServiceName; }
94  void SetServiceName(const OUString& sStr) { sServiceName = sStr; }
95 
96  OUString const & GetContent();
97 
99  virtual void ProcessAttribute( sal_Int32 nAttrToken,
100  std::string_view sAttrValue ) = 0;
101 
103  virtual void PrepareField(
104  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) = 0;
105 
107  bool CreateField(css::uno::Reference< css::beans::XPropertySet> & xField,
108  const OUString& sServiceName);
109 
112  static void ForceUpdate(
113  const css::uno::Reference< css::beans::XPropertySet> & rPropertySet);
114 };
115 
117 {
118 
119  sal_Int16 nSubType;
120 
121  const OUString sPropertyFixed;
122  const OUString sPropertyContent;
123 
124 protected:
125  // variables for access in subclass
126  bool bFixed;
127 
128 public:
129 
131  SvXMLImport& rImport,
132  XMLTextImportHelper& rHlp);
133 
134 protected:
136  virtual void SAL_CALL startFastElement(
137  sal_Int32 nElement,
138  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
139 
141  virtual void ProcessAttribute( sal_Int32 nAttrToken,
142  std::string_view sAttrValue ) override;
143 
145  virtual void PrepareField(
146  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
147 };
148 
151 {
153  const OUString sPropertyFixed;
154  const OUString sPropertyContent;
155 
156 public:
157 
159  SvXMLImport& rImport,
160  XMLTextImportHelper& rHlp);
161 
162 private:
164  virtual void SAL_CALL startFastElement(
165  sal_Int32 nElement,
166  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
167 
169  virtual void ProcessAttribute( sal_Int32 nAttrToken,
170  std::string_view sAttrValue ) override;
171 
173  virtual void PrepareField(
174  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
175 };
176 
178 {
179  const OUString sPropertyHint;
180 
181  OUString sDescription;
182 
183  sal_Int16 nPlaceholderType;
184 
185 public:
186 
188  SvXMLImport& rImport,
189  XMLTextImportHelper& rHlp);
190 
191 private:
193  virtual void ProcessAttribute( sal_Int32 nAttrToken,
194  std::string_view sAttrValue ) override;
195 
197  virtual void PrepareField(
198  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
199 };
200 
202 {
203 protected:
204  const OUString sPropertyNumberFormat;
205  const OUString sPropertyFixed;
206  const OUString sPropertyDateTimeValue;
207  const OUString sPropertyDateTime;
208  const OUString sPropertyIsDate;
209  const OUString sPropertyIsFixedLanguage;
210 
211  css::util::DateTime aDateTimeValue;
212  sal_Int32 nAdjust;
213  sal_Int32 nFormatKey;
214  bool bTimeOK;
215  bool bFormatOK;
216  bool bFixed;
217  bool bIsDate; // is this a date?
218  // (for XMLDateFieldImportContext, really)
220 
221 public:
222 
224  SvXMLImport& rImport,
225  XMLTextImportHelper& rHlp);
226 
228  virtual void ProcessAttribute( sal_Int32 nAttrToken,
229  std::string_view sAttrValue ) override;
230 
232  virtual void PrepareField(
233  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
234 };
235 
239 {
240 public:
241 
243  SvXMLImport& rImport,
244  XMLTextImportHelper& rHlp);
245 
247  virtual void ProcessAttribute( sal_Int32 nAttrToken,
248  std::string_view sAttrValue ) override;
249 };
250 
253 {
254  const OUString sPropertySubType;
255  const OUString sPropertyNumberingType;
256 
257  OUString sString;
258  css::text::PageNumberType eSelectPage;
259  bool sStringOK;
261 
262 public:
263 
265  SvXMLImport& rImport,
266  XMLTextImportHelper& rHlp);
267 
269  virtual void ProcessAttribute( sal_Int32 nAttrToken,
270  std::string_view sAttrValue ) override;
271 
273  virtual void PrepareField(
274  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
275 };
276 
279 {
280  const OUString sPropertySubType;
281  const OUString sPropertyNumberingType;
282  const OUString sPropertyOffset;
283 
284  OUString sNumberFormat;
285  OUString sNumberSync;
286  sal_Int16 nPageAdjust;
287  css::text::PageNumberType eSelectPage;
288  bool sNumberFormatOK;
290 
291 public:
292 
294  SvXMLImport& rImport,
295  XMLTextImportHelper& rHlp);
296 
297 
299  virtual void ProcessAttribute( sal_Int32 nAttrToken,
300  std::string_view sAttrValue ) override;
301 
303  virtual void PrepareField(
304  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
305 };
306 
309 {
310  OUString m_sDatabaseName;
311  OUString m_sDatabaseURL;
312  OUString m_sTableName;
313 
314  sal_Int32 m_nCommandType;
316 
320 
321 protected:
326 
329  XMLTextImportHelper& rHlp,
330  const OUString& pServiceName,
331  bool bUseDisplay );
332 
333 public:
334 
336  virtual void ProcessAttribute( sal_Int32 nAttrToken,
337  std::string_view sAttrValue ) override;
338 
340  virtual void PrepareField(
341  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
342 
344  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
345  sal_Int32 nElement,
346  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
347 };
348 
351 {
352 public:
353 
355  XMLTextImportHelper& rHlp);
356 
358  virtual void ProcessAttribute( sal_Int32 nAttrToken,
359  std::string_view sAttrValue ) override;
360 };
361 
364 {
365  const OUString sPropertyCondition;
366  const OUString sTrue;
367  OUString sCondition;
369 
370 protected:
371  // for use in child classes
373  XMLTextImportHelper& rHlp,
374  const OUString& pServiceName);
375 
376 public:
377 
379  XMLTextImportHelper& rHlp);
380 
382  virtual void ProcessAttribute( sal_Int32 nAttrToken,
383  std::string_view sAttrValue ) override;
384 
386  virtual void PrepareField(
387  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
388 };
389 
392 {
393  const OUString sPropertySetNumber;
394  sal_Int32 nNumber;
395  bool bNumberOK;
396 
397 public:
398 
400  XMLTextImportHelper& rHlp);
401 
403  virtual void ProcessAttribute( sal_Int32 nAttrToken,
404  std::string_view sAttrValue ) override;
405 
407  virtual void PrepareField(
408  const css::uno::Reference<
409  css::beans::XPropertySet> & xPropertySet) override;
410 };
411 
414 {
415  const OUString sPropertyNumberingType;
416  const OUString sPropertySetNumber;
417  OUString sNumberFormat;
418  OUString sNumberSync;
419  sal_Int32 nValue;
420  bool bValueOK;
421 
422 public:
423 
425  XMLTextImportHelper& rHlp);
426 
428  virtual void ProcessAttribute( sal_Int32 nAttrToken,
429  std::string_view sAttrValue ) override;
430 
432  virtual void PrepareField(
433  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
434 };
435 
438 {
439  const OUString sPropertyFixed;
440  const OUString sPropertyContent;
441  const OUString sPropertyAuthor;
443 
444 protected:
445  bool bFixed;
448 
449 public:
450 
452  XMLTextImportHelper& rHlp,
453  sal_Int32 nElementToken,
454  bool bContent,
455  bool bAuthor);
456 
457 protected:
459  virtual void ProcessAttribute( sal_Int32 nAttrToken,
460  std::string_view sAttrValue ) override;
461 
463  virtual void PrepareField(
464  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
465 
466  static OUString MapTokenToServiceName(sal_Int32 nElementToken);
467 };
468 
471 {
472  const OUString sPropertyNumberFormat;
473  const OUString sPropertyIsDate;
474  const OUString sPropertyIsFixedLanguage;
475 
476  sal_Int32 nFormat;
477  bool bFormatOK;
478  bool bIsDate;
481 
482 public:
483 
485  XMLTextImportHelper& rHlp,
486  sal_Int32 nElement);
487 
488 private:
490  virtual void ProcessAttribute( sal_Int32 nAttrToken,
491  std::string_view sAttrValue ) override;
492 
494  virtual void PrepareField(
495  const css::uno::Reference< css::beans::XPropertySet> & xPropertySet) override;
496 };
497 
500 {
501 public:
502 
504  XMLTextImportHelper& rHlp,
505  sal_Int32 nElement);
506 
507 private:
509  virtual void PrepareField(
510  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
511 };
512 
515 {
516  OUString aName;
517  const OUString sPropertyName;
518  const OUString sPropertyNumberFormat;
519  const OUString sPropertyIsFixedLanguage;
520  sal_Int32 nFormat;
521  bool bFormatOK;
523 
524 public:
525 
527  XMLTextImportHelper& rHlp,
528  sal_Int32 nElement);
529 
530 private:
532  virtual void ProcessAttribute( sal_Int32 nAttrToken,
533  std::string_view sAttrValue ) override;
534  virtual void PrepareField(
535  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
536 };
537 
540 {
541  const OUString sPropertyCondition;
542  const OUString sPropertyIsHidden;
543 
544  OUString sCondition;
545  bool bIsHidden;
546 
547 public:
548 
550  XMLTextImportHelper& rHlp);
551 
552 private:
554  virtual void ProcessAttribute( sal_Int32 nAttrToken,
555  std::string_view sAttrValue ) override;
556 
558  virtual void PrepareField(
559  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
560 };
561 
564 {
565  const OUString sPropertyCondition;
567 
568  OUString sCondition;
569  OUString sTrueContent;
570  OUString sFalseContent;
571 
573  bool bTrueOK;
574  bool bFalseOK;
576 
577 public:
578 
580  XMLTextImportHelper& rHlp);
581 
582 private:
584  virtual void ProcessAttribute( sal_Int32 nAttrToken,
585  std::string_view sAttrValue ) override;
586 
588  virtual void PrepareField(
589  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
590 };
591 
594 {
595  const OUString sPropertyCondition;
596  const OUString sPropertyContent;
597  const OUString sPropertyIsHidden;
598 
599  OUString sCondition;
600  OUString sString;
601 
603  bool bStringOK;
604  bool bIsHidden;
605 
606 public:
607 
609  XMLTextImportHelper& rHlp);
610 
611 private:
613  virtual void ProcessAttribute( sal_Int32 nAttrToken,
614  std::string_view sAttrValue ) override;
615 
617  virtual void PrepareField(
618  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
619 };
620 
623 {
624  const OUString sPropertyFixed;
625  const OUString sPropertyFileFormat;
627 
628  sal_Int16 nFormat;
629  bool bFixed;
630 
631 public:
632 
634  XMLTextImportHelper& rHlp);
635 
636 private:
638  virtual void ProcessAttribute( sal_Int32 nAttrToken,
639  std::string_view sAttrValue ) override;
640 
642  virtual void PrepareField(
643  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
644 };
645 
648 {
649  const OUString sPropertyFileFormat;
650 
651  sal_Int16 nFormat;
652 
653 public:
654 
656  XMLTextImportHelper& rHlp);
657 
658 private:
660  virtual void ProcessAttribute( sal_Int32 nAttrToken,
661  std::string_view sAttrValue ) override;
662 
664  virtual void PrepareField(
665  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
666 };
667 
670 {
671  sal_Int16 nFormat;
673 
674 public:
675 
677  XMLTextImportHelper& rHlp);
678 
679 private:
681  virtual void ProcessAttribute( sal_Int32 nAttrToken,
682  std::string_view sAttrValue ) override;
683 
685  virtual void PrepareField(
686  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
687 };
688 
691 {
692  const OUString sPropertyNumberingType;
693 
694  OUString sNumberFormat;
695  OUString sLetterSync;
696 
698 
699 public:
700 
702  XMLTextImportHelper& rHlp,
703  sal_Int32 nElement);
704 
705 private:
707  virtual void ProcessAttribute( sal_Int32 nAttrToken,
708  std::string_view sAttrValue ) override;
709 
711  virtual void PrepareField(
712  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
713 
714  static OUString MapTokenToServiceName(sal_Int32 nElement);
715 };
716 
719 {
720  OUString sNumberFormat;
721  OUString sLetterSync;
722 
724 
725 public:
726 
728  XMLTextImportHelper& rHlp);
729 
730 private:
732  virtual void ProcessAttribute( sal_Int32 nAttrToken,
733  std::string_view sAttrValue ) override;
734 
736  virtual void PrepareField(
737  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
738 };
739 
742 {
743  sal_Int16 nAdjust;
744  bool bActive;
745 
746 public:
747 
749  XMLTextImportHelper& rHlp);
750 
751 private:
753  virtual void ProcessAttribute( sal_Int32 nAttrToken,
754  std::string_view sAttrValue ) override;
755 
757  virtual void PrepareField(
758  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
759 };
760 
763 {
764  OUString sDescription;
766 
767  OUString sMacro; // macro for old documents (pre 638i)
768 
770 
771 public:
772 
774  XMLTextImportHelper& rHlp);
775 
776 private:
778  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
779  sal_Int32 nElement,
780  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
781 
783  virtual void ProcessAttribute( sal_Int32 nAttrToken,
784  std::string_view sAttrValue ) override;
785 
787  virtual void PrepareField(
788  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
789 };
790 
793 {
794  OUString sName;
795  OUString sLanguage;
796  sal_Int32 nElementToken;
797  sal_Int16 nSource;
798  sal_Int16 nType;
799 
800  bool bNameOK;
801  bool bTypeOK;
802 
803 public:
804 
806  XMLTextImportHelper& rHlp,
807  sal_Int32 nToken);
808 
809 private:
811  virtual void SAL_CALL startFastElement(
812  sal_Int32 nElement,
813  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
814 
816  virtual void ProcessAttribute( sal_Int32 nAttrToken,
817  std::string_view sAttrValue ) override;
818 
820  virtual void PrepareField(
821  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
822 };
823 
826 {
827 public:
828 
830 
831  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
832  sal_Int32 nElement,
833  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
834 };
835 
838 {
839 public:
840 
842 
843  // create fieldmaster
844  virtual void SAL_CALL startFastElement(
845  sal_Int32 nElement,
846  const css::uno::Reference<css::xml::sax::XFastAttributeList> & xAttrList) override;
847 };
848 
851 {
852  OUString sName;
854 
855 public:
856 
858  XMLTextImportHelper& rHlp);
859 
860 private:
862  virtual void ProcessAttribute( sal_Int32 nAttrToken,
863  std::string_view sAttrValue ) override;
864 
866  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
867 
869  virtual void PrepareField(
870  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
871 };
872 
875 {
876 
877 public:
878 
880  XMLTextImportHelper& rHlp);
881 
882 private:
884  virtual void ProcessAttribute( sal_Int32 nAttrToken,
885  std::string_view sAttrValue ) override;
886 
888  virtual void PrepareField(
889  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
890 };
891 
894 {
895 public:
896 
898  SvXMLImport& rImport,
899  XMLTextImportHelper& rHlp);
900 
902  virtual void ProcessAttribute( sal_Int32 nAttrToken,
903  std::string_view sAttrValue ) override;
904 
906  virtual void PrepareField(
907  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
908 };
909 
912 {
913  OUString sURL;
914  OUString sFrame;
915  bool bFrameOK;
916 
917 public:
918 
920  XMLTextImportHelper& rHlp);
921 
922 private:
924  virtual void ProcessAttribute( sal_Int32 nAttrToken,
925  std::string_view sAttrValue ) override;
926 
928  virtual void PrepareField(
929  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
930 };
931 
934 {
935  ::std::vector< css::beans::PropertyValue> aValues;
936 
937 public:
938 
940  XMLTextImportHelper& rHlp);
941 
942 private:
944  virtual void SAL_CALL startFastElement(
945  sal_Int32 nElement,
946  const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList) override;
947 
949  virtual void ProcessAttribute( sal_Int32 nAttrToken,
950  std::string_view sAttrValue ) override;
951 
953  virtual void PrepareField(
954  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
955 
956  static const char* MapBibliographyFieldName(sal_Int32 nElement);
957 };
958 
961 {
962  OUStringBuffer aAuthorBuffer;
963  OUStringBuffer aInitialsBuffer;
964  OUString aName;
965  OUStringBuffer aTextBuffer;
966  OUStringBuffer aDateBuffer;
967  OUString aResolved;
968 
969  css::uno::Reference < css::beans::XPropertySet > mxField;
970  css::uno::Reference < css::text::XTextCursor > mxCursor;
971  css::uno::Reference < css::text::XTextCursor > mxOldCursor;
972 
973  sal_Int32 mnElement;
974 
975 public:
976 
978  XMLTextImportHelper& rHlp,
979  sal_Int32 nElement);
980 
981 private:
983  virtual void ProcessAttribute( sal_Int32 nAttrToken,
984  std::string_view sAttrValue ) override;
985 
987  virtual void PrepareField(
988  const css::uno::Reference< css::beans::XPropertySet > & xPropertySet) override;
989 
990  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
991  sal_Int32 nElement,
992  const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
993  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
994 };
995 
998 {
999  OUString sContent;
1000  OUString sScriptType;
1001 
1003 
1004 public:
1005 
1007  XMLTextImportHelper& rHlp);
1008 
1009 private:
1011  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1012  std::string_view sAttrValue ) override;
1013 
1015  virtual void PrepareField(
1016  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1017 };
1018 
1021 {
1022  sal_Int16 mnKind;
1023 
1024 public:
1025 
1027  XMLTextImportHelper& rHlp);
1028 
1029 private:
1031  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1032  std::string_view sAttrValue ) override;
1033 
1035  virtual void PrepareField(
1036  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1037 };
1038 
1041 {
1042  std::vector<OUString> aLabels;
1043  OUString sName;
1044  OUString sHelp;
1045  OUString sHint;
1046  sal_Int32 nSelected;
1047  bool bNameOK;
1048  bool bHelpOK;
1049  bool bHintOK;
1050 
1051 public:
1052 
1054  XMLTextImportHelper& rHlp);
1055 
1056  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
1057  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
1058 
1059 private:
1061  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1062  std::string_view sAttrValue ) override;
1063 
1065  virtual void PrepareField(
1066  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1067 };
1068 
1071 {
1072 public:
1073 
1075  SvXMLImport& rImport,
1076  XMLTextImportHelper& rHlp);
1077 
1079  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1080  std::string_view sAttrValue ) override;
1081 
1083  virtual void PrepareField(
1084  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1085 };
1086 
1089 {
1090 public:
1091 
1093  SvXMLImport& rImport,
1094  XMLTextImportHelper& rHlp);
1095 
1097  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1098  std::string_view sAttrValue ) override;
1099 
1101  virtual void PrepareField(
1102  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1103 };
1104 
1107 {
1108 public:
1109 
1111  SvXMLImport& rImport,
1112  XMLTextImportHelper& rHlp);
1113 
1115  virtual void ProcessAttribute( sal_Int32 nAttrToken,
1116  std::string_view sAttrValue ) override;
1117 
1119  virtual void PrepareField(
1120  const css::uno::Reference<css::beans::XPropertySet> & xPropertySet) override;
1121 };
1122 
1123 #endif
1124 
1125 /* 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:3338
::std::vector< css::beans::PropertyValue > aValues
Definition: txtfldi.hxx:935
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:255
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:624
import file name fields ()
Definition: txtfldi.hxx:622
import macro fields ()
Definition: txtfldi.hxx:762
const OUString sPropertySetNumber
Definition: txtfldi.hxx:393
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:121
XMLHiddenTextImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1890
const OUString sPropertyFixed
Definition: txtfldi.hxx:439
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:308
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:150
const OUString sPropertyIsHidden
Definition: txtfldi.hxx:597
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:593
const OUString sPropertyIsFixedLanguage
Definition: txtfldi.hxx:519
OUString sServiceName
character data after collection
Definition: txtfldi.hxx:55
static const char * MapBibliographyFieldName(sal_Int32 nElement)
Definition: txtfldi.cxx:3011
XMLDropDownFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:3426
import hidden paragraph fields ()
Definition: txtfldi.hxx:539
XMLMacroFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2355
import docinfo fields with date or time attributes and numberformats
Definition: txtfldi.hxx:470
const OUString sPropertyIsHidden
Definition: txtfldi.hxx:542
const OUString sPropertyDateTimeValue
Definition: txtfldi.hxx:206
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:960
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:1106
abstract class for text field import
Definition: txtfldi.hxx:50
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:252
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:3571
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:3123
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:208
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:93
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:565
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:3282
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
Text import helper.
Definition: txtfldi.cxx:3559
import header fields ()
Definition: txtfldi.hxx:1070
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:3330
XMLUrlFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2860
XMLTextImportHelper & rTextImportHelper
service name for text field
Definition: txtfldi.hxx:56
XMLHeaderFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
import header fields ()
Definition: txtfldi.cxx:3549
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:282
bool sStringOK
previous, current
Definition: txtfldi.hxx:260
import date fields (); inherit from TimeField to reuse implementation
Definition: txtfldi.hxx:238
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:850
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:933
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attributes
Definition: txtfldi.cxx:3138
virtual void PrepareField(const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) override
set properties
Definition: txtfldi.cxx:3363
rtl::Reference< XMLEventsImportContext > xEventContext
Definition: txtfldi.hxx:765
Import a script field ()
Definition: txtfldi.hxx:997
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:363
const OUString sPropertyFileFormat
Definition: txtfldi.hxx:649
import hyperlinks as URL fields (Calc, Impress, Draw) ()
Definition: txtfldi.hxx:911
const OUString sPropertyCondition
Definition: txtfldi.hxx:365
const OUString sPropertyCondition
Definition: txtfldi.hxx:541
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:211
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:626
css::uno::Reference< css::text::XTextCursor > mxCursor
Definition: txtfldi.hxx:970
css::uno::Reference< css::text::XTextCursor > mxOldCursor
Definition: txtfldi.hxx:971
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:517
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:499
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:874
XMLTextImportHelper & GetImportHelper()
get helper
Definition: txtfldi.hxx:91
OUStringBuffer sContentBuffer
Definition: txtfldi.hxx:53
const OUString sPropertyCondition
Definition: txtfldi.hxx:595
import measure fields ()
Definition: txtfldi.hxx:1020
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:3565
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:3510
OUString sContent
collect character data
Definition: txtfldi.hxx:54
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:3604
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:514
XMLMeasureFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:3383
const OUString sPropertySubType
Definition: txtfldi.hxx:280
import conditional text fields ()
Definition: txtfldi.hxx:563
XMLChapterImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2103
import page variable fields ()
Definition: txtfldi.hxx:718
import document template name fields ()
Definition: txtfldi.hxx:647
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:122
OUStringBuffer aDateBuffer
Definition: txtfldi.hxx:966
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:963
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:474
const OUString sPropertyContent
Definition: txtfldi.hxx:154
import page variable fields ()
Definition: txtfldi.hxx:741
const OUString sPropertyNumberFormat
Definition: txtfldi.hxx:518
css::text::PageNumberType eSelectPage
Definition: txtfldi.hxx:287
import reference fields ()
Definition: txtfldi.hxx:792
This class deliberately does not support XWeak, to improve performance when loading large documents...
Definition: xmlictxt.hxx:45
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:566
const OUString sPropertyAuthor
Definition: txtfldi.hxx:441
const OUString sPropertyContent
Definition: txtfldi.hxx:440
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
create XTextField and insert into document; calls PrepareTextField
Definition: txtfldi.cxx:3197
OUStringBuffer aAuthorBuffer
Definition: txtfldi.hxx:962
import database select fields ()
Definition: txtfldi.hxx:391
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:893
OUString const & GetContent()
Definition: txtfldi.cxx:144
import docinfo fields with only fixed attribute
Definition: txtfldi.hxx:437
XMLTextFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, const OUString &pService)
whether this field is valid ?
Definition: txtfldi.cxx:124
std::vector< OUString > aLabels
Definition: txtfldi.hxx:1042
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:3470
import page number fields ()
Definition: txtfldi.hxx:278
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:207
const OUString sPropertyFixed
Definition: txtfldi.hxx:205
XMLPageVarSetFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2305
const OUString sPropertySetNumber
Definition: txtfldi.hxx:416
const OUString sPropertyNumberingType
Definition: txtfldi.hxx:281
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:3487
XMLDateFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1048
const OUString sPropertyNumberFormat
Definition: txtfldi.hxx:204
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:289
XMLDdeFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:2735
XMLHiddenParagraphImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
Definition: txtfldi.cxx:1767
const OUString sPropertyCurrentPresentation
Definition: txtfldi.hxx:442
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:3150
import database display number fields ()
Definition: txtfldi.hxx:413
const OUString sPropertyIsFixedLanguage
Definition: txtfldi.hxx:209
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:1703
const OUString sPropertyContent
Definition: txtfldi.hxx:596
import chapter fields ()
Definition: txtfldi.hxx:669
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:625
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:3611
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:153
css::uno::Reference< css::beans::XPropertySet > mxField
Definition: txtfldi.hxx:969
const OUString sPropertyNumberingType
Definition: txtfldi.hxx:415
import dde field declaration ()
Definition: txtfldi.hxx:837
import dde field declaration container ()
Definition: txtfldi.hxx:825
css::text::PageNumberType eSelectPage
continuation string
Definition: txtfldi.hxx:258
XMLDateTimeFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp)
import footer fields ()
Definition: txtfldi.cxx:3594
import count fields ()
Definition: txtfldi.hxx:690
const OUString sPropertyIsDate
Definition: txtfldi.hxx:473
const OUString sPropertyNumberFormat
Definition: txtfldi.hxx:472
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:2996
OUString sServicePrefix
the import helper
Definition: txtfldi.hxx:59
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:3416
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:3587
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:350
dropdown field (filter legacy)
Definition: txtfldi.hxx:1040
XMLReferenceFieldImportContext(SvXMLImport &rImport, XMLTextImportHelper &rHlp, sal_Int32 nToken)
Definition: txtfldi.cxx:2469
void SetServiceName(const OUString &sStr)
Definition: txtfldi.hxx:94
const OUString sPropertyNumberingType
Definition: txtfldi.hxx:692
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:3581
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:965
import footer fields ()
Definition: txtfldi.hxx:1088
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:2987
virtual void ProcessAttribute(sal_Int32 nAttrToken, std::string_view sAttrValue) override
process attribute values
Definition: txtfldi.cxx:3391
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