xattr.cxx (97e8a929) | xattr.cxx (1e9c32af) |
---|---|
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 --- 457 unchanged lines hidden (view full) --- 466 rOut << aColor; 467 } 468 469 return rOut; 470} 471 472/************************************************************************* 473|* | 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 --- 457 unchanged lines hidden (view full) --- 466 rOut << aColor; 467 } 468 469 return rOut; 470} 471 472/************************************************************************* 473|* |
474|* const XColor& XColorItem::GetColorValue(const XColorList* pTable) const | 474|* const XColor& XColorItem::GetColorValue(const XColorTable* pTable) const |
475|* 476\************************************************************************/ 477 | 475|* 476\************************************************************************/ 477 |
478const Color& XColorItem::GetColorValue(const XColorList* pTable) const | 478const Color& XColorItem::GetColorValue(const XColorTable* pTable) const |
479{ 480 if (!IsIndex()) 481 return aColor; 482 else 483 return pTable->GetColor(GetIndex())->GetColor(); 484 485} 486 --- 555 unchanged lines hidden (view full) --- 1042 rOut << (sal_uInt32) aDash.GetDistance(); 1043 } 1044 1045 return rOut; 1046} 1047 1048/************************************************************************* 1049|* | 479{ 480 if (!IsIndex()) 481 return aColor; 482 else 483 return pTable->GetColor(GetIndex())->GetColor(); 484 485} 486 --- 555 unchanged lines hidden (view full) --- 1042 rOut << (sal_uInt32) aDash.GetDistance(); 1043 } 1044 1045 return rOut; 1046} 1047 1048/************************************************************************* 1049|* |
1050|* const XDash& XLineDashItem::GetValue(const XDashList* pTable) const | 1050|* const XDash& XLineDashItem::GetValue(const XDashTable* pTable) const |
1051|* 1052|* Beschreibung 1053|* Ersterstellung 15.11.94 1054|* Letzte Aenderung 18.11.94 1055|* 1056*************************************************************************/ 1057 | 1051|* 1052|* Beschreibung 1053|* Ersterstellung 15.11.94 1054|* Letzte Aenderung 18.11.94 1055|* 1056*************************************************************************/ 1057 |
1058const XDash& XLineDashItem::GetDashValue(const XDashList* pTable) const // GetValue -> GetDashValue | 1058const XDash& XLineDashItem::GetDashValue(const XDashTable* pTable) const // GetValue -> GetDashValue |
1059{ 1060 if (!IsIndex()) 1061 return aDash; 1062 else 1063 return pTable->GetDash(GetIndex())->GetDash(); 1064} 1065 1066//------------------------------------------------------------------------ --- 796 unchanged lines hidden (view full) --- 1863 streamOutB2DPolyPolygon(maPolyPolygon, rOut); 1864 } 1865 1866 return rOut; 1867} 1868 1869/************************************************************************* 1870|* | 1059{ 1060 if (!IsIndex()) 1061 return aDash; 1062 else 1063 return pTable->GetDash(GetIndex())->GetDash(); 1064} 1065 1066//------------------------------------------------------------------------ --- 796 unchanged lines hidden (view full) --- 1863 streamOutB2DPolyPolygon(maPolyPolygon, rOut); 1864 } 1865 1866 return rOut; 1867} 1868 1869/************************************************************************* 1870|* |
1871|* const basegfx::B2DPolyPolygon& XLineStartItem::GetValue(const XLineEndList* pTable) | 1871|* const basegfx::B2DPolyPolygon& XLineStartItem::GetValue(const XLineEndTable* pTable) |
1872|* const 1873|* 1874|* Beschreibung 1875|* Ersterstellung 15.11.94 1876|* Letzte Aenderung 18.11.94 1877|* 1878*************************************************************************/ 1879 | 1872|* const 1873|* 1874|* Beschreibung 1875|* Ersterstellung 15.11.94 1876|* Letzte Aenderung 18.11.94 1877|* 1878*************************************************************************/ 1879 |
1880basegfx::B2DPolyPolygon XLineStartItem::GetLineStartValue(const XLineEndList* pTable) const | 1880basegfx::B2DPolyPolygon XLineStartItem::GetLineStartValue(const XLineEndTable* pTable) const |
1881{ 1882 if (!IsIndex()) 1883 { 1884 return maPolyPolygon; 1885 } 1886 else 1887 { 1888 return pTable->GetLineEnd(GetIndex())->GetLineEnd(); --- 446 unchanged lines hidden (view full) --- 2335 streamOutB2DPolyPolygon(maPolyPolygon, rOut); 2336 } 2337 2338 return rOut; 2339} 2340 2341/************************************************************************* 2342|* | 1881{ 1882 if (!IsIndex()) 1883 { 1884 return maPolyPolygon; 1885 } 1886 else 1887 { 1888 return pTable->GetLineEnd(GetIndex())->GetLineEnd(); --- 446 unchanged lines hidden (view full) --- 2335 streamOutB2DPolyPolygon(maPolyPolygon, rOut); 2336 } 2337 2338 return rOut; 2339} 2340 2341/************************************************************************* 2342|* |
2343|* const basegfx::B2DPolyPolygon& XLineEndItem::GetValue(const XLineEndList* pTable) const | 2343|* const basegfx::B2DPolyPolygon& XLineEndItem::GetValue(const XLineEndTable* pTable) const |
2344|* 2345|* Beschreibung 2346|* Ersterstellung 15.11.94 2347|* Letzte Aenderung 18.11.94 2348|* 2349*************************************************************************/ 2350 | 2344|* 2345|* Beschreibung 2346|* Ersterstellung 15.11.94 2347|* Letzte Aenderung 18.11.94 2348|* 2349*************************************************************************/ 2350 |
2351basegfx::B2DPolyPolygon XLineEndItem::GetLineEndValue(const XLineEndList* pTable) const | 2351basegfx::B2DPolyPolygon XLineEndItem::GetLineEndValue(const XLineEndTable* pTable) const |
2352{ 2353 if (!IsIndex()) 2354 { 2355 return maPolyPolygon; 2356 } 2357 else 2358 { 2359 return pTable->GetLineEnd(GetIndex())->GetLineEnd(); --- 1348 unchanged lines hidden (view full) --- 3708 rOut << aGradient.GetSteps(); 3709 } 3710 3711 return rOut; 3712} 3713 3714/************************************************************************* 3715|* | 2352{ 2353 if (!IsIndex()) 2354 { 2355 return maPolyPolygon; 2356 } 2357 else 2358 { 2359 return pTable->GetLineEnd(GetIndex())->GetLineEnd(); --- 1348 unchanged lines hidden (view full) --- 3708 rOut << aGradient.GetSteps(); 3709 } 3710 3711 return rOut; 3712} 3713 3714/************************************************************************* 3715|* |
3716|* const XGradient& XFillGradientItem::GetValue(const XGradientList* pTable) | 3716|* const XGradient& XFillGradientItem::GetValue(const XGradientTable* pTable) |
3717|* const 3718|* 3719|* Beschreibung 3720|* Ersterstellung 15.11.94 3721|* Letzte Aenderung 18.11.94 3722|* 3723*************************************************************************/ 3724 | 3717|* const 3718|* 3719|* Beschreibung 3720|* Ersterstellung 15.11.94 3721|* Letzte Aenderung 18.11.94 3722|* 3723*************************************************************************/ 3724 |
3725const XGradient& XFillGradientItem::GetGradientValue(const XGradientList* pTable) const // GetValue -> GetGradientValue | 3725const XGradient& XFillGradientItem::GetGradientValue(const XGradientTable* pTable) const // GetValue -> GetGradientValue |
3726{ 3727 if (!IsIndex()) 3728 return aGradient; 3729 else 3730 return pTable->GetGradient(GetIndex())->GetGradient(); 3731} 3732 3733 --- 684 unchanged lines hidden (view full) --- 4418 rOut << (sal_Int32) aHatch.GetAngle(); 4419 } 4420 4421 return rOut; 4422} 4423 4424/************************************************************************* 4425|* | 3726{ 3727 if (!IsIndex()) 3728 return aGradient; 3729 else 3730 return pTable->GetGradient(GetIndex())->GetGradient(); 3731} 3732 3733 --- 684 unchanged lines hidden (view full) --- 4418 rOut << (sal_Int32) aHatch.GetAngle(); 4419 } 4420 4421 return rOut; 4422} 4423 4424/************************************************************************* 4425|* |
4426|* const XHatch& XFillHatchItem::GetValue(const XHatchList* pTable) const | 4426|* const XHatch& XFillHatchItem::GetValue(const XHatchTable* pTable) const |
4427|* 4428|* Beschreibung 4429|* Ersterstellung 15.11.94 4430|* Letzte Aenderung 18.11.94 4431|* 4432*************************************************************************/ 4433 | 4427|* 4428|* Beschreibung 4429|* Ersterstellung 15.11.94 4430|* Letzte Aenderung 18.11.94 4431|* 4432*************************************************************************/ 4433 |
4434const XHatch& XFillHatchItem::GetHatchValue(const XHatchList* pTable) const // GetValue -> GetHatchValue | 4434const XHatch& XFillHatchItem::GetHatchValue(const XHatchTable* pTable) const // GetValue -> GetHatchValue |
4435{ 4436 if (!IsIndex()) 4437 return aHatch; 4438 else 4439 return pTable->GetHatch(GetIndex())->GetHatch(); 4440} 4441 4442//------------------------------------------------------------------------ --- 1006 unchanged lines hidden (view full) --- 5449|* 5450*************************************************************************/ 5451 5452SfxPoolItem* XFormTextShadowYValItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const 5453{ 5454 return new XFormTextShadowYValItem(rIn); 5455} 5456 | 4435{ 4436 if (!IsIndex()) 4437 return aHatch; 4438 else 4439 return pTable->GetHatch(GetIndex())->GetHatch(); 4440} 4441 4442//------------------------------------------------------------------------ --- 1006 unchanged lines hidden (view full) --- 5449|* 5450*************************************************************************/ 5451 5452SfxPoolItem* XFormTextShadowYValItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const 5453{ 5454 return new XFormTextShadowYValItem(rIn); 5455} 5456 |
5457//--------------------------- 5458// class XFormTextStdFormItem 5459//--------------------------- 5460TYPEINIT1_AUTOFACTORY(XFormTextStdFormItem, SfxEnumItem); 5461 5462/************************************************************************* 5463|* 5464|* XFormTextStdFormItem::XFormTextStdFormItem() 5465|* 5466|* Beschreibung 5467|* Ersterstellung 27.06.95 5468|* Letzte Aenderung 27.06.95 5469|* 5470*************************************************************************/ 5471 5472XFormTextStdFormItem::XFormTextStdFormItem(XFormTextStdForm eFormTextStdForm) : 5473 SfxEnumItem( 5474 XATTR_FORMTXTSTDFORM, sal::static_int_cast< sal_uInt16 >(eFormTextStdForm)) 5475{ 5476} 5477 5478/************************************************************************* 5479|* 5480|* XFormTextStdFormItem::XFormTextStdFormItem(SvStream& rIn) 5481|* 5482|* Beschreibung 5483|* Ersterstellung 27.06.95 5484|* Letzte Aenderung 27.06.95 5485|* 5486*************************************************************************/ 5487 5488XFormTextStdFormItem::XFormTextStdFormItem(SvStream& rIn) : 5489 SfxEnumItem(XATTR_FORMTXTSTDFORM, rIn) 5490{ 5491} 5492 5493/************************************************************************* 5494|* 5495|* XFormTextStdFormItem::Clone(SfxItemPool* pPool) const 5496|* 5497|* Beschreibung 5498|* Ersterstellung 27.06.95 5499|* Letzte Aenderung 27.06.95 5500|* 5501*************************************************************************/ 5502 5503SfxPoolItem* XFormTextStdFormItem::Clone(SfxItemPool* /*pPool*/) const 5504{ 5505 return new XFormTextStdFormItem( *this ); 5506} 5507 5508/************************************************************************* 5509|* 5510|* SfxPoolItem* XFormTextStdFormItem::Create(SvStream& rIn, sal_uInt16 nVer) const 5511|* 5512|* Beschreibung 5513|* Ersterstellung 27.06.95 5514|* Letzte Aenderung 27.06.95 5515|* 5516*************************************************************************/ 5517 5518SfxPoolItem* XFormTextStdFormItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const 5519{ 5520 return new XFormTextStdFormItem(rIn); 5521} 5522 5523 5524/************************************************************************* 5525|* 5526|* 5527|* 5528\*************************************************************************/ 5529 5530sal_uInt16 XFormTextStdFormItem::GetValueCount() const 5531{ 5532 return 3; 5533} 5534 5535/************************************************************************* 5536|* 5537|* 5538|* 5539\*************************************************************************/ 5540 5541// #FontWork# 5542sal_Bool XFormTextStdFormItem::QueryValue( uno::Any& rVal, sal_uInt8 /*nMemberId*/) const 5543{ 5544 rVal <<= (sal_Int32)GetValue(); 5545 return sal_True; 5546} 5547 5548/************************************************************************* 5549|* 5550|* 5551|* 5552\*************************************************************************/ 5553 5554// #FontWork# 5555sal_Bool XFormTextStdFormItem::PutValue( const uno::Any& rVal, sal_uInt8 /*nMemberId*/) 5556{ 5557 sal_Int32 nValue = 0; 5558 rVal >>= nValue; 5559 SetValue(sal::static_int_cast< sal_uInt16 >(nValue)); 5560 5561 return sal_True; 5562} 5563 | |
5564// -------------------------- 5565// class XFormTextHideFormItem 5566// -------------------------- 5567TYPEINIT1_AUTOFACTORY(XFormTextHideFormItem, SfxBoolItem); 5568 5569/************************************************************************* 5570|* 5571|* XFormTextHideFormItem::XFormTextHideFormItem() --- 207 unchanged lines hidden --- | 5457// -------------------------- 5458// class XFormTextHideFormItem 5459// -------------------------- 5460TYPEINIT1_AUTOFACTORY(XFormTextHideFormItem, SfxBoolItem); 5461 5462/************************************************************************* 5463|* 5464|* XFormTextHideFormItem::XFormTextHideFormItem() --- 207 unchanged lines hidden --- |