xpool.cxx (5aaf853b) xpool.cxx (70d3707a)
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

--- 32 unchanged lines hidden (view full) ---

41 SfxItemPool* _pMaster,
42 sal_uInt16 nAttrStart,
43 sal_uInt16 nAttrEnd,
44 sal_Bool bLoadRefCounts)
45: SfxItemPool(String("XOutdevItemPool", gsl_getSystemTextEncoding()), nAttrStart, nAttrEnd, 0L, 0L, bLoadRefCounts)
46{
47 // prepare some defaults
48 const XubString aNullStr;
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

--- 32 unchanged lines hidden (view full) ---

41 SfxItemPool* _pMaster,
42 sal_uInt16 nAttrStart,
43 sal_uInt16 nAttrEnd,
44 sal_Bool bLoadRefCounts)
45: SfxItemPool(String("XOutdevItemPool", gsl_getSystemTextEncoding()), nAttrStart, nAttrEnd, 0L, 0L, bLoadRefCounts)
46{
47 // prepare some defaults
48 const XubString aNullStr;
49 const Bitmap aNullBmp;
49 const Graphic aNullGraphic;
50 const basegfx::B2DPolyPolygon aNullPol;
51 const Color aNullLineCol(RGB_Color(COL_BLACK));
52 const Color aNullFillCol(RGB_COLORDATA( 153, 204, 255 ));
53 const Color aNullShadowCol(RGB_Color(COL_LIGHTGRAY));
54 const XDash aNullDash;
55 const XGradient aNullGrad(aNullLineCol, RGB_Color(COL_WHITE));
56 const XHatch aNullHatch(aNullLineCol);
57

--- 29 unchanged lines hidden (view full) ---

87 mppLocalPoolDefaults[XATTR_LINEENDCENTER -XATTR_START] = new XLineEndCenterItem;
88 mppLocalPoolDefaults[XATTR_LINETRANSPARENCE -XATTR_START] = new XLineTransparenceItem;
89 mppLocalPoolDefaults[XATTR_LINEJOINT -XATTR_START] = new XLineJointItem;
90 mppLocalPoolDefaults[XATTR_LINECAP -XATTR_START] = new XLineCapItem;
91 mppLocalPoolDefaults[XATTR_FILLSTYLE -XATTR_START] = new XFillStyleItem;
92 mppLocalPoolDefaults[XATTR_FILLCOLOR -XATTR_START] = new XFillColorItem (aNullStr,aNullFillCol);
93 mppLocalPoolDefaults[XATTR_FILLGRADIENT -XATTR_START] = new XFillGradientItem(this,aNullGrad);
94 mppLocalPoolDefaults[XATTR_FILLHATCH -XATTR_START] = new XFillHatchItem (this,aNullHatch);
50 const basegfx::B2DPolyPolygon aNullPol;
51 const Color aNullLineCol(RGB_Color(COL_BLACK));
52 const Color aNullFillCol(RGB_COLORDATA( 153, 204, 255 ));
53 const Color aNullShadowCol(RGB_Color(COL_LIGHTGRAY));
54 const XDash aNullDash;
55 const XGradient aNullGrad(aNullLineCol, RGB_Color(COL_WHITE));
56 const XHatch aNullHatch(aNullLineCol);
57

--- 29 unchanged lines hidden (view full) ---

87 mppLocalPoolDefaults[XATTR_LINEENDCENTER -XATTR_START] = new XLineEndCenterItem;
88 mppLocalPoolDefaults[XATTR_LINETRANSPARENCE -XATTR_START] = new XLineTransparenceItem;
89 mppLocalPoolDefaults[XATTR_LINEJOINT -XATTR_START] = new XLineJointItem;
90 mppLocalPoolDefaults[XATTR_LINECAP -XATTR_START] = new XLineCapItem;
91 mppLocalPoolDefaults[XATTR_FILLSTYLE -XATTR_START] = new XFillStyleItem;
92 mppLocalPoolDefaults[XATTR_FILLCOLOR -XATTR_START] = new XFillColorItem (aNullStr,aNullFillCol);
93 mppLocalPoolDefaults[XATTR_FILLGRADIENT -XATTR_START] = new XFillGradientItem(this,aNullGrad);
94 mppLocalPoolDefaults[XATTR_FILLHATCH -XATTR_START] = new XFillHatchItem (this,aNullHatch);
95 mppLocalPoolDefaults[XATTR_FILLBITMAP -XATTR_START] = new XFillBitmapItem (this,aNullBmp);
95 mppLocalPoolDefaults[XATTR_FILLBITMAP -XATTR_START] = new XFillBitmapItem (this, aNullGraphic);
96 mppLocalPoolDefaults[XATTR_FILLTRANSPARENCE -XATTR_START] = new XFillTransparenceItem;
97 mppLocalPoolDefaults[XATTR_GRADIENTSTEPCOUNT -XATTR_START] = new XGradientStepCountItem;
98 mppLocalPoolDefaults[XATTR_FILLBMP_TILE -XATTR_START] = new XFillBmpTileItem;
99 mppLocalPoolDefaults[XATTR_FILLBMP_POS -XATTR_START] = new XFillBmpPosItem;
100 mppLocalPoolDefaults[XATTR_FILLBMP_SIZEX -XATTR_START] = new XFillBmpSizeXItem;
101 mppLocalPoolDefaults[XATTR_FILLBMP_SIZEY -XATTR_START] = new XFillBmpSizeYItem;
102 mppLocalPoolDefaults[XATTR_FILLBMP_SIZELOG -XATTR_START] = new XFillBmpSizeLogItem;
103 mppLocalPoolDefaults[XATTR_FILLBMP_TILEOFFSETX -XATTR_START] = new XFillBmpTileOffsetXItem;

--- 129 unchanged lines hidden ---
96 mppLocalPoolDefaults[XATTR_FILLTRANSPARENCE -XATTR_START] = new XFillTransparenceItem;
97 mppLocalPoolDefaults[XATTR_GRADIENTSTEPCOUNT -XATTR_START] = new XGradientStepCountItem;
98 mppLocalPoolDefaults[XATTR_FILLBMP_TILE -XATTR_START] = new XFillBmpTileItem;
99 mppLocalPoolDefaults[XATTR_FILLBMP_POS -XATTR_START] = new XFillBmpPosItem;
100 mppLocalPoolDefaults[XATTR_FILLBMP_SIZEX -XATTR_START] = new XFillBmpSizeXItem;
101 mppLocalPoolDefaults[XATTR_FILLBMP_SIZEY -XATTR_START] = new XFillBmpSizeYItem;
102 mppLocalPoolDefaults[XATTR_FILLBMP_SIZELOG -XATTR_START] = new XFillBmpSizeLogItem;
103 mppLocalPoolDefaults[XATTR_FILLBMP_TILEOFFSETX -XATTR_START] = new XFillBmpTileOffsetXItem;

--- 129 unchanged lines hidden ---