Searched refs:textBox (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutEngine.cpp115 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, const Vector<SVGTextMetrics>& textMetricsValues) argument
142 textBox->textFragments().append(m_currentTextFragment);
239 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox) argument
241 ASSERT(textBox);
243 RenderSVGInlineText& text = toRenderSVGInlineText(textBox->renderer());
251 textBox->clearTextFragments();
253 layoutTextOnLineOrPath(textBox, text, *style);
256 m_pathLayoutBoxes.append(textBox);
260 m_lineLayoutBoxes.append(textBox);
270 SVGInlineTextBox* textBox local
296 SVGInlineTextBox* textBox = boxes.at(boxPosition); local
389 currentVisualCharacterMetrics(SVGInlineTextBox* textBox, const Vector<SVGTextMetrics>& visualMetricsValues, SVGTextMetrics& visualMetrics) argument
426 layoutTextOnLineOrPath(SVGInlineTextBox* textBox, const RenderSVGInlineText& text, const RenderStyle& style) argument
[all...]
H A DRenderSVGInlineText.cpp113 InlineTextBox* textBox = toInlineTextBox(box);
114 if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBox->start() + textBox->len())
118 if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) {
119 LayoutRect rect = textBox->localSelectionRect(caretOffset, caretOffset + 1);
124 LayoutRect rect = textBox->localSelectionRect(caretOffset - 1, caretOffset);
182 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local
183 Vector<SVGTextFragment>& fragments = textBox
[all...]
H A DSVGTextChunkBuilder.cpp34 AffineTransform SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox) const
36 return m_textBoxTransformations.get(textBox);
49 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition]; local
50 if (!textBox->startsNewTextChunk())
85 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart]; local
86 ASSERT(textBox);
88 RenderSVGInlineText& textRenderer = toRenderSVGInlineText(textBox->renderer());
90 const RenderStyle* style = toRenderSVGInlineText(textBox->renderer()).style();
195 SVGInlineTextBox* textBox = boxes[boxPosition]; local
196 Vector<SVGTextFragment>& fragments = textBox
[all...]
H A DSVGTextChunk.cpp41 SVGInlineTextBox* textBox = m_boxes.at(boxPosition); local
42 Vector<SVGTextFragment>& fragments = textBox->textFragments();
H A DSVGTextQuery.cpp40 , textBox(0)
47 const SVGInlineTextBox* textBox; member in struct:blink::SVGTextQuery::Data
112 queryData->textBox = m_textBoxes.at(textBoxPosition);
113 queryData->textRenderer = &toRenderSVGInlineText(queryData->textBox->renderer());
117 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments();
143 int fragmentStartInBox = fragment.characterOffset - queryData->textBox->start();
154 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition))
170 int fragmentOffsetInBox = fragment.characterOffset - queryData->textBox->start();
499 data->processedCharacters += characterOffset - data->textBox->start();
H A DSVGRootInlineBox.cpp130 SVGInlineTextBox* textBox = toSVGInlineTextBox(child); local
131 boxRect = textBox->calculateBoundaries();
132 textBox->setX(boxRect.x());
133 textBox->setY(boxRect.y());
134 textBox->setLogicalWidth(boxRect.width());
135 textBox->setLogicalHeight(boxRect.height());
H A DSVGRenderTreeAsText.cpp400 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) argument
402 Vector<SVGTextFragment>& fragments = textBox->textFragments();
406 RenderSVGInlineText& textRenderer = toRenderSVGInlineText(textBox->renderer());
409 String text = textBox->renderer().text();
435 startOffset -= textBox->start();
436 endOffset -= textBox->start();
446 if (!textBox->isLeftToRightDirection() || textBox->dirOverride()) {
447 ts << (textBox->isLeftToRightDirection() ? " LTR" : " RTL");
448 if (textBox
[all...]
H A DSVGInlineTextBox.cpp676 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local
678 int markerStartPosition = std::max<int>(marker->startOffset() - textBox->start(), 0);
679 int markerEndPosition = std::min<int>(marker->endOffset() - textBox->start(), textBox->len());
684 const Vector<SVGTextFragment>& fragments = textBox->textFragments();
691 if (!textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, fragmentStartPosition, fragmentEndPosition))
694 FloatRect fragmentRect = textBox->selectionRectForTextFragment(fragment, fragmentStartPosition, fragmentEndPosition, style);
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DVisibleUnits.cpp207 static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
210 const InlineBox* startBox = textBox;
212 const InlineTextBox* previousBox = leafBoxes.previousTextBox(&startBox->root(), textBox);
248 static const InlineTextBox* logicallyNextBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
251 const InlineBox* startBox = textBox;
253 const InlineTextBox* nextBox = leafBoxes.nextTextBox(&startBox->root(), textBox);
288 static TextBreakIterator* wordBreakIteratorForMinOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
294 const InlineTextBox* previousBox = logicallyPreviousBox(visiblePosition, textBox, previousBoxInDifferentBlock, leafBoxes);
303 textBox->renderer().text().appendTo(string, textBox
309 wordBreakIteratorForMaxOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, bool& nextBoxInDifferentBlock, Vector<UChar, 1024>& string, CachedLogicallyOrderedLeafBoxes& leafBoxes) argument
378 InlineTextBox* textBox = toInlineTextBox(box); local
[all...]
H A DCompositeEditCommand.cpp739 for (InlineTextBox* textBox = textRenderer->firstTextBox(); textBox; textBox = textBox->nextTextBox())
740 sortedTextBoxes.append(textBox);
H A DTextIterator.cpp664 for (InlineTextBox* textBox = renderer->firstTextBox(); textBox; textBox = textBox->nextTextBox()) {
665 m_sortedTextBoxes.append(textBox);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderLineBoxList.cpp268 InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); local
269 if (textBox)
270 box = &textBox->root();
H A DRenderText.cpp317 for (InlineTextBox* textBox = firstTextBox(); textBox; textBox = textBox->nextTextBox()) {
318 String text = m_text.substring(textBox->start(), textBox->len()).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace);
320 if (textBox->nextTextBox() && textBox->nextTextBox()->start() > textBox->end() && text.length() && !text.right(1).containsOnlyWhitespace())
1446 InlineTextBox* textBox local
[all...]
H A DInlineFlowBox.cpp860 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox* textBox, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, LayoutRect& logicalVisualOverflow) argument
862 if (textBox->knownToHaveNoOverflow())
865 RenderStyle* style = textBox->renderer().style(isFirstLineStyle());
867 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.find(textBox);
883 if (style->textEmphasisMark() != TextEmphasisMarkNone && textBox->getEmphasisMarkPosition(style, emphasisMarkPosition)) {
909 LayoutUnit logicalTopVisualOverflow = std::min(textBox->pixelSnappedLogicalTop() + childOverflowLogicalTop, logicalVisualOverflow.y());
910 LayoutUnit logicalBottomVisualOverflow = std::max(textBox->pixelSnappedLogicalBottom() + childOverflowLogicalBottom, logicalVisualOverflow.maxY());
911 LayoutUnit logicalLeftVisualOverflow = std::min(textBox->pixelSnappedLogicalLeft() + childOverflowLogicalLeft, logicalVisualOverflow.x());
912 LayoutUnit logicalRightVisualOverflow = std::max(textBox->pixelSnappedLogicalRight() + childOverflowLogicalRight, logicalVisualOverflow.maxX());
917 textBox
[all...]
H A DRenderBlockLineLayout.cpp61 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox(); local
65 textBox->setIsText(isOnlyRun || obj->document().inNoQuirksMode());
66 return textBox;
473 InlineTextBox* textBox = toInlineTextBox(r->m_box); local
475 textBox->setExpansion(expansion);
H A DRenderBlock.cpp2591 InlineTextBox* textBox = toInlineTextBox(box);
2592 return createLegacyEditingPosition(box->renderer().nonPseudoNode(), start ? textBox->start() : textBox->start() + textBox->len());
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromePageScript.js1525 b=document.createElement("DIV"),g=document.createElement("A");g.name="page"+a;b.style.position="relative";b.style.background="white";b.style.margin="auto";b.style.marginTop="20pt";b.style.marginBottom="20pt";b.style.height=d.height+"pt";b.style.width=d.width+"pt";b.style.boxShadow="0pt 0pt 10pt #333";for(var d=d.textBox,q=0;q<d.length;q++){var m=d[q],s=document.createElement("Span");s.style.position="absolute";s.style.left=m.left+"pt";s.style.top=m.top+"pt";s.style.fontSize=.8*m.height+"pt";for(var u=
H A DchromeVoxChromeBackgroundScript.js1640 b=document.createElement("DIV"),g=document.createElement("A");g.name="page"+a;b.style.position="relative";b.style.background="white";b.style.margin="auto";b.style.marginTop="20pt";b.style.marginBottom="20pt";b.style.height=d.height+"pt";b.style.width=d.width+"pt";b.style.boxShadow="0pt 0pt 10pt #333";for(var d=d.textBox,q=0;q<d.length;q++){var m=d[q],s=document.createElement("Span");s.style.position="absolute";s.style.left=m.left+"pt";s.style.top=m.top+"pt";s.style.fontSize=.8*m.height+"pt";for(var u=

Completed in 1911 milliseconds