fldbas.hxx (1d2dbeb0) | fldbas.hxx (69a74367) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 124 unchanged lines hidden (view full) --- 133 TYP_INTERNETFLD, 134 TYP_JUMPEDITFLD, 135 TYP_SCRIPTFLD, // 40 136 TYP_AUTHORITY, 137 TYP_COMBINED_CHARS, 138 TYP_DROPDOWN, 139 TYP_END 140}; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 124 unchanged lines hidden (view full) --- 133 TYP_INTERNETFLD, 134 TYP_JUMPEDITFLD, 135 TYP_SCRIPTFLD, // 40 136 TYP_AUTHORITY, 137 TYP_COMBINED_CHARS, 138 TYP_DROPDOWN, 139 TYP_END 140}; |
141 142 | 141//IAccessibility2 Implementation 2009----- 142enum SwAttrFieldTYpe 143{ 144 ATTR_NONE, 145 ATTR_DATEFLD, 146 ATTR_TIMEFLD, 147 ATTR_PAGENUMBERFLD, 148 ATTR_PAGECOOUNTFLD, 149 ATTR_BOOKMARKFLD, 150 ATTR_SETREFATTRFLD 151}; 152//-----IAccessibility2 Implementation 2009 |
143enum SwFileNameFormat 144{ 145 FF_BEGIN, 146 FF_NAME = FF_BEGIN, 147 FF_PATHNAME, 148 FF_PATH, 149 FF_NAME_NOEXT, 150 FF_UI_NAME, --- 142 unchanged lines hidden (view full) --- 293 Ueber Expand() wird der expandierte Inhalt 294 des Feldes in Erfahrung gebracht. 295 --------------------------------------------------------------------*/ 296 297class SW_DLLPUBLIC SwField 298{ 299private: 300 mutable String m_Cache; /// #i85766# cached expansion (for clipboard) | 153enum SwFileNameFormat 154{ 155 FF_BEGIN, 156 FF_NAME = FF_BEGIN, 157 FF_PATHNAME, 158 FF_PATH, 159 FF_NAME_NOEXT, 160 FF_UI_NAME, --- 142 unchanged lines hidden (view full) --- 303 Ueber Expand() wird der expandierte Inhalt 304 des Feldes in Erfahrung gebracht. 305 --------------------------------------------------------------------*/ 306 307class SW_DLLPUBLIC SwField 308{ 309private: 310 mutable String m_Cache; /// #i85766# cached expansion (for clipboard) |
311 bool m_bUseFieldValueCache; /// control the usage of the cached field value 312 |
|
301 sal_uInt16 nLang; // Immer ueber SetLanguage aendern! 302 sal_Bool bIsAutomaticLanguage; 303 sal_uInt32 nFormat; 304 305 SwFieldType* pType; 306 307 virtual String Expand() const = 0; 308 virtual SwField* Copy() const = 0; 309 310protected: 311 void SetFormat(sal_uInt32 nSet) {nFormat = nSet;} 312 | 313 sal_uInt16 nLang; // Immer ueber SetLanguage aendern! 314 sal_Bool bIsAutomaticLanguage; 315 sal_uInt32 nFormat; 316 317 SwFieldType* pType; 318 319 virtual String Expand() const = 0; 320 virtual SwField* Copy() const = 0; 321 322protected: 323 void SetFormat(sal_uInt32 nSet) {nFormat = nSet;} 324 |
313 SwField(SwFieldType* pTyp, sal_uInt32 nFmt = 0, sal_uInt16 nLang = LANGUAGE_SYSTEM); | 325 SwField( SwFieldType* pTyp, 326 sal_uInt32 nFmt = 0, 327 sal_uInt16 nLang = LANGUAGE_SYSTEM, 328 bool m_bUseFieldValueCache = true ); |
314 315public: 316 virtual ~SwField(); 317 318 // Typ feststellen 319 inline SwFieldType* GetTyp() const; 320 321 // neuen Typ setzen (wird fuer das Kopieren zwischen Dokumenten benutzt) --- 137 unchanged lines hidden --- | 329 330public: 331 virtual ~SwField(); 332 333 // Typ feststellen 334 inline SwFieldType* GetTyp() const; 335 336 // neuen Typ setzen (wird fuer das Kopieren zwischen Dokumenten benutzt) --- 137 unchanged lines hidden --- |