Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f77bd4a7
Kaydet (Commit)
f77bd4a7
authored
Agu 20, 2012
tarafından
Marco Cecchetti
Kaydeden (comit)
Thorsten Behrens
Eki 10, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
some improvement in making text animation compatible with text selection
üst
df9a436a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
0 deletions
+50
-0
presentation_engine.js
filter/source/svg/presentation_engine.js
+0
-0
svgexport.cxx
filter/source/svg/svgexport.cxx
+36
-0
svgfilter.hxx
filter/source/svg/svgfilter.hxx
+1
-0
svgwriter.cxx
filter/source/svg/svgwriter.cxx
+13
-0
No files found.
filter/source/svg/presentation_engine.js
Dosyayı görüntüle @
f77bd4a7
This diff is collapsed.
Click to expand it.
filter/source/svg/svgexport.cxx
Dosyayı görüntüle @
f77bd4a7
...
...
@@ -1749,6 +1749,42 @@ sal_Bool SVGFilter::implExportShape( const Reference< XShape >& rxShape )
{
// for text field shapes we set up text-adjust attributes
// and set visibility to hidden
OUString
aShapeClass
=
implGetClassFromShape
(
rxShape
);
{
// Reference< XPropertySetInfo > xPropSetInfo = xShapePropSet->getPropertySetInfo();
// Sequence< Property > aPropSeq = xPropSetInfo->getProperties();
// sal_Int32 nLength = aPropSeq.getLength();
// OUString sGraphicPropList;
// for( sal_Int32 i = 0; i < nLength; ++i )
// {
// sGraphicPropList += aPropSeq[i].Name;
// sGraphicPropList += B2UCONST( ": " );
// sGraphicPropList += aPropSeq[i].Type.getTypeName();
// sGraphicPropList += B2UCONST( "; " );
// }
// mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "class", B2UCONST( "Graphic" ) );
// mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "property-list", sGraphicPropList );
// SvXMLElementExport aExp2( *mpSVGExport, XML_NAMESPACE_NONE, "desc", sal_True, sal_True );
// if( xPropSetInfo->hasPropertyByName( B2UCONST( "GraphicURL" ) ) )
// {
// OUString sGraphicURL;
// if( xShapePropSet->getPropertyValue( B2UCONST( "GraphicURL" ) ) >>= sGraphicURL )
// {
// if( !sGraphicURL.isEmpty() )
// {
// mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "class", B2UCONST( "GraphicURL" ) );
// mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "xlink:ref", sGraphicURL );
// SvXMLElementExport aExp2( *mpSVGExport, XML_NAMESPACE_NONE, "desc", sal_True, sal_True );
// }
// }
// }
}
if
(
mbPresentation
)
{
sal_Bool
bIsPageNumber
=
(
aShapeClass
==
"Slide_Number"
);
...
...
filter/source/svg/svgfilter.hxx
Dosyayı görüntüle @
f77bd4a7
...
...
@@ -20,6 +20,7 @@
#ifndef SVGFILTER_HXX
#define SVGFILTER_HXX
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/animations/XAnimationNodeSupplier.hpp>
#include <com/sun/star/drawing/XMasterPageTarget.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
...
...
filter/source/svg/svgwriter.cxx
Dosyayı görüntüle @
f77bd4a7
...
...
@@ -1171,6 +1171,10 @@ sal_Bool SVGTextWriter::nextTextPortion()
sInfo
+=
sFieldName
;
sInfo
+=
B2UCONST
(
"; "
);
sInfo
+=
B2UCONST
(
"content: "
);
sInfo
+=
xTextField
->
getPresentation
(
/* show command: */
sal_False
);
sInfo
+=
B2UCONST
(
"; "
);
if
(
sFieldName
.
equalsAscii
(
"DateTime"
)
||
sFieldName
.
equalsAscii
(
"Header"
)
||
sFieldName
.
equalsAscii
(
"Footer"
)
||
sFieldName
.
equalsAscii
(
"PageNumber"
)
)
{
...
...
@@ -1562,6 +1566,14 @@ void SVGTextWriter::writeTextPortion( const Point& rPos,
else
{
sContent
=
mrCurrentTextPortion
->
getString
();
if
(
mbIsURLField
&&
sContent
.
isEmpty
()
)
{
Reference
<
XPropertySet
>
xPropSet
(
mrCurrentTextPortion
,
UNO_QUERY
);
Reference
<
XTextField
>
xTextField
(
xPropSet
->
getPropertyValue
(
B2UCONST
(
"TextField"
)
),
UNO_QUERY
);
sContent
=
xTextField
->
getPresentation
(
/* show command: */
sal_False
);
if
(
sContent
.
isEmpty
()
)
OSL_FAIL
(
"SVGTextWriter::writeTextPortion: content of URL TextField is empty."
);
}
mnLeftTextPortionLength
=
sContent
.
getLength
();
}
}
...
...
@@ -1769,6 +1781,7 @@ void SVGTextWriter::implWriteTextPortion( const Point& rPos,
}
else
if
(
mbIsURLField
&&
!
msUrl
.
isEmpty
()
)
{
mrExport
.
AddAttribute
(
XML_NAMESPACE_NONE
,
"class"
,
B2UCONST
(
"UrlField"
)
);
mrExport
.
AddAttribute
(
XML_NAMESPACE_NONE
,
aXMLAttrXLinkHRef
,
msUrl
);
mbIsURLField
=
sal_False
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment