• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/richtext/

Lines Matching defs:paragraph

428         // Delete the range in each paragraph
441 // Delete an empty object, or paragraph within this range.
445 // An empty paragraph has length 1, so won't be deleted unless the
691 // Get invalid range, rounding to paragraph start/end.
717 // Now we're going to start iterating from the first affected paragraph.
809 // First find the first paragraph whose starting position is within the range.
813 // child is a paragraph
826 // Next find the last paragraph containing part of the range
830 // child is a paragraph
849 // child is a paragraph
874 /// Get the paragraph at the given position
880 // First find the first paragraph whose starting position is within the range.
884 // child is a paragraph
906 // First find the first paragraph whose starting position is within the range.
913 // child is a paragraph
926 // If the position is end-of-paragraph, then return the last line of
927 // of the paragraph.
996 /// Get the paragraph for a given line
1015 /// Convenience function to add a paragraph of text
1020 // Divide into paragraph and character styles.
1025 // If the default style is a named paragraph style, don't apply any character formatting
1054 // Divide into paragraph and character styles.
1059 // If the default style is a named paragraph style, don't apply any character formatting
1130 // Divide into paragraph and character styles.
1135 // If the default style is a named paragraph style, don't apply any character formatting
1161 /// it is assumed that the last (or only) paragraph is just a piece of data with no paragraph
1168 // First, find the first paragraph whose starting position is within the range.
1180 // Special case: partial paragraph, just one paragraph. Might be a small amount of
1190 // Iterate through the fragment paragraph inserting the content into this paragraph.
1222 // 2. Add the content from the first fragment paragraph to the current
1223 // paragraph.
1224 // 3. Add remaining fragment paragraphs after the current paragraph.
1225 // 4. Add back the saved content from the first paragraph. If partialParagraph
1226 // is true, add it to the last paragraph added and not a new one.
1233 // 2. Add the content from the 1st fragment paragraph.
1244 // Save empty paragraph attributes for appending later
1245 // These are character attributes deliberately set for a new paragraph. Without this,
1246 // we couldn't pass default attributes when appending a new paragraph.
1264 // 3. Add remaining fragment paragraphs after the current paragraph.
1290 // If there was only one paragraph, or we have full paragraphs in our fragment,
1345 /// If there was an incomplete paragraph at the end, partialParagraph is set to true.
1369 // Chop off the start of the paragraph
1396 // We only have part of a paragraph at the end
1402 // We have a partial paragraph (don't save last new paragraph marker)
1405 // We have a complete paragraph
1413 /// Given a position, get the number of the visible line (potentially many to a paragraph),
1452 // the last position of the paragraph. So return the last line.
1514 // Delete the range in each paragraph
1524 // If the whole paragraph is within the range to delete,
1535 // If the range includes the paragraph end, we need to join this
1536 // and the next paragraph.
1539 // We need to move the objects from the next paragraph
1540 // to this paragraph
1547 // We're ending at the end of the paragraph, so merge the _next_ paragraph.
1557 // Special case when deleting the end of a paragraph - use _this_ paragraph's style,
1582 // Delete the paragraph
1641 /// Get the paragraph by number
1650 /// Get the length of the paragraph
1660 /// Get the text of the paragraph
1670 /// Convert zero-based line column and paragraph number to a position.
1682 /// Convert zero-based position to line column and paragraph number
1708 /// Get the leaf object in a paragraph at this position.
1731 /// Set character or paragraph text attributes: apply character styles only to immediate text nodes
1749 // Apply paragraph style first, if any
1798 // We'll be using a copy of the paragraph to make style changes,
1814 // to be included in the paragraph style
1819 // Removes the given style from the paragraph
1838 // When applying paragraph styles dynamically, don't change the text objects' attributes
1842 // Hm. we might well be applying a mix of paragraph and character styles, in which
1844 // But if we're applying a paragraph style, which has some character attributes, but
1898 // Removes the given style from the paragraph
1979 /// Implementation helper for GetStyle. If combineStyles is true, combine base, paragraph and
1995 // Apply the paragraph style
2902 /// *** Note that this is not recursive, and so assumes that content inside a paragraph is not itself
2933 // First collect paragraph attributes only
3029 /// Test if this whole range has paragraph attributes of the specified kind. If any
3053 // Apply the paragraph style
3177 // Combine paragraph and list styles. If there is a list style in the original attributes,
3179 // Also, for applying paragraph styles, consider having 2 modes: (1) we merge with what we have,
3215 // Combines overall list style, style for level, and paragraph style
3298 // We'll be using a copy of the paragraph to make style changes,
3324 // Renumbering will need to be done when we promote/demote a paragraph.
3340 // if def is NULL, remove list style, applying any associated paragraph style
3460 // We'll be using a copy of the paragraph to make style changes,
3588 // a paragraph that either has no list style, or has one that is different or whose indentation is less.
3611 /// Fills in the attributes for numbering a paragraph after previousParagraph. It also finds the
3612 /// position of the paragraph that it had to start looking from.
3668 * This object represents a single paragraph (or in a straight text editor, a line).
3776 // Lines are specified relative to the paragraph
3835 // Get the range width using partial extents calculated for the whole paragraph.
3863 // Increase the size of the paragraph due to spacing
3888 // Start position for each line relative to the paragraph
3892 // If we have a bullet in this paragraph, the start position for the first line's text
3903 wxPoint currentPosition(0, spaceBeforePara); // We will calculate lines relative to paragraph
4092 // Substract -1 because the last position is always the end-paragraph position.
4184 /// Apply paragraph styles, such as centering, to wrapped lines
4252 // Increment the end range of subsequent fragments in this paragraph.
4253 // We'll set the paragraph range itself at a higher level.
4396 // Increase size by a line (TODO: paragraph spacing)
4426 // The final position in a paragraph is taken to mean the position
4427 // at the start of the next paragraph.
4433 // Find the height at the next paragraph, if any
4482 // paragraph start position to find the actual position.
4697 // Add one for end of paragraph
4783 if (g_GlobalPartialTextExtents.GetCount() >= (size_t) (GetRange().GetLength()-1)) // the final position in a paragraph is the newline
4884 /// Get the bullet text for this paragraph.
4983 /// Get combined attributes of the base style, paragraph style and character style. We use this to dynamically
5001 /// Get combined attributes of the base style and paragraph style.
5057 * This object represents a line in a paragraph, and stores
5058 * offsets from the start of the paragraph representing the
5855 // Get appropriate paragraph style
5893 paraAttr = GetStyleForNewParagraph(pos, false, true /* look for next paragraph style */);
5915 // Now see if we need to number the paragraph.
5929 // Check whether the default style merely reflects the paragraph/basic style,
5938 // paragraph/basic style
5993 /// Get the style that is appropriate for a new paragraph at this position.
5994 /// If the previous paragraph has a paragraph style name, look up the next-paragraph
6004 // Look for a matching paragraph style
6010 // If we're not at the end of the paragraph, then we apply THIS style, and not the designated next style.
6079 // See if we're deleting a paragraph marker, in which case we need to
6080 // make a note not to copy the attributes from the 2nd paragraph to the 1st.
6325 /// Begin paragraph spacing
6403 /// Begin named paragraph style
6908 bool wxRichTextStdRenderer::DrawStandardBullet(wxRichTextParagraph* paragraph, wxDC& dc, const wxTextAttrEx& bulletAttr, const wxRect& rect)
6943 int margin = paragraph->ConvertTenthsMMToPixels(dc, wxRichTextBuffer::GetBulletRightMargin());
6986 bool wxRichTextStdRenderer::DrawTextBullet(wxRichTextParagraph* paragraph, wxDC& dc, const wxTextAttrEx& attr, const wxRect& rect, const wxString& text)
7019 int margin = paragraph->ConvertTenthsMMToPixels(dc, wxRichTextBuffer::GetBulletRightMargin());
7034 bool wxRichTextStdRenderer::DrawBitmapBullet(wxRichTextParagraph* WXUNUSED(paragraph), wxDC& WXUNUSED(dc), const wxTextAttrEx& WXUNUSED(attr), const wxRect& WXUNUSED(rect))
7599 // We'll replace the existing paragraph by finding the paragraph at this position,
7601 // TODO: make more efficient by simply swapping old and new paragraph objects.
8496 /// Split into paragraph and character styles
8978 * wxTextAttrEx is an extended version of wxTextAttr with more paragraph attributes.