LibreOffice Module xmloff (master) 1
sdpropls.cxx
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
20#include <com/sun/star/animations/TransitionType.hpp>
21#include <com/sun/star/ucb/XAnyCompareFactory.hpp>
22#include <com/sun/star/container/XIndexReplace.hpp>
23#include <com/sun/star/drawing/LineStyle.hpp>
24#include <com/sun/star/drawing/LineJoint.hpp>
25#include <com/sun/star/drawing/LineCap.hpp>
26#include <com/sun/star/presentation/AnimationSpeed.hpp>
27#include <com/sun/star/presentation/FadeEffect.hpp>
28
29#include <com/sun/star/text/WritingMode.hpp>
30#include <com/sun/star/text/WritingMode2.hpp>
31#include <utility>
35#include <enummaps.hxx>
36#include "numithdl.hxx"
40#include <com/sun/star/drawing/TextAnimationKind.hpp>
41#include <com/sun/star/drawing/TextAnimationDirection.hpp>
42#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
43#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
44#include <com/sun/star/drawing/TextFitToSizeType.hpp>
45#include <com/sun/star/drawing/MeasureTextHorzPos.hpp>
46#include <com/sun/star/drawing/MeasureTextVertPos.hpp>
48#include <xmloff/xmltoken.hxx>
49#include "sdpropls.hxx"
50#include <propimp0.hxx>
51#include <xmloff/xmlexp.hxx>
53#include <com/sun/star/drawing/NormalsKind.hpp>
54#include <com/sun/star/drawing/TextureProjectionMode.hpp>
55#include <com/sun/star/drawing/TextureKind.hpp>
56#include <com/sun/star/drawing/TextureMode.hpp>
57#include <com/sun/star/beans/XPropertySet.hpp>
58#include <xmloff/txtprmap.hxx>
64#include <animations.hxx>
66#include <xmlsdtypes.hxx>
67#include <xmlprop.hxx>
68
69using ::com::sun::star::uno::Any;
70
71using namespace ::com::sun::star;
72using namespace ::xmloff::token;
73
74#define MAP_(name,prefix,token,type,context) { name, prefix, token, type, context, SvtSaveOptions::ODFSVER_010, false }
75#define MAPV_(name,prefix,token,type,context,version) { name, prefix, token, type, context, version, false }
76#define GMAP(name,prefix,token,type,context) MAP_(name,prefix,token,type|XML_TYPE_PROP_GRAPHIC,context)
77#define GMAP_D(name,prefix,token,type,context) MAP_(name,prefix,token,type|XML_TYPE_PROP_GRAPHIC|MID_FLAG_DEFAULT_ITEM_EXPORT,context)
78#define GMAPV(name,prefix,token,type,context,version) MAPV_(name,prefix,token,type|XML_TYPE_PROP_GRAPHIC,context,version)
79#define DPMAP(name,prefix,token,type,context) MAP_(name,prefix,token,type|XML_TYPE_PROP_DRAWING_PAGE,context)
80#define TMAP(name,prefix,token,type,context) MAP_(name,prefix,token,type|XML_TYPE_PROP_TEXT,context)
81#define PMAP(name,prefix,token,type,context) MAP_(name,prefix,token,type|XML_TYPE_PROP_PARAGRAPH,context)
82#define MAP_END() { nullptr }
83
84// entry list for graphic properties
85
87{
88 // this entry must be first! this is needed for XMLShapeImportHelper::CreateExternalShapePropMapper
89
90 // ^^^though CreateExternalShapePropMapper is gone now, hmm^^^
92
93 // stroke attributes
107
108 // fill attributes
131
132 // text frame attributes
154
156
157 // shadow attributes
164
165 // glow attributes
169
170 // soft edge attributes
172
173 // graphic attributes
174 GMAP( PROP_GraphicColorMode, XML_NAMESPACE_DRAW, XML_COLOR_MODE, XML_TYPE_COLOR_MODE, 0 ), // exists in SW, too, with same property name
175 GMAP( PROP_AdjustLuminance, XML_NAMESPACE_DRAW, XML_LUMINANCE, XML_TYPE_PERCENT16, 0 ), // signed? exists in SW, too, with same property name
176 GMAP( PROP_AdjustContrast, XML_NAMESPACE_DRAW, XML_CONTRAST, XML_TYPE_PERCENT16, 0 ), // signed? exists in SW, too, with same property name
177 GMAP( PROP_Gamma, XML_NAMESPACE_DRAW, XML_GAMMA, XML_TYPE_DOUBLE_PERCENT, 0 ), // signed? exists in SW, too, with same property name
178 GMAP( PROP_AdjustRed, XML_NAMESPACE_DRAW, XML_RED, XML_TYPE_PERCENT16, 0 ), // signed? exists in SW, too, with same property name
179 GMAP( PROP_AdjustGreen, XML_NAMESPACE_DRAW, XML_GREEN, XML_TYPE_PERCENT16, 0 ), // signed? exists in SW, too, with same property name
180 GMAP( PROP_AdjustBlue, XML_NAMESPACE_DRAW, XML_BLUE, XML_TYPE_PERCENT16, 0 ), // signed? exists in SW, too, with same property name
182 GMAP( PROP_GraphicCrop, XML_NAMESPACE_FO, XML_CLIP, XML_TYPE_TEXT_CLIP11, CTF_TEXT_CLIP11 ), // exists in SW, too, with same property name
183 GMAP( PROP_Transparency, XML_NAMESPACE_DRAW, XML_IMAGE_OPACITY, XML_TYPE_NEG_PERCENT16|MID_FLAG_MULTI_PROPERTY, 0 ), // exists in SW, too, with same property name // #i25616#
185
186 // animation text attributes
195
196 // connector attributes
201
202 // measure attributes
215
216 // 3D geometry attributes
224
225 // #107245# New 3D properties which are possible for lathe and extrude 3d objects
228
229 // 3D lighting attributes
232
233 // 3D texture attributes
239
240 // 3D material attributes
245
246 // 3D shadow attributes
248
249 // #FontWork# attributes
263
264 // #FontWork# attributes
278
279 // control attributes (border exists one more time for the text additions of shapes)
288
289 // special entries for floating frames
303
305
306 // caption properties
317
318 // misc object properties
324
325 MAP_END()
326};
327
328// entry list for presentation page properties
329
331{
333
341
344
364
369
374 MAP_END()
375};
376
381{
388 MAP_END()
389};
390
391// implementation of factory for own graphic properties
392
394{
395 { XML_NONE, drawing::LineStyle_NONE },
396 { XML_SOLID, drawing::LineStyle_SOLID },
397 { XML_DASH, drawing::LineStyle_DASH },
398 { XML_TOKEN_INVALID, drawing::LineStyle(0) }
399};
400
402{
403 { XML_NONE, drawing::LineJoint_NONE },
404 { XML_MITER, drawing::LineJoint_MITER },
405 { XML_ROUND, drawing::LineJoint_ROUND },
406 { XML_BEVEL, drawing::LineJoint_BEVEL },
407 { XML_MIDDLE, drawing::LineJoint_MIDDLE },
408 { XML_TOKEN_INVALID, drawing::LineJoint(0) }
409};
410
412{
413 { XML_BUTT, drawing::LineCap_BUTT },
414 { XML_ROUND, drawing::LineCap_ROUND },
415 // use XML_GRADIENTSTYLE_SQUARE as XML_SQUARE, is defined as "square" already
416 { XML_GRADIENTSTYLE_SQUARE, drawing::LineCap_SQUARE },
417 { XML_TOKEN_INVALID, drawing::LineCap(0) }
418};
419
421{
422 { XML_NONE, drawing::FillStyle_NONE },
423 { XML_SOLID, drawing::FillStyle_SOLID },
424 { XML_BITMAP, drawing::FillStyle_BITMAP },
425 { XML_GRADIENT, drawing::FillStyle_GRADIENT },
426 { XML_HATCH, drawing::FillStyle_HATCH },
428};
429
431{
432 { XML_MANUAL, 0 },
433 { XML_AUTOMATIC, 1 },
434 { XML_SEMI_AUTOMATIC, 2 },
435 { XML_TOKEN_INVALID, 0 }
436};
437
439{
440 { XML_FAST, presentation::AnimationSpeed_FAST },
441 { XML_MEDIUM, presentation::AnimationSpeed_MEDIUM },
442 { XML_SLOW, presentation::AnimationSpeed_SLOW },
443 { XML_TOKEN_INVALID, presentation::AnimationSpeed(0) }
444};
445
447{
448 { XML_NONE, presentation::FadeEffect_NONE },
449 { XML_FADE_FROM_LEFT, presentation::FadeEffect_FADE_FROM_LEFT },
450 { XML_FADE_FROM_TOP, presentation::FadeEffect_FADE_FROM_TOP },
451 { XML_FADE_FROM_RIGHT, presentation::FadeEffect_FADE_FROM_RIGHT },
452 { XML_FADE_FROM_BOTTOM, presentation::FadeEffect_FADE_FROM_BOTTOM },
453 { XML_FADE_TO_CENTER, presentation::FadeEffect_FADE_TO_CENTER },
454 { XML_FADE_FROM_CENTER, presentation::FadeEffect_FADE_FROM_CENTER },
455 { XML_MOVE_FROM_LEFT, presentation::FadeEffect_MOVE_FROM_LEFT },
456 { XML_MOVE_FROM_TOP, presentation::FadeEffect_MOVE_FROM_TOP },
457 { XML_MOVE_FROM_RIGHT, presentation::FadeEffect_MOVE_FROM_RIGHT },
458 { XML_MOVE_FROM_BOTTOM, presentation::FadeEffect_MOVE_FROM_BOTTOM },
459 { XML_ROLL_FROM_TOP, presentation::FadeEffect_ROLL_FROM_TOP },
460 { XML_ROLL_FROM_LEFT, presentation::FadeEffect_ROLL_FROM_LEFT },
461 { XML_ROLL_FROM_RIGHT, presentation::FadeEffect_ROLL_FROM_RIGHT },
462 { XML_ROLL_FROM_BOTTOM, presentation::FadeEffect_ROLL_FROM_BOTTOM },
463 { XML_VERTICAL_STRIPES, presentation::FadeEffect_VERTICAL_STRIPES },
464 { XML_HORIZONTAL_STRIPES, presentation::FadeEffect_HORIZONTAL_STRIPES },
465 { XML_CLOCKWISE, presentation::FadeEffect_CLOCKWISE },
466 { XML_COUNTERCLOCKWISE, presentation::FadeEffect_COUNTERCLOCKWISE },
467 { XML_FADE_FROM_UPPERLEFT, presentation::FadeEffect_FADE_FROM_UPPERLEFT },
468 { XML_FADE_FROM_UPPERRIGHT, presentation::FadeEffect_FADE_FROM_UPPERRIGHT },
469 { XML_FADE_FROM_LOWERLEFT, presentation::FadeEffect_FADE_FROM_LOWERLEFT },
470 { XML_FADE_FROM_LOWERRIGHT, presentation::FadeEffect_FADE_FROM_LOWERRIGHT },
471 { XML_CLOSE_VERTICAL, presentation::FadeEffect_CLOSE_VERTICAL },
472 { XML_CLOSE_HORIZONTAL, presentation::FadeEffect_CLOSE_HORIZONTAL },
473 { XML_OPEN_VERTICAL, presentation::FadeEffect_OPEN_VERTICAL },
474 { XML_OPEN_HORIZONTAL, presentation::FadeEffect_OPEN_HORIZONTAL },
475 { XML_SPIRALIN_LEFT, presentation::FadeEffect_SPIRALIN_LEFT },
476 { XML_SPIRALIN_RIGHT, presentation::FadeEffect_SPIRALIN_RIGHT },
477 { XML_SPIRALOUT_LEFT, presentation::FadeEffect_SPIRALOUT_LEFT },
478 { XML_SPIRALOUT_RIGHT, presentation::FadeEffect_SPIRALOUT_RIGHT },
479 { XML_DISSOLVE, presentation::FadeEffect_DISSOLVE },
480 { XML_WAVYLINE_FROM_LEFT, presentation::FadeEffect_WAVYLINE_FROM_LEFT },
481 { XML_WAVYLINE_FROM_TOP, presentation::FadeEffect_WAVYLINE_FROM_TOP },
482 { XML_WAVYLINE_FROM_RIGHT, presentation::FadeEffect_WAVYLINE_FROM_RIGHT },
483 { XML_WAVYLINE_FROM_BOTTOM, presentation::FadeEffect_WAVYLINE_FROM_BOTTOM },
484 { XML_RANDOM, presentation::FadeEffect_RANDOM },
485 { XML_STRETCH_FROM_LEFT, presentation::FadeEffect_STRETCH_FROM_LEFT },
486 { XML_STRETCH_FROM_TOP, presentation::FadeEffect_STRETCH_FROM_TOP },
487 { XML_STRETCH_FROM_RIGHT, presentation::FadeEffect_STRETCH_FROM_RIGHT },
488 { XML_STRETCH_FROM_BOTTOM, presentation::FadeEffect_STRETCH_FROM_BOTTOM },
489 { XML_VERTICAL_LINES, presentation::FadeEffect_VERTICAL_LINES },
490 { XML_HORIZONTAL_LINES, presentation::FadeEffect_HORIZONTAL_LINES },
491 { XML_MOVE_FROM_UPPERLEFT, presentation::FadeEffect_MOVE_FROM_UPPERLEFT },
492 { XML_MOVE_FROM_UPPERRIGHT, presentation::FadeEffect_MOVE_FROM_UPPERRIGHT },
493 { XML_MOVE_FROM_LOWERRIGHT, presentation::FadeEffect_MOVE_FROM_LOWERRIGHT },
494 { XML_MOVE_FROM_LOWERLEFT, presentation::FadeEffect_MOVE_FROM_LOWERLEFT },
495 { XML_UNCOVER_TO_LEFT, presentation::FadeEffect_UNCOVER_TO_LEFT },
496 { XML_UNCOVER_TO_UPPERLEFT, presentation::FadeEffect_UNCOVER_TO_UPPERLEFT },
497 { XML_UNCOVER_TO_TOP, presentation::FadeEffect_UNCOVER_TO_TOP },
498 { XML_UNCOVER_TO_UPPERRIGHT,presentation::FadeEffect_UNCOVER_TO_UPPERRIGHT },
499 { XML_UNCOVER_TO_RIGHT, presentation::FadeEffect_UNCOVER_TO_RIGHT },
500 { XML_UNCOVER_TO_LOWERRIGHT,presentation::FadeEffect_UNCOVER_TO_LOWERRIGHT },
501 { XML_UNCOVER_TO_BOTTOM, presentation::FadeEffect_UNCOVER_TO_BOTTOM },
502 { XML_UNCOVER_TO_LOWERLEFT, presentation::FadeEffect_UNCOVER_TO_LOWERLEFT },
503 { XML_VERTICAL_CHECKERBOARD,presentation::FadeEffect_VERTICAL_CHECKERBOARD },
504 { XML_HORIZONTAL_CHECKERBOARD,presentation::FadeEffect_HORIZONTAL_CHECKERBOARD },
505 { XML_TOKEN_INVALID, presentation::FadeEffect(0) }
506};
507
509{
510 { XML_STANDARD, drawing::ConnectorType_STANDARD },
511 { XML_CURVE, drawing::ConnectorType_CURVE },
512 { XML_LINE, drawing::ConnectorType_LINE },
513 { XML_LINES, drawing::ConnectorType_LINES },
514 { XML_TOKEN_INVALID, drawing::ConnectorType(0) }
515};
516
518{
519 { XML_REPEAT, drawing::BitmapMode_REPEAT },
520 { XML_STRETCH, drawing::BitmapMode_STRETCH },
521 { XML_BACKGROUND_NO_REPEAT, drawing::BitmapMode_NO_REPEAT },
522 { XML_TOKEN_INVALID, drawing::BitmapMode(0) }
523};
524
525// 3D EnumMaps
526
528{
529 { XML_OBJECT, drawing::NormalsKind_SPECIFIC },
530 { XML_FLAT, drawing::NormalsKind_FLAT },
531 { XML_SPHERE, drawing::NormalsKind_SPHERE },
532 { XML_TOKEN_INVALID, drawing::NormalsKind(0) }
533};
534
536{
537 { XML_OBJECT, drawing::TextureProjectionMode_OBJECTSPECIFIC },
538 { XML_PARALLEL, drawing::TextureProjectionMode_PARALLEL },
539 { XML_SPHERE, drawing::TextureProjectionMode_SPHERE },
540 { XML_TOKEN_INVALID, drawing::TextureProjectionMode(0) }
541};
542
544{
545 { XML_OBJECT, drawing::TextureProjectionMode_OBJECTSPECIFIC },
546 { XML_PARALLEL, drawing::TextureProjectionMode_PARALLEL },
547 { XML_SPHERE, drawing::TextureProjectionMode_SPHERE },
548 { XML_TOKEN_INVALID, drawing::TextureProjectionMode(0) }
549};
550
552{
553 { XML_LUMINANCE, drawing::TextureKind_LUMINANCE },
554 { XML_COLOR, drawing::TextureKind_COLOR },
555 { XML_TOKEN_INVALID, drawing::TextureKind(0) }
556};
557
559{
560 { XML_REPLACE, drawing::TextureMode_REPLACE },
561 { XML_MODULATE, drawing::TextureMode_MODULATE },
562 { XML_BLEND, drawing::TextureMode_BLEND },
563 { XML_TOKEN_INVALID, drawing::TextureMode(0) }
564};
565
567{
568 { XML_TOP_LEFT, drawing::RectanglePoint_LEFT_TOP },
569 { XML_TOP, drawing::RectanglePoint_MIDDLE_TOP },
570 { XML_TOP_RIGHT, drawing::RectanglePoint_RIGHT_TOP },
571 { XML_LEFT, drawing::RectanglePoint_LEFT_MIDDLE },
572 { XML_CENTER, drawing::RectanglePoint_MIDDLE_MIDDLE },
573 { XML_RIGHT, drawing::RectanglePoint_RIGHT_MIDDLE },
574 { XML_BOTTOM_LEFT, drawing::RectanglePoint_LEFT_BOTTOM },
575 { XML_BOTTOM, drawing::RectanglePoint_MIDDLE_BOTTOM },
576 { XML_BOTTOM_RIGHT, drawing::RectanglePoint_RIGHT_BOTTOM },
577 { XML_TOKEN_INVALID, drawing::RectanglePoint(0) }
578};
579
581{
582 { XML_FULL, drawing::CircleKind_FULL },
583 { XML_SECTION, drawing::CircleKind_SECTION },
584 { XML_CUT, drawing::CircleKind_CUT },
585 { XML_ARC, drawing::CircleKind_ARC },
586 { XML_TOKEN_INVALID, drawing::CircleKind(0) }
587};
588
590{
591 { XML_TB_RL, text::WritingMode_TB_RL },
592 { XML_LR_TB, text::WritingMode_LR_TB },
593 { XML_TOKEN_INVALID, text::WritingMode(0) }
594};
595
597{
598 { XML_LR_TB, text::WritingMode2::LR_TB },
599 { XML_RL_TB, text::WritingMode2::RL_TB },
600 { XML_TB_RL, text::WritingMode2::TB_RL },
601 { XML_TB_LR, text::WritingMode2::TB_LR },
602 { XML_PAGE, text::WritingMode2::CONTEXT },
603 { XML_BT_LR, text::WritingMode2::BT_LR },
604 { XML_TB_RL90, text::WritingMode2::TB_RL90 },
605 { XML_TOKEN_INVALID, text::WritingMode2::LR_TB }
606};
607
609{
610 { XML_NONE, drawing::TextAnimationKind_NONE },
611 { XML_BLINKING, drawing::TextAnimationKind_BLINK }, // will be filtered
612 { XML_SCROLL, drawing::TextAnimationKind_SCROLL },
613 { XML_ALTERNATE, drawing::TextAnimationKind_ALTERNATE },
614 { XML_SLIDE, drawing::TextAnimationKind_SLIDE },
615 { XML_TOKEN_INVALID, drawing::TextAnimationKind(0) }
616};
617
619{
620 { XML_FALSE, drawing::TextAnimationKind_NONE },
621 { XML_TRUE, drawing::TextAnimationKind_BLINK },
622 { XML_FALSE, drawing::TextAnimationKind_SCROLL },
623 { XML_FALSE, drawing::TextAnimationKind_ALTERNATE },
624 { XML_FALSE, drawing::TextAnimationKind_SLIDE },
625 { XML_TOKEN_INVALID, drawing::TextAnimationKind(0) }
626};
627
629{
630 { XML_LEFT, drawing::TextAnimationDirection_LEFT },
631 { XML_RIGHT, drawing::TextAnimationDirection_RIGHT }, // will be filtered
632 { XML_UP, drawing::TextAnimationDirection_UP },
633 { XML_DOWN, drawing::TextAnimationDirection_DOWN },
634 { XML_TOKEN_INVALID, drawing::TextAnimationDirection(0) }
635};
636
638{
639 { XML_LEFT, drawing::TextHorizontalAdjust_LEFT },
640 { XML_CENTER, drawing::TextHorizontalAdjust_CENTER },
641 { XML_RIGHT, drawing::TextHorizontalAdjust_RIGHT },
642 { XML_JUSTIFY, drawing::TextHorizontalAdjust_BLOCK },
643 { XML_TOKEN_INVALID, drawing::TextHorizontalAdjust(0) }
644};
645
647{
648 { XML_TOP, drawing::TextVerticalAdjust_TOP },
649 { XML_MIDDLE, drawing::TextVerticalAdjust_CENTER },
650 { XML_BOTTOM, drawing::TextVerticalAdjust_BOTTOM },
651 { XML_JUSTIFY, drawing::TextVerticalAdjust_BLOCK },
652 { XML_TOKEN_INVALID, drawing::TextVerticalAdjust(0) }
653};
654
655// note: PROPORTIONAL and ALLLINES are the same thing now!
657{
658 { XML_FALSE, drawing::TextFitToSizeType_NONE },
659 { XML_TRUE, drawing::TextFitToSizeType_PROPORTIONAL },
660 { XML_TRUE, drawing::TextFitToSizeType_ALLLINES },
661 { XML_FALSE, drawing::TextFitToSizeType_AUTOFIT },
662 { XML_TOKEN_INVALID, drawing::TextFitToSizeType(0) }
663};
664
666{
667 { XML_FALSE, drawing::TextFitToSizeType_NONE },
668 { XML_TRUE, drawing::TextFitToSizeType_PROPORTIONAL },
669 { XML_ALL, drawing::TextFitToSizeType_ALLLINES },
670 { XML_SHRINK_TO_FIT,drawing::TextFitToSizeType_AUTOFIT },
671 { XML_TOKEN_INVALID, drawing::TextFitToSizeType(0) }
672};
673
675{
676 { XML_FALSE, drawing::TextFitToSizeType_NONE },
677 { XML_FALSE, drawing::TextFitToSizeType_PROPORTIONAL },
678 { XML_FALSE, drawing::TextFitToSizeType_ALLLINES },
679 { XML_TRUE, drawing::TextFitToSizeType_AUTOFIT },
680 { XML_TOKEN_INVALID, drawing::TextFitToSizeType(0) }
681};
682
684{
685 { XML_AUTOMATIC, 0 },
686 { XML_MM, 1 },
687 { XML_UNIT_CM, 2 },
688 { XML_UNIT_M, 3 },
689 { XML_KM, 4 },
690 { XML_UNIT_PT, 6 },
691 { XML_UNIT_PC, 7 },
692 { XML_IN, 8 },
693 { XML_UNIT_FOOT, 9 },
694 { XML_MI, 10 },
696};
697
699{
700 { XML_AUTOMATIC, drawing::MeasureTextHorzPos_AUTO },
701 { XML_LEFT_OUTSIDE, drawing::MeasureTextHorzPos_LEFTOUTSIDE },
702 { XML_INSIDE, drawing::MeasureTextHorzPos_INSIDE },
703 { XML_RIGHT_OUTSIDE, drawing::MeasureTextHorzPos_RIGHTOUTSIDE},
704 { XML_TOKEN_INVALID, drawing::MeasureTextHorzPos(0) }
705};
706
708{
709 { XML_AUTOMATIC, drawing::MeasureTextVertPos_AUTO },
710 { XML_ABOVE, drawing::MeasureTextVertPos_EAST },
711 { XML_BELOW, drawing::MeasureTextVertPos_WEST },
712 { XML_CENTER, drawing::MeasureTextVertPos_CENTERED },
713 { XML_TOKEN_INVALID, drawing::MeasureTextVertPos(0) }
714};
715
716// #FontWork#
718{
719 { XML_ROTATE, 0 }, //XFormTextStyle::Rotate,
720 { XML_UPRIGHT, 1 }, //XFormTextStyle::Upright,
721 { XML_SLANT_X, 2 }, //XFormTextStyle::SlantX,
722 { XML_SLANT_Y, 3 }, //XFormTextStyle::SlantY,
723 { XML_NONE, 4 }, //XFormTextStyle::NONE
725};
726
728{
729 { XML_LEFT, 0 }, //XFormTextAdjust::Left,
730 { XML_RIGHT, 1 }, //XFormTextAdjust::Right,
731 { XML_AUTOSIZE, 2 }, //XFormTextAdjust::AutoSize,
732 { XML_CENTER, 3 }, //XFormTextAdjust::Center
734};
735
737{
738 { XML_NORMAL, 0 }, //XFormTextShadow::Normal,
739 { XML_SLANT, 1 }, //XFormTextShadow::Slant,
740 { XML_NONE, 2 }, //XFormTextShadow::NONE
742};
743
745{
746 { XML_NONE, 0 }, //XFTFORM_NONE,
747 { XML_TOPCIRCLE, 1 }, //XFTFORM_TOPCIRC,
748 { XML_BOTTOMCIRCLE, 2 }, //XFTFORM_BOTCIRC,
749 { XML_LEFTCIRCLE, 3 }, //XFTFORM_LFTCIRC,
750 { XML_RIGHTCIRCLE, 4 }, //XFTFORM_RGTCIRC,
751 { XML_TOPARC, 5 }, //XFTFORM_TOPARC,
752 { XML_BOTTOMARC, 6 }, //XFTFORM_BOTARC,
753 { XML_LEFTARC, 7 }, //XFTFORM_LFTARC,
754 { XML_RIGHTARC, 8 }, //XFTFORM_RGTARC,
755 { XML_BUTTON1, 9 }, //XFTFORM_BUTTON1,
756 { XML_BUTTON2, 10 }, //XFTFORM_BUTTON2,
757 { XML_BUTTON3, 11 }, //XFTFORM_BUTTON3,
758 { XML_BUTTON4, 12 }, //XFTFORM_BUTTON4
760};
761
763{
764 { XML_HORIZONTAL, 0 }, //SdrCaptionEscDir::Horizontal,
765 { XML_VERTICAL, 1 }, //SdrCaptionEscDir::Vertical,
766 { XML_AUTO, 2 }, //SdrCaptionEscDir::BestFit,
768};
769
771{
772 { XML_STRAIGHT_LINE, 0 }, //SdrCaptionType::Type1,
773 { XML_ANGLED_LINE, 1 }, //SdrCaptionType::Type2,
774 { XML_ANGLED_CONNECTOR_LINE, 2 }, //SdrCaptionType::Type3,
776};
777
778namespace {
779
780class XMLCaptionEscapeRelative : public XMLPropertyHandler
781{
782public:
783 virtual bool importXML(
784 const OUString& rStrImpValue,
785 css::uno::Any& rValue,
786 const SvXMLUnitConverter& rUnitConverter ) const override;
787 virtual bool exportXML(
788 OUString& rStrExpValue,
789 const css::uno::Any& rValue,
790 const SvXMLUnitConverter& rUnitConverter ) const override;
791};
792
793}
794
795bool XMLCaptionEscapeRelative::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& ) const
796{
797 sal_Int32 nValue;
798
799 if (!::sax::Converter::convertPercent( nValue, rStrImpValue ))
800 return false;
801
802 nValue *= 100;
803 rValue <<= nValue;
804 return true;
805}
806
807bool XMLCaptionEscapeRelative::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& ) const
808{
809 sal_Int32 nValue = 0;
810 if( !(rValue >>= nValue ) )
811 return false;
812
813 nValue /= 100;
814 OUStringBuffer aOut;
815 ::sax::Converter::convertPercent( aOut, nValue );
816 rStrExpValue = aOut.makeStringAndClear();
817 return true;
818}
819
820namespace {
821
822class XMLMoveSizeProtectHdl : public XMLPropertyHandler
823{
824public:
825 explicit XMLMoveSizeProtectHdl( sal_Int32 nType ) : mnType( nType ) {}
826
827 virtual bool importXML(
828 const OUString& rStrImpValue,
829 css::uno::Any& rValue,
830 const SvXMLUnitConverter& rUnitConverter ) const override;
831 virtual bool exportXML(
832 OUString& rStrExpValue,
833 const css::uno::Any& rValue,
834 const SvXMLUnitConverter& rUnitConverter ) const override;
835private:
836 const sal_Int32 mnType;
837};
838
839}
840
841bool XMLMoveSizeProtectHdl::importXML( const OUString& rStrImpValue, Any& rValue, const SvXMLUnitConverter& ) const
842{
843 const bool bValue = rStrImpValue.indexOf( GetXMLToken( mnType == XML_SD_TYPE_MOVE_PROTECT ? XML_POSITION : XML_SIZE ) ) != -1;
844 rValue <<= bValue;
845 return true;
846}
847
848bool XMLMoveSizeProtectHdl::exportXML( OUString& rStrExpValue, const Any& rValue, const SvXMLUnitConverter& ) const
849{
850 bool bValue;
851 if( !(rValue >>= bValue ) )
852 return false;
853
854 if( bValue )
855 {
856 if( !rStrExpValue.isEmpty() )
857 rStrExpValue += " ";
858
859 rStrExpValue += GetXMLToken( mnType == XML_SD_TYPE_MOVE_PROTECT ? XML_POSITION : XML_SIZE );
860 }
861
862 return true;
863}
864
865namespace {
866
867class XMLSdHeaderFooterVisibilityTypeHdl : public XMLPropertyHandler
868{
869public:
870 virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
871 virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
872};
873
874}
875
877 const OUString& rStrImpValue,
878 css::uno::Any& rValue,
879 const SvXMLUnitConverter& ) const
880{
881 // #i38644#
882 // attributes with this type where saved with VISIBLE|HIDDEN prior
883 // to src680m67. So we have to import that correctly
884 const bool bBool = IsXMLToken(rStrImpValue, XML_TRUE) || IsXMLToken(rStrImpValue, XML_VISIBLE);
885 rValue <<= bBool;
886 return bBool || IsXMLToken(rStrImpValue, XML_FALSE) || IsXMLToken(rStrImpValue, XML_HIDDEN);
887}
888
890 OUString& rStrExpValue,
891 const Any& rValue,
892 const SvXMLUnitConverter& ) const
893{
894 bool bRet = false;
895 bool bValue;
896
897 if (rValue >>= bValue)
898 {
899 OUStringBuffer aOut;
900 ::sax::Converter::convertBool( aOut, bValue );
901 rStrExpValue = aOut.makeStringAndClear();
902
903 bRet = true;
904 }
905
906 return bRet;
907}
908
909namespace {
910
911class XMLSdRotationAngleTypeHdl : public XMLPropertyHandler
912{
913public:
914 virtual bool importXML(const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter) const override;
915 virtual bool exportXML(OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter) const override;
916};
917
918}
919
921 const OUString& rStrImpValue,
922 css::uno::Any& rValue,
923 const SvXMLUnitConverter&) const
924{
925 sal_Int32 nValue;
926 bool const bRet = ::sax::Converter::convertNumber(nValue, rStrImpValue);
927 if (bRet)
928 {
929 nValue = (nValue % 360);
930 if (nValue < 0)
931 nValue = 360 + nValue;
932 sal_Int32 nAngle;
933 if (nValue < 45 || nValue > 315)
934 nAngle = 0;
935 else if (nValue < 180)
936 nAngle = 9000;
937 else /* if nValue <= 315 ) */
938 nAngle = 27000;
939
940 rValue <<= nAngle;
941 }
942 return bRet;
943}
944
946 OUString& rStrExpValue,
947 const Any& rValue,
948 const SvXMLUnitConverter&) const
949{
950 sal_Int32 nAngle;
951 bool bRet = (rValue >>= nAngle) && nAngle != 0;
952 if (bRet)
953 {
954 rStrExpValue = OUString::number(nAngle / 100);
955 }
956 return bRet;
957}
958
959namespace {
960
961class XMLFitToSizeEnumPropertyHdl : public XMLEnumPropertyHdl
962{
963public:
964 XMLFitToSizeEnumPropertyHdl(
966 : XMLEnumPropertyHdl(pMap) {}
967
968 virtual bool importXML(const OUString& rStrImpValue, uno::Any& rValue,
969 const SvXMLUnitConverter& rUC) const override
970 {
971 // we don't know here what the actual attribute name is -
972 // but we can combine the 2 attributes by just taking the
973 // "largest" result value; this can never result in ALLLINES
974 // so the implementation has to interpret PROPORTIONAL as ALLLINES;
975 // both "true" is invalid anyway.
976 Any any;
977 auto const bRet = XMLEnumPropertyHdl::importXML(rStrImpValue, any, rUC);
978 if (!bRet)
979 {
980 return false;
981 }
982 assert(any.hasValue());
983 if (!rValue.hasValue() ||
984 rValue.get<drawing::TextFitToSizeType>() < any.get<drawing::TextFitToSizeType>())
985 {
986 rValue = any;
987 }
988 return true;
989 }
990};
991
992}
993
994XMLSdPropHdlFactory::XMLSdPropHdlFactory( uno::Reference< frame::XModel > xModel, SvXMLImport& rImport )
995: mxModel(std::move( xModel )), mpExport(nullptr), mpImport( &rImport )
996{
997}
998
999XMLSdPropHdlFactory::XMLSdPropHdlFactory( uno::Reference< frame::XModel > xModel, SvXMLExport& rExport )
1000: mxModel(std::move( xModel )), mpExport( &rExport ), mpImport(nullptr)
1001{
1002}
1003
1005{
1006}
1007
1009{
1011 if(!pHdl)
1012 {
1013 switch(nType)
1014 {
1015 case XML_SD_TYPE_STROKE :
1016 {
1018 break;
1019 }
1021 {
1023 break;
1024 }
1025 case XML_SD_TYPE_LINECAP :
1026 {
1028 break;
1029 }
1031 {
1033 break;
1034 }
1036 {
1038 break;
1039 }
1041 {
1043 break;
1044 }
1045 case XML_TYPE_SD_MIRROR:
1046 {
1048 break;
1049 }
1051 {
1053 break;
1054 }
1056 {
1058 break;
1059 }
1061 {
1062 pHdl = new XMLDurationPropertyHdl;
1063 break;
1064 }
1066 {
1068 break;
1069 }
1070 case XML_SD_TYPE_OPACITY :
1071 {
1072 pHdl = new XMLOpacityPropertyHdl(mpImport);
1073 break;
1074 }
1076 {
1078 break;
1079 }
1081 {
1083 break;
1084 }
1086 {
1088 break;
1089 }
1091 {
1093 break;
1094 }
1095
1096 // 3D Properties
1097
1099 {
1100 // #87922# DoubleSided -> BackfaceCulling
1101 // This sal_Bool needs to be flipped, DoubleSided sal_True -> NO Backface culling
1102 // and vice versa.
1104 break;
1105 }
1106
1108 {
1110 break;
1111 }
1113 {
1115 break;
1116 }
1118 {
1120 break;
1121 }
1123 {
1125 break;
1126 }
1128 {
1130 break;
1131 }
1133 {
1135 break;
1136 }
1138 {
1139 uno::Reference<ucb::XAnyCompareFactory> xCompareFac( mxModel, uno::UNO_QUERY );
1140 uno::Reference<ucb::XAnyCompare> xCompare;
1141 if( xCompareFac.is() )
1142 xCompare = xCompareFac->createAnyCompareByName( "NumberingRules" );
1143
1144 pHdl = new XMLNumRulePropHdl( xCompare );
1145 break;
1146 }
1148 {
1150 break;
1151 }
1154 {
1156 break;
1157 }
1159 {
1161 break;
1162 }
1164 {
1166 break;
1167 }
1169 {
1171 break;
1172 }
1175 break;
1178 break;
1181 break;
1184 break;
1187 break;
1190 break;
1192 {
1193 if (mpExport
1194 && (mpExport->getSaneDefaultVersion() // tdf#97630
1196 {
1197 pHdl = new XMLFitToSizeEnumPropertyHdl(pXML_FitToSize_Enum_Odf12);
1198 }
1199 else
1200 { // import all values written by old LO
1201 pHdl = new XMLFitToSizeEnumPropertyHdl(pXML_FitToSize_Enum);
1202 }
1203 }
1204 break;
1206 {
1207 pHdl = new XMLFitToSizeEnumPropertyHdl(pXML_ShrinkToFit_Enum);
1208 }
1209 break;
1212 break;
1215 break;
1218 break;
1220 {
1222 }
1223 break;
1225 pHdl = new XMLClipPropertyHandler( true );
1226 break;
1227 case XML_TYPE_TEXT_CLIP:
1228 pHdl = new XMLClipPropertyHandler( false );
1229 break;
1230
1231 // #FontWork#
1234 break;
1237 break;
1240 break;
1243 break;
1244
1246 pHdl = new ::xmloff::OControlBorderHandler( ::xmloff::OControlBorderHandler::STYLE );
1247 break;
1249 pHdl = new ::xmloff::OControlBorderHandler( ::xmloff::OControlBorderHandler::COLOR );
1250 break;
1252 pHdl = new ::xmloff::ImageScaleModeHandler;
1253 break;
1255 pHdl = new ::xmloff::OControlTextEmphasisHandler;
1256 break;
1257
1259 {
1261 break;
1262 }
1265 break;
1267 pHdl = new XMLCaptionEscapeRelative;
1268 break;
1271 break;
1274 break;
1277 break;
1280 break;
1282 pHdl = new XMLDateTimeFormatHdl( mpExport );
1283 break;
1286 break;
1289 break;
1292 break;
1294 pHdl = new XMLWordWrapPropertyHdl( mpImport );
1295 break;
1296
1299 pHdl = new XMLMoveSizeProtectHdl( nType );
1300 break;
1302 pHdl = new XMLSdHeaderFooterVisibilityTypeHdl;
1303 break;
1305 pHdl = new XMLSdRotationAngleTypeHdl;
1306 break;
1309 break;
1311 pHdl = new XMLComplexColorHandler;
1312 break;
1313 }
1314
1315 if(pHdl)
1316 PutHdlCache(nType, pHdl);
1317 }
1318
1319 return pHdl;
1320}
1321
1323 bool bForExport)
1324: XMLPropertySetMapper( aXMLSDProperties, rFactoryRef, bForExport )
1325{
1326}
1327
1329{
1330}
1331
1333: SvXMLExportPropertyMapper( rMapper )
1334, maNumRuleExp( rExport )
1335, mbIsInAutoStyles( true )
1336{
1337}
1338
1340{
1341}
1342
1344 bool bEnableFoFontFamily,
1345 std::vector< XMLPropertyState >& rProperties,
1346 const uno::Reference< beans::XPropertySet >& rPropSet ) const
1347{
1348 XMLPropertyState* pRepeatOffsetX = nullptr;
1349 XMLPropertyState* pRepeatOffsetY = nullptr;
1350 XMLPropertyState* pTextAnimationBlinking = nullptr;
1351 XMLPropertyState* pTextAnimationKind = nullptr;
1352
1353 // #FontWork#
1354 XMLPropertyState* pFontWorkStyle = nullptr;
1355 XMLPropertyState* pFontWorkAdjust = nullptr;
1356 XMLPropertyState* pFontWorkDistance = nullptr;
1357 XMLPropertyState* pFontWorkStart = nullptr;
1358 XMLPropertyState* pFontWorkMirror = nullptr;
1359 XMLPropertyState* pFontWorkOutline = nullptr;
1360 XMLPropertyState* pFontWorkShadow = nullptr;
1361 XMLPropertyState* pFontWorkShadowColor = nullptr;
1362 XMLPropertyState* pFontWorkShadowOffsetx = nullptr;
1363 XMLPropertyState* pFontWorkShadowOffsety = nullptr;
1364 XMLPropertyState* pFontWorkForm = nullptr;
1365 XMLPropertyState* pFontWorkHideform = nullptr;
1366 XMLPropertyState* pFontWorkShadowTransparence = nullptr;
1367
1368 // OLE
1369 XMLPropertyState* pOLEVisAreaLeft = nullptr;
1370 XMLPropertyState* pOLEVisAreaTop = nullptr;
1371 XMLPropertyState* pOLEVisAreaWidth = nullptr;
1372 XMLPropertyState* pOLEVisAreaHeight = nullptr;
1373 XMLPropertyState* pOLEIsInternal = nullptr;
1374
1375 // caption
1376 XMLPropertyState* pCaptionIsEscRel = nullptr;
1377 XMLPropertyState* pCaptionEscRel = nullptr;
1378 XMLPropertyState* pCaptionEscAbs = nullptr;
1379
1380 // filter fo:clip
1381 XMLPropertyState* pClip11State = nullptr;
1382 XMLPropertyState* pClipState = nullptr;
1383
1384 XMLPropertyState* pGraphicWritingMode2 = nullptr;
1385 XMLPropertyState* pShapeWritingMode = nullptr;
1386 XMLPropertyState* pTextWritingMode = nullptr;
1387 XMLPropertyState* pControlWritingMode = nullptr;
1388
1389 // filter properties
1390 for( auto& rProp : rProperties )
1391 {
1392 XMLPropertyState *property = &rProp;
1393 if( property->mnIndex == -1 )
1394 continue;
1395
1396 // find properties with context
1397 // to prevent writing this property set mnIndex member to -1
1398 switch( getPropertySetMapper()->GetEntryContextId( property->mnIndex ))
1399 {
1400 case CTF_NUMBERINGRULES:
1401 {
1402 if( mbIsInAutoStyles )
1403 property->mnIndex = -1;
1404 }
1405 break;
1407 {
1408 // this property is not exported in the style:properties element
1409 // because it's an XIndexAccess and not a string.
1410 // This will be handled in SvXMLAutoStylePoolP::exportStyleAttributes
1411 // This is suboptimal
1412 if( !mbIsInAutoStyles )
1413 property->mnIndex = -1;
1414 }
1415 break;
1416 case CTF_WRITINGMODE2:
1417 pGraphicWritingMode2 = property;
1418 break;
1419 case CTF_WRITINGMODE:
1420 pShapeWritingMode = property;
1421 break;
1423 pControlWritingMode = property;
1424 break;
1426 pTextWritingMode = property;
1427 break;
1429 pRepeatOffsetX = property;
1430 break;
1431
1433 pRepeatOffsetY = property;
1434 break;
1435
1436 case CTF_DASHNAME:
1438 case CTF_FILLHATCHNAME:
1439 case CTF_FILLBITMAPNAME:
1440 {
1441 OUString aStr;
1442 if( (property->maValue >>= aStr) && aStr.isEmpty() )
1443 property->mnIndex = -1;
1444 }
1445 break;
1447 pTextAnimationBlinking = property;
1448 break;
1450 pTextAnimationKind = property;
1451 break;
1452
1453 // #FontWork#
1454 case CTF_FONTWORK_STYLE: pFontWorkStyle = property; break;
1455 case CTF_FONTWORK_ADJUST: pFontWorkAdjust = property; break;
1456 case CTF_FONTWORK_DISTANCE: pFontWorkDistance = property; break;
1457 case CTF_FONTWORK_START: pFontWorkStart = property; break;
1458 case CTF_FONTWORK_MIRROR: pFontWorkMirror = property; break;
1459 case CTF_FONTWORK_OUTLINE: pFontWorkOutline = property; break;
1460 case CTF_FONTWORK_SHADOW: pFontWorkShadow = property; break;
1461 case CTF_FONTWORK_SHADOWCOLOR: pFontWorkShadowColor = property; break;
1462 case CTF_FONTWORK_SHADOWOFFSETX: pFontWorkShadowOffsetx = property; break;
1463 case CTF_FONTWORK_SHADOWOFFSETY: pFontWorkShadowOffsety = property; break;
1464 case CTF_FONTWORK_FORM: pFontWorkForm = property; break;
1465 case CTF_FONTWORK_HIDEFORM: pFontWorkHideform = property; break;
1466 case CTF_FONTWORK_SHADOWTRANSPARENCE: pFontWorkShadowTransparence = property; break;
1467
1468 // OLE
1469 case CTF_SD_OLE_VIS_AREA_EXPORT_LEFT: pOLEVisAreaLeft = property; break;
1470 case CTF_SD_OLE_VIS_AREA_EXPORT_TOP: pOLEVisAreaTop = property; break;
1471 case CTF_SD_OLE_VIS_AREA_EXPORT_WIDTH: pOLEVisAreaWidth = property; break;
1472 case CTF_SD_OLE_VIS_AREA_EXPORT_HEIGHT: pOLEVisAreaHeight = property; break;
1473 case CTF_SD_OLE_ISINTERNAL: pOLEIsInternal = property; break;
1474
1476 {
1477 if( !property->maValue.hasValue() )
1478 property->mnIndex = -1;
1479 }
1480 break;
1483 {
1484 sal_Int32 nValue = 0;
1485 if( (property->maValue >>= nValue) && (nValue < 0) )
1486 property->mnIndex = -1;
1487 }
1488 break;
1489
1491 {
1492 bool bProtected;
1493 if( (property->maValue >>= bProtected) && !bProtected )
1494 property->mnIndex = -1;
1495 }
1496 break;
1498 {
1499 bool bProtected;
1500 if( (property->maValue >>= bProtected) && !bProtected )
1501 property->mnIndex = -1;
1502 }
1503 break;
1504 case CTF_CAPTION_ISESCREL: pCaptionIsEscRel = property; break;
1505 case CTF_CAPTION_ESCREL: pCaptionEscRel = property; break;
1506 case CTF_CAPTION_ESCABS: pCaptionEscAbs = property; break;
1507 case CTF_TEXT_CLIP11: pClip11State = property; break;
1508 case CTF_TEXT_CLIP: pClipState = property; break;
1509 }
1510 }
1511
1512 if (pGraphicWritingMode2)
1513 {
1514 // A style:writing-mode attribute G in graphic-properties is only evaluated if there is no
1515 // style:writing-mode attribute P in the paragraph-properties of the same graphic style.
1516 // Otherwise the value of P is used. For values lr-tb, rl-tb and tb-rl the values G and P
1517 // should be the same. But other values in G cannot be expressed in P and would produce default
1518 // 0 value in P, preventing evaluation of G.
1519 sal_Int16 eGraphicWritingMode;
1520 if ((pGraphicWritingMode2->maValue >>= eGraphicWritingMode)
1521 && eGraphicWritingMode >= text::WritingMode2::TB_LR && pShapeWritingMode)
1522 pShapeWritingMode->mnIndex = -1;
1523 }
1524
1525 // check for duplicate writing mode
1526 if( pShapeWritingMode && (pTextWritingMode || pControlWritingMode) )
1527 {
1528 if( pTextWritingMode )
1529 pTextWritingMode->mnIndex = -1;
1530 if( pControlWritingMode )
1531 pControlWritingMode->mnIndex = -1;
1532
1533 text::WritingMode eWritingMode;
1534 if( pShapeWritingMode->maValue >>= eWritingMode )
1535 {
1536 if( text::WritingMode_LR_TB == eWritingMode )
1537 {
1538 pShapeWritingMode->mnIndex = -1;
1539 pShapeWritingMode = nullptr;
1540 }
1541 }
1542 }
1543 else if( pTextWritingMode && pControlWritingMode )
1544 {
1545 pControlWritingMode->mnIndex = -1;
1546
1547 sal_Int32 eWritingMode;
1548 if (pTextWritingMode->maValue >>= eWritingMode)
1549 {
1550 if (text::WritingMode2::LR_TB == eWritingMode)
1551 {
1552 pTextWritingMode->mnIndex = -1;
1553 pTextWritingMode = nullptr;
1554 }
1555 }
1556 }
1557
1558 // do not export visual area for internal ole objects
1559 if( pOLEIsInternal )
1560 {
1561 bool bInternal;
1562 if( (pOLEIsInternal->maValue >>= bInternal) && !bInternal )
1563 {
1564 try
1565 {
1566 awt::Rectangle aRect;
1567 if( rPropSet->getPropertyValue( "VisibleArea" ) >>= aRect )
1568 {
1569 if( pOLEVisAreaLeft )
1570 {
1571 pOLEVisAreaLeft->mnIndex = getPropertySetMapper()->FindEntryIndex( CTF_SD_OLE_VIS_AREA_IMPORT_LEFT );
1572 pOLEVisAreaLeft->maValue <<= aRect;
1573 }
1574 if( pOLEVisAreaTop )
1575 {
1576 pOLEVisAreaTop->mnIndex = getPropertySetMapper()->FindEntryIndex( CTF_SD_OLE_VIS_AREA_IMPORT_TOP );
1577 pOLEVisAreaTop->maValue <<= aRect;
1578 }
1579 if( pOLEVisAreaWidth )
1580 {
1581 pOLEVisAreaWidth->mnIndex = getPropertySetMapper()->FindEntryIndex( CTF_SD_OLE_VIS_AREA_IMPORT_WIDTH );
1582 pOLEVisAreaWidth->maValue <<= aRect;
1583 }
1584 if( pOLEVisAreaHeight )
1585 {
1586 pOLEVisAreaHeight->mnIndex = getPropertySetMapper()->FindEntryIndex( CTF_SD_OLE_VIS_AREA_IMPORT_HEIGHT );
1587 pOLEVisAreaHeight->maValue <<= aRect;
1588 }
1589 }
1590 }
1591 catch( uno::Exception& )
1592 {
1593 }
1594 }
1595 else
1596 {
1597 if( pOLEVisAreaLeft ) pOLEVisAreaLeft->mnIndex = -1;
1598 if( pOLEVisAreaTop ) pOLEVisAreaTop->mnIndex = -1;
1599 if( pOLEVisAreaWidth ) pOLEVisAreaWidth->mnIndex = -1;
1600 if( pOLEVisAreaHeight ) pOLEVisAreaHeight->mnIndex = -1;
1601 }
1602
1603 pOLEIsInternal->mnIndex = -1;
1604 }
1605
1606 if( pTextAnimationBlinking && pTextAnimationKind )
1607 {
1608 drawing::TextAnimationKind eKind;
1609 if( (pTextAnimationKind->maValue >>= eKind) && eKind != drawing::TextAnimationKind_BLINK )
1610 {
1611 pTextAnimationBlinking->mnIndex = -1;
1612 }
1613 else
1614 {
1615 pTextAnimationKind->mnIndex = -1;
1616 }
1617 }
1618
1619 if( pRepeatOffsetX && pRepeatOffsetY )
1620 {
1621 sal_Int32 nOffset = 0;
1622 if( ( pRepeatOffsetX->maValue >>= nOffset ) && ( nOffset == 0 ) )
1623 pRepeatOffsetX->mnIndex = -1;
1624 else
1625 pRepeatOffsetY->mnIndex = -1;
1626 }
1627
1628 if(pFontWorkStyle)
1629 {
1630 // #FontWork#
1631 sal_Int32 nStyle = 0;
1632
1633 if(pFontWorkStyle->maValue >>= nStyle)
1634 {
1635 if(/*XFormTextStyle::NONE*/4 == nStyle)
1636 {
1637 pFontWorkStyle->mnIndex = -1;
1638 if(pFontWorkAdjust)
1639 pFontWorkAdjust->mnIndex = -1;
1640 if(pFontWorkDistance)
1641 pFontWorkDistance->mnIndex = -1;
1642 if(pFontWorkStart)
1643 pFontWorkStart->mnIndex = -1;
1644 if(pFontWorkMirror)
1645 pFontWorkMirror->mnIndex = -1;
1646 if(pFontWorkOutline)
1647 pFontWorkOutline->mnIndex = -1;
1648 if(pFontWorkShadow)
1649 pFontWorkShadow->mnIndex = -1;
1650 if(pFontWorkShadowColor)
1651 pFontWorkShadowColor->mnIndex = -1;
1652 if(pFontWorkShadowOffsetx)
1653 pFontWorkShadowOffsetx->mnIndex = -1;
1654 if(pFontWorkShadowOffsety)
1655 pFontWorkShadowOffsety->mnIndex = -1;
1656 if(pFontWorkForm)
1657 pFontWorkForm->mnIndex = -1;
1658 if(pFontWorkHideform)
1659 pFontWorkHideform->mnIndex = -1;
1660 if(pFontWorkShadowTransparence)
1661 pFontWorkShadowTransparence->mnIndex = -1;
1662 }
1663 }
1664 }
1665
1666 if( pCaptionIsEscRel )
1667 {
1668 bool bIsRel = false;
1669 pCaptionIsEscRel->maValue >>= bIsRel;
1670
1671 if( bIsRel )
1672 {
1673 if( pCaptionEscAbs )
1674 pCaptionEscAbs->mnIndex = -1;
1675 }
1676 else
1677 {
1678 if( pCaptionEscRel )
1679 pCaptionEscRel->mnIndex = -1;
1680 }
1681
1682 pCaptionIsEscRel->mnIndex = -1;
1683 }
1684
1685 if( pClipState != nullptr && pClip11State != nullptr )
1686 pClip11State->mnIndex = -1;
1687
1688 SvXMLExportPropertyMapper::ContextFilter(bEnableFoFontFamily, rProperties, rPropSet);
1689}
1690
1692 comphelper::AttributeList& rAttrList,
1693 const XMLPropertyState& rProperty,
1694 const SvXMLUnitConverter& rUnitConverter,
1695 const SvXMLNamespaceMap& rNamespaceMap,
1696 const ::std::vector< XMLPropertyState > *pProperties,
1697 sal_uInt32 nIdx ) const
1698{
1699 switch( getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex ) )
1700 {
1702 // not to be handled by the base class
1703 break;
1704
1705 default:
1706 SvXMLExportPropertyMapper::handleSpecialItem( rAttrList, rProperty, rUnitConverter, rNamespaceMap, pProperties, nIdx );
1707 break;
1708 }
1709}
1710
1712 SvXMLExport& rExport,
1713 const XMLPropertyState& rProperty,
1714 SvXmlExportFlags nFlags,
1715 const ::std::vector< XMLPropertyState > *pProperties,
1716 sal_uInt32 nIdx) const
1717{
1718 switch( getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex ) )
1719 {
1720 case CTF_NUMBERINGRULES:
1721 {
1722 // only export list-styles as elements in styles section
1723 if( !mbIsInAutoStyles )
1724 {
1725 uno::Reference< container::XIndexReplace > xNumRule( rProperty.maValue, uno::UNO_QUERY );
1726 if( xNumRule.is() )
1727 const_cast<XMLShapeExportPropertyMapper*>(this)->maNumRuleExp.exportNumberingRule(GetStyleName(), false, xNumRule);
1728 }
1729 }
1730 break;
1731 default:
1732 SvXMLExportPropertyMapper::handleElementItem( rExport, rProperty, nFlags, pProperties, nIdx );
1733 break;
1734 }
1735}
1736
1738 SvXMLExportPropertyMapper( rMapper ),
1739 mrExport( rExport )
1740{
1741}
1742
1744{
1745}
1746
1748 bool bEnableFoFontFamily,
1749 std::vector< XMLPropertyState >& rProperties,
1750 const uno::Reference< beans::XPropertySet >& rPropSet ) const
1751{
1752 XMLPropertyState* pRepeatOffsetX = nullptr;
1753 XMLPropertyState* pRepeatOffsetY = nullptr;
1754 XMLPropertyState* pTransType = nullptr;
1755 XMLPropertyState* pTransDuration = nullptr;
1756 XMLPropertyState* pDateTimeUpdate = nullptr;
1757 XMLPropertyState* pDateTimeFormat = nullptr;
1758 XMLPropertyState* pTransitionFadeColor = nullptr;
1759
1760 sal_Int16 nTransitionType = 0;
1761
1762 // filter properties
1763 for( auto& rProp : rProperties )
1764 {
1765 XMLPropertyState *property = &rProp;
1766 if( property->mnIndex == -1 )
1767 continue;
1768
1769 // find properties with context
1770 // to prevent writing this property set mnIndex member to -1
1771 switch( getPropertySetMapper()->GetEntryContextId( property->mnIndex ))
1772 {
1773
1775 pRepeatOffsetX = property;
1776 break;
1777
1779 pRepeatOffsetY = property;
1780 break;
1782 pTransType = property;
1783 break;
1786 (*property).mnIndex = -1;
1787 break;
1789 {
1791 (((*property).maValue >>= nTransitionType) && (nTransitionType == 0)) )
1792 (*property).mnIndex = -1;
1793 }
1794 break;
1796 {
1797 sal_Int16 nTransitionSubtype = sal_Int16();
1799 (((*property).maValue >>= nTransitionSubtype) && (nTransitionSubtype == 0)) )
1800 (*property).mnIndex = -1;
1801
1802 }
1803 break;
1805 {
1806 bool bDirection;
1808 (((*property).maValue >>= bDirection) && bDirection) )
1809 (*property).mnIndex = -1;
1810 }
1811 break;
1814 (*property).mnIndex = -1;
1815 else
1816 pTransitionFadeColor = property;
1817 break;
1819 {
1820 presentation::AnimationSpeed aEnum;
1821 if( ((*property).maValue >>= aEnum) && aEnum == presentation::AnimationSpeed_MEDIUM )
1822 (*property).mnIndex = -1;
1823 }
1824 break;
1825 case CTF_PAGE_VISIBLE:
1826 {
1827 bool bVisible = false;
1828 (*property).maValue >>= bVisible;
1829 if( bVisible )
1830 (*property).mnIndex = -1;
1831 }
1832 break;
1834 pTransDuration = property;
1835 break;
1836 case CTF_HEADER_TEXT:
1837 case CTF_FOOTER_TEXT:
1838 case CTF_DATE_TIME_TEXT:
1839 {
1840 OUString aValue;
1841 (*property).maValue >>= aValue;
1842 if( aValue.isEmpty() )
1843 (*property).mnIndex = -1;
1844 }
1845 break;
1846
1848 pDateTimeUpdate = property;
1849 break;
1850
1852 pDateTimeFormat = property;
1853 break;
1854 }
1855 }
1856
1857 if( pTransitionFadeColor && nTransitionType != css::animations::TransitionType::FADE )
1858 pTransitionFadeColor->mnIndex = -1;
1859
1860 if( pDateTimeFormat && pDateTimeUpdate )
1861 {
1862 bool bIsFixed = false;
1863 pDateTimeUpdate->maValue >>= bIsFixed;
1864 if( bIsFixed )
1865 pDateTimeFormat->mnIndex = -1;
1866 }
1867
1868 if( pRepeatOffsetX && pRepeatOffsetY )
1869 {
1870 sal_Int32 nOffset = 0;
1871 if( ( pRepeatOffsetX->maValue >>= nOffset ) && ( nOffset == 0 ) )
1872 pRepeatOffsetX->mnIndex = -1;
1873 else
1874 pRepeatOffsetY->mnIndex = -1;
1875 }
1876
1877 if( pTransType && pTransDuration )
1878 {
1879 sal_Int32 nChange = 0;
1880 pTransType->maValue >>= nChange;
1881
1882 // only export duration for automatic
1883 if( nChange != 1 )
1884 pTransDuration->mnIndex = -1;
1885
1886 // do not export default transition change
1887 if( nChange == 0 )
1888 pTransType->mnIndex = -1;
1889 }
1890
1891 SvXMLExportPropertyMapper::ContextFilter(bEnableFoFontFamily, rProperties, rPropSet);
1892}
1893
1895 SvXMLExport& rExport,
1896 const XMLPropertyState& rProperty,
1897 SvXmlExportFlags nFlags,
1898 const ::std::vector< XMLPropertyState > *pProperties,
1899 sal_uInt32 nIdx) const
1900{
1901 switch( getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex ) )
1902 {
1903 case CTF_PAGE_SOUND_URL:
1904 {
1905 OUString aSoundURL;
1906 if( (rProperty.maValue >>= aSoundURL) && !aSoundURL.isEmpty() )
1907 {
1913 }
1914 }
1915 break;
1916 default:
1917 SvXMLExportPropertyMapper::handleElementItem( rExport, rProperty, nFlags, pProperties, nIdx );
1918 break;
1919 }
1920}
1921
1922/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< css::frame::XModel2 > mxModel
const Any & any
const OUString & GetStyleName() const
Definition: xmlexppr.cxx:1120
virtual void handleElementItem(SvXMLExport &rExport, const XMLPropertyState &rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const
this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
Definition: xmlexppr.cxx:864
virtual void handleSpecialItem(comphelper::AttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const
this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set
Definition: xmlexppr.cxx:848
virtual void ContextFilter(bool bEnableFoFontFamily, ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const
Application-specific filter.
Definition: xmlexppr.cxx:663
const rtl::Reference< XMLPropertySetMapper > & getPropertySetMapper() const
Definition: xmlexppr.cxx:1110
OUString GetRelativeReference(const OUString &rValue)
Definition: xmlexp.cxx:2057
void AddAttribute(sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
Definition: xmlexp.cxx:907
SvXMLExportFlags getExportFlags() const
Definition: xmlexp.hxx:473
SvtSaveOptions::ODFSaneDefaultVersion getSaneDefaultVersion() const
returns the deterministic version for odf export
Definition: xmlexp.cxx:2264
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
Definition: xmluconv.hxx:83
void exportNumberingRule(const OUString &rName, bool bIsHidden, const css::uno::Reference< css::container::XIndexReplace > &xNumRule)
Definition: xmlnume.cxx:654
Abstract base-class for different XML-types.
Abstract base-class for different XML-types.
PropertyHandler for the XML-data-type:
Abstract base-class for different XML-types.
PropertyHandler for a generic xml enumeration type:
virtual bool importXML(const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const override
Imports the given value according to the XML-data-type corresponding to the derived class.
Abstract base-class for different XML-types.
This is a handler that returns true for import if the attribute string contains a '' value.
PropertyHandler for a named xml bool type:
PropertyHandler for the list-style.
Definition: numithdl.hxx:29
XMLPageExportPropertyMapper(const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLExport &rExport)
Definition: sdpropls.cxx:1737
virtual ~XMLPageExportPropertyMapper() override
Definition: sdpropls.cxx:1743
virtual void handleElementItem(SvXMLExport &rExport, const XMLPropertyState &rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override
this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
Definition: sdpropls.cxx:1894
virtual void ContextFilter(bool bEnableFoFontFamily, ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const override
Application-specific filter.
Definition: sdpropls.cxx:1747
This is a handler either only import/exports percent or measure.
void PutHdlCache(sal_Int32 nType, const XMLPropertyHandler *pHdl) const
Puts a PropertyHandler into the internal cache.
Definition: prhdlfac.cxx:159
virtual const XMLPropertyHandler * GetPropertyHandler(sal_Int32 nType) const
This method retrieves a PropertyHandler for the given XML-type.
Definition: prhdlfac.cxx:141
Abstract base-class for different XML-types.
Definition: xmlprhdl.hxx:36
virtual bool exportXML(OUString &rStrExpValue, const css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0
Exports the given value according to the XML-data-type corresponding to the derived class.
virtual bool importXML(const OUString &rStrImpValue, css::uno::Any &rValue, const SvXMLUnitConverter &rUnitConverter) const =0
Imports the given value according to the XML-data-type corresponding to the derived class.
XMLSdPropHdlFactory(css::uno::Reference< css::frame::XModel > xModel, SvXMLExport &rExport)
css::uno::Reference< css::frame::XModel > mxModel
Definition: sdpropls.hxx:56
SvXMLImport * mpImport
Definition: sdpropls.hxx:58
virtual const XMLPropertyHandler * GetPropertyHandler(sal_Int32 nType) const override
This method retrieves a PropertyHandler for the given XML-type.
Definition: sdpropls.cxx:1008
virtual ~XMLSdPropHdlFactory() override
Definition: sdpropls.cxx:1004
SvXMLExport * mpExport
Definition: sdpropls.hxx:57
SvxXMLNumRuleExport maNumRuleExp
Definition: sdpropls.hxx:77
virtual void handleSpecialItem(comphelper::AttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override
this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set
Definition: sdpropls.cxx:1691
XMLShapeExportPropertyMapper(const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLExport &rExport)
Definition: sdpropls.cxx:1332
virtual void handleElementItem(SvXMLExport &rExport, const XMLPropertyState &rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override
this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set
Definition: sdpropls.cxx:1711
virtual void ContextFilter(bool bEnableFoFontFamily, ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const override
Application-specific filter.
Definition: sdpropls.cxx:1343
virtual ~XMLShapeExportPropertyMapper() override
Definition: sdpropls.cxx:1339
virtual ~XMLShapePropertySetMapper() override
Definition: sdpropls.cxx:1328
XMLShapePropertySetMapper(const rtl::Reference< XMLPropertyHandlerFactory > &rFactoryRef, bool bForExport)
Definition: sdpropls.cxx:1322
PropertyHandler for the XML-data-type:
static bool convertPercent(sal_Int32 &rValue, std::u16string_view rString)
static bool convertNumber(sal_Int32 &rValue, std::u16string_view aString, sal_Int32 nMin=SAL_MIN_INT32, sal_Int32 nMax=SAL_MAX_INT32)
static bool convertBool(bool &rBool, std::u16string_view rString)
#define CTF_SD_CONTROL_SHAPE_DATA_STYLE
Definition: contextid.hxx:35
#define CTF_SD_NUMBERINGRULES_NAME
Definition: contextid.hxx:36
sal_Int16 nValue
aStr
XMLOFF_DLLPUBLIC bool importXML(css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList, css::uno::Any &rValue, OUString &rStrName, SvXMLImport &rImport)
XMLOFF_DLLPUBLIC void exportXML(OUString const &rStrName, css::uno::Any const &rValue, SvXMLExport &rExport)
enum SAL_DLLPUBLIC_RTTI FillStyle
Definition: xmlimppr.hxx:42
Handling of tokens in XML:
@ XML_CAPTION_ESCAPE_DIRECTION
Definition: xmltoken.hxx:2234
@ XML_USE_FIRST_ROW_STYLES
Definition: xmltoken.hxx:3254
@ XML_FONTWORK_OUTLINE
Definition: xmltoken.hxx:903
@ XML_USE_LAST_COLUMN_STYLES
Definition: xmltoken.hxx:3257
@ XML_GRADIENT_STEP_COUNT
Definition: xmltoken.hxx:981
@ XML_START_LINE_SPACING_HORIZONTAL
Definition: xmltoken.hxx:1840
@ XML_FRAME_DISPLAY_BORDER
Definition: xmltoken.hxx:941
@ XML_WAVYLINE_FROM_RIGHT
Definition: xmltoken.hxx:2152
@ XML_ANIMATION_START_INSIDE
Definition: xmltoken.hxx:254
@ XML_USE_FIRST_COLUMN_STYLES
Definition: xmltoken.hxx:3256
@ XML_FONTWORK_SHADOW_COLOR
Definition: xmltoken.hxx:905
@ XML_FADE_FROM_BOTTOM
Definition: xmltoken.hxx:802
@ XML_USE_BANDING_ROWS_STYLES
Definition: xmltoken.hxx:3258
@ XML_HORIZONTAL_SEGMENTS
Definition: xmltoken.hxx:1041
@ XML_DISPLAY_PAGE_NUMBER
Definition: xmltoken.hxx:2462
@ XML_GRADIENTSTYLE_SQUARE
Definition: xmltoken.hxx:988
@ XML_BACKGROUND_VISIBLE
Definition: xmltoken.hxx:2246
@ XML_UNCOVER_TO_LOWERLEFT
Definition: xmltoken.hxx:2259
@ XML_USE_LAST_ROW_STYLES
Definition: xmltoken.hxx:3255
@ XML_SECONDARY_FILL_COLOR
Definition: xmltoken.hxx:2511
@ XML_FONTWORK_SHADOW_OFFSET_Y
Definition: xmltoken.hxx:907
@ XML_VERTICAL_CHECKERBOARD
Definition: xmltoken.hxx:2260
@ XML_HORIZONTAL_STRIPES
Definition: xmltoken.hxx:1044
@ XML_CLOSE_HORIZONTAL
Definition: xmltoken.hxx:447
@ XML_VISIBLE_AREA_WIDTH
Definition: xmltoken.hxx:2138
@ XML_ANGLED_CONNECTOR_LINE
Definition: xmltoken.hxx:2193
@ XML_CAPTION_LINE_LENGTH
Definition: xmltoken.hxx:2236
@ XML_MOVE_FROM_LOWERLEFT
Definition: xmltoken.hxx:2251
@ XML_MEASURE_VERTICAL_ALIGN
Definition: xmltoken.hxx:1289
@ XML_FADE_FROM_UPPERRIGHT
Definition: xmltoken.hxx:810
@ XML_FILL_IMAGE_HEIGHT
Definition: xmltoken.hxx:826
@ XML_FADE_FROM_LOWERLEFT
Definition: xmltoken.hxx:805
@ XML_BACKGROUND_OBJECTS_VISIBLE
Definition: xmltoken.hxx:2245
@ XML_FILL_IMAGE_REF_POINT
Definition: xmltoken.hxx:828
@ XML_WAVYLINE_FROM_BOTTOM
Definition: xmltoken.hxx:2150
@ XML_FADE_FROM_UPPERLEFT
Definition: xmltoken.hxx:809
@ XML_START_LINE_SPACING_VERTICAL
Definition: xmltoken.hxx:1841
@ XML_UNCOVER_TO_LOWERRIGHT
Definition: xmltoken.hxx:2257
@ XML_CAPTION_ANGLE_TYPE
Definition: xmltoken.hxx:2231
@ XML_FILL_HATCH_SOLID
Definition: xmltoken.hxx:824
@ XML_USE_BANDING_COLUMNS_STYLES
Definition: xmltoken.hxx:3259
@ XML_MARKER_START_WIDTH
Definition: xmltoken.hxx:1263
@ XML_AUTO_GROW_HEIGHT
Definition: xmltoken.hxx:291
@ XML_ANIMATION_STOP_INSIDE
Definition: xmltoken.hxx:256
@ XML_TEXTAREA_HORIZONTAL_ALIGN
Definition: xmltoken.hxx:1986
@ XML_STRETCH_FROM_RIGHT
Definition: xmltoken.hxx:1868
@ XML_FILL_IMAGE_REF_POINT_X
Definition: xmltoken.hxx:829
@ XML_FONTWORK_DISTANCE
Definition: xmltoken.hxx:899
@ XML_MOVE_FROM_LOWERRIGHT
Definition: xmltoken.hxx:2250
@ XML_STRETCH_FROM_BOTTOM
Definition: xmltoken.hxx:1866
@ XML_FILL_IMAGE_WIDTH
Definition: xmltoken.hxx:831
@ XML_TILE_REPEAT_OFFSET
Definition: xmltoken.hxx:1997
@ XML_FILL_USE_SLIDE_BACKGROUND
Definition: xmltoken.hxx:3522
@ XML_FONTWORK_HIDE_FORM
Definition: xmltoken.hxx:901
@ XML_FRAME_MARGIN_VERTICAL
Definition: xmltoken.hxx:945
@ XML_UNCOVER_TO_UPPERLEFT
Definition: xmltoken.hxx:2253
@ XML_FONTWORK_SHADOW_OFFSET_X
Definition: xmltoken.hxx:906
@ XML_VISIBLE_AREA_HEIGHT
Definition: xmltoken.hxx:2135
@ XML_FRAME_DISPLAY_SCROLLBAR
Definition: xmltoken.hxx:942
@ XML_WAVYLINE_FROM_LEFT
Definition: xmltoken.hxx:2151
@ XML_FILL_GRADIENT_NAME
Definition: xmltoken.hxx:822
@ XML_FONTWORK_SHADOW_TRANSPARENCE
Definition: xmltoken.hxx:908
@ XML_FILL_COMPLEX_COLOR
Definition: xmltoken.hxx:3497
@ XML_ANIMATION_DIRECTION
Definition: xmltoken.hxx:252
@ XML_FADE_FROM_CENTER
Definition: xmltoken.hxx:803
@ XML_BACKGROUND_COLOR
Definition: xmltoken.hxx:313
@ XML_UNCOVER_TO_UPPERRIGHT
Definition: xmltoken.hxx:2255
@ XML_END_LINE_SPACING_VERTICAL
Definition: xmltoken.hxx:756
@ XML_MOVE_FROM_UPPERRIGHT
Definition: xmltoken.hxx:2249
@ XML_FILL_IMAGE_REF_POINT_Y
Definition: xmltoken.hxx:830
@ XML_MOVE_FROM_UPPERLEFT
Definition: xmltoken.hxx:2248
@ XML_HORIZONTAL_CHECKERBOARD
Definition: xmltoken.hxx:2261
@ XML_TEX_GENERATION_MODE_Y
Definition: xmltoken.hxx:1951
@ XML_BACKGROUND_NO_REPEAT
Definition: xmltoken.hxx:316
@ XML_TEXTAREA_VERTICAL_ALIGN
Definition: xmltoken.hxx:1987
@ XML_FRAME_MARGIN_HORIZONTAL
Definition: xmltoken.hxx:944
@ XML_CAPTION_FIT_LINE_LENGTH
Definition: xmltoken.hxx:2237
@ XML_TEX_GENERATION_MODE_X
Definition: xmltoken.hxx:1950
@ XML_BACKFACE_CULLING
Definition: xmltoken.hxx:311
@ XML_FADE_FROM_LOWERRIGHT
Definition: xmltoken.hxx:806
@ XML_GLOW_TRANSPARENCY
Definition: xmltoken.hxx:977
@ XML_END_LINE_SPACING_HORIZONTAL
Definition: xmltoken.hxx:755
@ XML_MARKER_START_CENTER
Definition: xmltoken.hxx:1262
@ XML_ANIMATION_REPEAT
Definition: xmltoken.hxx:253
@ XML_COUNTERCLOCKWISE
Definition: xmltoken.hxx:536
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string
Definition: xmltoken.cxx:3597
const OUString & GetXMLToken(enum XMLTokenEnum eToken)
return the OUString representation for eToken
Definition: xmltoken.cxx:3541
const SvXMLEnumMapEntry< sal_Int16 > aAnimations_EnumMap_TransitionSubType[]
const SvXMLEnumMapEntry< sal_Int16 > aAnimations_EnumMap_TransitionType[]
QPRO_FUNC_TYPE nType
sal_Int32 mnType
SvXMLEnumMapEntry< drawing::TextureKind > const aXML_TexKind_EnumMap[]
Definition: sdpropls.cxx:551
#define MAP_END()
Definition: sdpropls.cxx:82
SvXMLEnumMapEntry< sal_Int32 > const pXML_Fontwork_Shadow_Enum[]
Definition: sdpropls.cxx:736
SvXMLEnumMapEntry< drawing::LineCap > const aXML_LineCap_EnumMap[]
Definition: sdpropls.cxx:411
#define GMAP(name, prefix, token, type, context)
Definition: sdpropls.cxx:76
SvXMLEnumMapEntry< drawing::LineJoint > const aXML_LineJoint_EnumMap[]
Definition: sdpropls.cxx:401
const XMLPropertyMapEntry aXMLTableShapeAttributes[]
contains the attribute to property mapping for a drawing layer table WARNING: if attributes are added...
Definition: sdpropls.cxx:380
SvXMLEnumMapEntry< sal_Int32 > const pXML_Fontwork_Style_Enum[]
Definition: sdpropls.cxx:717
SvXMLEnumMapEntry< drawing::TextAnimationKind > const pXML_TextAnimation_Enum[]
Definition: sdpropls.cxx:608
SvXMLEnumMapEntry< sal_Int32 > const pXML_MeasureUnit_Enum[]
Definition: sdpropls.cxx:683
SvXMLEnumMapEntry< sal_Int32 > const pXML_Fontwork_Adjust_Enum[]
Definition: sdpropls.cxx:727
SvXMLEnumMapEntry< drawing::LineStyle > const aXML_LineStyle_EnumMap[]
Definition: sdpropls.cxx:393
SvXMLEnumMapEntry< drawing::TextFitToSizeType > const pXML_ShrinkToFit_Enum[]
Definition: sdpropls.cxx:674
SvXMLEnumMapEntry< drawing::MeasureTextHorzPos > const pXML_Measure_HAlign_Enum[]
Definition: sdpropls.cxx:698
SvXMLEnumMapEntry< drawing::TextAnimationDirection > const pXML_TextAnimationDirection_Enum[]
Definition: sdpropls.cxx:628
SvXMLEnumMapEntry< sal_Int32 > const pXML_Fontwork_Form_Enum[]
Definition: sdpropls.cxx:744
SvXMLEnumMapEntry< drawing::TextAnimationKind > const pXML_TextAnimation_Blinking_Enum[]
Definition: sdpropls.cxx:618
#define GMAPV(name, prefix, token, type, context, version)
Definition: sdpropls.cxx:78
SvXMLEnumMapEntry< drawing::ConnectorType > const aXML_ConnectionKind_EnumMap[]
Definition: sdpropls.cxx:508
SvXMLEnumMapEntry< drawing::MeasureTextVertPos > const pXML_Measure_VAlign_Enum[]
Definition: sdpropls.cxx:707
SvXMLEnumMapEntry< drawing::TextureProjectionMode > const aXML_TexGenerationX_EnumMap[]
Definition: sdpropls.cxx:535
const XMLPropertyMapEntry aXMLSDProperties[]
Definition: sdpropls.cxx:86
SvXMLEnumMapEntry< drawing::CircleKind > const aXML_CircleKind_EnumMap[]
Definition: sdpropls.cxx:580
const XMLPropertyMapEntry aXMLSDPresPageProps[]
Definition: sdpropls.cxx:330
SvXMLEnumMapEntry< drawing::FillStyle > const aXML_FillStyle_EnumMap[]
Definition: sdpropls.cxx:420
SvXMLEnumMapEntry< drawing::BitmapMode > const aXML_BitmapMode_EnumMap[]
Definition: sdpropls.cxx:517
SvXMLEnumMapEntry< drawing::TextHorizontalAdjust > const pXML_TextAlign_Enum[]
Definition: sdpropls.cxx:637
SvXMLEnumMapEntry< drawing::NormalsKind > const aXML_NormalsKind_EnumMap[]
Definition: sdpropls.cxx:527
SvXMLEnumMapEntry< drawing::TextureMode > const aXML_TexMode_EnumMap[]
Definition: sdpropls.cxx:558
SvXMLEnumMapEntry< drawing::TextFitToSizeType > const pXML_FitToSize_Enum_Odf12[]
Definition: sdpropls.cxx:656
SvXMLEnumMapEntry< text::WritingMode > const aXML_WritingMode_EnumMap[]
Definition: sdpropls.cxx:589
SvXMLEnumMapEntry< presentation::FadeEffect > const aXML_FadeEffect_EnumMap[]
Definition: sdpropls.cxx:446
SvXMLEnumMapEntry< drawing::TextureProjectionMode > const aXML_TexGenerationY_EnumMap[]
Definition: sdpropls.cxx:543
SvXMLEnumMapEntry< sal_Int32 > const aXML_PresChange_EnumMap[]
Definition: sdpropls.cxx:430
#define TMAP(name, prefix, token, type, context)
Definition: sdpropls.cxx:80
#define MAP_(name, prefix, token, type, context)
Definition: sdpropls.cxx:74
SvXMLEnumMapEntry< drawing::TextFitToSizeType > const pXML_FitToSize_Enum[]
Definition: sdpropls.cxx:665
SvXMLEnumMapEntry< drawing::TextVerticalAdjust > const pXML_VerticalAlign_Enum[]
Definition: sdpropls.cxx:646
#define GMAP_D(name, prefix, token, type, context)
Definition: sdpropls.cxx:77
#define DPMAP(name, prefix, token, type, context)
Definition: sdpropls.cxx:79
#define PMAP(name, prefix, token, type, context)
Definition: sdpropls.cxx:81
SvXMLEnumMapEntry< drawing::RectanglePoint > const aXML_RefPoint_EnumMap[]
Definition: sdpropls.cxx:566
SvXMLEnumMapEntry< sal_Int16 > const aXML_WritingMode2_EnumMap[]
Definition: sdpropls.cxx:596
SvXMLEnumMapEntry< sal_Int32 > const pXML_Caption_Type_Enum[]
Definition: sdpropls.cxx:770
SvXMLEnumMapEntry< sal_Int32 > const pXML_Caption_Esc_Dir_Enum[]
Definition: sdpropls.cxx:762
SvXMLEnumMapEntry< presentation::AnimationSpeed > const aXML_TransSpeed_EnumMap[]
Definition: sdpropls.cxx:438
Represents a property with its API-name, its XML-name and the type of its value.
Definition: maptype.hxx:33
Smart struct to transport an Any with an index to the appropriate property-name.
Definition: maptype.hxx:140
css::uno::Any maValue
Definition: maptype.hxx:142
sal_Int32 mnIndex
Definition: maptype.hxx:141
bool hasValue()
Reference< XModel > xModel
bool bVisible
#define CTF_FRAME_MARGIN_VERT
Definition: txtprmap.hxx:133
#define CTF_TEXT_CLIP
Definition: txtprmap.hxx:171
#define CTF_FRAME_DISPLAY_BORDER
Definition: txtprmap.hxx:131
#define CTF_TEXT_CLIP11
Definition: txtprmap.hxx:172
#define CTF_COMPLEX_COLOR
Definition: txtprmap.hxx:205
#define CTF_FILLSTYLE
Definition: txtprmap.hxx:202
#define CTF_TEXTWRITINGMODE
Definition: txtprmap.hxx:63
#define CTF_TEXTCOLUMNS
Definition: txtprmap.hxx:77
#define CTF_FRAME_MARGIN_HORI
Definition: txtprmap.hxx:132
#define CTF_FILLCOLOR
Definition: txtprmap.hxx:203
#define CTF_FRAME_DISPLAY_SCROLLBAR
Definition: txtprmap.hxx:130
SvXmlExportFlags
Definition: xmlexppr.hxx:39
constexpr sal_uInt16 XML_NAMESPACE_DRAW
constexpr sal_uInt16 XML_NAMESPACE_SMIL
constexpr sal_uInt16 XML_NAMESPACE_XLINK
constexpr sal_uInt16 XML_NAMESPACE_SVG
constexpr sal_uInt16 XML_NAMESPACE_TEXT
constexpr sal_uInt16 XML_NAMESPACE_DR3D
constexpr sal_uInt16 XML_NAMESPACE_TABLE
constexpr sal_uInt16 XML_NAMESPACE_LO_EXT
constexpr sal_uInt16 XML_NAMESPACE_PRESENTATION
constexpr sal_uInt16 XML_NAMESPACE_DRAW_EXT
constexpr sal_uInt16 XML_NAMESPACE_STYLE
constexpr sal_uInt16 XML_NAMESPACE_FO
constexpr OUStringLiteral PROP_LineDashName
Definition: xmlprop.hxx:418
constexpr OUStringLiteral PROP_FillBitmapMode
Definition: xmlprop.hxx:200
constexpr OUStringLiteral PROP_D3DTextureKind
Definition: xmlprop.hxx:158
constexpr OUStringLiteral PROP_GraphicColorMode
Definition: xmlprop.hxx:320
constexpr OUStringLiteral PROP_FillTransparence
Definition: xmlprop.hxx:216
constexpr OUStringLiteral PROP_AdjustRed
Definition: xmlprop.hxx:16
constexpr OUStringLiteral PROP_FillBitmapLogicalSize
Definition: xmlprop.hxx:199
constexpr OUStringLiteral PROP_CaptionIsEscapeRelative
Definition: xmlprop.hxx:44
constexpr OUStringLiteral PROP_LineStartCenter
Definition: xmlprop.hxx:423
constexpr OUStringLiteral PROP_D3DDepth
Definition: xmlprop.hxx:144
constexpr OUStringLiteral PROP_TextWordWrap
Definition: xmlprop.hxx:632
constexpr OUStringLiteral PROP_Shadow
Definition: xmlprop.hxx:566
constexpr OUStringLiteral PROP_AdjustLuminance
Definition: xmlprop.hxx:15
constexpr OUStringLiteral PROP_FontWorkHideForm
Definition: xmlprop.hxx:242
constexpr OUStringLiteral PROP_TextFitToSize
Definition: xmlprop.hxx:618
constexpr OUStringLiteral PROP_SoftEdgeRadius
Definition: xmlprop.hxx:580
constexpr OUStringLiteral PROP_SizeProtect
Definition: xmlprop.hxx:576
constexpr OUStringLiteral PROP_D3DNormalsInvert
Definition: xmlprop.hxx:153
constexpr OUStringLiteral PROP_TextMaximumFrameHeight
Definition: xmlprop.hxx:623
constexpr OUStringLiteral PROP_Change
Definition: xmlprop.hxx:51
constexpr OUStringLiteral PROP_ControlSymbolColor
Definition: xmlprop.hxx:135
constexpr OUStringLiteral PROP_ControlBackground
Definition: xmlprop.hxx:131
constexpr OUStringLiteral PROP_IsMirrored
Definition: xmlprop.hxx:398
constexpr OUStringLiteral PROP_ControlDataStyle
Definition: xmlprop.hxx:134
constexpr OUStringLiteral PROP_WritingMode
Definition: xmlprop.hxx:665
constexpr OUStringLiteral PROP_FillTransparenceGradientName
Definition: xmlprop.hxx:218
constexpr OUStringLiteral PROP_ImageScaleMode
Definition: xmlprop.hxx:387
constexpr OUStringLiteral PROP_AdjustContrast
Definition: xmlprop.hxx:13
constexpr OUStringLiteral PROP_D3DPercentDiagonal
Definition: xmlprop.hxx:155
constexpr OUStringLiteral PROP_D3DMaterialSpecularIntensity
Definition: xmlprop.hxx:152
constexpr OUStringLiteral PROP_TextLeftDistance
Definition: xmlprop.hxx:620
constexpr OUStringLiteral PROP_Speed
Definition: xmlprop.hxx:584
constexpr OUStringLiteral PROP_EdgeNode2VertDist
Definition: xmlprop.hxx:181
constexpr OUStringLiteral PROP_FillBitmapOffsetX
Definition: xmlprop.hxx:202
constexpr OUStringLiteral PROP_ShadowXDistance
Definition: xmlprop.hxx:571
constexpr OUStringLiteral PROP_FontWorkStart
Definition: xmlprop.hxx:250
constexpr OUStringLiteral PROP_FillBitmapPositionOffsetX
Definition: xmlprop.hxx:204
constexpr OUStringLiteral PROP_FillGradientName
Definition: xmlprop.hxx:212
constexpr OUStringLiteral PROP_MeasureHelpLine1Length
Definition: xmlprop.hxx:440
constexpr OUStringLiteral PROP_FrameMarginHeight
Definition: xmlprop.hxx:313
constexpr OUStringLiteral PROP_FillBackground
Definition: xmlprop.hxx:198
constexpr OUStringLiteral PROP_ControlBorder
Definition: xmlprop.hxx:132
constexpr OUStringLiteral PROP_Transparency
Definition: xmlprop.hxx:642
constexpr OUStringLiteral PROP_MeasureShowUnit
Definition: xmlprop.hxx:445
constexpr OUStringLiteral PROP_FontWorkShadow
Definition: xmlprop.hxx:245
constexpr OUStringLiteral PROP_D3DBackscale
Definition: xmlprop.hxx:141
constexpr OUStringLiteral PROP_LineColor
Definition: xmlprop.hxx:417
constexpr OUStringLiteral PROP_TextChainNextName
Definition: xmlprop.hxx:613
constexpr OUStringLiteral PROP_IsBackgroundVisible
Definition: xmlprop.hxx:391
constexpr OUStringLiteral PROP_TextAnimationDirection
Definition: xmlprop.hxx:605
constexpr OUStringLiteral PROP_FillUseSlideBackground
Definition: xmlprop.hxx:219
constexpr OUStringLiteral PROP_D3DTextureProjectionX
Definition: xmlprop.hxx:160
constexpr OUStringLiteral PROP_TextMinimumFrameHeight
Definition: xmlprop.hxx:625
constexpr OUStringLiteral PROP_D3DShadow3D
Definition: xmlprop.hxx:156
constexpr OUStringLiteral PROP_CaptionIsFixedAngle
Definition: xmlprop.hxx:46
constexpr OUStringLiteral PROP_TransitionDirection
Definition: xmlprop.hxx:638
constexpr OUStringLiteral PROP_GlowEffectTransparency
Definition: xmlprop.hxx:319
constexpr OUStringLiteral PROP_TextHorizontalAdjust
Definition: xmlprop.hxx:619
constexpr OUStringLiteral PROP_FontWorkDistance
Definition: xmlprop.hxx:240
constexpr OUStringLiteral PROP_TextClipVerticalOverflow
Definition: xmlprop.hxx:614
constexpr OUStringLiteral PROP_TextAutoGrowWidth
Definition: xmlprop.hxx:610
constexpr OUStringLiteral PROP_LineWidth
Definition: xmlprop.hxx:428
constexpr OUStringLiteral PROP_TextAnimationStartInside
Definition: xmlprop.hxx:607
constexpr OUStringLiteral PROP_D3DTextureProjectionY
Definition: xmlprop.hxx:161
constexpr OUStringLiteral PROP_UseLastColumnStyle
Definition: xmlprop.hxx:649
constexpr OUStringLiteral PROP_TextUpperDistance
Definition: xmlprop.hxx:629
constexpr OUStringLiteral PROP_FillHatchName
Definition: xmlprop.hxx:214
constexpr OUStringLiteral PROP_IsPageNumberVisible
Definition: xmlprop.hxx:399
constexpr OUStringLiteral PROP_Gamma
Definition: xmlprop.hxx:315
constexpr OUStringLiteral PROP_TextMinimumFrameWidth
Definition: xmlprop.hxx:626
constexpr OUStringLiteral PROP_D3DMaterialSpecular
Definition: xmlprop.hxx:150
constexpr OUStringLiteral PROP_D3DMaterialEmission
Definition: xmlprop.hxx:149
constexpr OUStringLiteral PROP_MeasureHelpLineDistance
Definition: xmlprop.hxx:442
constexpr OUStringLiteral PROP_FillBitmapPositionOffsetY
Definition: xmlprop.hxx:205
constexpr OUStringLiteral PROP_D3DCloseBack
Definition: xmlprop.hxx:142
constexpr OUStringLiteral PROP_Sound
Definition: xmlprop.hxx:583
constexpr OUStringLiteral PROP_AdjustBlue
Definition: xmlprop.hxx:12
constexpr OUStringLiteral PROP_FillGradientStepCount
Definition: xmlprop.hxx:213
constexpr OUStringLiteral PROP_LineEndWidth
Definition: xmlprop.hxx:421
constexpr OUStringLiteral PROP_FontWorkForm
Definition: xmlprop.hxx:241
constexpr OUStringLiteral PROP_BackgroundFullSize
Definition: xmlprop.hxx:31
constexpr OUStringLiteral PROP_UseFirstColumnStyle
Definition: xmlprop.hxx:647
constexpr OUStringLiteral PROP_FillColor
Definition: xmlprop.hxx:209
constexpr OUStringLiteral PROP_AdjustGreen
Definition: xmlprop.hxx:14
constexpr OUStringLiteral PROP_CaptionLineLength
Definition: xmlprop.hxx:47
constexpr OUStringLiteral PROP_TextAnimationCount
Definition: xmlprop.hxx:603
constexpr OUStringLiteral PROP_LineEndName
Definition: xmlprop.hxx:420
constexpr OUStringLiteral PROP_TextContourFrame
Definition: xmlprop.hxx:617
constexpr OUStringLiteral PROP_FontWorkMirror
Definition: xmlprop.hxx:243
constexpr OUStringLiteral PROP_CaptionType
Definition: xmlprop.hxx:48
constexpr OUStringLiteral PROP_MeasureHelpLine2Length
Definition: xmlprop.hxx:441
constexpr OUStringLiteral PROP_Decorative
Definition: xmlprop.hxx:168
constexpr OUStringLiteral PROP_ControlBorderColor
Definition: xmlprop.hxx:133
constexpr OUStringLiteral PROP_MeasureTextRotate90
Definition: xmlprop.hxx:448
constexpr OUStringLiteral PROP_TransitionType
Definition: xmlprop.hxx:641
constexpr OUStringLiteral PROP_D3DHorizontalSegments
Definition: xmlprop.hxx:147
constexpr OUStringLiteral PROP_FontWorkShadowOffsetY
Definition: xmlprop.hxx:248
constexpr OUStringLiteral PROP_UseBandingColumnStyle
Definition: xmlprop.hxx:645
constexpr OUStringLiteral PROP_Effect
Definition: xmlprop.hxx:183
constexpr OUStringLiteral PROP_TextAnimationStopInside
Definition: xmlprop.hxx:608
constexpr OUStringLiteral PROP_FillBitmapName
Definition: xmlprop.hxx:201
constexpr OUStringLiteral PROP_CaptionGap
Definition: xmlprop.hxx:43
constexpr OUStringLiteral PROP_EdgeNode1VertDist
Definition: xmlprop.hxx:179
constexpr OUStringLiteral PROP_FillBitmapOffsetY
Definition: xmlprop.hxx:203
constexpr OUStringLiteral PROP_UseFirstRowStyle
Definition: xmlprop.hxx:648
constexpr OUStringLiteral PROP_TextAnimationKind
Definition: xmlprop.hxx:606
constexpr OUStringLiteral PROP_FillBitmapRectanglePoint
Definition: xmlprop.hxx:206
constexpr OUStringLiteral PROP_D3DVerticalSegments
Definition: xmlprop.hxx:162
constexpr OUStringLiteral PROP_ShadowTransparence
Definition: xmlprop.hxx:570
constexpr OUStringLiteral PROP_TransitionFadeColor
Definition: xmlprop.hxx:639
constexpr OUStringLiteral PROP_NumberingRules
Definition: xmlprop.hxx:460
constexpr OUStringLiteral PROP_FontWorkShadowOffsetX
Definition: xmlprop.hxx:247
constexpr OUStringLiteral PROP_ControlWritingMode
Definition: xmlprop.hxx:137
constexpr OUStringLiteral PROP_TransitionSubtype
Definition: xmlprop.hxx:640
constexpr OUStringLiteral PROP_MeasureDecimalPlaces
Definition: xmlprop.hxx:439
constexpr OUStringLiteral PROP_FillColor2
Definition: xmlprop.hxx:210
constexpr OUStringLiteral PROP_GraphicCrop
Definition: xmlprop.hxx:321
constexpr OUStringLiteral PROP_HighResDuration
Definition: xmlprop.hxx:380
constexpr OUStringLiteral PROP_UserDefinedAttributes
Definition: xmlprop.hxx:651
constexpr OUStringLiteral PROP_MoveProtect
Definition: xmlprop.hxx:454
constexpr OUStringLiteral PROP_TextColumns
Definition: xmlprop.hxx:616
constexpr OUStringLiteral PROP_CaptionAngle
Definition: xmlprop.hxx:39
constexpr OUStringLiteral PROP_Aspect
Definition: xmlprop.hxx:20
constexpr OUStringLiteral PROP_FontWorkOutline
Definition: xmlprop.hxx:244
constexpr OUStringLiteral PROP_IsDateTimeVisible
Definition: xmlprop.hxx:392
constexpr OUStringLiteral PROP_LineJoint
Definition: xmlprop.hxx:422
constexpr OUStringLiteral PROP_LineStyle
Definition: xmlprop.hxx:426
constexpr OUStringLiteral PROP_TextAnimationAmount
Definition: xmlprop.hxx:602
constexpr OUStringLiteral PROP_ControlTextEmphasis
Definition: xmlprop.hxx:136
constexpr OUStringLiteral PROP_MeasureUnit
Definition: xmlprop.hxx:450
constexpr OUStringLiteral PROP_IsHeaderVisible
Definition: xmlprop.hxx:395
constexpr OUStringLiteral PROP_FontWorkShadowColor
Definition: xmlprop.hxx:246
constexpr OUStringLiteral PROP_D3DTextureMode
Definition: xmlprop.hxx:159
constexpr OUStringLiteral PROP_D3DEndAngle
Definition: xmlprop.hxx:146
constexpr OUStringLiteral PROP_D3DTextureFilter
Definition: xmlprop.hxx:157
constexpr OUStringLiteral PROP_CaptionEscapeAbsolute
Definition: xmlprop.hxx:40
constexpr OUStringLiteral PROP_FillBitmapSizeX
Definition: xmlprop.hxx:207
constexpr OUStringLiteral PROP_TextMaximumFrameWidth
Definition: xmlprop.hxx:624
constexpr OUStringLiteral PROP_TextLowerDistance
Definition: xmlprop.hxx:622
constexpr OUStringLiteral PROP_TextAutoGrowHeight
Definition: xmlprop.hxx:609
constexpr OUStringLiteral PROP_D3DDoubleSided
Definition: xmlprop.hxx:145
constexpr OUStringLiteral PROP_GlowEffectColor
Definition: xmlprop.hxx:317
constexpr OUStringLiteral PROP_TextRightDistance
Definition: xmlprop.hxx:627
constexpr OUStringLiteral PROP_D3DNormalsKind
Definition: xmlprop.hxx:154
constexpr OUStringLiteral PROP_EdgeNode2HorzDist
Definition: xmlprop.hxx:180
constexpr OUStringLiteral PROP_FontWorkAdjust
Definition: xmlprop.hxx:239
constexpr OUStringLiteral PROP_TextAnimationDelay
Definition: xmlprop.hxx:604
constexpr OUStringLiteral PROP_D3DCloseFront
Definition: xmlprop.hxx:143
constexpr OUStringLiteral PROP_TextWritingMode
Definition: xmlprop.hxx:634
constexpr OUStringLiteral PROP_LineCap
Definition: xmlprop.hxx:416
constexpr OUStringLiteral PROP_FillBitmapSizeY
Definition: xmlprop.hxx:208
constexpr OUStringLiteral PROP_FontWorkStyle
Definition: xmlprop.hxx:251
constexpr OUStringLiteral PROP_D3DMaterialColor
Definition: xmlprop.hxx:148
constexpr OUStringLiteral PROP_IsInternal
Definition: xmlprop.hxx:396
constexpr OUStringLiteral PROP_IsFooterVisible
Definition: xmlprop.hxx:394
constexpr OUStringLiteral PROP_LineStartWidth
Definition: xmlprop.hxx:425
constexpr OUStringLiteral PROP_LineEndCenter
Definition: xmlprop.hxx:419
constexpr OUStringLiteral PROP_VisibleArea
Definition: xmlprop.hxx:659
constexpr OUStringLiteral PROP_IsBackgroundObjectsVisible
Definition: xmlprop.hxx:390
constexpr OUStringLiteral PROP_TextVerticalAdjust
Definition: xmlprop.hxx:631
constexpr OUStringLiteral PROP_CaptionEscapeRelative
Definition: xmlprop.hxx:42
constexpr OUStringLiteral PROP_FrameIsAutoScroll
Definition: xmlprop.hxx:311
constexpr OUStringLiteral PROP_FillComplexColor
Definition: xmlprop.hxx:211
constexpr OUStringLiteral PROP_MeasureTextHorizontalPosition
Definition: xmlprop.hxx:447
constexpr OUStringLiteral PROP_MeasureHelpLineOverhang
Definition: xmlprop.hxx:443
constexpr OUStringLiteral PROP_FrameMarginWidth
Definition: xmlprop.hxx:314
constexpr OUStringLiteral PROP_FontWorkShadowTransparence
Definition: xmlprop.hxx:249
constexpr OUStringLiteral PROP_MeasureLineDistance
Definition: xmlprop.hxx:444
constexpr OUStringLiteral PROP_UseLastRowStyle
Definition: xmlprop.hxx:650
constexpr OUStringLiteral PROP_ShadowColor
Definition: xmlprop.hxx:568
constexpr OUStringLiteral PROP_LineStartName
Definition: xmlprop.hxx:424
constexpr OUStringLiteral PROP_GlowEffectRadius
Definition: xmlprop.hxx:318
constexpr OUStringLiteral PROP_LineTransparence
Definition: xmlprop.hxx:427
constexpr OUStringLiteral PROP_EdgeNode1HorzDist
Definition: xmlprop.hxx:178
constexpr OUStringLiteral PROP_CaptionEscapeDirection
Definition: xmlprop.hxx:41
constexpr OUStringLiteral PROP_FillStyle
Definition: xmlprop.hxx:215
constexpr OUStringLiteral PROP_ShadowYDistance
Definition: xmlprop.hxx:572
constexpr OUStringLiteral PROP_MeasureTextVerticalPosition
Definition: xmlprop.hxx:449
constexpr OUStringLiteral PROP_CaptionIsFitLineLength
Definition: xmlprop.hxx:45
constexpr OUStringLiteral PROP_UseBandingRowStyle
Definition: xmlprop.hxx:646
constexpr OUStringLiteral PROP_MeasureBelowReferenceEdge
Definition: xmlprop.hxx:438
constexpr OUStringLiteral PROP_ShadowBlur
Definition: xmlprop.hxx:567
constexpr OUStringLiteral PROP_Visible
Definition: xmlprop.hxx:658
constexpr OUStringLiteral PROP_FrameIsBorder
Definition: xmlprop.hxx:312
#define XML_SD_TYPE_NORMALS_KIND
Definition: xmlsdtypes.hxx:74
#define XML_SD_TYPE_LINEJOIN
Definition: xmlsdtypes.hxx:41
#define CTF_SD_OLE_VIS_AREA_EXPORT_LEFT
Definition: xmlsdtypes.hxx:198
#define XML_SD_TYPE_OPACITY
Definition: xmlsdtypes.hxx:40
#define CTF_PAGE_TRANSITION_TYPE
Definition: xmlsdtypes.hxx:145
#define CTF_SD_OLE_VIS_AREA_IMPORT_HEIGHT
Definition: xmlsdtypes.hxx:171
#define CTF_SD_OLE_ISINTERNAL
Definition: xmlsdtypes.hxx:172
#define XML_SD_TYPE_PRESPAGE_SPEED
Definition: xmlsdtypes.hxx:36
#define CTF_CONTROLWRITINGMODE
Definition: xmlsdtypes.hxx:124
#define CTF_SD_OLE_VIS_AREA_IMPORT_LEFT
Definition: xmlsdtypes.hxx:168
#define XML_SD_TYPE_MOVE_PROTECT
Definition: xmlsdtypes.hxx:104
#define CTF_FONTWORK_SHADOWOFFSETY
Definition: xmlsdtypes.hxx:161
#define CTF_PAGE_VISIBLE
Definition: xmlsdtypes.hxx:129
#define XML_SD_TYPE_CAPTION_ESC_DIR
Definition: xmlsdtypes.hxx:94
#define XML_SD_TYPE_PRESPAGE_TYPE
Definition: xmlsdtypes.hxx:34
#define CTF_PAGE_TRANSITION_FADECOLOR
Definition: xmlsdtypes.hxx:148
#define XML_SD_TYPE_TRANSTIION_DIRECTION
Definition: xmlsdtypes.hxx:115
#define CTF_PAGE_TRANS_TYPE
Definition: xmlsdtypes.hxx:130
#define XML_SD_TYPE_TEXT_ALIGN
Definition: xmlsdtypes.hxx:58
#define XML_SD_TYPE_BACKFACE_CULLING
Definition: xmlsdtypes.hxx:73
#define CTF_SD_OLE_VIS_AREA_EXPORT_WIDTH
Definition: xmlsdtypes.hxx:200
#define XML_SD_TYPE_BITMAP_REFPOINT
Definition: xmlsdtypes.hxx:54
#define XML_SD_TYPE_TRANSTIION_SUBTYPE
Definition: xmlsdtypes.hxx:114
#define CTF_PAGE_SOUND_URL
Definition: xmlsdtypes.hxx:128
#define CTF_DASHNAME
Definition: xmlsdtypes.hxx:135
#define XML_SD_TYPE_WRITINGMODE2
Definition: xmlsdtypes.hxx:121
#define XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE
Definition: xmlsdtypes.hxx:116
#define CTF_FILLBITMAPNAME
Definition: xmlsdtypes.hxx:140
#define XML_SD_TYPE_FITTOSIZE
Definition: xmlsdtypes.hxx:60
#define XML_SD_TYPE_NORMALS_DIRECTION
Definition: xmlsdtypes.hxx:75
#define CTF_FONTWORK_STYLE
Definition: xmlsdtypes.hxx:152
#define CTF_SD_MOVE_PROTECT
Definition: xmlsdtypes.hxx:174
#define CTF_FILLGRADIENTNAME
Definition: xmlsdtypes.hxx:138
#define XML_SD_TYPE_PRESPAGE_VISIBILITY
Definition: xmlsdtypes.hxx:38
#define CTF_NUMBERINGRULES
Definition: xmlsdtypes.hxx:123
#define XML_SD_TYPE_CAPTION_ESC_ABS
Definition: xmlsdtypes.hxx:93
#define CTF_PAGE_BACKSIZE
Definition: xmlsdtypes.hxx:134
#define XML_SD_TYPE_WRITINGMODE
Definition: xmlsdtypes.hxx:48
#define XML_SD_TYPE_CAPTION_ESC_REL
Definition: xmlsdtypes.hxx:92
#define XML_SD_TYPE_VISIBLE_HIDDEN
Definition: xmlsdtypes.hxx:45
#define XML_SD_TYPE_MEASURE_UNIT
Definition: xmlsdtypes.hxx:63
#define CTF_FONTWORK_SHADOWOFFSETX
Definition: xmlsdtypes.hxx:160
#define XML_TYPE_TEXT_ANIMATION_STEPS
Definition: xmlsdtypes.hxx:57
#define XML_SD_TYPE_VERTICAL_ALIGN
Definition: xmlsdtypes.hxx:59
#define XML_SD_TYPE_PRESPAGE_STYLE
Definition: xmlsdtypes.hxx:35
#define XML_SD_TYPE_TEXT_CROSSEDOUT
Definition: xmlsdtypes.hxx:46
#define XML_SD_TYPE_PRESPAGE_DURATION
Definition: xmlsdtypes.hxx:37
#define XML_SD_TYPE_LINECAP
Definition: xmlsdtypes.hxx:68
#define XML_SD_TYPE_SIZE_PROTECT
Definition: xmlsdtypes.hxx:105
#define XML_SD_TYPE_LOGICAL_SIZE
Definition: xmlsdtypes.hxx:53
#define XML_SD_TYPE_FONTWORK_ADJUST
Definition: xmlsdtypes.hxx:84
#define CTF_LINEENDNAME
Definition: xmlsdtypes.hxx:137
#define CTF_DATE_TIME_VISIBLE
Definition: xmlsdtypes.hxx:188
#define XML_TYPE_SD_MIRROR
Definition: xmlsdtypes.hxx:109
#define CTF_FONTWORK_ADJUST
Definition: xmlsdtypes.hxx:153
#define XML_SD_TYPE_MEASURE_HALIGN
Definition: xmlsdtypes.hxx:61
#define XML_SD_TYPE_TEX_MODE
Definition: xmlsdtypes.hxx:79
#define XML_SD_TYPE_TEX_KIND
Definition: xmlsdtypes.hxx:78
#define XML_SD_TYPE_FONTWORK_FORM
Definition: xmlsdtypes.hxx:86
#define XML_SD_TYPE_BITMAPREPOFFSETX
Definition: xmlsdtypes.hxx:50
#define XML_SD_TYPE_CELL_ROTATION_ANGLE
Definition: xmlsdtypes.hxx:120
#define CTF_PAGE_TRANS_DURATION
Definition: xmlsdtypes.hxx:133
#define XML_SD_TYPE_IMAGE_SCALE_MODE
Definition: xmlsdtypes.hxx:67
#define XML_SD_TYPE_NUMBULLET
Definition: xmlsdtypes.hxx:47
#define XML_SD_TYPE_FILLBITMAPSIZE
Definition: xmlsdtypes.hxx:52
#define CTF_LINESTARTNAME
Definition: xmlsdtypes.hxx:136
#define CTF_SD_OLE_VIS_AREA_IMPORT_TOP
Definition: xmlsdtypes.hxx:169
#define CTF_CAPTION_ESCREL
Definition: xmlsdtypes.hxx:180
#define XML_SD_TYPE_CAPTION_ANGLE_TYPE
Definition: xmlsdtypes.hxx:90
#define CTF_REPEAT_OFFSET_X
Definition: xmlsdtypes.hxx:126
#define CTF_CAPTION_ESCABS
Definition: xmlsdtypes.hxx:181
#define XML_SD_TYPE_BITMAPREPOFFSETY
Definition: xmlsdtypes.hxx:51
#define CTF_FONTWORK_HIDEFORM
Definition: xmlsdtypes.hxx:163
#define XML_SD_TYPE_FONTWORK_STYLE
Definition: xmlsdtypes.hxx:83
#define CTF_WRITINGMODE2
Definition: xmlsdtypes.hxx:204
#define CTF_DATE_TIME_FORMAT
Definition: xmlsdtypes.hxx:192
#define XML_SD_TYPE_FONTWORK_SHADOW
Definition: xmlsdtypes.hxx:85
#define CTF_FONTWORK_SHADOWCOLOR
Definition: xmlsdtypes.hxx:159
#define CTF_FONTWORK_START
Definition: xmlsdtypes.hxx:155
#define CTF_PAGE_TRANSITION_DIRECTION
Definition: xmlsdtypes.hxx:147
#define CTF_CAPTION_ISESCREL
Definition: xmlsdtypes.hxx:179
#define XML_SD_TYPE_BITMAP_MODE
Definition: xmlsdtypes.hxx:49
#define CTF_HEADER_TEXT
Definition: xmlsdtypes.hxx:189
#define CTF_FILLTRANSNAME
Definition: xmlsdtypes.hxx:141
#define CTF_FONTWORK_FORM
Definition: xmlsdtypes.hxx:162
#define CTF_PAGE_TRANSITION_SUBTYPE
Definition: xmlsdtypes.hxx:146
#define XML_SD_TYPE_CONTROL_BORDER_COLOR
Definition: xmlsdtypes.hxx:66
#define CTF_WRITINGMODE
Definition: xmlsdtypes.hxx:125
#define CTF_SD_SIZE_PROTECT
Definition: xmlsdtypes.hxx:175
#define XML_SD_TYPE_PRESPAGE_BACKSIZE
Definition: xmlsdtypes.hxx:55
#define CTF_TEXTANIMATION_KIND
Definition: xmlsdtypes.hxx:143
#define XML_SD_TYPE_CAPTION_TYPE
Definition: xmlsdtypes.hxx:95
#define XML_SD_TYPE_DATETIMEUPDATE
Definition: xmlsdtypes.hxx:99
#define CTF_HEADER_VISIBLE
Definition: xmlsdtypes.hxx:185
#define XML_TYPE_TEXT_ANIMATION_BLINKING
Definition: xmlsdtypes.hxx:56
#define CTF_DATE_TIME_UPDATE
Definition: xmlsdtypes.hxx:193
#define CTF_FILLHATCHNAME
Definition: xmlsdtypes.hxx:139
#define XML_SD_TYPE_STROKE
Definition: xmlsdtypes.hxx:33
#define CTF_FOOTER_VISIBLE
Definition: xmlsdtypes.hxx:186
#define CTF_FONTWORK_SHADOWTRANSPARENCE
Definition: xmlsdtypes.hxx:164
#define XML_SD_TYPE_TEX_GENERATION_MODE_Y
Definition: xmlsdtypes.hxx:77
#define XML_SD_TYPE_FILLSTYLE
Definition: xmlsdtypes.hxx:42
#define CTF_REPEAT_OFFSET_Y
Definition: xmlsdtypes.hxx:127
#define XML_SD_TYPE_CAPTION_IS_ESC_REL
Definition: xmlsdtypes.hxx:91
#define XML_SD_TYPE_MEASURE_PLACING
Definition: xmlsdtypes.hxx:64
#define CTF_PAGE_TRANS_SPEED
Definition: xmlsdtypes.hxx:132
#define CTF_SD_OLE_VIS_AREA_IMPORT_WIDTH
Definition: xmlsdtypes.hxx:170
#define CTF_FONTWORK_DISTANCE
Definition: xmlsdtypes.hxx:154
#define CTF_TEXTANIMATION_BLINKING
Definition: xmlsdtypes.hxx:142
#define CTF_SD_OLE_ASPECT
Definition: xmlsdtypes.hxx:197
#define XML_SD_TYPE_DATETIME_FORMAT
Definition: xmlsdtypes.hxx:100
#define CTF_FONTWORK_MIRROR
Definition: xmlsdtypes.hxx:156
#define CTF_DATE_TIME_TEXT
Definition: xmlsdtypes.hxx:191
#define XML_SD_TYPE_TEX_GENERATION_MODE_X
Definition: xmlsdtypes.hxx:76
#define CTF_SD_OLE_VIS_AREA_EXPORT_HEIGHT
Definition: xmlsdtypes.hxx:201
#define CTF_FOOTER_TEXT
Definition: xmlsdtypes.hxx:190
#define CTF_FONTWORK_OUTLINE
Definition: xmlsdtypes.hxx:157
#define CTF_PAGE_TRANS_STYLE
Definition: xmlsdtypes.hxx:131
#define CTF_FONTWORK_SHADOW
Definition: xmlsdtypes.hxx:158
#define XML_SD_TYPE_FITTOSIZE_AUTOFIT
Definition: xmlsdtypes.hxx:69
#define CTF_PAGE_NUMBER_VISIBLE
Definition: xmlsdtypes.hxx:187
#define CTF_SD_OLE_VIS_AREA_EXPORT_TOP
Definition: xmlsdtypes.hxx:199
#define XML_SD_TYPE_CONTROL_BORDER
Definition: xmlsdtypes.hxx:65
#define XML_SD_TYPE_MEASURE_VALIGN
Definition: xmlsdtypes.hxx:62
#define XML_SD_TYPE_TRANSITION_TYPE
Definition: xmlsdtypes.hxx:113
#define XML_TYPE_CONTROL_TEXT_EMPHASIZE
Definition: xmltypes.hxx:247
#define XML_TYPE_RECTANGLE_LEFT
Definition: xmltypes.hxx:159
#define XML_TYPE_PROP_GRAPHIC
Definition: xmltypes.hxx:94
#define MID_FLAG_ELEMENT_ITEM_EXPORT
Definition: xmltypes.hxx:67
#define XML_TYPE_NUMBER16
Definition: xmltypes.hxx:136
#define MID_FLAG_MERGE_PROPERTY
Definition: xmltypes.hxx:61
#define XML_TYPE_NEG_PERCENT
Definition: xmltypes.hxx:151
#define XML_TYPE_WRAP_OPTION
Definition: xmltypes.hxx:265
#define MID_FLAG_NO_PROPERTY_IMPORT
Definition: xmltypes.hxx:76
#define XML_TYPE_BUILDIN_CMP_ONLY
Definition: xmltypes.hxx:142
#define MID_FLAG_SPECIAL_ITEM
Definition: xmltypes.hxx:87
#define XML_TYPE_RECTANGLE_HEIGHT
Definition: xmltypes.hxx:162
#define MID_FLAG_MULTI_PROPERTY
Definition: xmltypes.hxx:64
#define MID_FLAG_ELEMENT_ITEM
Definition: xmltypes.hxx:70
#define XML_TYPE_STYLENAME
Definition: xmltypes.hxx:150
#define XML_TYPE_NEG_PERCENT16
Definition: xmltypes.hxx:153
#define MID_FLAG_NO_PROPERTY
Definition: xmltypes.hxx:78
#define XML_TYPE_PERCENT
Definition: xmltypes.hxx:129
#define XML_TYPE_ATTRIBUTE_CONTAINER
Definition: xmltypes.hxx:219
#define XML_TYPE_RECTANGLE_TOP
Definition: xmltypes.hxx:160
#define XML_TYPE_PERCENT16
Definition: xmltypes.hxx:131
#define XML_TYPE_MEASURE_PX
Definition: xmltypes.hxx:147
#define XML_TYPE_RECTANGLE_WIDTH
Definition: xmltypes.hxx:161
#define MID_FLAG_NO_PROPERTY_EXPORT
Definition: xmltypes.hxx:73
#define XML_TYPE_STRING
Definition: xmltypes.hxx:132
#define XML_TYPE_COLOR_MODE
Definition: xmltypes.hxx:145
#define XML_TYPE_MEASURE
Definition: xmltypes.hxx:126
#define XML_TYPE_DURATION16_MS
Definition: xmltypes.hxx:146
#define XML_TYPE_COLOR
Definition: xmltypes.hxx:133
#define XML_TYPE_COMPLEX_COLOR
Definition: xmltypes.hxx:298
#define MID_FLAG_MERGE_ATTRIBUTE
Definition: xmltypes.hxx:57
#define XML_TYPE_NUMBER
Definition: xmltypes.hxx:134
#define XML_TYPE_TEXT_ANIMATION_DIRECTION
Definition: xmltypes.hxx:239
#define XML_TYPE_TEXT_CLIP
Definition: xmltypes.hxx:273
#define XML_TYPE_TEXT_OVERFLOW_BEHAVIOR
Definition: xmltypes.hxx:280
#define XML_TYPE_TEXT_COLUMNS
Definition: xmltypes.hxx:204
#define XML_TYPE_DOUBLE_PERCENT
Definition: xmltypes.hxx:154
#define XML_TYPE_TEXT_ANIMATION
Definition: xmltypes.hxx:238
#define XML_TYPE_TEXT_WRITING_MODE_WITH_DEFAULT
Definition: xmltypes.hxx:251
#define XML_TYPE_TEXT_CLIP11
Definition: xmltypes.hxx:218
#define XML_TYPE_TEXT_DRAW_ASPECT
Definition: xmltypes.hxx:246
#define XML_TYPE_BOOL
Definition: xmltypes.hxx:125