/aoo41x/main/sd/source/ui/annotations/ |
H A D | annotationmanager.cxx | 160 if( xAnnotation.is() ) in getAnnotationDateTimeString() 357 if( !xAnnotation.is() ) in ExecuteDeleteAnnotation() 437 xAnnotation->setPosition( aPos ); in InsertAnnotation() 451 Reference< XAnnotation > xAnnotation; in ExecuteReplyToAnnotation() local 523 if( xAnnotation.is() && pPage ) in DeleteAnnotation() 611 Reference< XAnnotation > xAnnotation; in GetAnnotationState() local 612 GetSelectedAnnotation( xAnnotation ); in GetAnnotationState() 614 if( !xAnnotation.is() || bReadOnly ) in GetAnnotationState() 777 mxSelectedAnnotation = xAnnotation; in SelectAnnotation() 795 xAnnotation = mxSelectedAnnotation; in GetSelectedAnnotation() [all …]
|
H A D | annotationwindow.cxx | 560 TextApiObject* getTextApiObject( const Reference< XAnnotation >& xAnnotation ) in getTextApiObject() argument 562 if( xAnnotation.is() ) in getTextApiObject() 564 Reference< XText > xText( xAnnotation->getTextRange() ); in getTextApiObject() 574 if( (xAnnotation != mxAnnotation) && xAnnotation.is() ) in setAnnotation() 576 mxAnnotation = xAnnotation; in setAnnotation() 581 mbProtected = aUserOptions.GetFullName() != xAnnotation->getAuthor(); in setAnnotation() 598 OUString sMeta( xAnnotation->getAuthor() ); in setAnnotation() 599 OUString sDateTime( getAnnotationDateTimeString(xAnnotation) ); in setAnnotation() 662 Reference< XAnnotation > xAnnotation( mxAnnotation ); in Deactivate() local 667 TextApiObject* pTextApi = getTextApiObject( xAnnotation ); in Deactivate() [all …]
|
H A D | annotationmanagerimpl.hxx | 78 …om::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation > xAnnotation, bool bEdit = s… 79 …notation( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation ); 82 …nnotation( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation > xAnnotation ); 86 …om::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation > xAnnotation, ::Window* pPar… 99 …HelpText( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation );
|
H A D | annotationtag.cxx | 173 …AnnotationHdl( const SmartTagReference& xTag, const Reference< XAnnotation >& xAnnotation, const P… 188 …ionHdl( const SmartTagReference& xTag, const Reference< XAnnotation >& xAnnotation, const Point& r… in AnnotationHdl() argument 190 , mxAnnotation( xAnnotation ) in AnnotationHdl() 306 …agerImpl& rManager, ::sd::View& rView, const Reference< XAnnotation >& xAnnotation, Color& rColor,… in AnnotationTag() argument 309 , mxAnnotation( xAnnotation ) in AnnotationTag()
|
H A D | annotationtag.hxx | 43 …d::View& rView, const css::uno::Reference< css::office::XAnnotation >& xAnnotation, Color& rColor,…
|
H A D | annotationwindow.hxx | 120 …m::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation, bool bGrabFocu…
|
/aoo41x/main/sd/source/core/annotations/ |
H A D | Annotation.cxx | 141 m_Position = xAnnotation->getPosition(); in get() 142 m_Size = xAnnotation->getSize(); in get() 143 m_Author = xAnnotation->getAuthor(); in get() 149 xAnnotation->setPosition(m_Position); in set() 150 xAnnotation->setSize(m_Size); in set() 151 xAnnotation->setAuthor(m_Author); in set() 152 xAnnotation->setDateTime(m_DateTime); in set() 174 pPage->addAnnotation(xAnnotation); in createAnnotation() 376 if( (*iter) == xAnnotation ) in UndoInsertOrRemoveAnnotation() 393 pPage->removeAnnotation( xAnnotation ); in Undo() [all …]
|
/aoo41x/main/sd/source/core/ |
H A D | sdpage2.cxx | 588 extern void createAnnotation( Reference< XAnnotation >& xAnnotation, SdPage* pPage ); 594 sd::createAnnotation( xAnnotation, this ); in createAnnotation() 597 void SdPage::addAnnotation( const Reference< XAnnotation >& xAnnotation, int nIndex ) in addAnnotation() argument 601 maAnnotations.push_back( xAnnotation ); in addAnnotation() 605 maAnnotations.insert( maAnnotations.begin() + nIndex, xAnnotation ); in addAnnotation() 610 SdrUndoAction* pAction = CreateUndoInsertOrRemoveAnnotation( xAnnotation, true ); in addAnnotation() 620 Reference< XInterface > xSource( xAnnotation, UNO_QUERY ); in addAnnotation() 625 void SdPage::removeAnnotation( const Reference< XAnnotation >& xAnnotation ) in removeAnnotation() argument 629 SdrUndoAction* pAction = CreateUndoInsertOrRemoveAnnotation( xAnnotation, false ); in removeAnnotation() 634 …tationVector::iterator iter = std::find( maAnnotations.begin(), maAnnotations.end(), xAnnotation ); in removeAnnotation() [all …]
|
/aoo41x/test/testuno/source/fvt/uno/sc/rowcolumn/ |
H A D | CreateShowHideEditDeleteComments.java | 190 XSheetAnnotation xAnnotation = xAnnotAnchor.getAnnotation(); in testShowHideComments() local 193 xAnnotation.setIsVisible(true); in testShowHideComments() 198 assertTrue("Verify annotation is visible in cell B2.",xAnnotation.getIsVisible()); in testShowHideComments() 201 xAnnotation.setIsVisible(false); in testShowHideComments() 204 assertFalse("Verify annotation is invisible in cell B2.",xAnnotation.getIsVisible()); in testShowHideComments()
|
/aoo41x/main/sc/source/filter/xml/ |
H A D | XMLExportIterator.cxx | 751 aCell.xAnnotation.set(aItr->xAnnotation); in HasAnnotation() 752 uno::Reference<text::XSimpleText> xSimpleText(aCell.xAnnotation, uno::UNO_QUERY); in HasAnnotation() 753 if (aCell.xAnnotation.is() && xSimpleText.is()) in HasAnnotation() 796 aAnnotation.xAnnotation.set(xAnnotations->nextElement(), uno::UNO_QUERY); in SetCurrentTable() 797 if (aAnnotation.xAnnotation.is()) in SetCurrentTable() 799 aAnnotation.aCellAddress = aAnnotation.xAnnotation->getPosition(); in SetCurrentTable()
|
H A D | XMLExportIterator.hxx | 296 com::sun::star::uno::Reference<com::sun::star::sheet::XSheetAnnotation> xAnnotation; member 346 com::sun::star::uno::Reference<com::sun::star::sheet::XSheetAnnotation> xAnnotation; member
|
H A D | xmlexprt.cxx | 3322 …NoteShape.is() && pCurrentCell->xNoteShape.get() == xShape.get() && pCurrentCell->xAnnotation.is()) in exportAnnotationMeta() 3324 rtl::OUString sAuthor(pCurrentCell->xAnnotation->getAuthor()); in exportAnnotationMeta() 3333 String aDate(pCurrentCell->xAnnotation->getDate()); in exportAnnotationMeta() 3368 if( rMyCell.bHasAnnotation && rMyCell.xAnnotation.is()) in WriteAnnotation() 3411 if (rMyCell.xAnnotation->getIsVisible()) in WriteAnnotation()
|
/aoo41x/main/sd/inc/ |
H A D | sdpage.hxx | 392 …notation( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation ); 393 …m::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation, int nIndex = -… 394 …on( const ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation );
|
/aoo41x/main/xmloff/source/draw/ |
H A D | sdxmlexp.cxx | 2798 … Reference< XAnnotation > xAnnotation( xAnnotationEnumeration->nextElement(), UNO_QUERY_THROW ); in collectAnnotationAutoStyles() local 2799 Reference< XText > xText( xAnnotation->getTextRange() ); in collectAnnotationAutoStyles() 2826 … Reference< XAnnotation > xAnnotation( xAnnotationEnumeration->nextElement(), UNO_QUERY_THROW ); in exportAnnotations() local 2828 RealPoint2D aPosition( xAnnotation->getPosition() ); in exportAnnotations() 2836 RealSize2D aSize( xAnnotation->getSize() ); in exportAnnotations() 2850 OUString aAuthor( xAnnotation->getAuthor() ); in exportAnnotations() 2859 DateTime aDate( xAnnotation->getDateTime() ); in exportAnnotations() 2865 …com::sun::star::uno::Reference < com::sun::star::text::XText > xText( xAnnotation->getTextRange() … in exportAnnotations()
|
/aoo41x/main/sc/workben/ |
H A D | test.cxx | 433 XSheetAnnotationRef xAnnotation = xAnchor->getAnnotation(); in lcl_Annotations() local 434 if ( xAnnotation ) in lcl_Annotations() 436 String aBlubb = OUStringToString( xAnnotation->getAuthor(), CHARSET_SYSTEM )+ in lcl_Annotations() 438 OUStringToString( xAnnotation->getDate(), CHARSET_SYSTEM ); in lcl_Annotations() 442 (XText*)xAnnotation->queryInterface(XText::getSmartUik()); in lcl_Annotations()
|
/aoo41x/main/sd/source/filter/eppt/ |
H A D | eppt.cxx | 1157 uno::Reference< office::XAnnotation > xAnnotation( xAnnotationEnumeration->nextElement() ); in ImplExportComments() local 1159 geometry::RealPoint2D aRealPoint2D( xAnnotation->getPosition() ); in ImplExportComments() 1164 rtl::OUString sAuthor( xAnnotation->getAuthor() ); in ImplExportComments() 1165 uno::Reference< text::XText > xText( xAnnotation->getTextRange() ); in ImplExportComments() 1168 util::DateTime aDateTime( xAnnotation->getDateTime() ); in ImplExportComments()
|
/aoo41x/main/sd/source/ui/unoidl/ |
H A D | unomodel.cxx | 1606 uno::Reference< office::XAnnotation > xAnnotation( xAnnotationEnumeration->nextElement() ); in ImplPDFExportComments() local 1608 geometry::RealPoint2D aRealPoint2D( xAnnotation->getPosition() ); in ImplPDFExportComments() 1609 uno::Reference< text::XText > xText( xAnnotation->getTextRange() ); in ImplPDFExportComments() 1611 util::DateTime aDateTime( xAnnotation->getDateTime() ); in ImplPDFExportComments() 1618 String sTitle( xAnnotation->getAuthor() ); in ImplPDFExportComments()
|
/aoo41x/main/odk/examples/DevelopersGuide/Spreadsheet/ |
H A D | SpreadsheetSample.java | 288 com.sun.star.sheet.XSheetAnnotation xAnnotation = xAnnotAnchor.getAnnotation(); in doCellSamples() local 289 xAnnotation.setIsVisible( true ); in doCellSamples()
|
/aoo41x/main/odk/examples/CLI/CSharp/Spreadsheet/ |
H A D | SpreadsheetSample.cs | 174 unoidl.com.sun.star.sheet.XSheetAnnotation xAnnotation = in doCellSamples() 176 xAnnotation.setIsVisible( true ); in doCellSamples()
|
/aoo41x/main/sc/source/ui/unoobj/ |
H A D | docuno.cxx | 3593 uno::Reference<sheet::XSheetAnnotation> xAnnotation(GetObjectByIndex_Impl(nIndex)); in getByIndex() local 3594 if (xAnnotation.is()) in getByIndex() 3595 return uno::makeAny(xAnnotation); in getByIndex()
|
/aoo41x/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 2920 …uno::Reference< office::XAnnotation > xAnnotation( xAnnotationAccess->createAndInsertAnnotation() … in ImportComment10() local 2921 xAnnotation->setPosition( geometry::RealPoint2D( aPosition.X() / 100.0, aPosition.Y() / 100.0 ) ); in ImportComment10() 2922 xAnnotation->setAuthor( sAuthor ); in ImportComment10() 2923 xAnnotation->setDateTime( aDateTime ); in ImportComment10() 2924 uno::Reference< text::XText > xText( xAnnotation->getTextRange() ); in ImportComment10()
|